shell.c: Prevent moving a window from more than one source
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Oct 2013 23:52:00 +0000 (16:52 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Oct 2013 23:52:00 +0000 (16:52 -0700)
commitc85f1d4595c9241552d1b2e96a29f284ef4b33b5
tree32579e429d2f977d966c843f12769db7d7af690f
parent0d94f41b449204fe02bde8f1d5b48d4d6a17c119
shell.c: Prevent moving a window from more than one source

It was possible to start a move or resize with a pointer and then
start another move for the same surface with touch or a pointer from
another seat, which would make the window flicker around.  With this
commit, we now reject any attempts to move or resize a surface that is
currently grabbed.
src/shell.c