https://bugzilla.novell.com/show_bug.cgi?id=249809 ------- Comment #6 from sndirsch@novell.com 2007-03-01 13:29 MST ------- "XF86MiscGetMouseSettings" is called twice by xstuff (first in disableMouse and second in enableMouse). The second time it's called we see the assertion, when "LockDisplay(dpy)" is called. This looks like a missing "UnlockDisplay(dpy)" in "XF86MiscGetMouseSettings". BTW, I found other XF86Misc functions, which are also lacking "UnlockDisplay(dpy)" calls. sysp/lib/hw/mouse.c: [...] if (haveDisplay) { disableMouse (dpy); } [...] if (haveDisplay) { enableMouse (dpy); } [...] //=================================== // enableMouse... //----------------------------------- void enableMouse (Display* dpy) { XSetErrorHandler (catchErrors); XF86MiscMouseSettings mseinfo; if (!XF86MiscGetMouseSettings(dpy, &mseinfo)) { return; } mseinfo.flags |= MF_REOPEN; XF86MiscSetMouseSettings(dpy, &mseinfo); XSync(dpy, False); } //=================================== // disableMouse... //----------------------------------- void disableMouse (Display* dpy) { XSetErrorHandler (catchErrors); XF86MiscMouseSettings mseinfo; if (!XF86MiscGetMouseSettings(dpy, &mseinfo)) { return; } mseinfo.flags |= MF_REOPEN; mseinfo.device = "/dev/unused"; XF86MiscSetMouseSettings(dpy, &mseinfo); XSync(dpy, False); } [...] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.