mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
osd: prevent handling cursor actions in preview mode
Fixes: #1640 Co-Authored-By: tokyo4j <hrak1529@gmail.com>
This commit is contained in:
parent
c4d12bf5d9
commit
abd8e971c6
4 changed files with 26 additions and 1 deletions
|
|
@ -725,6 +725,11 @@ xdg_activation_handle_request(struct wl_listener *listener, void *data)
|
|||
return;
|
||||
}
|
||||
|
||||
if (view->server->osd_state.cycle_view) {
|
||||
wlr_log(WLR_INFO, "Preventing focus request while in window switcher");
|
||||
return;
|
||||
}
|
||||
|
||||
wlr_log(WLR_DEBUG, "Activating surface");
|
||||
desktop_focus_view(view, /*raise*/ true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue