<div dir="ltr">Please ignore this patch!<div><br></div><div>I'll submit another one that applies drectly to xserver/config/udev.c, following Peter Hutterer's advice.</div><div><br></div><div>Thanks!</div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">CANTATE DOMINO CANTICUM NOVUM<div>QUIA MIRABILIA FECIT</div><div><br></div><div>Laércio</div></div></div>
<br><br><div class="gmail_quote">2013/9/17 Laércio de Sousa <span dir="ltr"><<a href="mailto:lbsousajr@gmail.com" target="_blank">lbsousajr@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This patch contributes to fill the remaining gaps which make<br>
systemd-multi-seat-x wrapper still necessary in some multiseat setups.<br>
<br>
When option "-seat" is passed with an argument different from "seat0",<br>
option "GrabDevice" is enabled by default (no need of enabling it<br>
in xorg.conf's "InputClass" section).<br>
<br>
Fixes: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=69478" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=69478</a><br>
<br>
Signed-off-by: Laércio de Sousa <<a href="mailto:lbsousajr@gmail.com">lbsousajr@gmail.com</a>><br>
---<br>
src/evdev.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/evdev.c b/src/evdev.c<br>
index b97b841..f7bd763 100644<br>
--- a/src/evdev.c<br>
+++ b/src/evdev.c<br>
@@ -2643,7 +2643,7 @@ EvdevPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)<br>
/* Grabbing the event device stops in-kernel event forwarding. In other<br>
words, it disables rfkill and the "Macintosh mouse button emulation".<br>
Note that this needs a server that sets the console to RAW mode. */<br>
- pEvdev->grabDevice = xf86CheckBoolOption(pInfo->options, "GrabDevice", 0);<br>
+ pEvdev->grabDevice = xf86CheckBoolOption(pInfo->options, "GrabDevice", ServerIsNotSeat0());<br>
<br>
/* If grabDevice is set, ungrab immediately since we only want to grab<br>
* between DEVICE_ON and DEVICE_OFF. If we never get DEVICE_ON, don't<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.4<br>
<br>
</font></span></blockquote></div><br></div>