e_config: added interactive_resize configure 46/271346/1
authorJunseok Kim <juns.kim@samsung.com>
Thu, 17 Feb 2022 06:11:53 +0000 (15:11 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Fri, 18 Feb 2022 06:07:25 +0000 (15:07 +0900)
interactive_resize: configure for the visible shape while resizing
0: resize with preview object and resize the target window once after done.
1: resize with interactive moving of target window.

Change-Id: I6a4f8fc1244b103d4dd47e0fb6121e830234ee8a
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
src/bin/e_config.c
src/bin/e_config.h

index a46670f6d493abddf6bd0e489266bdec49f72110..92b6910a850795f008c8ed301ef9f43299678556 100644 (file)
@@ -318,6 +318,7 @@ _e_config_edd_init(Eina_Bool old)
    E_CONFIG_VAL(D, T, raise_before_show, UCHAR);
    E_CONFIG_VAL(D, T, configured_max_touch.use, UCHAR);
    E_CONFIG_VAL(D, T, configured_max_touch.count, UINT);
+   E_CONFIG_VAL(D, T, interactive_resize, UCHAR);
 }
 
 static Eina_Bool
@@ -564,6 +565,7 @@ e_config_load(void)
    E_CONFIG_LIMIT(e_config->configured_max_touch.use, 0, 1);
    // FIXME : What's the proper maximum value for 'configured_max_touch.count' ?
    E_CONFIG_LIMIT(e_config->configured_max_touch.count, 1, 20);
+   E_CONFIG_LIMIT(e_config->interactive_resize, 0, 1);
 }
 
 E_API int
index 5f1fa468dc6e5a55489b34b43127d7d7c3297ace..4da620fd52a4267700ffe1828680b3f821191f87 100644 (file)
@@ -287,6 +287,7 @@ struct _E_Config
       int h;             // fake resolution height
    } fake_output_resolution;
    Eina_Bool raise_before_show; // 0: raise after show, 1: raise before show
+   Eina_Bool interactive_resize; // 0: resize when pointer release, 1: interactive resize during pointer drag
 };
 
 struct _E_Config_Desklock_Background