emacs: Enable xinput2 on version 29 and newer

This commit is contained in:
adisbladis 2022-08-22 21:56:00 +08:00
parent 73c90badf3
commit ca25a9c7b2

View File

@ -30,7 +30,7 @@
, withAthena ? false
, withToolkitScrollBars ? true
, withPgtk ? false
, withXinput2 ? false
, withXinput2 ? withX && lib.versionAtLeast version "29"
, withImageMagick ? lib.versionOlder version "27" && (withX || withNS)
, toolkit ? (
if withGTK2 then "gtk2"