Skip to content

Commit

Permalink
Move xkbcommon dynamic loading code into generic linuxbsd folder
Browse files Browse the repository at this point in the history
Since Wayland uses it too, it only makes sense to have it in the parent
directory of both.
  • Loading branch information
Riteo committed Jan 25, 2023
1 parent 4fa6edc commit beaff2f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions platform/linuxbsd/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ common_linuxbsd = [
"joypad_linux.cpp",
"freedesktop_portal_desktop.cpp",
"freedesktop_screensaver.cpp",
"xkbcommon-so_wrap.c",
]

if env["x11"]:
Expand Down
1 change: 0 additions & 1 deletion platform/linuxbsd/x11/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ source_files = [
"dynwrappers/xcursor-so_wrap.c",
"dynwrappers/xinerama-so_wrap.c",
"dynwrappers/xinput2-so_wrap.c",
"dynwrappers/xkbcommon-so_wrap.c",
"dynwrappers/xrandr-so_wrap.c",
"dynwrappers/xrender-so_wrap.c",
"dynwrappers/xext-so_wrap.c",
Expand Down
3 changes: 2 additions & 1 deletion platform/linuxbsd/x11/display_server_x11.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@
#include "dynwrappers/xext-so_wrap.h"
#include "dynwrappers/xinerama-so_wrap.h"
#include "dynwrappers/xinput2-so_wrap.h"
#include "dynwrappers/xkbcommon-so_wrap.h"
#include "dynwrappers/xrandr-so_wrap.h"
#include "dynwrappers/xrender-so_wrap.h"

#include "../xkbcommon-so_wrap.h"

typedef struct _xrr_monitor_info {
Atom name;
Bool primary = false;
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit beaff2f

Please sign in to comment.