]> Dogcows Code - chaz/openbox/commitdiff
obprompts do not have a stacking layer, as they don't appear directly in the stacking...
authorDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 19:27:46 +0000 (14:27 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 19:29:40 +0000 (14:29 -0500)
openbox/window.c

index c8951741bf44fa72713a54b697f713943eeb286d..b90dc5093836c68db66136ad10e46be2c7da176d 100644 (file)
@@ -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;
This page took 0.028841 seconds and 4 git commands to generate.