|
|
|
@ -162,9 +162,13 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
|
|
|
|
|
seat_set_focus_warp(cursor->seat, c, false);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
// Don't switch focus on mouseover for stacked and tabbed layouts
|
|
|
|
|
if(c->parent && c->parent->layout != L_STACKED
|
|
|
|
|
&& c->parent->layout != L_TABBED) {
|
|
|
|
|
seat_set_focus_warp(cursor->seat, c, false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// reset cursor if switching between clients
|
|
|
|
|
struct wl_client *client = NULL;
|
|
|
|
|