Re: wms offsetting XMoveWindow() coords



> hello everyone,
> 
> i was just trying to fix up desk-guide (the GNOME pager) movement in a
> window manager independant fashion and encountered two different window
> manager behaviours (probably due to window manager families):
> 
> for a window MyApp being managed by the window manager, and its window
> manager decoration window Frame, with MyApp being offsetted within
> Frame by (fx, fy),
> 
> XMoveWindow (D, MyApp, x, y);
> 
> 1) will move MyApp to (x, y) and thus Frame to (x-fx, y-fy) for
>    Enlightenment,
>    IceWM,
>    AfterStep,
>    fvwm
> 
> 2) will move Frame to (x, y) and thus MyApp to (x+fx, y+fy) for
>    Sawmill
>    twm, ctwm, vtwm,
>    olvwm
>    wm2
>    WindowMaker
> 
> 
> since the application and pagers can hardly tell where exactly the window
> will be moved to, i'd like to propose the addition of another property to
> the new window manager spec:

I think 2) is just wrong behaviour, since according to the ICCCM 
apps should not see unnecessary differences between running with/without
a wm. 

It may still be a good idea to have some property which deals with
the broken behaviour if it is widespread (as your list indicates).

-- 
Matthias Clasen, 
Tel. 0761/203-5606
Email: clasen@mathematik.uni-freiburg.de
Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg



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