remove debugging printfs
This commit is contained in:
		
							parent
							
								
									85866b07e1
								
							
						
					
					
						commit
						a9360ad3d9
					
				
							
								
								
									
										7
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								dunst.c
									
									
									
									
									
								
							| @ -148,7 +148,6 @@ x11_fd_dispatch(GSource *source, GSourceFunc callback, gpointer user_data) | |||||||
| 
 | 
 | ||||||
|         XEvent ev; |         XEvent ev; | ||||||
|         while (XPending(dpy) > 0) { |         while (XPending(dpy) > 0) { | ||||||
|                 printf("dispatching xevent\n"); |  | ||||||
|                 XNextEvent(dpy, &ev); |                 XNextEvent(dpy, &ev); | ||||||
|                 switch (ev.type) { |                 switch (ev.type) { | ||||||
|                 case Expose: |                 case Expose: | ||||||
| @ -1346,8 +1345,6 @@ void update(void) | |||||||
| 
 | 
 | ||||||
|         now = time(&now); |         now = time(&now); | ||||||
| 
 | 
 | ||||||
|         printf("updating (%d)\n", now); |  | ||||||
| 
 |  | ||||||
|         /* move messages from notification_queue to displayed_notifications */ |         /* move messages from notification_queue to displayed_notifications */ | ||||||
|         update_lists(); |         update_lists(); | ||||||
|         if (displayed->length > 0 && ! visible) { |         if (displayed->length > 0 && ! visible) { | ||||||
| @ -1358,10 +1355,6 @@ void update(void) | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (visible && (force_redraw || now - last_redraw > 0)) { |         if (visible && (force_redraw || now - last_redraw > 0)) { | ||||||
|                 if (force_redraw) |  | ||||||
|                         printf("forced_redraw\n"); |  | ||||||
|                 if (now - last_redraw > 0) |  | ||||||
|                         printf("last_redraw too old\n"); |  | ||||||
|                 draw_win(); |                 draw_win(); | ||||||
|                 force_redraw = false; |                 force_redraw = false; | ||||||
|                 last_redraw = now; |                 last_redraw = now; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse