summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authorokan <okan>2013-06-20 02:33:57 +0000
committerokan <okan>2013-06-20 02:33:57 +0000
commit9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79 (patch)
tree1f679799de165046b7704886b55cde893eff0cc1 /xevents.c
parentc30653b1c34cff7ca527e15918595e8bea6941c3 (diff)
parent7004700ce0b216f4ea4bb84043acb311928c9a6d (diff)
downloadcwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.gz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.xz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.zip
cvsimport
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index 9c42737..8ad036b 100644
--- a/xevents.c
+++ b/xevents.c
@@ -150,7 +150,11 @@ xev_handle_configurerequest(XEvent *ee)
 		if (e->value_mask & CWY)
 			cc->geom.y = e->y;
 		if (e->value_mask & CWBorderWidth)
-			wc.border_width = e->border_width;
+			cc->bwidth = e->border_width;
+		if (e->value_mask & CWSibling)
+			wc.sibling = e->above;
+		if (e->value_mask & CWStackMode)
+			wc.stack_mode = e->detail;
 
 		if (cc->geom.x == 0 && cc->geom.w >= sc->view.w)
 			cc->geom.x -= cc->bwidth;
@@ -165,7 +169,7 @@ xev_handle_configurerequest(XEvent *ee)
 		wc.border_width = cc->bwidth;
 
 		XConfigureWindow(X_Dpy, cc->win, e->value_mask, &wc);
-		xu_configure(cc);
+		client_config(cc);
 	} else {
 		/* let it do what it wants, it'll be ours when we map it. */
 		wc.x = e->x;