summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-02 11:44:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-02 11:44:15 +0900
commit298f4af7fa324ae78822329b755ee06f6d127a86 (patch)
treefc112a9c02524eb91e528637cadb80f0a39a22f8 /src/lib
parentfe8058cf77b6233917c3aaaf014473788e347888 (diff)
ecore-wl - add ecore_wl_window_surface_id_get so we can unbreak elm
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_wayland/Ecore_Wayland.h3
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c10
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
572EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win); 572EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win);
573EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title); 573EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title);
574EAPI void ecore_wl_window_class_name_set(Ecore_Wl_Window *win, const char *class_name); 574EAPI void ecore_wl_window_class_name_set(Ecore_Wl_Window *win, const char *class_name);
575 575EAPI int ecore_wl_window_surface_id_get(Ecore_Wl_Window *win);
576
576EAPI Ecore_Wl_Input *ecore_wl_window_keyboard_get(Ecore_Wl_Window *win); 577EAPI 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 */
692EAPI int
693ecore_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 */
692EAPI void 702EAPI void
693ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title) 703ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title)
694{ 704{