mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Fix background extensions
Thanks @Cloudef, it works great
This commit is contained in:
parent
65b8a5c3ce
commit
4a1584be53
3 changed files with 6 additions and 7 deletions
|
|
@ -70,7 +70,6 @@ static void handle_output_pre_render(wlc_handle output) {
|
|||
for (i = 0; i < desktop_shell.backgrounds->length; ++i) {
|
||||
struct background_config *config = desktop_shell.backgrounds->items[i];
|
||||
if (config->output == output) {
|
||||
sway_log(L_DEBUG, "Rendering background surface %d", (int)config->surface);
|
||||
wlc_surface_render(config->surface, &(struct wlc_geometry){ wlc_origin_zero, *wlc_output_get_resolution(output) });
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue