diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-02 11:44:15 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-02 11:44:15 +0900 |
commit | 298f4af7fa324ae78822329b755ee06f6d127a86 (patch) | |
tree | fc112a9c02524eb91e528637cadb80f0a39a22f8 /src | |
parent | fe8058cf77b6233917c3aaaf014473788e347888 (diff) |
ecore-wl - add ecore_wl_window_surface_id_get so we can unbreak elm
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore_wayland/Ecore_Wayland.h | 3 | ||||
-rw-r--r-- | src/lib/ecore_wayland/ecore_wl_window.c | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h index f58d41f62a..d4efec94d0 100644 --- a/src/lib/ecore_wayland/Ecore_Wayland.h +++ b/src/lib/ecore_wayland/Ecore_Wayland.h | |||
@@ -572,7 +572,8 @@ EAPI void ecore_wl_window_parent_set(Ecore_Wl_Window *win, Ecore_Wl_Window *pare | |||
572 | EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win); | 572 | EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win); |
573 | EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title); | 573 | EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title); |
574 | EAPI void ecore_wl_window_class_name_set(Ecore_Wl_Window *win, const char *class_name); | 574 | EAPI void ecore_wl_window_class_name_set(Ecore_Wl_Window *win, const char *class_name); |
575 | 575 | EAPI int ecore_wl_window_surface_id_get(Ecore_Wl_Window *win); | |
576 | |||
576 | EAPI Ecore_Wl_Input *ecore_wl_window_keyboard_get(Ecore_Wl_Window *win); | 577 | EAPI Ecore_Wl_Input *ecore_wl_window_keyboard_get(Ecore_Wl_Window *win); |
577 | 578 | ||
578 | /** | 579 | /** |
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 9b732d17a0..b0f66dd70c 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c | |||
@@ -689,6 +689,16 @@ ecore_wl_window_id_get(Ecore_Wl_Window *win) | |||
689 | } | 689 | } |
690 | 690 | ||
691 | /* @since 1.8 */ | 691 | /* @since 1.8 */ |
692 | EAPI int | ||
693 | ecore_wl_window_surface_id_get(Ecore_Wl_Window *win) | ||
694 | { | ||
695 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | ||
696 | |||
697 | if (!win) return 0; | ||
698 | return win->surface_id; | ||
699 | } | ||
700 | |||
701 | /* @since 1.8 */ | ||
692 | EAPI void | 702 | EAPI void |
693 | ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title) | 703 | ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title) |
694 | { | 704 | { |