Commits on Source (8)
-
Tamura Dai authored
"-mouse" require two commas before options. Signed-off-by:
Tamura Dai <kirinode0@gmail.com>
f3396296 -
orbea authored
Signed-off-by:
orbea <orbea@riseup.net>
d266274c -
The event might be a DeviceEvent allocated on the stack, in AccessXKeyboardEvent for instance. Fixes out-of-bounds read. Signed-off-by:
Mike Gorse <mgorse@suse.com>
2ef5ef57 -
Jeremy Huddleston Sequoia authored
Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2577291f -
Jeremy Huddleston Sequoia authored
GetLocalClientCreds() was preferring getpeereid() above other implementations. getpeereid(), however, only returns the effective uid and gid of the peer, leaving the pid unset. When this happens, we are unable to use the pid to determine the peer's command line arguments and incorrectly treat ssh-tunneled traffic as local. To address this, we now prioritize getpeerucred() or SO_PEERCRED as those two implementations will return the pid in addition to uid and gid. Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
165d5c12 -
Jeremy Huddleston Sequoia authored
os: Use LOCAL_PEERPID from sys/un.h if it is available to detemine the pid when falling back on getpeereids() This provides a way to determine the pid of a peer connection on systems like darwin that do not support getpeerucred() nor SO_PEERCRED. Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
8a4ab228 -
Jeremy Huddleston Sequoia authored
Withoug a proper implementation of DetermineClientCmd, clients that connect via an ssh tunnel are miscategorized as local. This results in failures when we try to use SCM_RIGHTS (eg: in MIT-SHM). Fixes: https://github.com/XQuartz/XQuartz/issues/314 Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
0ea9b595 -
Olivier Fourdan authored
With libdecor, when the state changes (in the configure handler), we need to commit the libdecor frame but also the wl_surface, otherwise the surface is left in a uncommitted state until a wl_surface commit eventually occurs later. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Fixes: c74c6add - xwayland: add optional support for libdecor Reviewed-by:
Jonas Ådahl <jadahl@gmail.com>
a7ee25f6
Showing
- dix/events.c 1 addition, 1 deletiondix/events.c
- hw/kdrive/src/kdrive.c 1 addition, 1 deletionhw/kdrive/src/kdrive.c
- hw/xwayland/xwayland-window.c 7 additions, 0 deletionshw/xwayland/xwayland-window.c
- include/meson.build 1 addition, 0 deletionsinclude/meson.build
- meson.build 26 additions, 27 deletionsmeson.build
- os/access.c 32 additions, 14 deletionsos/access.c
- os/client.c 109 additions, 1 deletionos/client.c
- os/connection.c 2 additions, 2 deletionsos/connection.c