all repos — fluxbox @ d617c5288fe37972b474f86b653e5541553f93de

custom fork of the fluxbox windowmanager

fix handling of zero handleWidth in themes
rathnor rathnor
commit

d617c5288fe37972b474f86b653e5541553f93de

parent

a07d7d0e732b2b1614aded167be1d69282cf1626

2 files changed, 8 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.6: +*03/10/30: + * Fix handling of theme's with a zero handleWidth (Simon) + FbWinFrame.cc *03/10/28: * Fix building with --disable-slit (Simon) Screen.cc
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.60 2003/10/28 02:17:02 rathnor Exp $ +// $Id: FbWinFrame.cc,v 1.61 2003/10/30 20:27:51 rathnor Exp $ #include "FbWinFrame.hh"

@@ -434,7 +434,7 @@

} bool FbWinFrame::showHandle() { - if (m_use_handle) + if (m_use_handle || theme().handleWidth() == 0) return false; m_handle.show();

@@ -953,6 +953,9 @@ &FbWinFrame::updateTransparent));

m_update_timer.setCommand(update_transp); m_update_timer.setTimeout(10L); m_update_timer.fireOnce(true); + + if (theme().handleWidth() == 0) + m_use_handle = false; m_disable_shape = false;