1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
11 #define INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
14 #if defined(GDK_WINDOWING_X11)
15 #if GTK_CHECK_VERSION(4, 0, 0)
16 #include <gdk/x11/gdkx.h>
20 bool DLSYM_GDK_IS_X11_DISPLAY(GdkDisplay
* pDisplay
);
22 #if defined(GDK_WINDOWING_WAYLAND)
23 #if GTK_CHECK_VERSION(4, 0, 0)
24 #include <gdk/wayland/gdkwayland.h>
26 #include <gdk/gdkwayland.h>
28 bool DLSYM_GDK_IS_WAYLAND_DISPLAY(GdkDisplay
* pDisplay
);
31 #endif // INCLUDED_VCL_INC_UNX_GTK_GTKBACKEND_HXX
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */