mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
Merge pull request #35 from phillbush/main
client.c: fix missing member on c->scr
This commit is contained in:
2
client.c
2
client.c
@@ -173,7 +173,7 @@ void close_fscrn(Client *c, int state)
|
|||||||
{
|
{
|
||||||
if (c->fsscr == NULL)
|
if (c->fsscr == NULL)
|
||||||
return;
|
return;
|
||||||
XReparentWindow(dpy, c->parent, c->scr, c->x, c->y);
|
XReparentWindow(dpy, c->parent, c->scr->back, c->x, c->y);
|
||||||
XMoveResizeWindow(dpy, c->parent, c->x, c->y, c->pwidth, c->pheight);
|
XMoveResizeWindow(dpy, c->parent, c->x, c->y, c->pwidth, c->pheight);
|
||||||
XMoveResizeWindow(dpy, c->window, 4, c->scr->bh, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
XMoveResizeWindow(dpy, c->window, 4, c->scr->bh, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
||||||
XResizeWindow(dpy, c->window, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
XResizeWindow(dpy, c->window, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
||||||
|
|||||||
Reference in New Issue
Block a user