Skip to content

Commit 1678e25

Browse files
committed
Extend X11 input driver with XInput2 extensions for multi-mouse
Add multi-mouse support for X11, by using XInput2 extensions. Only master pointers are considered as mice. New behavior put behind HAVE_XI2 and configure script extended with necessary detection.
1 parent 274d873 commit 1678e25

4 files changed

Lines changed: 250 additions & 135 deletions

File tree

Makefile.common

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,10 @@ ifeq ($(HAVE_X11), 1)
13501350
ifeq ($(HAVE_XCB),1)
13511351
LIBS += -lX11-xcb
13521352
endif
1353+
ifeq ($(HAVE_XI2),1)
1354+
LIBS += -lXi
1355+
DEFINES += -DHAVE_XI2
1356+
endif
13531357
ifeq ($(HAVE_XSCRNSAVER),1)
13541358
LIBS += -lXss
13551359
endif

0 commit comments

Comments
 (0)