Andrew Elcock wrote:
OK - this is not working fully :(
these lines:
- ecore_x_window_prop_xy_set(od_window,
- (int) ((res_x - options.width) / 2.0 + x),
- (int) (res_y - options.height + y));
+ ecore_x_window_move(od_window,
+ (int) ((res_x - options.width) / 2.0 + x),
+ (int) (res_y - options.height + y));
- ecore_x_window_prop_xy_set(od_window, (res_x - options.width) / 2, res_y -
height);
+ ecore_x_window_move(od_window, (res_x - options.width) / 2, res_y -
height);
do not actually move the window any more
seems to me that
XMoveWindow
is not getting called by ecore_x_window.c - looking at the X manual I see:
If the override-redirect flag of the window is False and some other
client has selected SubstructureRedirectMask on the parent, the X server
generates a ConfigureRequest event, and no further processing is
performed. Otherwise, the window is moved.
ideas?
You need to add a position request. Use the
ecore_x_icccm_size_pos_hints_set() (or something like that).
Sebastian
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel