Hi,

Am Montag, den 08.10.2007, 15:45 +0200 schrieb Peter Eisentraut:
> Am Sonntag, 7. Oktober 2007 schrieb Joachim Breitner:
> > the attached patch makes the pinentry-gtk-2 transient for the root
> > window. This will prevent confusion for the user when another window
> > seems to have the focus but pinentry-gtk-2 has the keyboard grab. It
> > also helps window managers such as xmonad to properly position the
> > window.
> 
> I have no idea what this means.

Sorry, I can try to be more clear. Putting a window, usually a dialog,
in transient state for another window means that that window can not be
used while the dialog is on − this is sometimes also called a modal
dialog.

When you select the root window (which is an X11 concept, not a real
window with a frame and everything), this then means that the dialoge
should be put above the others and that this window has to be handled
before anything can be done to the other windows.

As pinentry-gtk-2 grabs the key input (meaning all key presses go to
that window) it is confusing for the user that they can still work with
other windows using the mouse.

This patch fixes this, as it tells the window manager about the special
situation of this window.

Hope that helps,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata



Reply via email to