aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LPanel.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-30 14:29:32 -0400
committerKen Moore <ken@pcbsd.org>2014-10-30 14:29:32 -0400
commit10aa0b0ffb77023f3828486aeefcdfbf91cca7b7 (patch)
tree569ecdaaab76abfa603856b9280b0a02db70e811 /lumina-desktop/LPanel.cpp
parentFor the system tray, only have it make changes when doing the whole check: do... (diff)
downloadlumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.tar.gz
lumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.tar.bz2
lumina-10aa0b0ffb77023f3828486aeefcdfbf91cca7b7.zip
Large quality of life update to Lumina:
1) Fix up the applauncher desktop plugins so that the initial sizing is sane. 2) Completely remove all global static variables from the session. 3) Re-enable the login/logout chimes (works properly without static variables) 4) Streamline the desktop background rotation algorithms a bit. 5) Greatly streamline the Session start procedure (50% to 75% faster on my computer here) 6) Make sure the background wallpaper does not rotate every time the desktop settings file changes (only when the backgrounds for that desktop are changed, or the rotation timer goes off)
Diffstat (limited to 'lumina-desktop/LPanel.cpp')
-rw-r--r--lumina-desktop/LPanel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp
index 905e3b31..138a8d77 100644
--- a/lumina-desktop/LPanel.cpp
+++ b/lumina-desktop/LPanel.cpp
@@ -195,6 +195,7 @@ void LPanel::UpdatePanel(){
}
this->update();
this->show(); //make sure the panel is visible now
+ if(hidden){ this->move(hidepoint); }
//Now go through and send the orientation update signal to each plugin
for(int i=0; i<PLUGINS.length(); i++){
QTimer::singleShot(0,PLUGINS[i], SLOT(OrientationChange()));
@@ -237,7 +238,7 @@ void LPanel::paintEvent(QPaintEvent *event){
}
void LPanel::enterEvent(QEvent *event){
- qDebug() << "Panel Enter Event:";
+ //qDebug() << "Panel Enter Event:";
if(hidden){
//Move the panel out so it is fully available
this->move(showpoint);
@@ -246,7 +247,7 @@ void LPanel::enterEvent(QEvent *event){
}
void LPanel::leaveEvent(QEvent *event){
- qDebug() << "Panel Leave Event:";
+ //qDebug() << "Panel Leave Event:";
if(hidden){
//Move the panel back to it's "hiding" spot
this->move(hidepoint);
bgstack15