On Tuesday, 3 December 2013 8:35 AM, Vincent Povirk wrote:
- c.X = (workarea.right / cell_width) - 4;
- c.Y = (workarea.bottom / cell_height) - 3;
I think you probably want the size of the workarea (right-left, bottom-top), not the position of the workarea's lower-right corner.
Yes, you're quite right. Doing so allows for the taskbar to be positioned in different orientations.
I'll submit an updated patch.
Thanks,
Hugh