xpra icon
Bug tracker and wiki

Opened 3 weeks ago

#2013 new enhancement

avoid awt clipboard spam

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 3.0
Component: clipboard Version: 2.4.x
Keywords: Cc:

Description

It just requests the targets over and over...

do_selection_request_event(<gtk.gdk.Event at 0x7f90910f7b70: GDK_SELECTION_REQUEST selection=CLIPBOARD, target=TARGETS, property=XAWT_TARGETS_OF_SELECTION:CLIPBOARD>)
target for CLIPBOARD: 'TARGETS'
do_selection_request_event(<gtk.gdk.Event at 0x7f90910f7b70: GDK_SELECTION_REQUEST selection=CLIPBOARD, target=TARGETS, property=XAWT_TARGETS_OF_SELECTION:CLIPBOARD>) target=TARGETS, selection=CLIPBOARD
do_selection_get(<GtkSelectionData at 0x7ffe41037310>, 0, 0) selection=CLIPBOARD

We should be able to cache the last value of TARGETS and re-use it when we see XAWT_TARGETS_OF_SELECTION:CLIPBOARD.

Change History (0)

Note: See TracTickets for help on using tickets.