mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
followMouse: allow focus switching via A-Tab
Fixes a regression caused by the recent enhancement of followMouse behavior. Fixes: #849 Reported-by: mitigate via IRC
This commit is contained in:
parent
33b98b19aa
commit
e45fe0804d
2 changed files with 11 additions and 2 deletions
|
|
@ -509,7 +509,8 @@ cursor_update_focus(struct server *server)
|
|||
/* Focus surface under cursor if it isn't already focused */
|
||||
struct cursor_context ctx = get_cursor_context(server);
|
||||
|
||||
if (ctx.view && rc.focus_follow_mouse) {
|
||||
if (ctx.view && rc.focus_follow_mouse && !server->osd_state.cycle_view) {
|
||||
/* Prevent changing keyboard focus during A-Tab */
|
||||
desktop_focus_and_activate_view(&server->seat, ctx.view);
|
||||
if (rc.raise_on_focus) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue