diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-29 00:33:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-29 00:34:07 -0600 |
commit | 17b142dd646ce4053f4548c0ff7b189531219c32 (patch) | |
tree | f1cdf93b01b4c76d8d9e5079d64c2a27b442cc98 /twin/clients/keramik | |
parent | 2f7d50c20cebb33745c0ecea5a5b6cc3f4747d6e (diff) | |
download | tdebase-17b142dd646ce4053f4548c0ff7b189531219c32.tar.gz tdebase-17b142dd646ce4053f4548c0ff7b189531219c32.zip |
Send setActive signal when taking focus in Client::takeFocus
This relates to Bug 2189
Clean up minor formatting issues
Diffstat (limited to 'twin/clients/keramik')
-rw-r--r-- | twin/clients/keramik/keramik.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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) |