Commit 1b80e7a9 authored by Gatis Paeglis's avatar Gatis Paeglis Committed by Gatis Paeglis
Browse files

Store clipboard before exiting native GTK dialog


Gtk library usually takes care of this when the main
Gtk loop ends, but since Gtk's main even loop is not
used in QGtk2Dialog we have to store clipboard's content
with help of gtk_clipboard_store(). This function
sends a SAVE_TARGETS request to X11 clipboard manager
to save clipboards contents as required by ICCCM.

Task-number: QTBUG-34475
Change-Id: If784c425ea4a36ec1c3a8ddc0cdec080f57681a5
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
parent 1ef505d0
No related merge requests found
Showing with 1 addition and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment