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