1
=== modified file 'src/screen.cpp'
2
--- a/src/screen.cpp 2011-10-07 16:36:43 +0000
3
+++ b/src/screen.cpp 2011-10-10 09:20:29 +0000
4
@@ -2055,15 +2055,23 @@
5
for (i = 0; i < SCREEN_EDGE_NUM; i++)
8
- XMoveResizeWindow (dpy, screenEdge[i].id,
9
- geometry[i].xw * screen->width () +
11
- geometry[i].yh * screen->height () +
13
- geometry[i].ww * screen->width () +
15
- geometry[i].hh * screen->height () +
19
+ unsigned int valueMask = CWX | CWY | CWWidth | CWHeight | CWStackMode;
21
+ xwc.x = geometry[i].xw * screen->width () +
23
+ xwc.y = geometry[i].yh * screen->height () +
25
+ xwc.width = geometry[i].ww * screen->width () +
27
+ xwc.height = geometry[i].hh * screen->height () +
30
+ xwc.stack_mode = Above;
32
+ XConfigureWindow (dpy, screenEdge[i].id, valueMask, &xwc);
38
=== modified file 'src/window.cpp'
39
--- a/src/window.cpp 2011-10-07 16:36:43 +0000
40
+++ b/src/window.cpp 2011-10-10 09:20:29 +0000
44
XConfigureWindow (screen->dpy (), id, valueMask, xwc);
46
+ screen->priv->updateScreenEdges ();