summaryrefslogtreecommitdiff
path: root/mcwm.c
diff options
context:
space:
mode:
authorMC <mc@hack.org>2010-06-23 10:03:45 +0200
committerMC <mc@hack.org>2010-06-23 10:03:45 +0200
commit4317af28e5711fd59de2921e28b9789e58afb732 (patch)
tree4dc7fce3edf287d53078d318fa82299ea77d0146 /mcwm.c
parent268c9b5f04e575e7f78abb5804d725e74e128a1f (diff)
downloadmcwm-4317af28e5711fd59de2921e28b9789e58afb732.zip
A MapRequest always place the window on top in the stacking order.
Removed superflous raisewindow().
Diffstat (limited to 'mcwm.c')
-rw-r--r--mcwm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mcwm.c b/mcwm.c
index aa9d05d..cf40a19 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -206,10 +206,9 @@ void newwin(xcb_window_t win)
/* Move the window to cursor position. */
movewindow(win, x, y);
- /* Set up stuff and raise the window. */
+ /* Set up stuff, like borders. */
setupwin(win);
- raisewindow(win);
-
+
/* Show window on screen. */
xcb_map_window(conn, win);