mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 07:26:55 +01:00
fix crash when setting urgency on an hidden scratchpad container
This commit is contained in:
parent
fce8de0f67
commit
74cc02d60f
1 changed files with 1 additions and 1 deletions
|
@ -1185,7 +1185,7 @@ void view_set_urgent(struct sway_view *view, bool enable) {
|
||||||
|
|
||||||
ipc_event_window(view->container, "urgent");
|
ipc_event_window(view->container, "urgent");
|
||||||
|
|
||||||
if (!container_is_scratchpad_hidden(view->container)) {
|
if (!container_is_scratchpad_hidden_or_child(view->container)) {
|
||||||
workspace_detect_urgent(view->container->pending.workspace);
|
workspace_detect_urgent(view->container->pending.workspace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue