From: John Tsiombikas Date: Sun, 6 Dec 2020 17:46:52 +0000 (+0200) Subject: fixed glutFullScreen regression X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=sidebyside;h=da38963799e348cabe9a3659e0c497b07eafe8b9;p=miniglut fixed glutFullScreen regression --- diff --git a/miniglut.c b/miniglut.c index ccb6c5c..bda9491 100644 --- a/miniglut.c +++ b/miniglut.c @@ -123,9 +123,9 @@ void glutInit(int *argc, char **argv) xa_wm_proto = XInternAtom(dpy, "WM_PROTOCOLS", False); xa_wm_del_win = XInternAtom(dpy, "WM_DELETE_WINDOW", False); xa_motif_wm_hints = XInternAtom(dpy, "_MOTIF_WM_HINTS", False); + xa_net_wm_state_fullscr = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False); if(have_netwm_fullscr()) { xa_net_wm_state = XInternAtom(dpy, "_NET_WM_STATE", False); - xa_net_wm_state_fullscr = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False); } xa_motion_event = XInternAtom(dpy, "MotionEvent", True);