Georgios Petasis
unread,Jun 4, 2012, 6:11:09 AM6/4/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi all,
I have implemented my own code for getting an X11 selection, by
registering a "SelectionNotify" event handler (through
Tk_CreateEventHandler) on a window (Tk_MainWindow(interp)), and calling
XConvertSelection on the window.
What I observe is that there is a delay in getting a selection (from 1
sec to 5 sec that I timeout).
But if I click on my window (so as the application gets the input
focus), I get the selection instantly.
Is Tk "lazy" in processing event, if the application does not have the
input focus?
George