wlroots/xwayland
Simon Ser eec2e1d3b1 xwayland: check executable exists on init
Instead of walking PATH like a previous proposal [1], this one
checks that the Xwayland path specified in the pkg-config file
exists.

I think this is a reasonable compromise:

- Users that don't have Xwayland installed system-wide won't get
  a bogus DISPLAY env variable set up.
- Users that have WLR_XWAYLAND set won't be affected by this check.
- Users that have Xwayland installed system-wide and a different
  Xwayland in their PATH still get their custom Xwayland.
- Users that don't have Xwayland installed system-wide but have it
  somewhere else in PATH are left out. But this is pretty niche,
  and they can just set WLR_XWAYLAND.

[1]: https://github.com/swaywm/wlroots/pull/2314
2021-03-03 18:19:12 +01:00
..
selection xwayland/selection: flush connection after changing xwm selection owner 2021-02-15 13:50:14 +01:00
meson.build xwayland: add dependency on xwayland 2021-03-03 18:19:12 +01:00
server.c xwayland: check executable exists on init 2021-03-03 18:19:12 +01:00
sockets.c meson: enable more compiler warnings 2019-03-01 09:20:23 +01:00
sockets.h xwayland: remove remaining SOCK_CLOEXEC 2019-02-20 17:04:00 +01:00
xwayland.c Free xwayland cursor in wlr_xwayland_destroy 2021-01-17 12:28:55 +01:00
xwm.c xwayland: free render picture backing cursor 2021-02-05 11:45:54 +01:00