hi<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 4:38 PM, Hans de Goede <span dir="ltr">&lt;<a href="mailto:hdegoede@redhat.com">hdegoede@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1s4">Hmm, this pointer ungrab seems weird, as soon as mouse_mode changes<br>
to something other then SERVER, which can only happen in mouse_update(),<br>
we do a try_mouse_ungrab, which already does a gdk_pointer_ungrab(),<br>
so I believe that this bit can go away, or it should be under the</div></blockquote></div><br>That was a quick and reasonable way of supporting drag-n-drop between displays.<div><br></div><div>It works well in client mode. It is needed, because by default, X (and other window system) do a pointer grab when you press a button, so that the release event is received by the same window regardless of where the pointer is. Here, we change that behaviour, so that you can press and release in two differents displays. This is only supported in client mouse mode.</div>
<div><br></div><div>Hope that helps clear it<br clear="all"><div><br></div>-- <br>Marc-André Lureau<br>
</div>