summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-14 14:27:46 -0500
committerDana Jansens <danakj@orodu.net>2008-02-14 14:29:40 -0500
commitdef8fc707d1146a4edccbca85afc93d6bdbff440 (patch)
tree9f637d890d6bea0b0c6a6edc618160c310557c13 /openbox
parent91a9000d166606fc322186b24f4f105fa9a53394 (diff)
obprompts do not have a stacking layer, as they don't appear directly in the stacking list
Diffstat (limited to 'openbox')
-rw-r--r--openbox/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/window.c b/openbox/window.c
index c8951741..b90dc509 100644
--- 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:
- case OB_WINDOW_CLASS_PROMPT:
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;