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-Tag: mikabox-3.4.7~24^2~1 X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=911413d86c771248994727cfd53a7aa2e122993c;hp=cd3aa44b6a78e84e75420d6cca2c32f117a096a4 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 84afc4d..d312fc3 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;