obprompts do not have a stacking layer, as they don't appear directly in the stacking list
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
openbox/window.c
→
openbox/window.c
@@ -80,8 +80,11 @@ break;
case Window_Client: return ((ObClient*)self)->layer; case Window_Internal: + return OB_STACKING_LAYER_INTERNAL; case Window_Prompt: - return OB_STACKING_LAYER_INTERNAL; + /* not used directly for stacking, prompts are managed as clients */ + g_assert_not_reached(); + break; } g_assert_not_reached(); return None;