mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
put back
This commit is contained in:
parent
0eed6a4f99
commit
199ba05ef1
1 changed files with 3 additions and 3 deletions
|
@ -137,14 +137,14 @@ static void handle_view_destroyed(wlc_handle handle) {
|
|||
wlc_view_set_state(handle, WLC_BIT_ACTIVATED, true);
|
||||
sway_log(L_DEBUG,"Unmanaged window of type %x was destroyed", type);
|
||||
if (type & WLC_BIT_UNMANAGED) {
|
||||
focus_pointer();
|
||||
focus_view(focus_pointer());
|
||||
arrange_windows(active_workspace, -1, -1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (type & WLC_BIT_OVERRIDE_REDIRECT) {
|
||||
override_redirect = false;
|
||||
focus_pointer();
|
||||
focus_view(focus_pointer());
|
||||
return;
|
||||
}
|
||||
if (type & WLC_BIT_POPUP) {
|
||||
|
|
Loading…
Reference in a new issue