diff options
author | Aaron Sowry <aaron@cendio.se> | 2019-04-25 12:31:23 +1200 |
---|---|---|
committer | Niko Lehto <nikle@cendio.se> | 2020-05-29 15:26:32 +0200 |
commit | c79a05dc152a6a51d38b8db9f085339bd193241a (patch) | |
tree | aeffa11a8cad428bc9d2467645902f17c85dd4fa /cmake | |
parent | 6e8147eb122eb8670513d6001e413bd983e93075 (diff) | |
download | tigervnc-c79a05dc152a6a51d38b8db9f085339bd193241a.tar.gz tigervnc-c79a05dc152a6a51d38b8db9f085339bd193241a.zip |
Implement X Input pointer handling for Unix
Switch from using Core events to using X Input events for pointer
devices in order to differentiate between mouse events and touch events.
Because FLTK doesn't understand X Input 2, we intercept these events and
translate them to core events where possible.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/StaticBuild.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake index 43a0786e..9129f9db 100644 --- a/cmake/StaticBuild.cmake +++ b/cmake/StaticBuild.cmake @@ -112,6 +112,9 @@ if(BUILD_STATIC) if(X11_Xrandr_LIB) set(X11_Xrandr_LIB "-Wl,-Bstatic -lXrandr -lXrender -Wl,-Bdynamic") endif() + if(X11_Xi_LIB) + set(X11_Xi_LIB "-Wl,-Bstatic -lXi -Wl,-Bdynamic") + endif() endif() endif() |