Pasting implemented (nonworking)
This commit is contained in:
+9
-6
@@ -257,12 +257,15 @@ func (window *window) handleSelectionClear (
|
||||
connection *xgbutil.XUtil,
|
||||
event xevent.SelectionClearEvent,
|
||||
) {
|
||||
// TODO: schedule the claim to be deleted. when the event loop fires we
|
||||
// will check to see if the claim is scheduled to be deleted and if it
|
||||
// is, delete it.
|
||||
if window.selectionClaim != nil {
|
||||
window.selectionClaim.scheduledDelete = true
|
||||
}
|
||||
window.selectionClaim = nil
|
||||
}
|
||||
|
||||
func (window *window) handleSelectionRequest (
|
||||
connection *xgbutil.XUtil,
|
||||
event xevent.SelectionRequestEvent,
|
||||
) {
|
||||
if window.selectionClaim == nil { return }
|
||||
window.selectionClaim.handleSelectionRequest(connection, event)
|
||||
}
|
||||
|
||||
func (window *window) compressExpose (
|
||||
|
||||
Reference in New Issue
Block a user