Merge pull request #72004 from Riteo/xkb-really-common

Move xkbcommon dynamic loading code into generic linuxbsd folder
This commit is contained in:
Rémi Verschelde 2023-01-25 09:19:37 +01:00
commit f710516bab
No known key found for this signature in database
GPG Key ID: C3336907360768E1
5 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ common_linuxbsd = [
"joypad_linux.cpp", "joypad_linux.cpp",
"freedesktop_portal_desktop.cpp", "freedesktop_portal_desktop.cpp",
"freedesktop_screensaver.cpp", "freedesktop_screensaver.cpp",
"xkbcommon-so_wrap.c",
] ]
if env["x11"]: if env["x11"]:

View File

@ -9,7 +9,6 @@ source_files = [
"dynwrappers/xcursor-so_wrap.c", "dynwrappers/xcursor-so_wrap.c",
"dynwrappers/xinerama-so_wrap.c", "dynwrappers/xinerama-so_wrap.c",
"dynwrappers/xinput2-so_wrap.c", "dynwrappers/xinput2-so_wrap.c",
"dynwrappers/xkbcommon-so_wrap.c",
"dynwrappers/xrandr-so_wrap.c", "dynwrappers/xrandr-so_wrap.c",
"dynwrappers/xrender-so_wrap.c", "dynwrappers/xrender-so_wrap.c",
"dynwrappers/xext-so_wrap.c", "dynwrappers/xext-so_wrap.c",

View File

@ -75,10 +75,11 @@
#include "dynwrappers/xext-so_wrap.h" #include "dynwrappers/xext-so_wrap.h"
#include "dynwrappers/xinerama-so_wrap.h" #include "dynwrappers/xinerama-so_wrap.h"
#include "dynwrappers/xinput2-so_wrap.h" #include "dynwrappers/xinput2-so_wrap.h"
#include "dynwrappers/xkbcommon-so_wrap.h"
#include "dynwrappers/xrandr-so_wrap.h" #include "dynwrappers/xrandr-so_wrap.h"
#include "dynwrappers/xrender-so_wrap.h" #include "dynwrappers/xrender-so_wrap.h"
#include "../xkbcommon-so_wrap.h"
typedef struct _xrr_monitor_info { typedef struct _xrr_monitor_info {
Atom name; Atom name;
Bool primary = false; Bool primary = false;