xfree86/dga: Only send DGA events for master devices
Signed-off-by: Ville Syrjala <syrjala@sci.fi> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9f09b62e59
commit
2081728b74
|
@ -1210,6 +1210,9 @@ DGAHandleEvent(int screen_num, InternalEvent *ev, DeviceIntPtr device)
|
|||
if (!pScreenPriv)
|
||||
return;
|
||||
|
||||
if (!IsMaster(device))
|
||||
return;
|
||||
|
||||
switch (event->subtype) {
|
||||
case KeyPress:
|
||||
case KeyRelease:
|
||||
|
|
Loading…
Reference in New Issue
Block a user