summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-11 14:27:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-11 14:27:25 -0600
commita35fdc9c4df20c017653edfaa77465dfe85d38d6 (patch)
treec3874507e8181ab00eee9e1ff2121799bc411e39 /kicker
parente88baf8334b8ff7ce92e555cbaffee949672d4b8 (diff)
downloadtdebase-a35fdc9c4df20c017653edfaa77465dfe85d38d6.tar.gz
tdebase-a35fdc9c4df20c017653edfaa77465dfe85d38d6.zip
Add profile support to displayconfig and krandrtray
Add automatic display hotplug profile switch support to krandrtray
Diffstat (limited to 'kicker')
-rw-r--r--kicker/kicker/core/container_extension.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/kicker/kicker/core/container_extension.cpp b/kicker/kicker/core/container_extension.cpp
index 1b7857774..e6c6912f1 100644
--- a/kicker/kicker/core/container_extension.cpp
+++ b/kicker/kicker/core/container_extension.cpp
@@ -2030,6 +2030,13 @@ TQRect ExtensionContainer::initialGeometry(KPanelExtension::Position p,
{
//RESEARCH: is there someway to cache the results of the repeated calls to this method?
+ if (XineramaScreen == -3) {
+ // Forcibly hide
+ autoHidden = true;
+ userHidden = Unhidden;
+ XineramaScreen = kapp->desktop()->screenNumber(const_cast<ExtensionContainer*>(this));
+ }
+
/*kdDebug(1210) << "initialGeometry() Computing geometry for " << name() <<
" on screen " << XineramaScreen << endl;*/
TQRect workArea = ExtensionManager::the()->workArea(XineramaScreen, this);