X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fwindow.c;h=b90dc5093836c68db66136ad10e46be2c7da176d;hb=db49122dece88956856606fe4c17158859f81837;hp=c8951741bf44fa72713a54b697f713943eeb286d;hpb=f5c2d6d3798fdc70c8bbc5d8205cf20e2b2a7cd3;p=chaz%2Fopenbox 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;