discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: focus app with one mouse click?


From: Björn Gohla
Subject: Re: focus app with one mouse click?
Date: Mon, 5 Nov 2001 20:42:12 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 05 November 2001 18:25, Pascal Bourguignon wrote:
> > Date: Mon, 5 Nov 2001 17:51:18 +0100
> > From: =?utf-8?q?Bj=C3=B6rn=20Gohla?= <b.gohla@gmx.de>
> >
> > i find it very irritating having to double-click an applications
> > miniwindow to have its menus and panels mapped. where do i have to look
> > to make this behavior configurable (to a single button-2 click perhaps) ?
>
> Well,  you're free  to have  it as  you want,  the more  so  since the
> sources are available  to let you change it, but  note that that's the
> way  it's  done  under  NeXTSTEP.  A single  clic  on  an  application
> miniwindow would just orderFront: it. A click-and-drag would allow you
> to move it anywhere you want on the desktop.
i am well aware that it is not the way NeXTSTEP does it, but still having 
used kde for a while i find double clicks rather awkward.

> To answer  to your question, I  think it's a matter  of windowmaker. I
> guess  it's  the  window  manager  who gets  these  events  first  and
> translates/transfers them to the  application. It could easily convert
> a single-click event to an application activate event.
someone more knowledgeable may provide some more insight here, but as far as 
i can see, the window manager sends a WM_TAKE_FOCUS message to the client, 
when it thinks that client should receive the focus, which then in turn has 
to request that its menus and panels be mapped. i know this because the 
window manager i use (larswm) focuses the miniwindow on single click, but the 
menu only appears after another double click, (which only works partially). 

btw, i know quite well that i am free to implement this, my question was 
rather what source files to look at.
- -- 
- --------------------
Something being fool-proof means it takes an engineer to break it.
pub  1024D/834F4976 2001-01-07 Björn Gohla (Wissenschaftler, Weltbürger) 
<b.gohla@gmx.de>
     Key fingerprint = 9FF4 FEDA CCDF DA0E 14D5  8129 6C14 3C39 834F 4976
sub  1024g/29571FE2 2001-01-07
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE75uuZbBQ8OYNPSXYRApS0AKCeWjJHpD1ctLREzx2DFsoTOCty7QCgj23v
23fjqCkJMRR2BZDPLfcGOZM=
=+e8B
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]