I'd like to attach a function to a menu-click on a window's title bar
that does something different according to the window.
Now, I think that 'CurrentWindow (WindowIWant) DoIt' in the function
attached with 'Mouse' will do the trick by virtue of the fact that by the
time the click's processed, said window will have the focus and thus be
'Current'.
Am I right, firstly? Is 'CurrentWindow' /actually/ the focus window? If
this won't work, is there another way of identifying the window upon which
the action occured?
I'm aware that, e.g., Iconise (with no params.) works in this context,
correctly identifying the window that the click occured upon, but is this
again simply due to the clicked window becoming 'Current' by getting the
focus?
--
========================- http://www.rdel.co.uk/ -======================
Neil Bird | This is who we are The time is near
|
mailto:neil.bird_at_rdel.co.uk | There are 163 days remaining
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jul 22 1999 - 05:59:04 BST