xdg_shell_v6: Fix wrong variable check 33/300733/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 1 Nov 2023 08:13:59 +0000 (17:13 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 1 Nov 2023 09:14:23 +0000 (18:14 +0900)
It has to check 'configured', not 'sent_initial_configure'

Change-Id: Iecec8ff3e503f05c73349c57d68a8601b3910d6b

src/xdg_shell_v6/xdg_toplevel_v6.c

index 5fb7b0a..819476d 100644 (file)
@@ -277,7 +277,7 @@ xdg_toplevel_v6_scheduled_state_compare(struct ds_xdg_toplevel_v6 *toplevel)
     struct ds_xdg_surface_v6_configure *configure;
     struct ds_xdg_toplevel_v6_state configured;
 
-    if (!toplevel->sent_initial_configure)
+    if (!toplevel->base->configured)
         return false;
 
     if (wl_list_empty(&toplevel->base->configure_list)) {