forked from jordansissel/xdotool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect if the X server is XWayland and report an error. (jordansissel…
…#342) * Detect if the X server is XWayland and report an error. Also: Detect if $DISPLAY env is not set and report a more informative error message. For the purposes of libxdo/xdotool, XWayland does not work, so it's best to notify the user accordingly if detected. This adds a dependency on XInput `libxi` because the only[1] way I have found to detect XWayland is through this extension [1] There is another detection method which uses XFree86-VidModeExtension, but I don't know how common that extension is compared to XInput2. Fixes jordansissel#341. Related to jordansissel#337. * xdo_version.h update when VERSION updates * Fix typo in version.sh which leaves an extra plus '+' character in the date * Run help or version commands without trying to connect to the X11 display * Free when detecting
- Loading branch information
1 parent
ed10a77
commit 9d9be33
Showing
4 changed files
with
57 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters