diff options
author | emersion <contact@emersion.fr> | 2019-02-12 22:55:23 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-02-18 15:11:48 -0500 |
commit | 06e03ed8784fe2048e48909af47c80a55d201a81 (patch) | |
tree | f6e1e3686921968161fdd5091667b2794f6ca184 /include/sway/input | |
parent | workspace_get_initial_output: handle focused layer (diff) | |
download | sway-06e03ed8784fe2048e48909af47c80a55d201a81.tar.gz sway-06e03ed8784fe2048e48909af47c80a55d201a81.tar.zst sway-06e03ed8784fe2048e48909af47c80a55d201a81.zip |
Rebase cursor when a layer surface maps
Also removes an extraneous arrange_outputs call, it's already called if
necessary in arrange_layers.
Updates https://github.com/swaywm/sway/issues/3080
Diffstat (limited to 'include/sway/input')
-rw-r--r-- | include/sway/input/cursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 072a56ca..98eb4679 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -72,6 +72,7 @@ struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | |||
72 | * This chooses a cursor icon and sends a motion event to the surface. | 72 | * This chooses a cursor icon and sends a motion event to the surface. |
73 | */ | 73 | */ |
74 | void cursor_rebase(struct sway_cursor *cursor); | 74 | void cursor_rebase(struct sway_cursor *cursor); |
75 | void cursor_rebase_all(void); | ||
75 | 76 | ||
76 | void cursor_handle_activity(struct sway_cursor *cursor); | 77 | void cursor_handle_activity(struct sway_cursor *cursor); |
77 | void cursor_unhide(struct sway_cursor *cursor); | 78 | void cursor_unhide(struct sway_cursor *cursor); |