Re: exporting _gtk_selection_request for selection manager use
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: "Xavier Toth" <txtoth gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: exporting _gtk_selection_request for selection manager use
- Date: Sat, 15 Mar 2008 12:57:27 -0400
On Thu, Mar 13, 2008 at 1:38 PM, Xavier Toth <txtoth gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]