Fixes a small bug in grid registration: when an object is placed over another object...
authorEugene Doudine <dudinea@gmail.com>
Tue, 15 Apr 2014 15:39:43 +0000 (18:39 +0300)
committerJon Trulson <jon@radscan.com>
Sun, 20 Apr 2014 00:57:57 +0000 (18:57 -0600)
commita9dbe60805b2e7e8e196c868b7b36328ced77a97
tree1108a8d58da197966b5054704fc976bc3c1619a9
parent5544a0fb396f93c2b460c3df139ebb71868fd967
Fixes a small bug in grid registration: when an object is placed over another object (can be done manually) and then removed from there, the registration of the covered object is removed as well (that is it's cell is considered empty).

The patch converts desktop_grid[] from Boolean array into array of
counters of objects, which are placed on cells. When object is
placed on /removed from   the screen  the counter gets incremented/decremented.
cde/programs/dtfile/Desktop.c