e_config: add a new configuration - wm_win_rotation_swap_size 16/291516/1 accepted/tizen/7.0/unified/20230418.141956
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 18 Apr 2023 02:12:08 +0000 (11:12 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 18 Apr 2023 02:37:56 +0000 (02:37 +0000)
If this config is enabled, then window size can be swapped when it is rotated.
But it's up to e-module which is in charge of rotation functionality.

Change-Id: Ida40692d119cc0b42788c0b7ee5a153f029590c4

src/bin/e_config.c
src/bin/e_config.h

index 9367185a75d3c6edbf984aeadbc009ce3a2d8890..0f66d52fb7c68ace82e5dd05d9e39b4248ec21c8 100644 (file)
@@ -256,6 +256,7 @@ _e_config_edd_init(Eina_Bool old)
    E_CONFIG_VAL(D, T, use_desktop_window_profile, INT);
 #ifdef _F_ZONE_WINDOW_ROTATION_
    E_CONFIG_VAL(D, T, wm_win_rotation, UCHAR);
+   E_CONFIG_VAL(D, T, wm_win_rotation_swap_size, UCHAR);
 #endif
    E_CONFIG_VAL(D, T, screen_rotation_pre, UINT);
    E_CONFIG_VAL(D, T, screen_rotation_setting, UINT);
index de321ee9d8b82086bc4f8c4fe1420ea96e30a3d8..01065906f089dfd4ec619226808774d8d9f0d13e 100644 (file)
@@ -148,6 +148,7 @@ struct _E_Config
    int           use_desktop_window_profile;
 #ifdef _F_ZONE_WINDOW_ROTATION_
    unsigned char wm_win_rotation;
+   Eina_Bool     wm_win_rotation_swap_size;
 #endif
    unsigned int screen_rotation_pre; // screen-rotation value as default (0/90/180/270)
    unsigned int screen_rotation_setting; // screen-rotation value which is set in runtime (0/90/180/270)