aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2026-10-27 04:05:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2026-10-27 04:40:32 +0100
commit0bc344b0d4a490d91d3a7e5e0cbe6481a4e88ab4 (patch)
tree45316a01ae17151f33d267abaa57680ddd713e26 /Makefile
parentInitial commit (diff)
downloadkwin-type-master.tar.xz
kwin-type-master.zip
Use KWin's EIS interface to send UTF-8 textHEADv0.2master
Rather than using the fake-input Wayland protocol, use the private KWin D-Bus endpoint, org.kde.KWin.EIS.RemoteDesktop, which can give us a fd to pass to libei, without needing portals. libei then lets us send 254 bytes of UTF-8 at a time. So we do a little bit of shuffling to make sure we're not in the middle of a UTF-8 string.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4362be1..6ef857f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ MANDIR ?= $(PREFIX)/share/man
CFLAGS ?= -O2 -march=native
CFLAGS += -std=gnu23 -Wall -Wextra
-PACKAGES := 'wayland-client >= 1.23' 'xkbcommon >= 1.0'
+PACKAGES := 'dbus-1 >= 1.6' 'libei-1.0 >= 1.6'
CFLAGS += $(shell $(PKG_CONFIG) --cflags $(PACKAGES))
LDLIBS += $(shell $(PKG_CONFIG) --libs $(PACKAGES))