From 17b142dd646ce4053f4548c0ff7b189531219c32 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 29 Nov 2014 00:33:46 -0600 Subject: Send setActive signal when taking focus in Client::takeFocus This relates to Bug 2189 Clean up minor formatting issues --- twin/clients/keramik/keramik.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'twin/clients') diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp index 55eb5787d..4043e6ee4 100644 --- a/twin/clients/keramik/keramik.cpp +++ b/twin/clients/keramik/keramik.cpp @@ -1156,7 +1156,6 @@ void KeramikClient::updateMask() TQRegion r; register int w, y = 0; - int nrects; if ( TQApplication::reverseLayout() ) { @@ -1168,8 +1167,6 @@ void KeramikClient::updateMask() r += TQRegion( x + 9, y++, w - 15, 1 ); r += TQRegion( x + 7, y++, w - 12, 1 ); } else { - nrects = 8; - // Do we have a large titlebar with a retracted caption bubble? // (i.e. the style is set to use large caption bubbles, we're // not maximized and not active) @@ -1191,15 +1188,12 @@ void KeramikClient::updateMask() // If the caption bubble is visible and extends above the titlebar if ( largeCaption && captionRect.width() >= 25 ) { - nrects = 11; register int x = captionRect.left(); w = captionRect.width(); r += TQRegion( x + 8, y++, w - 19, 1 ); r += TQRegion( x + 6, y++, w - 15, 1 ); r += TQRegion( x + 5, y++, w - 12, 1 ); } else { - nrects = 8; - // Do we have a large titlebar with a retracted caption bubble? // (i.e. the style is set to use large caption bubbles, we're // not maximized and not active) -- cgit v1.2.1