projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49053f1
)
ecore_wl2: check xdg_toplevel before requesting set_maximize_direction
45/285945/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Fri, 23 Dec 2022 01:31:35 +0000
(10:31 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Fri, 23 Dec 2022 01:31:39 +0000
(10:31 +0900)
There was a bug that the window size was transformed invalid when the xdg_toplevel was not created.
This resolve this problem.
@tizen_only
Change-Id: I8479781d82e273cbcd70b6beee85216c0e024d92
src/lib/ecore_wl2/ecore_wl2_window.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_window.c
b/src/lib/ecore_wl2/ecore_wl2_window.c
index
7cf832a
..
4b7b544
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_window.c
@@
-2111,6
+2111,7
@@
_ecore_wl2_window_maximized_direction_set(Ecore_Wl2_Window *window, Ecore_Wl2_Ma
EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(window->surface, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(window->display->wl.tz_policy, EINA_FALSE);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(window->zxdg_toplevel, EINA_FALSE);
window->maximize_direction = direction;