Skip to content
Commit ef4d2955 authored by Derek Foreman's avatar Derek Foreman
Browse files

libweston-desktop: Prevent spurious focus change signals



This should prevent extra focus signal emission the similarly to
how default_grab_pointer_focus() does, though we don't have the
surface jumping logic here.

This stops xdg pings from being sent every output repaint during
a grab when the pointer isn't in any windows belonging to the
grab parent.

An example would be running weston-terminal, bringing up the
right click pop-up, and moving the mouse onto the desktop while
another client causes repaints.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 58de1aac
Loading
Loading
Loading
Pipeline #753561 passed with stages
in 3 minutes and 4 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment