forked from AuroraMiddleware/gtk
wayland: Put interface version defines in a common place
So far only one, but put it somewhere all files can see it. https://bugzilla.gnome.org/show_bug.cgi?id=746141
This commit is contained in:
parent
c7be8fd398
commit
7b2cdabc2e
@ -40,6 +40,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define WL_SURFACE_HAS_BUFFER_SCALE 3
|
||||
|
||||
#define GDK_WINDOW_IS_WAYLAND(win) (GDK_IS_WINDOW_IMPL_WAYLAND (((GdkWindow *)win)->impl))
|
||||
|
||||
GdkKeymap *_gdk_wayland_keymap_new (void);
|
||||
|
@ -37,8 +37,6 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define WL_SURFACE_HAS_BUFFER_SCALE 3
|
||||
|
||||
#define WINDOW_IS_TOPLEVEL_OR_FOREIGN(window) \
|
||||
(GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD && \
|
||||
GDK_WINDOW_TYPE (window) != GDK_WINDOW_OFFSCREEN)
|
||||
|
Loading…
Reference in New Issue
Block a user