protocols: do not capture cursor in toplevel without pointer focus (#9042)
This commit is contained in:
parent
a3a7499317
commit
4f0f512cab
2 changed files with 24 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue