core/data: Use pointer focus for DnD operations (#8707)

fixes #7737
This commit is contained in:
Vaxry 2024-12-14 16:19:56 +01:00 committed by GitHub
parent 3cba4ba44e
commit 9f7a96b997
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 45 additions and 19 deletions

View file

@ -95,6 +95,8 @@ class CSeatManager {
WP<CWLSurfaceResource> touchFocus;
WP<CWLSeatResource> touchFocusResource;
WP<CWLSurfaceResource> dndPointerFocus;
} state;
struct SSetCursorEvent {
@ -105,6 +107,7 @@ class CSeatManager {
struct {
CSignal keyboardFocusChange;
CSignal pointerFocusChange;
CSignal dndPointerFocusChange;
CSignal touchFocusChange;
CSignal setCursor; // SSetCursorEvent
CSignal setSelection;