e_devicemgr_keyboard_grab: make a e_devicemgr_keyboard_grab_intern.h header 32/321632/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 25 Mar 2025 05:39:50 +0000 (14:39 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 26 Mar 2025 03:43:55 +0000 (12:43 +0900)
move the declaration of e_devicemgr_keyboard_grab symble from e_devicemgr_intern.h
to e_devicemgr_keyboard_grab_intern.h file

Change-Id: Ib9c78bb4ca18558f3e9847932e0e81044abdba44

src/bin/inputmgr/e_devicemgr_intern.h
src/bin/inputmgr/e_devicemgr_keyboard_grab_intern.h [new file with mode: 0644]
src/bin/inputmgr/e_input_evdev.c
src/bin/server/e_devicemgr_wl.c

index ec18308f66729ff2c1153d591a65f7929d8d3d6e..a15e621bc2ea08483e0c94500a91864e72f2fcda 100644 (file)
 
 #define DETENT_DEVICE_NAME "tizen_detent"
 
-typedef struct _E_Devicemgr_Coords E_Devicemgr_Coords;
-
-struct _E_Devicemgr_Coords
-{
-   int x, y;
-};
-
 struct _E_Devicemgr_Conf_Edd
 {
    struct
@@ -72,10 +65,6 @@ EINTERN Eina_Bool                   e_devicemgr_intercept_hook_call(E_Devicemgr_
 
 EINTERN Eina_Bool e_devicemgr_detent_is_detent(const char *name);
 
-EINTERN Eina_Bool e_devicemgr_keyboard_grab_subtype_is_grabbed(Ecore_Device_Subclass subclas);
-EINTERN int       e_devicemgr_keyboard_ungrab(struct wl_client *client, struct wl_resource *surface);
-EINTERN int       e_devicemgr_keyboard_grab(struct wl_client *client, struct wl_resource *surface, uint32_t subclas);
-
 EINTERN int       e_devicemgr_relative_motion_grab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, uint32_t boundary);
 EINTERN int       e_devicemgr_relative_motion_ungrab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface);
 EINTERN Eina_Bool e_devicemgr_relative_motion_is_grabbed(unsigned int boundaries);
@@ -83,9 +72,6 @@ EINTERN Eina_Bool e_devicemgr_relative_motion_is_grabbed(unsigned int boundaries
 EINTERN void e_devicemgr_conf_init(E_Devicemgr_Config_Data *dconfig);
 EINTERN void e_devicemgr_conf_fini(E_Devicemgr_Config_Data *dconfig);
 
-EINTERN int  e_devicemgr_create_virtual_device(Ecore_Device_Class clas, const char *name);
-EINTERN void e_devicemgr_destroy_virtual_device(int uinp_fd);
-
 EINTERN Eina_Bool e_devicemgr_strcmp(const char *dst, const char *src);
 
 EINTERN int e_devicemgr_input_pointer_warp(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, wl_fixed_t x, wl_fixed_t y);
diff --git a/src/bin/inputmgr/e_devicemgr_keyboard_grab_intern.h b/src/bin/inputmgr/e_devicemgr_keyboard_grab_intern.h
new file mode 100644 (file)
index 0000000..cdc7d28
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef E_DEVICEMGR_KEYBOARD_GRAB_INTERN_H
+#define E_DEVICEMGR_KEYBOARD_GRAB_INTERN_H
+
+#include "e_intern.h"
+#include "e_devicemgr.h"
+
+EINTERN Eina_Bool e_devicemgr_keyboard_grab_subtype_is_grabbed(Ecore_Device_Subclass subclas);
+EINTERN int       e_devicemgr_keyboard_ungrab(struct wl_client *client, struct wl_resource *surface);
+EINTERN int       e_devicemgr_keyboard_grab(struct wl_client *client, struct wl_resource *surface, uint32_t subclas);
+
+#endif
index a142d663a738f537cb0f4994a4660cba27e99243..6d5acf7fa778eb9b2039416556a90cd0fa9340f0 100644 (file)
@@ -11,6 +11,7 @@
 #include "e_display_intern.h"
 #include "e_input_seat_intern.h"
 #include "ecore_device_ex_intern.h"
+#include "e_devicemgr_keyboard_grab_intern.h"
 
 #include <glib.h>
 #include <ctype.h>
index c04bc2aa97d9de94becc4f1163158c51027c7ff6..fdeea880f46d5a81da2c71c00cea2ef5425d17d9 100644 (file)
@@ -2,6 +2,7 @@
 #include "e_devicemgr_intern.h"
 #include "e_devicemgr_block_intern.h"
 #include "e_devicemgr_inputgen_intern.h"
+#include "e_devicemgr_keyboard_grab_intern.h"
 #include "e_input_intern.h"
 #include "e_comp_wl_intern.h"
 #include "e_comp_wl_input_intern.h"