projects
/
miniglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97ac141
)
fixed glutFullScreen regression
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 6 Dec 2020 17:46:52 +0000
(19:46 +0200)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 6 Dec 2020 17:46:52 +0000
(19:46 +0200)
miniglut.c
patch
|
blob
|
history
diff --git
a/miniglut.c
b/miniglut.c
index
ccb6c5c
..
bda9491
100644
(file)
--- 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_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);
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);
}
xa_motion_event = XInternAtom(dpy, "MotionEvent", True);