mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -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
|
|
@ -409,6 +409,11 @@ handle_request_activate(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;
|
||||
}
|
||||
|
||||
desktop_focus_view(view, /*raise*/ true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue