summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-11-11 12:51:16 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-11-11 12:51:16 +0000
commit4c6d0b04105955e514d880418ca8d8cae9f873bb (patch)
tree1a7ca82928566615c5bdc402d10aefda1e0d5214
parent81acd808df5121ca79686e29c21d359ffe0df07f (diff)
Put back the border draw call in client_resize; since we are adding and
removing the border on maximized clients we need to redraw. Also noticed by Tim van der Molen
-rw-r--r--app/cwm/client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 1f2b2a4d9..9d448fdb4 100644
--- a/app/cwm/client.c
+++ b/app/cwm/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: client.c,v 1.147 2013/11/08 17:35:12 okan Exp $
+ * $OpenBSD: client.c,v 1.148 2013/11/11 12:51:15 okan Exp $
*/
#include <sys/param.h>
@@ -401,6 +401,8 @@ client_resize(struct client_ctx *cc, int reset)
xu_ewmh_set_net_wm_state(cc);
}
+ client_draw_border(cc);
+
XMoveResizeWindow(X_Dpy, cc->win, cc->geom.x,
cc->geom.y, cc->geom.w, cc->geom.h);
client_config(cc);