Can't get x position of a window



Hi, 

Can't get x position of a window, despite I tried :

gdk_window_get_root_origin (window, &x, &y);
gdk_window_get_position (window, &x, &y);
gdk_window_get_deskrelative_origin (window, &x, &y);

on Xfree 3, 4 on enlightenment, twm, fvwm, windowmaker...

And alway get a good y postion but x is always equal to 0

Any Clue ?

Paul.

ps : Amaya 5.3 is out with a GTK version working very well, try it out !  
(despite the save window geometry bug on x position ;)
Homepage : http://www.w3.org/Amaya/
Binaries : http://www.w3.org/Amaya/User/BinDist.html
Source : http://www.w3.org/Amaya/User/SourceDist.html



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