aboutsummaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-19 07:23:11 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-19 07:23:11 -0500
commit4a1584be535a2d851250854d46a3563e222fe953 (patch)
tree0e4b20ccca782bf68d0a12a200df1997b5f547ee /sway/handlers.c
parentAdd background handling (diff)
downloadsway-4a1584be535a2d851250854d46a3563e222fe953.tar.gz
sway-4a1584be535a2d851250854d46a3563e222fe953.tar.zst
sway-4a1584be535a2d851250854d46a3563e222fe953.zip
Fix background extensions
Thanks @Cloudef, it works great
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 9e98cffe..dde9b88b 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -70,7 +70,6 @@ static void handle_output_pre_render(wlc_handle output) {
70 for (i = 0; i < desktop_shell.backgrounds->length; ++i) { 70 for (i = 0; i < desktop_shell.backgrounds->length; ++i) {
71 struct background_config *config = desktop_shell.backgrounds->items[i]; 71 struct background_config *config = desktop_shell.backgrounds->items[i];
72 if (config->output == output) { 72 if (config->output == output) {
73 sway_log(L_DEBUG, "Rendering background surface %d", (int)config->surface);
74 wlc_surface_render(config->surface, &(struct wlc_geometry){ wlc_origin_zero, *wlc_output_get_resolution(output) }); 73 wlc_surface_render(config->surface, &(struct wlc_geometry){ wlc_origin_zero, *wlc_output_get_resolution(output) });
75 break; 74 break;
76 } 75 }