http://mail.gnome.org/archives/wm-spec-list/2006-May/msg00000.html Send ConfigureNotify events when a window is mapped at the position it has specified. When we add decorations, the window gets moved in reference to the root window, so it needs to be told.
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
2 deletions(-)
jump to
M
openbox/client.c
→
openbox/client.c
@@ -2134,8 +2134,12 @@ client_maximize(self, TRUE, 1);
pos = TRUE; } - /* if the client didn't get positioned yet, then do so now */ - if (!pos && (ox != x || oy != y)) { + /* if the client didn't get positioned yet, then do so now + call client_move even if the window is not being moved anywhere, because + when we reparent it and decorate it, it is getting moved and we need to + be telling it so with a ConfigureNotify event. + */ + if (!pos) { /* use the saved position */ self->area.x = ox; self->area.y = oy;