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