summaryrefslogtreecommitdiff
path: root/tools/interactive-wayland.c
Commit message (Collapse)AuthorAgeFilesLines
* interactive-wayland: Fix interface versioningJan Alexander Steffens (heftig)2022-09-241-5/+5
| | | | | | | | We need to request the lower version of the interface versions we support and the server supports, not the higher version. Using the higher version caused crashes due to unbound callbacks on GNOME, which supports a higher version of `xdg_wm_base`.
* interactive-wayland: fallback to ftruncate() if neededEvgeniy Khramtsov2021-04-141-11/+24
| | | | | | | | | | Fallback to ftruncate() if the underlying filesystem does not support posix_fallocate(). Idea by: Jan Beich <jbeich@FreeBSD.org>, Niclas Zeising <zeising@FreeBSD.org> Inspired by: Wayland cursor/os-compatibility.c [ran: small adjustments] Signed-off-by: Ran Benita <ran@unusedvar.com>
* tools: consistently return 2 on invalid usagePeter Hutterer2020-07-251-0/+8
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: don't depend on src/utils.hRan Benita2020-06-281-1/+6
| | | | | | | The idea is to make the tools/demos as standalone as possible so that they may serve as examples as well. Signed-off-by: Ran Benita <ran@unusedvar.com>
* tools: move the remaining tools from test to herePeter Hutterer2020-06-251-0/+712
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>