summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-02-12 22:55:23 +0100
committerFurkan Sahin <furkan-dev@proton.me>2019-02-12 22:55:23 +0100
commitd1a38c36fefc5f76c4961e7d596df95ca01948e7 (patch)
treef6e1e3686921968161fdd5091667b2794f6ca184 /include
parent459c5c7e4e70b75583aff540a0c9fce5eccdd144 (diff)
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')
-rw-r--r--include/sway/input/cursor.h1
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);
* This chooses a cursor icon and sends a motion event to the surface.
*/
void cursor_rebase(struct sway_cursor *cursor);
+void cursor_rebase_all(void);
void cursor_handle_activity(struct sway_cursor *cursor);
void cursor_unhide(struct sway_cursor *cursor);