merged
authortanya <tanyshk@gmail.com>
Thu, 12 Aug 2010 07:01:22 +0000 (10:01 +0300)
committertanya <tanyshk@gmail.com>
Thu, 12 Aug 2010 07:01:22 +0000 (10:01 +0300)
xscreensaver/hacks/screenhack.c

index 6366745..01bf6d8 100644 (file)
@@ -628,6 +628,7 @@ run_screenhack_table (Display *dpy,
           start_frame--;
           continue;
         }
+        dbus_connection_flush(conn);
       if (pause == 0)
       /* non blocking read of the next available message */
        dbus_connection_read_write(conn, 0);
@@ -684,7 +685,7 @@ run_screenhack_table (Display *dpy,
                     pause = 0;
               }
               /*msg = dbus_connection_pop_message(conn);*/
-              fprintf(stderr, "dbus  steal message\n"); 
+              fprintf(stderr, "dbus  steal message serial = %i\n", dbus_message_get_serial(msg)); 
               /*dbus_connection_steal_borrowed_message(conn, msg);*/
           }else{ 
               fprintf(stderr, "dbus  return message\n");