summaryrefslogtreecommitdiff
path: root/src/protocols/core/DataDevice.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-12-14 16:19:56 +0100
committerGitHub <noreply@github.com>2024-12-14 16:19:56 +0100
commit9f7a96b997d90c4c188f3837e02859a25a05611e (patch)
treeea3fde67a04a5c9adbf2011b05c2056892ad2b1e /src/protocols/core/DataDevice.hpp
parent3cba4ba44e7ba3cc8bb67ac71bc61245b5aca347 (diff)
core/data: Use pointer focus for DnD operations (#8707)
fixes #7737
Diffstat (limited to 'src/protocols/core/DataDevice.hpp')
-rw-r--r--src/protocols/core/DataDevice.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/core/DataDevice.hpp b/src/protocols/core/DataDevice.hpp
index 81ca1b11..bf22b511 100644
--- a/src/protocols/core/DataDevice.hpp
+++ b/src/protocols/core/DataDevice.hpp
@@ -155,6 +155,7 @@ class CWLDataDeviceProtocol : public IWaylandProtocol {
void sendSelectionToDevice(SP<CWLDataDeviceResource> dev, SP<IDataSource> sel);
void updateSelection();
void onKeyboardFocus();
+ void onDndPointerFocus();
struct {
WP<CWLDataDeviceResource> focusedDevice;
@@ -191,6 +192,7 @@ class CWLDataDeviceProtocol : public IWaylandProtocol {
struct {
CHyprSignalListener onKeyboardFocusChange;
+ CHyprSignalListener onDndPointerFocusChange;
} listeners;
};