Merging appicon.c:appIconMouseDown and dock.c:handleIconMove into appicon.c:wHandleAp...
commit9fae35fbc40a28cda7776a23155627b69e2a3e3e
authorDaniel Déchelotte <yo.dan@free.fr>
Thu, 11 Apr 2013 23:42:38 +0000 (12 01:42 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 12 Apr 2013 01:14:10 +0000 (12 02:14 +0100)
tree1f231e85b76338a7f23914cd3c59f60365e599da
parent8b6ff01d39a0c5ad5ca381a131983e5e838936c7
Merging appicon.c:appIconMouseDown and dock.c:handleIconMove into appicon.c:wHandleAppIconMove

Behaves essentially the same, only a bit more consistently.
Known differences:
1. An AppIcon will now always end up undocked if moved while Mod1 is pressed.
2. Moving a docked AppIcon with Mod1 pressed (undocking it) used to auto-expand the clip,
   as clip expansion happened first, while looking for a snapping position,
   and the test on Mod1 being pressed happened only later
src/appicon.c
src/appicon.h
src/dock.c
src/dock.h