Re: Why is xap_unixClipboard.cpp:canPaste ifdef'd out?

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Thu Mar 22 2007 - 14:15:12 CET

Dominic Lachowicz wrote:
>
> A major problem is how frequently we query the clipboard to see if we
> can paste or not. IIRC, it's something like several times per second,
> which amounted to polling the clipboard.

Question #1: Why do we poll that often?

> As far as I can tell, there is no good way to tell whether you can
> paste or not from a X11 clipboard. You just have to try and see what
> happens. But of course, my recollection of this is also 4.5 years old,
> so I could be talking out of my arse.
>
> http://developer.gnome.org/doc/API/2.0/gtk/gtk-Clipboards.html

Question #2: Don't we have a way to get told by the clipboard that its
content changed?

Hub
Received on Thu Mar 22 14:14:46 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 22 2007 - 14:14:47 CET