diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-27 23:43:05 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | 97672295ed50d1d6272876c4a3b6b5607cab05c6 (patch) | |
tree | 00b7e77be7e7b1323f494a6e6e075490e37605b1 /sway/desktop/xwayland.c | |
parent | Fix getting adjacent output (diff) | |
download | sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.tar.gz sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.tar.zst sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.zip |
Don't unmaximize floating views
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 7dc860aa..d0fbcaeb 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -175,14 +175,6 @@ static void set_activated(struct sway_view *view, bool activated) { | |||
175 | wlr_xwayland_surface_activate(surface, activated); | 175 | wlr_xwayland_surface_activate(surface, activated); |
176 | } | 176 | } |
177 | 177 | ||
178 | static void set_tiled(struct sway_view *view, bool tiled) { | ||
179 | if (xwayland_view_from_view(view) == NULL) { | ||
180 | return; | ||
181 | } | ||
182 | struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface; | ||
183 | wlr_xwayland_surface_set_maximized(surface, tiled); | ||
184 | } | ||
185 | |||
186 | static void set_fullscreen(struct sway_view *view, bool fullscreen) { | 178 | static void set_fullscreen(struct sway_view *view, bool fullscreen) { |
187 | if (xwayland_view_from_view(view) == NULL) { | 179 | if (xwayland_view_from_view(view) == NULL) { |
188 | return; | 180 | return; |
@@ -232,7 +224,6 @@ static const struct sway_view_impl view_impl = { | |||
232 | .get_int_prop = get_int_prop, | 224 | .get_int_prop = get_int_prop, |
233 | .configure = configure, | 225 | .configure = configure, |
234 | .set_activated = set_activated, | 226 | .set_activated = set_activated, |
235 | .set_tiled = set_tiled, | ||
236 | .set_fullscreen = set_fullscreen, | 227 | .set_fullscreen = set_fullscreen, |
237 | .wants_floating = wants_floating, | 228 | .wants_floating = wants_floating, |
238 | .close = _close, | 229 | .close = _close, |