projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52176d1
)
that was a silly mistake. fullscreen windows amongst others will not crash now :D
author
Dana Jansens
<danakj@orodu.net>
Mon, 12 Mar 2007 03:07:00 +0000
(
03:07
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 12 Mar 2007 03:07:00 +0000
(
03:07
+0000)
openbox/stacking.c
patch
|
blob
|
history
diff --git
a/openbox/stacking.c
b/openbox/stacking.c
index e77e199fb41a4b2559fd66805ed4874730f6ba6c..2050219db83de16556bcfc21de36036b3802ad31 100644
(file)
--- a/
openbox/stacking.c
+++ b/
openbox/stacking.c
@@
-242,8
+242,10
@@
static void restack_windows(ObClient *selected, gboolean raise)
last = NULL;
for (it = g_list_last(stacking_list); it; it = g_list_previous(it))
{
- if (window_layer(it->data) < selected->layer)
+ if (window_layer(it->data) < selected->layer) {
+ last = it;
continue;
+ }
/* if lowering, stop at the beginning of the layer */
if (!raise)
break;