]> 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:30:10 +0000 (14:30 -0500)
openbox/window.c

index 84afc4d80928b386d0aa7e5c677194936526a03d..d312fc365844ec92392cbb25739f10d829c5db71 100644 (file)
@@ -80,8 +80,11 @@ ObStackingLayer window_layer(ObWindow *self)
     case Window_Client:
         return ((ObClient*)self)->layer;
     case Window_Internal:
-    case Window_Prompt:
         return OB_STACKING_LAYER_INTERNAL;
+    case Window_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.021546 seconds and 4 git commands to generate.