Signed-off-by: Ville Syrjala <[email protected]>
---
 hw/xfree86/common/xf86DGA.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/common/xf86DGA.c b/hw/xfree86/common/xf86DGA.c
index dc08cb9..eabd92c 100644
--- a/hw/xfree86/common/xf86DGA.c
+++ b/hw/xfree86/common/xf86DGA.c
@@ -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:
-- 
1.7.3.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to