From e1429f83dd40ebcbc7ab8027c055318d39b14e0e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 19 Jun 2015 11:56:46 +0200 Subject: [PATCH] Fix wireframe visibility when cycling windows without compositor. In wireframeDrawXlib(), there was a check to not redraw the wireframe if it had the same size as the previously drawn wireframe. This check is also in wireframeDrawCairo(), but in the Xlib case it prevents correct updates of the wireframe when cycling through identically sized windows. Signed-off-by: Guus Sliepen --- src/wireframe.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wireframe.c b/src/wireframe.c index bf272f2..44790e1 100644 --- a/src/wireframe.c +++ b/src/wireframe.c @@ -58,11 +58,6 @@ wireframeDrawXlib (WireFrame *wireframe, int width, int height) XMoveResizeWindow (myScreenGetXDisplay (screen_info), wireframe->xwindow, wireframe->x, wireframe->y, width, height); - if ((width == wireframe->width) && (height == wireframe->height)) - { - /* Moving only */ - return; - } wireframe->width = width; wireframe->height = height; -- 2.1.4