diff options
author | 2018-07-24 23:37:41 +0200 | |
---|---|---|
committer | 2018-07-24 23:37:41 +0200 | |
commit | 2bf893248a94c7f70a9557aad4a8228731041eeb (patch) | |
tree | ec86137e1b5881151b20917f311ecce3d24fba8f /sway/desktop/output.c | |
parent | Added meson option "enable_xwayland" (default: true) to enable/disable xwayla... (diff) | |
download | sway-2bf893248a94c7f70a9557aad4a8228731041eeb.tar.gz sway-2bf893248a94c7f70a9557aad4a8228731041eeb.tar.zst sway-2bf893248a94c7f70a9557aad4a8228731041eeb.zip |
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 7cca23bd..05daad7b 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -291,12 +291,12 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) { | |||
291 | if (workspace->current.ws_fullscreen) { | 291 | if (workspace->current.ws_fullscreen) { |
292 | send_frame_done_container_iterator( | 292 | send_frame_done_container_iterator( |
293 | workspace->current.ws_fullscreen->swayc, &data); | 293 | workspace->current.ws_fullscreen->swayc, &data); |
294 | #ifdef HAVE_XWAYLAND | 294 | #ifdef HAVE_XWAYLAND |
295 | if (workspace->current.ws_fullscreen->type == SWAY_VIEW_XWAYLAND) { | 295 | if (workspace->current.ws_fullscreen->type == SWAY_VIEW_XWAYLAND) { |
296 | send_frame_done_unmanaged(&data, | 296 | send_frame_done_unmanaged(&data, |
297 | &root_container.sway_root->xwayland_unmanaged); | 297 | &root_container.sway_root->xwayland_unmanaged); |
298 | } | 298 | } |
299 | #endif | 299 | #endif |
300 | } else { | 300 | } else { |
301 | send_frame_done_layer(&data, | 301 | send_frame_done_layer(&data, |
302 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]); | 302 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND]); |
@@ -305,11 +305,11 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) { | |||
305 | 305 | ||
306 | send_frame_done_container(&data, workspace); | 306 | send_frame_done_container(&data, workspace); |
307 | send_frame_done_container(&data, workspace->sway_workspace->floating); | 307 | send_frame_done_container(&data, workspace->sway_workspace->floating); |
308 | 308 | ||
309 | #ifdef HAVE_XWAYLAND | 309 | #ifdef HAVE_XWAYLAND |
310 | send_frame_done_unmanaged(&data, | 310 | send_frame_done_unmanaged(&data, |
311 | &root_container.sway_root->xwayland_unmanaged); | 311 | &root_container.sway_root->xwayland_unmanaged); |
312 | #endif | 312 | #endif |
313 | send_frame_done_layer(&data, | 313 | send_frame_done_layer(&data, |
314 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); | 314 | &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]); |
315 | } | 315 | } |