X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fwindow.c;h=d312fc365844ec92392cbb25739f10d829c5db71;hb=d3a01a40f35cb3ae6c5ad8329291e86e2e599691;hp=84afc4d80928b386d0aa7e5c677194936526a03d;hpb=c313b219a226c3b968ff312b96120eef0c527d91;p=chaz%2Fopenbox diff --git a/openbox/window.c b/openbox/window.c index 84afc4d8..d312fc36 100644 --- a/openbox/window.c +++ b/openbox/window.c @@ -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;