diff options
| author | Dana Jansens <danakj@orodu.net> | 2008-01-27 03:17:50 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-27 03:17:50 -0500 |
| commit | 3a03a554f0d5fc78ae211b5cf7cd162ea524e157 (patch) | |
| tree | 9350f1117fbc6475e8458fa7cc4cc166462be454 /openbox/moveresize.c | |
| parent | ee0477d167a3b87618b82d1080fd37e4403e6d2e (diff) | |
window a window stops responding to pings, don't use the xsync protocol while resizing it - its not going to be responding to it anyways
Diffstat (limited to 'openbox/moveresize.c')
| -rw-r--r-- | openbox/moveresize.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 675cbe9c..9374f8b5 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -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; |
