mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
x11: Always update clipboard owner
This allows utilities like clipboard managers to keep track of the changes.
This commit is contained in:
@@ -92,9 +92,7 @@ static int SetSelectionData(SDL_VideoDevice *_this, Atom selection, SDL_Clipboar
|
||||
clipboard->mime_count = mime_count;
|
||||
clipboard->sequence = sequence;
|
||||
|
||||
if (!clipboard_owner) {
|
||||
X11_XSetSelectionOwner(display, selection, window, CurrentTime);
|
||||
}
|
||||
X11_XSetSelectionOwner(display, selection, window, CurrentTime);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user