X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=xscreensaver%2Fhacks%2Fscreenhack.c;fp=xscreensaver%2Fhacks%2Fscreenhack.c;h=6069d9d258e07ce5e3d5cc7ba3a0392458d89495;hb=681c004ea0ae84a83025a41b67aa60a716efc9a8;hp=ea2bce0e9d51d8a3cdf7edf5fbe5e558d05dac9e;hpb=f94b7e59b44fb40f5233cee547298dea80881182;p=xscreensaver diff --git a/xscreensaver/hacks/screenhack.c b/xscreensaver/hacks/screenhack.c index ea2bce0..6069d9d 100644 --- a/xscreensaver/hacks/screenhack.c +++ b/xscreensaver/hacks/screenhack.c @@ -625,8 +625,8 @@ run_screenhack_table (Display *dpy, if (start_frame > 0) { start_frame--; continue; - } - dbus_connection_flush(conn); + } + if (pause == 0) /* non blocking read of the next available message */ dbus_connection_read_write(conn, 0); @@ -691,7 +691,7 @@ run_screenhack_table (Display *dpy, } } #endif - dbus_message_unref (msg); +/* dbus_message_unref (msg); */ } ft->free_cb (dpy, window, closure);