Find a file
Liu Heng 599c8243de xwayland: prevent X11 get enter event when pointer is over Wayland client
In Wayland, mouse coordinates are not updated after all x11 clients have left,
causing the mouse information to remain at the position left by the last x11
client. However, if CheckMotion is called at this point for other reasons
(such as window mapped, reactive, etc.), xwayland might continue to send enter
events to x11 clients, even if the mouse is actually on a Wayland client.

This MR introduces and checks pointer_enter_count to determine if the mouse
has left an x11 client and is now on a Wayland client. When it's confirmed
that the mouse is no longer on an x11 client but on a Wayland client,
returning TRUE in sprite_check_lost_focus causes XYToWindow to return to the
root window, preventing further enter events from being sent to x11 clients.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2112>
(cherry picked from commit e673a4bda0)
(cherry picked from commit 6bef11002f)
2026-03-24 16:05:35 +01:00
.gitlab-ci CI: update libdecor from 0.1.0 to 0.1.1 2024-09-24 11:33:02 +02:00
composite composite: initialize border clip even when pixmap alloc fails 2025-02-25 19:38:11 +01:00
damageext Remove autotools support 2021-10-27 13:15:40 +03:00
dbe Drop Xorg DDX 2024-04-12 10:40:05 +02:00
dix dix: set errorValue correctly when XID lookup fails in ChangeGCXIDs() 2026-03-24 16:05:35 +01:00
doc dix: dixutils: make workQueue pointer dix-private 2024-02-23 23:06:38 +00:00
dri3 Drop Xorg DDX 2024-04-12 10:40:05 +02:00
fb Drop Xorg DDX 2024-04-12 10:40:05 +02:00
glamor glamor: avoid double free in glamor_make_pixmap_exportable() 2026-03-24 16:05:35 +01:00
glx Drop Xorg DDX 2024-04-12 10:40:05 +02:00
hw xwayland: prevent X11 get enter event when pointer is over Wayland client 2026-03-24 16:05:35 +01:00
include dix-config.h: define HAVE_STRUCT_SOCKADDR_STORAGE for xtrans 1.6 2025-04-08 10:05:49 +02:00
man Drop Xorg DDX 2024-04-12 10:40:05 +02:00
mi mi: guard miPointer functions against NULL dereferences 2025-04-08 10:03:30 +02:00
miext Drop miext/shadow directory 2024-04-12 10:40:05 +02:00
os os: make FormatInt64() handle LONG_MIN correctly 2026-03-24 16:05:35 +01:00
present build: Move epoll dependency check 2024-09-24 10:49:33 +02:00
randr Drop Xorg DDX 2024-04-12 10:40:05 +02:00
record dix: unexport eventconvert.h functions 2024-03-11 12:26:44 +01:00
render render: avoid NULL pointer dereference if PictureFindVisual returns NULL 2025-02-04 09:18:34 +01:00
test test: Fix xsync test 2025-02-25 19:38:08 +01:00
Xext panoramix: avoid null dereference in PanoramiXConsolidate() 2026-03-24 16:05:35 +01:00
xfixes Move sizeof to second argument in calloc calls 2024-08-06 10:00:59 +02:00
Xi Xi: disallow grabbing disabled devices 2025-04-08 10:04:53 +02:00
xkb xkb: Add tbGetBufferString helper function 2025-04-08 10:03:55 +02:00
.appveyor.yml Drop Xephyr / kdrive DDX 2024-04-12 10:40:05 +02:00
.dir-locals.el .dir-locals.el: Add missing final newline 2019-10-01 17:05:28 +00:00
.gitignore Clean up the .gitignore file 2024-01-12 00:50:24 +00:00
.gitlab-ci.yml CI: update libdecor from 0.1.0 to 0.1.1 2024-09-24 11:33:02 +02:00
.mailmap Add a .mailmap file to canonicalize author names and emails 2023-03-15 18:10:51 +00:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
meson.build meson: don't build xselinux if xace is disabled 2026-03-24 16:05:35 +01:00
meson_options.txt meson: Build Xwayland unconditionally 2024-04-12 10:40:05 +02:00
README.md Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
SECURITY.md xwayland: Expunge the SECURITY.md file 2026-03-24 16:05:35 +01:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct