[compiz] BUG XNextEvent
Максим Мосейчук
franchesko.salias.hudro.pedros at gmail.com
Sat Dec 5 14:54:32 PST 2015
Hello! I need help.
//Compiz sources
//src/screen.cpp:758
PrivateScreen::getNextXEvent (XEvent &ev)
{
if (!XEventsQueued (dpy, QueuedAlready))
return false;
XNextEvent (dpy, &ev);
...
In here XNextEvent return bad data.
if press key 209 ('xdotool key 209' for emulate, it is 'stop' key on
headset), XNextEvent return two events with 2/3 type (Press/Release)
and keycode == 209. Work fine.
But with key 208 ('play' on headset), XNextEvent return many events
with type 28 and ... nothing. Don't return Press and Release events.
'xev' utility (from x11-utils) get Press/Release with keycode 208
from XNextEvent. And mate-settings-daemon get events, it use gdk
filters.
Bug in compiz or libx11, i dont know.
I traced all path of event - from unity-setting-daemon, dbus, unity,
to compiz. And i be stuck here.
May be need change display/screen create options? Tell me where where to look.
Latest compiz form bazaar 1:0.9.12.2+15.10.20151015-0ubuntu1
Sorry for my bad english.
More information about the compiz
mailing list