This is an automated email generated because a ref change occurred in the git repository for project wmaker-crm.git.
The branch, next has been updated via c052addd1dced4ca1ebc2dbb31749c7faa26ed0d (commit) from 6e4698fe112b2d7f91019e8e644ffe3e935f61f2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c052addd1dced4ca1ebc2dbb31749c7faa26ed0d Author: Cyrus Rahman <crah...@gmail.com> Date: Wed, 1 Mar 2017 21:20:44 -0700 URL: <http://repo.or.cz/wmaker-crm.git/c052addd1dced4ca> wmaker: Do not place icons under the dock While I love the new maximizing functions, in the process of developing them the code to keep icons from under the dock was lost. I have created a patch to prevent this problem. --- src/placement.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/placement.c b/src/placement.c index 62fcb30566e8..14fe226f5eb7 100644 --- a/src/placement.c +++ b/src/placement.c @@ -117,6 +117,16 @@ void PlaceIcon(WScreen *scr, int *x_ret, int *y_ret, int head) WMBagIterator iter; WArea area = wGetUsableAreaForHead(scr, head, NULL, False); + /* Do not place icons under the dock. */ + if (scr->dock) { + int offset = wPreferences.icon_size + DOCK_EXTRA_SPACE; + + if (scr->dock->on_right_side) + area.x2 -= offset; + else + area.x1 += offset; + } + /* Find out screen boundaries. */ /* Allows each head to have miniwindows */ ----------------------------------------------------------------------- Summary of changes: src/placement.c | 10 ++++++++++ 1 file changed, 10 insertions(+) repo.or.cz automatic notification. Contact project admin crma...@gmail.com if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive no reply. -- wmaker-crm.git ("The Window Maker window manager") -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.