obprompts do not have a stacking layer, as they don't appear directly in the stacking list
This commit is contained in:
parent
91a9000d16
commit
def8fc707d
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue