diff options
-rw-r--r-- | src/XF86VMode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XF86VMode.c b/src/XF86VMode.c index 28c79c1..76276b6 100644 --- a/src/XF86VMode.c +++ b/src/XF86VMode.c @@ -322,6 +322,8 @@ XF86VidModeGetAllModeLines(Display* dpy, int screen, int* modecount, _XEatData(dpy, (rep.modecount) * sizeof(xXF86OldVidModeModeInfo)); else _XEatData(dpy, (rep.modecount) * sizeof(xXF86VidModeModeInfo)); + UnlockDisplay(dpy); + SyncHandle(); return False; } mdinfptr = (XF86VidModeModeInfo *) ( |