1From e26bb88436aaa08a1582f5596bcbdce72e363b35 Mon Sep 17 00:00:00 2001 2From: Jeffy Chen <jeffy.chen@rock-chips.com> 3Date: Mon, 22 Mar 2021 22:54:28 +0800 4Subject: [PATCH 43/93] desktop-shell: Use real size for non-image background 5 6Currently we are faking 1x1 size for non-image background, which would 7causing incorrect opaque region. 8 9Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 10--- 11 clients/desktop-shell.c | 6 ------ 12 1 file changed, 6 deletions(-) 13 14diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c 15index 2d2fd83..a5d59a5 100644 16--- a/clients/desktop-shell.c 17+++ b/clients/desktop-shell.c 18@@ -831,12 +831,6 @@ background_configure(void *data, 19 return; 20 } 21 22- if (!background->image && background->color) { 23- widget_set_viewport_destination(background->widget, width, height); 24- width = 1; 25- height = 1; 26- } 27- 28 widget_schedule_resize(background->widget, width, height); 29 } 30 31-- 322.20.1 33 34