On Sun, Jul 27, 2003 at 05:44:36PM +0200, Niclas Olofsson wrote:
> _Most_ of the time the  height is correct, sometimes not

There have been some fixes in transient size calculation.

> I still would like (in these cases) ion to respect the applications 
> suggested size and placement for the dialogs. Does ion do that now? 
> Possible a kludge?

I don't think that would work very well, but the code should now allow
easily adding some gravity winprop and toggle to change the corner/side
of the frame where the window is placed. (The default for normal windows
would be center and transients north.)

> Is there any way that we can extend that function to toggle. "From now on, 
> send all keypresses directly to application, until "this and that 
> key-combination is pressed". 

A matter of writing a simple module that grabs the keyboard using
grab_establish and sends all key presses to the a client window.
There's no need to even specify a mode end key because the escape
key has been hard coded to kill any active grabs. However, the interface
currently  also grabs the pointer so this may not work exactly as one 
would expect. (A vi-like command module could be implemented similarly...)

-- 
Tuomo

Reply via email to