Skip to content

Commit 277a948

Browse files
committed
(#17) Added extern declaration to avoid symbol mangeling
1 parent 439de7a commit 277a948

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/linux/window_manager.cc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#include <X11/Xlib.h>
22
#include <X11/Xutil.h>
33
#include "../window_manager.h"
4-
#include "../xdisplay.h"
4+
extern "C" {
5+
#include "../xdisplay.h"
6+
}
57

68
WindowHandle getActiveWindow() {
79
Display* xServer = XGetMainDisplay();

0 commit comments

Comments
 (0)