mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
[amiwm] Update to 0.22pl2
This notably includes full screen support! Addresses Issue #12
This commit is contained in:
4
frame.c
4
frame.c
@@ -102,7 +102,8 @@ void resizeclientwindow(Client *c, int width, int height)
|
||||
spread_top_gadgets(c);
|
||||
if(c->resize)
|
||||
XMoveWindow(dpy, c->resize, c->pwidth-18, c->pheight-10);
|
||||
XResizeWindow(dpy, c->window, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
||||
if (!c->fullscreen)
|
||||
XResizeWindow(dpy, c->window, c->pwidth-c->framewidth, c->pheight-c->frameheight);
|
||||
if(c->shaped)
|
||||
reshape_frame(c);
|
||||
sendconfig(c);
|
||||
@@ -180,6 +181,7 @@ void reparent(Client *c)
|
||||
int cargc;
|
||||
int size_changed = 0;
|
||||
|
||||
getwmstate(c);
|
||||
if(XGetTransientForHint(dpy, c->window, &leader) &&
|
||||
!XFindContext(dpy, leader, client_context, (XPointer *)&lc))
|
||||
c->scr = lc->scr;
|
||||
|
||||
Reference in New Issue
Block a user