diff options
author | okan | 2013-11-11 12:51:15 +0000 |
---|---|---|
committer | okan | 2013-11-11 12:51:15 +0000 |
commit | 288d3e0f5f00d896f730b8d7108ed32395ec36af (patch) | |
tree | 459afa8ab7cd4bac2eb708ae9e03d3bda50e330b /client.c | |
parent | 1650bfdc36cf23d6b48c970ccf7cbdf120419009 (diff) | |
download | cwm-288d3e0f5f00d896f730b8d7108ed32395ec36af.tar.gz |
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
Diffstat (limited to '')
-rw-r--r-- | client.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |