[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/shell
From: Chani Armitage <chanika () gmail ! com>
Date: 2010-02-01 2:28:33
Message-ID: 1264991313.776316.17463.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1083312 by chani:
properly initialize "windows can cover" panels
M +4 -4 panelview.cpp
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/panelview.cpp #1083311:1083312
@@ -437,11 +437,11 @@
connect(containment(), SIGNAL(activate()), this, SLOT(unhide()));
}
- if (mode != AutoHide) {
+ if (mode == AutoHide) {
+ hideMousePoll();
+ } else {
updatePanelGeometry();
show();
- } else {
- hideMousePoll();
}
//kDebug() << "panel state set to" << state << NET::Sticky;
@@ -451,7 +451,7 @@
m_visibilityMode = mode;
config().writeEntry("panelVisibility", (int)mode);
- if (m_visibilityMode == AutoHide && !m_editting) {
+ if ((mode == AutoHide || mode == LetWindowsCover) && !m_editting) {
QTimer::singleShot(2000, this, SLOT(startAutoHide()));
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic