]> Dogcows Code - chaz/openbox/commitdiff
window a window stops responding to pings, don't use the xsync protocol while resizin...
authorDana Jansens <danakj@orodu.net>
Sun, 27 Jan 2008 08:17:50 +0000 (03:17 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 27 Jan 2008 08:17:50 +0000 (03:17 -0500)
openbox/moveresize.c

index 675cbe9cc8ae78ac1c15132a756130067941ffd0..9374f8b5f77930e96eb37828540a2d9daf2181ee 100644 (file)
@@ -252,7 +252,8 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
 
 #ifdef SYNC
     if (config_resize_redraw && !moving && extensions_sync &&
-        moveresize_client->sync_request && moveresize_client->sync_counter)
+        moveresize_client->sync_request && moveresize_client->sync_counter &&
+        !moveresize_client->not_responding)
     {
         /* Initialize values for the resize syncing, and create an alarm for
            the client's xsync counter */
@@ -367,7 +368,8 @@ static void do_resize(void)
 
 #ifdef SYNC
     if (config_resize_redraw && extensions_sync &&
-        moveresize_client->sync_request && moveresize_client->sync_counter)
+        moveresize_client->sync_request && moveresize_client->sync_counter &&
+        !moveresize_client->not_responding)
     {
         XEvent ce;
         XSyncValue val;
This page took 0.027583 seconds and 4 git commands to generate.