mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 14:45:21 +08:00
added handling for DestroyNotify of clipboard requestors.
This commit is contained in:
@@ -160,6 +160,12 @@ void CXWindowsPrimaryScreen::run()
|
||||
xevent.xproperty.time);
|
||||
}
|
||||
break;
|
||||
|
||||
case DestroyNotify:
|
||||
// looks like one of the windows that requested a clipboard
|
||||
// transfer has gone bye-bye.
|
||||
destroyClipboardRequest(xevent.xdestroywindow.window);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user