weston/libweston/desktop
Derek Foreman 889c2e3f0d xwayland: Fix delay in displaying pop-up menu
Xwayland pop-up menus aren't displayed until the mouse moves, or some other
action causes the compositor to repaint.

This is because the shell knows nothing about xwayland override redirect
windows, so it won't assign them an output. Without an output, the
surface commit won't cause a repaint.

Fix this with brute force by updating their geometry on commit. If the
geometry is dirty (and it will be for new surfaces), this will cause an
output to be assigned before the upcoming weston_surface_schedule_repaint()

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Found-by: Hideyuki Nagase <hideyukn@microsoft.com>
2023-01-28 12:56:23 +00:00
..
client.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
internal.h libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
libweston-desktop.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
meson.build Move libweston-desktop into libweston 2022-06-28 10:35:52 +00:00
seat.c libweston-desktop: Prevent spurious focus change signals 2022-12-02 16:07:25 +00:00
surface.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xdg-shell-v6.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xdg-shell.c libweston/desktop, desktop-shell: Add getters for pending state 2022-11-10 13:06:07 +02:00
xwayland.c xwayland: Fix delay in displaying pop-up menu 2023-01-28 12:56:23 +00:00