mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
config: Add "seamless_mouse" to decide if pointer crosses output edges.
This commit is contained in:
parent
fc1bacf034
commit
edf33aad29
5 changed files with 18 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct
|
|||
//
|
||||
// Since this doesn't currently support moving windows between outputs we
|
||||
// don't do the switch if the pointer is in a mode.
|
||||
if (!pointer_state.mode) {
|
||||
if (config->seamless_mouse && !pointer_state.mode) {
|
||||
swayc_t *output = swayc_active_output();
|
||||
|
||||
// TODO: This implementation is naïve: We assume all outputs are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue