Package: nvclock
Version: 0.8b3
Severity: normal
Tags: patch

nvclock's copy of libnvcontrol.c calls _XFlush outside of a
LockDisplay/UnlockDisplay pair, which is technically not allowed. In
this case, I believe the public XFlush function was intended. I've
attached a patch to remove the underscore. :-)
diff --git a/src/nvcontrol/libnvcontrol.c b/src/nvcontrol/libnvcontrol.c
index 8979309..25882a4 100644
--- a/src/nvcontrol/libnvcontrol.c
+++ b/src/nvcontrol/libnvcontrol.c
@@ -278,7 +278,7 @@ void NVSetAttribute(Display *dpy, int screen, unsigned int disp_mask, unsigned i
 	SyncHandle();
     }
     /* make sure the attribute is indeed set */
-    _XFlush(dpy);
+    XFlush(dpy);
 }
 
 #define X_NVSelectNotify 6

Attachment: signature.asc
Description: Digital signature



Reply via email to