pick the xinerama head of the parent if possible
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
plugins/placement/placement.c
→
plugins/placement/placement.c
@@ -28,6 +28,12 @@ }
static Rect* pick_head(ObClient *c) { + /* try direct parent first */ + if (c->transient_for && c->transient_for != TRAN_GROUP) { + return screen_area_monitor(c->desktop, + client_monitor(c->transient_for)); + } + /* more than one guy in his group (more than just him) */ if (c->group && c->group->members->next) { GSList *it;