aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2013-11-11 12:51:15 +0000
committerokan2013-11-11 12:51:15 +0000
commit288d3e0f5f00d896f730b8d7108ed32395ec36af (patch)
tree459afa8ab7cd4bac2eb708ae9e03d3bda50e330b /client.c
parent1650bfdc36cf23d6b48c970ccf7cbdf120419009 (diff)
downloadcwm-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/client.c b/client.c
index 1f2b2a4..9d448fd 100644
--- a/client.c
+++ b/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);