diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-13 21:01:02 +0200 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-16 15:47:02 +0200 |
commit | 892446a0b6eba9d14cdf7462c86565a7a60d12ae (patch) | |
tree | 1740c18381767afad7e13703d1cfa7b2e7f013dd /include | |
parent | 8dadfd42dff1531f793ad2f2c237a05c05f6d180 (diff) |
view: move arrange_workspace into view_map
For mouse_warping cursor to correctly work on newly spawned containers,
the workspace needs to be arranged before the cursor is warped.
The shell functions each implement their own fullscreen and arrange checks,
move them into the view_map function and pass their states via boolean arguments.
Fixes #2819
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/view.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |