primary-selection: move to hyprland impl

This commit is contained in:
Vaxry
2024-05-13 21:47:59 +01:00
parent 3eeaea5be9
commit 94c20a1863
10 changed files with 529 additions and 14 deletions

View File

@@ -109,9 +109,12 @@ class CSeatManager {
struct {
WP<IDataSource> currentSelection;
CHyprSignalListener destroySelection;
WP<IDataSource> currentPrimarySelection;
CHyprSignalListener destroyPrimarySelection;
} selection;
void setCurrentSelection(SP<IDataSource> source);
void setCurrentPrimarySelection(SP<IDataSource> source);
// do not write to directly, use set...
WP<IPointer> mouse;