michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef GDKX_WRAPPER_H michael@0: #define GDKX_WRAPPER_H michael@0: michael@0: #define gdk_x11_window_lookup_for_display gdk_x11_window_lookup_for_display_ michael@0: #define gdk_x11_window_get_xid gdk_x11_window_get_xid_ michael@0: #include_next michael@0: #undef gdk_x11_window_lookup_for_display michael@0: #undef gdk_x11_window_get_xid michael@0: michael@0: static inline GdkWindow * michael@0: gdk_x11_window_lookup_for_display(GdkDisplay *display, Window window) michael@0: { michael@0: return gdk_window_lookup_for_display(display, window); michael@0: } michael@0: michael@0: static inline Window michael@0: gdk_x11_window_get_xid(GdkWindow *window) michael@0: { michael@0: return(GDK_WINDOW_XWINDOW(window)); michael@0: } michael@0: #endif /* GDKX_WRAPPER_H */