mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-25 08:53:48 -07:00
protocols: do not capture cursor in toplevel without pointer focus (#9042)
This commit is contained in:
@@ -51,9 +51,9 @@ class CToplevelExportFrame {
|
||||
SP<CHyprlandToplevelExportFrameV1> resource;
|
||||
|
||||
PHLWINDOW pWindow;
|
||||
bool overlayCursor = false;
|
||||
bool ignoreDamage = false;
|
||||
bool lockedSWCursors = false;
|
||||
bool cursorOverlayRequested = false;
|
||||
bool ignoreDamage = false;
|
||||
bool lockedSWCursors = false;
|
||||
|
||||
WP<IHLBuffer> buffer;
|
||||
bool bufferDMA = false;
|
||||
@@ -66,6 +66,7 @@ class CToplevelExportFrame {
|
||||
bool copyDmabuf(timespec* now);
|
||||
bool copyShm(timespec* now);
|
||||
void share();
|
||||
bool shouldOverlayCursor() const;
|
||||
|
||||
friend class CToplevelExportProtocol;
|
||||
};
|
||||
|
Reference in New Issue
Block a user