ecore_wl2: set position only if the window is not fullscreen/maximized 06/283306/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 24 Oct 2022 02:02:59 +0000 (11:02 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 24 Oct 2022 02:29:26 +0000 (11:29 +0900)
Change-Id: I33f57047dc542274c07e78de05e88c5c0fd392d6

src/lib/ecore_wl2/ecore_wl2_window.c

index 33e0194..f2dd236 100644 (file)
@@ -627,6 +627,9 @@ _tizen_position_cb_changed(void *data, struct tizen_position *tizen_position EIN
    win->def_config.geometry.x = x;
    win->def_config.geometry.y = y;
 
+   if (win->set_config.fullscreen) return;
+   if (win->set_config.maximized) return;
+
    if ((x != win->set_config.geometry.x) || (y != win->set_config.geometry.y))
      {
         win->set_config.geometry.x = x;