470 |
XGetWindowAttributes (dpy, w, &attr); |
XGetWindowAttributes (dpy, w, &attr); |
471 |
c->window = w; |
c->window = w; |
472 |
if (typeAbove (c->window)) |
if (typeAbove (c->window)) |
473 |
c->above = True; |
{ |
474 |
|
c->above = True; |
475 |
|
c->was_above = True; |
476 |
|
} |
477 |
else |
else |
478 |
c->above = False; |
{ |
479 |
|
c->above = False; |
480 |
|
c->was_above = False; |
481 |
|
} |
482 |
c->x = c->old_x = attr.x; |
c->x = c->old_x = attr.x; |
483 |
c->y = c->old_y = attr.y; |
c->y = c->old_y = attr.y; |
484 |
c->width = c->old_width = attr.width; |
c->width = c->old_width = attr.width; |
948 |
clientSetFocus(c, 0); |
clientSetFocus(c, 0); |
949 |
} |
} |
950 |
setGnomeHint(c->window, win_layer, c->win_layer); |
setGnomeHint(c->window, win_layer, c->win_layer); |
951 |
|
c->was_above = True; |
952 |
} |
} |
953 |
|
|
954 |
void |
void |