e_comp_wl: set changes.pos flag when unset the move_after_resize flag 29/311129/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 14 May 2024 09:58:46 +0000 (18:58 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 14 May 2024 09:58:46 +0000 (18:58 +0900)
There was a bug that the window didn't move even though the window was resized.
This was because the evas_object_move didn't call after unsetting the move_after_resize flag.
So, we add code to set the changes.pos flag to move the window after resizing.

Change-Id: I7be6dedfde346a1b4f9a63d77cec9c41be217660

src/bin/e_comp_wl.c

index 42adc10..6c0c471 100644 (file)
@@ -2975,6 +2975,8 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
                {
                   ELOGF("POSSIZE", "Unset move_after_resize. ec_geo(%d,%d,%dx%d)", ec, ec->x, ec->y, ec->w, ec->h);
                   ec->move_after_resize = EINA_FALSE;
+                  ec->changes.pos = EINA_TRUE;
+                  EC_CHANGED(ec);
                }
           }
      }