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

This commit is contained in:
Dana Jansens 2008-01-27 03:17:50 -05:00
parent ee0477d167
commit 3a03a554f0

View file

@ -252,7 +252,8 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
#ifdef SYNC #ifdef SYNC
if (config_resize_redraw && !moving && extensions_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 /* Initialize values for the resize syncing, and create an alarm for
the client's xsync counter */ the client's xsync counter */
@ -367,7 +368,8 @@ static void do_resize(void)
#ifdef SYNC #ifdef SYNC
if (config_resize_redraw && extensions_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; XEvent ce;
XSyncValue val; XSyncValue val;