mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Merge pull request #1544 from CedricCabessa/fix1056-swaylock-allow-popup-to-come-through
partial fix #1056
This commit is contained in:
commit
d85ad05fa8
1 changed files with 4 additions and 2 deletions
|
|
@ -449,8 +449,10 @@ static bool handle_view_created(wlc_handle handle) {
|
||||||
|
|
||||||
// Modals, get focus, popups do not
|
// Modals, get focus, popups do not
|
||||||
case WLC_BIT_MODAL:
|
case WLC_BIT_MODAL:
|
||||||
|
if (!desktop_shell.is_locked) {
|
||||||
wlc_view_focus(handle);
|
wlc_view_focus(handle);
|
||||||
wlc_view_bring_to_front(handle);
|
wlc_view_bring_to_front(handle);
|
||||||
|
}
|
||||||
newview = new_floating_view(handle);
|
newview = new_floating_view(handle);
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
case WLC_BIT_POPUP:
|
case WLC_BIT_POPUP:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue