X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.c;h=9374f8b5f77930e96eb37828540a2d9daf2181ee;hb=0c8aca23eb94efe740acffc6c20ab73794da2218;hp=8dc122c7947f9e1803349ee3976f5a9322308674;hpb=c2e495c720d93521bdb0e1bfd7e76584a1b329b7;p=chaz%2Fopenbox diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 8dc122c7..9374f8b5 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -126,7 +126,7 @@ static void popup_coords(ObClient *c, const gchar *format, gint a, gint b) y = config_resize_popup_fixed.y.pos; if (config_resize_popup_fixed.y.center) - y = area->y + area->width/2; + y = area->y + area->height/2; else if (config_resize_popup_fixed.y.opposite) y = RECT_RIGHT(*area) - y; else @@ -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;