mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
fix the position of the cursor image after turning all the monitors on
This commit is contained in:
parent
b8e933b9a9
commit
fcf324be6c
1 changed files with 7 additions and 0 deletions
7
dwl.c
7
dwl.c
|
@ -2622,6 +2622,13 @@ updatemons(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FIXME: figure out why the cursor image is at 0,0 after turning all
|
||||||
|
* the monitors on.
|
||||||
|
* Move the cursor image where it used to be. It does not generate a
|
||||||
|
* wl_pointer.motion event for the clients, it's only the image what it's
|
||||||
|
* at the wrong position after all. */
|
||||||
|
wlr_cursor_move(cursor, NULL, 0, 0);
|
||||||
|
|
||||||
wlr_output_manager_v1_set_configuration(output_mgr, config);
|
wlr_output_manager_v1_set_configuration(output_mgr, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue