plan.9 6ZtrmU6sIoPOrlHBX4BZ

Патч на drawterm, который включает fullscreen на X11

====
diff --git a/gui-x11/x11.c b/gui-x11/x11.c
index 74412f9..9dda3a5 100644
--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -190,6 +190,13 @@ flushmemscreen(Rectangle r)
XFlush(xdisplay);
}

+void fullscreen(Display* dpy, Window win)
+{
+ Atom atoms[2] = { XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False), None };
+ XChangeProperty(dpy, win, XInternAtom(dpy, "_NET_WM_STATE", False),
+ XA_ATOM, 32, PropModeReplace, atoms, 1);
+}
+
void
screeninit(void)
{
@@ -370,7 +377,8 @@ screeninit(void)
1); /* int nelements */
XFlush(xkmcon);
}
-
+ fullscreen(xdisplay, xdrawable);
+
/*
* put the window on the screen
*/
====



: Subject

: auth-key (guest for guest)

CCBot/2.0 (https://commoncrawl.org/faq/)