Adding fullscreen patch ref. #88
This commit is contained in:
parent
4dfb6683cd
commit
d8529b66a4
9 changed files with 48 additions and 0 deletions
5
x.c
5
x.c
|
|
@ -1581,6 +1581,11 @@ xinit(int cols, int rows)
|
|||
XChangeProperty(xw.dpy, xw.win, xw.netwmpid, XA_CARDINAL, 32,
|
||||
PropModeReplace, (uchar *)&thispid, 1);
|
||||
|
||||
#if FULLSCREEN_PATCH
|
||||
xw.netwmstate = XInternAtom(xw.dpy, "_NET_WM_STATE", False);
|
||||
xw.netwmfullscreen = XInternAtom(xw.dpy, "_NET_WM_STATE_FULLSCREEN", False);
|
||||
#endif // FULLSCREEN_PATCH
|
||||
|
||||
win.mode = MODE_NUMLOCK;
|
||||
resettitle();
|
||||
xhints();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue