From: Dana Jansens Date: Thu, 14 Feb 2008 19:27:46 +0000 (-0500) Subject: obprompts do not have a stacking layer, as they don't appear directly in the stacking... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=def8fc707d1146a4edccbca85afc93d6bdbff440;p=chaz%2Fopenbox obprompts do not have a stacking layer, as they don't appear directly in the stacking list --- 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;