desktop-shell: Further consolidate move/resize grab checks
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 30 Apr 2014 23:05:49 +0000 (16:05 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 30 Apr 2014 23:05:49 +0000 (16:05 -0700)
commita4b620e7e76f966586f4165b811a0c33de0214ac
treeaa00ef5c1f9de0523d3f30d8a569a7386ad4bef7
parente0b9d5be84be1e1e5d44a2c449fceb24d649e5e9
desktop-shell: Further consolidate move/resize grab checks

This moves the check for shsurf->grabbed into surface_move() and
surface_resize(), which are shared with the xwayland code.  This prevents
trying to resize or move an xwayland window with multiple pointers.
desktop-shell/shell.c