aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome2/files/extrapatch-lowerfloat
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/awesome2/files/extrapatch-lowerfloat')
-rw-r--r--x11-wm/awesome2/files/extrapatch-lowerfloat29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-wm/awesome2/files/extrapatch-lowerfloat b/x11-wm/awesome2/files/extrapatch-lowerfloat
new file mode 100644
index 000000000000..cd23c3bce440
--- /dev/null
+++ b/x11-wm/awesome2/files/extrapatch-lowerfloat
@@ -0,0 +1,29 @@
+--- layout.c.orig 2007-09-26 12:08:27.000000000 +0300
++++ layout.c 2007-09-26 17:41:42.000000000 +0300
+@@ -118,25 +118,7 @@
+ drawstatusbar(disp, drawcontext, awesomeconf);
+ if(!sel)
+ return;
+- if(sel->isfloating || IS_ARRANGE(layout_floating))
+- XRaiseWindow(disp, sel->win);
+- if(!IS_ARRANGE(layout_floating))
+- {
+- wc.stack_mode = Below;
+- wc.sibling = awesomeconf->statusbar.window;
+- if(!sel->isfloating)
+- {
+- XConfigureWindow(disp, sel->win, CWSibling | CWStackMode, &wc);
+- wc.sibling = sel->win;
+- }
+- for(c = clients; c; c = c->next)
+- {
+- if(!IS_TILED(c, awesomeconf->screen, awesomeconf->tags, awesomeconf->ntags) || c == sel)
+- continue;
+- XConfigureWindow(disp, c->win, CWSibling | CWStackMode, &wc);
+- wc.sibling = c->win;
+- }
+- }
++ XRaiseWindow(disp, sel->win);
+ XSync(disp, False);
+ while(XCheckMaskEvent(disp, EnterWindowMask, &ev));
+ }