gardesk/garclip / dd13872

Browse files

integrate primary debounce into event loop

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
dd138728b6e0a976d6e49f0ceafc5d4b4b5e962e
Parents
6696d4b
Tree
d98f4fa

1 changed file

StatusFile+-
M garclip/src/daemon/state.rs 5 0
garclip/src/daemon/state.rsmodified
@@ -139,6 +139,11 @@ impl DaemonState {
139139
             }
140140
         }
141141
 
142
+        // Check for debounced PRIMARY content ready to commit
143
+        if let Some(id) = self.manager.commit_pending_primary() {
144
+            self.send_clipboard_event(id);
145
+        }
146
+
142147
         Ok(())
143148
     }
144149