shell : remove null check of top which can't be null 89/268389/2
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 22 Dec 2021 06:26:54 +0000 (15:26 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Wed, 22 Dec 2021 11:38:22 +0000 (20:38 +0900)
Change-Id: I2d00b106e57a74644b25d6eeb03c1110d2ff7f80

src/shell/shell.c

index 3b63f79..3016150 100644 (file)
@@ -1089,7 +1089,7 @@ headless_shell_cb_idle(void *data)
                if (!top_visible && pepper_surface_get_buffer(surface))
                        top_visible = view;
 
-               if (top && focus && top_visible)
+               if (focus && top_visible)
                        break;
        }