aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-10-17 15:57:13 +0200
committerFurkan Sahin <furkan-dev@proton.me>2018-10-17 15:57:13 +0200
commitad5b85c59ecfb0952fe1be65ccd312d60a204ea0 (patch)
tree21f28277ff5109d9f8ec196a12fc74bbb5dfd994 /include
parenta4c5c8eccd0eb5bd6271a75c23e835e93747ddc1 (diff)
parent475b0b050704ae9c7c0314b5d09b31d1fb115a33 (diff)
Merge pull request #2820 from Emantor/fix-mouse-warping-container
Fix mouse warping container
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/cursor.h7
-rw-r--r--include/sway/tree/view.h3
2 files changed, 8 insertions, 2 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 4d47ab42..5556ea11 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -46,6 +46,11 @@ void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec,
uint32_t button, enum wlr_button_state state);
void cursor_set_image(struct sway_cursor *cursor, const char *image,
- struct wl_client *client);
+ struct wl_client *client);
+void cursor_warp_to_container(struct sway_cursor *cursor,
+ struct sway_container *container);
+
+void cursor_warp_to_workspace(struct sway_cursor *cursor,
+ struct sway_workspace *workspace);
#endif
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 870ef2e0..dc1f0b02 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -329,7 +329,8 @@ void view_destroy(struct sway_view *view);
void view_begin_destroy(struct sway_view *view);
-void view_map(struct sway_view *view, struct wlr_surface *wlr_surface);
+void view_map(struct sway_view *view, struct wlr_surface *wlr_surface,
+ bool fullscreen, bool decoration);
void view_unmap(struct sway_view *view);