Adding fullscreen patch ref. #88

This commit is contained in:
Bakkeby 2022-10-24 11:27:51 +02:00
parent 4dfb6683cd
commit d8529b66a4
9 changed files with 48 additions and 0 deletions

5
x.c
View file

@ -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();