lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: exporting _gtk_selection_request for selection manager use
- Date: Sat, 15 Mar 2008 12:57:27 -0400
- From: "Matthias Clasen" <matthias.clasen@xxxxxxxxx>
- Subject: ***BOGO*** Re: exporting _gtk_selection_request for selection manager use
On Thu, Mar 13, 2008 at 1:38 PM, Xavier Toth <txtoth@xxxxxxxxx> wrote:
> I'm working on a secure selection manager based on glipper. What it
> needs to be able to do is intervene and make a security determination
> when a paste is requested. 'glipper' currently monitors clipboard
> ownership changes at which time is gets the clipboard contents. I've
> modified glipper to become the selection owner after it get the
> clipboard contents and connected a 'selection-request-event' handler
> to process pastes. I'd like to make the security decision and then
> either send a selection notify with GDK_NONE or use the default
> behavior of _gtk_selection_request but this function isn't exported,
> could it be?
I hope you are aware that such 'eager' clipboard manager can cause a
lot of problems.
GTK+ supports a protocol that lets clipboard manager defer getting the
actual clipboard contents until the clipboard owner is about to die.
An implementation of such a clipboard manager can be found in
gnome-settings-daemon.
Matthias
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list