static Rect *pick_head(ObClient *c)
{
Rect *area = NULL;
- gint i;
+ gint i, px, py;
/* try direct parent first */
if (c->transient_for && c->transient_for != OB_TRAN_GROUP) {
Rect *area;
area = pick_head(client);
+ screen_pointer_pos(&px, &py);
l = area->x;
t = area->y;
static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y,
ObAppSettings *settings)
{
- gint px, py, i;
Rect *screen;
if (!settings || (settings && !settings->pos_given))