From 50598700dfd96eea49ce1d6f3cf338f19ea9b4a4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 2 Aug 2002 19:58:18 +0000 Subject: keep the new menus on top of normal windows --- src/Screen.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Screen.cc') diff --git a/src/Screen.cc b/src/Screen.cc index 467f4a78..09f91bde 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1492,7 +1492,7 @@ void BScreen::updateNetizenConfigNotify(XEvent *e) { void BScreen::raiseWindows(Window *workspace_stack, unsigned int num) { // the 13 represents the number of blackbox windows such as menus - int bbwins = 13; + int bbwins = 15; #ifdef XINERAMA ++bbwins; #endif // XINERAMA @@ -1513,6 +1513,8 @@ void BScreen::raiseWindows(Window *workspace_stack, unsigned int num) { *(session_stack + i++) = configmenu->getFocusmenu()->getWindowID(); *(session_stack + i++) = configmenu->getPlacementmenu()->getWindowID(); + *(session_stack + i++) = configmenu->getWindowSnapmenu()->getWindowID(); + *(session_stack + i++) = configmenu->getEdgeSnapmenu()->getWindowID(); #ifdef XINERAMA *(session_stack + i++) = configmenu->getXineramamenu()->getWindowID(); #endif // XINERAMA -- cgit v1.2.3