diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 16:38:11 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-28 16:42:13 -0400 |
commit | 68cfa7ef6705c530ff28d9754c5b6cab7b429150 (patch) | |
tree | 0c25eb44f1285f2522b6a5f014276239cfa6ae3f /sway/desktop/xwayland.c | |
parent | Add initial layer shell skeleton (diff) | |
download | sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.gz sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.tar.zst sway-68cfa7ef6705c530ff28d9754c5b6cab7b429150.zip |
Render layer surfaces and respect exclusive zone
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 6b5e03f9..f9b5242b 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -84,7 +84,7 @@ static void set_activated(struct sway_view *view, bool activated) { | |||
84 | wlr_xwayland_surface_activate(surface, activated); | 84 | wlr_xwayland_surface_activate(surface, activated); |
85 | } | 85 | } |
86 | 86 | ||
87 | static void close(struct sway_view *view) { | 87 | static void close_view(struct sway_view *view) { |
88 | if (!assert_xwayland(view)) { | 88 | if (!assert_xwayland(view)) { |
89 | return; | 89 | return; |
90 | } | 90 | } |
@@ -203,7 +203,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { | |||
203 | sway_view->iface.set_size = set_size; | 203 | sway_view->iface.set_size = set_size; |
204 | sway_view->iface.set_position = set_position; | 204 | sway_view->iface.set_position = set_position; |
205 | sway_view->iface.set_activated = set_activated; | 205 | sway_view->iface.set_activated = set_activated; |
206 | sway_view->iface.close = close; | 206 | sway_view->iface.close = close_view; |
207 | sway_view->wlr_xwayland_surface = xsurface; | 207 | sway_view->wlr_xwayland_surface = xsurface; |
208 | sway_view->sway_xwayland_surface = sway_surface; | 208 | sway_view->sway_xwayland_surface = sway_surface; |
209 | sway_view->surface = xsurface->surface; | 209 | sway_view->surface = xsurface->surface; |