aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-04-17 08:11:50 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-04-17 08:11:50 +1000
commitbfd5834f4c1046c234ceaae212e65e045cd51460 (patch)
treefc789c66bd9c20bfc30307c3f675d9c4079b5c4c /sway/desktop
parent52420cc24d61db8d22cf0d391f1f84b37bf087d5 (diff)
downloadsway-bfd5834f4c1046c234ceaae212e65e045cd51460.tar.xz
Feedback for fullscreen.
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c6
-rw-r--r--sway/desktop/xwayland.c12
2 files changed, 2 insertions, 16 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index b86f20e8..dc2f6380 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -287,11 +287,9 @@ static void render_output(struct sway_output *output, struct timespec *when,
render_container(output, workspace);
render_unmanaged(output, &root_container.sway_root->xwayland_unmanaged);
-
- render_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
- render_layer(output,
- &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
}
+ render_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]);
+ render_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
renderer_end:
if (root_container.sway_root->debug_tree) {
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 716d8882..963c5a0e 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -25,15 +25,6 @@ static void unmanaged_handle_request_configure(struct wl_listener *listener,
ev->width, ev->height);
}
-static void unmanaged_handle_request_fullscreen(struct wl_listener *listener,
- void *data) {
- struct sway_xwayland_view *xwayland_view =
- wl_container_of(listener, xwayland_view, request_fullscreen);
- struct sway_view *view = &xwayland_view->view;
- struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface;
- view_set_fullscreen(view, xsurface->fullscreen);
-}
-
static void unmanaged_handle_commit(struct wl_listener *listener, void *data) {
struct sway_xwayland_unmanaged *surface =
wl_container_of(listener, surface, commit);
@@ -115,9 +106,6 @@ static struct sway_xwayland_unmanaged *create_unmanaged(
wl_signal_add(&xsurface->events.request_configure,
&surface->request_configure);
surface->request_configure.notify = unmanaged_handle_request_configure;
- wl_signal_add(&xsurface->events.request_fullscreen,
- &surface->request_fullscreen);
- surface->request_fullscreen.notify = unmanaged_handle_request_fullscreen;
wl_signal_add(&xsurface->events.map, &surface->map);
surface->map.notify = unmanaged_handle_map;
wl_signal_add(&xsurface->events.unmap, &surface->unmap);