Package: icewm Version: 1.4.3+mod+20170901-1 Severity: important Tags: patch
Dear Maintainer, Please, find the $subj patch in attachment. Created against the debian/experimental branch. -- ...Bye..Dmitry.
From 04dced96a10e3ebe5836bf462106f214c53adfa3 Mon Sep 17 00:00:00 2001 From: Dmitry Semyonov <[email protected]> Date: Mon, 4 Sep 2017 20:07:11 +0300 Subject: [PATCH] Properly reserve taskbar area in vertical dualhead configurations Prevents windows placement under the taskbar when TaskBarAtTop=0, and fixes placement of maximized windows on lower screen when TaskBarAtTop=1. --- src/wmtaskbar.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wmtaskbar.cc b/src/wmtaskbar.cc index a1652f47..8b39b365 100644 --- a/src/wmtaskbar.cc +++ b/src/wmtaskbar.cc @@ -817,10 +817,7 @@ void TaskBar::updateWMHints() { long wk[4] = { 0, 0, 0, 0 }; if (!taskBarAutoHide && !fIsCollapsed && getFrame()) { - if (taskBarAtTop) - wk[2] = getFrame()->y() + getFrame()->height(); - else - wk[3] = dh - getFrame()->y(); + wk[taskBarAtTop ? 2 : 3] = getFrame()->height(); } MSG(("SET NET WM STRUT")); -- 2.11.0

