aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 0d84fd6..862ec29 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.cc,v 1.60 2003/10/28 02:17:02 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.61 2003/10/30 20:27:51 rathnor Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -434,7 +434,7 @@ bool FbWinFrame::hideHandle() {
434} 434}
435 435
436bool FbWinFrame::showHandle() { 436bool FbWinFrame::showHandle() {
437 if (m_use_handle) 437 if (m_use_handle || theme().handleWidth() == 0)
438 return false; 438 return false;
439 439
440 m_handle.show(); 440 m_handle.show();
@@ -954,6 +954,9 @@ void FbWinFrame::init() {
954 m_update_timer.setTimeout(10L); 954 m_update_timer.setTimeout(10L);
955 m_update_timer.fireOnce(true); 955 m_update_timer.fireOnce(true);
956 956
957 if (theme().handleWidth() == 0)
958 m_use_handle = false;
959
957 m_disable_shape = false; 960 m_disable_shape = false;
958 961
959 m_current_label = 0; // no focused button at first 962 m_current_label = 0; // no focused button at first