aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LPanel.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-24 18:53:38 -0400
committerKen Moore <ken@pcbsd.org>2015-04-24 18:53:38 -0400
commit56a5408045a0d2327842bd5fa3c86a48cd6a375f (patch)
tree7b044888749f9b92ac504a58a17cfd4e29348ce7 /lumina-desktop/LPanel.h
parentUpdate the Fluxbox startup command to use the new "-no-slit" and "-no-toolbar... (diff)
downloadlumina-56a5408045a0d2327842bd5fa3c86a48cd6a375f.tar.gz
lumina-56a5408045a0d2327842bd5fa3c86a48cd6a375f.tar.bz2
lumina-56a5408045a0d2327842bd5fa3c86a48cd6a375f.zip
Before activating the panel on mouse-over, save the ID of the currently active window and then re-activate that other window when the mouse leaves the panel.
Diffstat (limited to 'lumina-desktop/LPanel.h')
-rw-r--r--lumina-desktop/LPanel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/LPanel.h b/lumina-desktop/LPanel.h
index ed1a8906..9b46eb45 100644
--- a/lumina-desktop/LPanel.h
+++ b/lumina-desktop/LPanel.h
@@ -1,6 +1,6 @@
//===========================================
// Lumina-DE source code
-// Copyright (c) 2012, Ken Moore
+// Copyright (c) 2012-2015, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
@@ -40,6 +40,7 @@ private:
int screennum;
int panelnum;
QList<LPPlugin*> PLUGINS;
+ WId tmpID; //temporary window ID
public:
LPanel(QSettings *file, int scr = 0, int num =0, QWidget *parent=0); //settings file, screen number, panel number
@@ -50,7 +51,8 @@ public:
}
void prepareToClose();
-
+ void scalePanel(double xscale, double yscale);
+
public slots:
void UpdatePanel(); //Load the settings file and update the panel appropriately
void UpdateLocale(); //Locale Changed externally
bgstack15