protocols/datadevice: avoid double leave
ref https://github.com/hyprwm/Hyprland/discussions/12494
This commit is contained in:
parent
1ff801f5f3
commit
9aa313402b
2 changed files with 11 additions and 2 deletions
|
|
@ -111,8 +111,10 @@ class CWLDataDeviceResource : public IDataDevice {
|
|||
WP<CWLDataDeviceResource> m_self;
|
||||
|
||||
private:
|
||||
SP<CWlDataDevice> m_resource;
|
||||
wl_client* m_client = nullptr;
|
||||
SP<CWlDataDevice> m_resource;
|
||||
wl_client* m_client = nullptr;
|
||||
|
||||
WP<CWLSurfaceResource> m_entered;
|
||||
|
||||
friend class CWLDataDeviceProtocol;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue