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:
91a9000
)
obprompts do not have a stacking layer, as they don't appear directly in the stacking...
author
Dana Jansens
<danakj@orodu.net>
Thu, 14 Feb 2008 19:27:46 +0000
(14:27 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 14 Feb 2008 19:29:40 +0000
(14:29 -0500)
openbox/window.c
patch
|
blob
|
history
diff --git
a/openbox/window.c
b/openbox/window.c
index
c895174
..
b90dc50
100644
(file)
--- a/
openbox/window.c
+++ b/
openbox/window.c
@@
-74,8
+74,11
@@
ObStackingLayer window_layer(ObWindow *self)
return ((ObClient*)self)->layer;
case OB_WINDOW_CLASS_MENUFRAME:
case OB_WINDOW_CLASS_INTERNAL:
return ((ObClient*)self)->layer;
case OB_WINDOW_CLASS_MENUFRAME:
case OB_WINDOW_CLASS_INTERNAL:
- case OB_WINDOW_CLASS_PROMPT:
return OB_STACKING_LAYER_INTERNAL;
return OB_STACKING_LAYER_INTERNAL;
+ case OB_WINDOW_CLASS_PROMPT:
+ /* not used directly for stacking, prompts are managed as clients */
+ g_assert_not_reached();
+ break;
}
g_assert_not_reached();
return None;
}
g_assert_not_reached();
return None;