[comp.windows.x] Strange behaviour ?

rmacfarq@cs.strath.ac.uk (Roderick F MacFarquhar IE87) (04/14/90)

I'm looking for some pointers for how to produce the following behaviour..

I want one keyboard/pointer button combination which will..
(under hpwm and also using a client program)

Circulate the client windows (like an f.circle_up operation from the window
  manager.
Give Input Focus to the topmost client window in the stack.
Warp the pointer to the title bar of the window which I've just given
  input focus too.

At the moment the closest I have come is a two stage operation where I have
the hpwm keyboardFocusPolicy set to pointer and f.circle_up bound to
Meta-Tab.  I also have a client which has grabbed F8 and when F8 is pressed
it queries the window tree from root and warps the pointer to the top
centre of the topmost window in the stack.  So, in combination, I press
Meta-Tab and a new window is circulated to the top of the stack then I press
F8 and the pointer warps to this window giving it the input focus because
of the focus policy.

Does anyone have any ideas on how to trigger all of this from one key press?

Thanks in advance

  Roddy

_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
 Roderick MacFarquhar - Information Eng IV, Strathclyde University 
 Janet rmacfarq@cs.strath.ac.uk    Internet rmacfarq%cs.strath.ac.uk@nsf.ac.uk 
 Voice (but I'm rarely home - sob :'{ ) +44 (0)41 339 0263 
 'How many fibres are intertwined in a shreaded wheat biscuit ?' 
~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~"~