forked from enlightenment/enlightenment
xdg-shell support
This commit is contained in:
parent
0568e20ba5
commit
7a3b3d23f6
|
@ -167,8 +167,7 @@ e_modapi_init(E_Module *m)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
have_shell = e_xdg_shell_v5_init();
|
||||
have_shell &= e_xdg_shell_v6_init();
|
||||
have_shell = e_xdg_shell_v5_init() | e_xdg_shell_v6_init() | e_xdg_shell_init();
|
||||
if (!have_shell) return NULL;
|
||||
|
||||
#ifdef HAVE_WL_TEXT_INPUT
|
||||
|
|
|
@ -17,6 +17,7 @@ EINTERN E_Shell_Data *e_shell_data_new(unsigned int version);
|
|||
|
||||
EINTERN Eina_Bool e_xdg_shell_v5_init(void);
|
||||
EINTERN Eina_Bool e_xdg_shell_v6_init(void);
|
||||
EINTERN Eina_Bool e_xdg_shell_init(void);
|
||||
EINTERN void wl_shell_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t version, uint32_t id);
|
||||
|
||||
struct E_Shell_Data
|
||||
|
|
|
@ -7,12 +7,14 @@ else
|
|||
'wl_shell.c',
|
||||
'xdg5.c',
|
||||
'xdg6.c',
|
||||
'xdg.c',
|
||||
'e_mod_main.h'
|
||||
)
|
||||
|
||||
foreach p: [
|
||||
'@0@/unstable/xdg-shell/xdg-shell-unstable-v5.xml'.format(dir_wayland_protocols),
|
||||
'@0@/unstable/xdg-shell/xdg-shell-unstable-v6.xml'.format(dir_wayland_protocols),
|
||||
'@0@/stable/xdg-shell/xdg-shell.xml'.format(dir_wayland_protocols),
|
||||
'@0@/unstable/input-method/input-method-unstable-v1.xml'.format(dir_wayland_protocols),
|
||||
]
|
||||
src += gen_scanner_server.process(p)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue