diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-23 10:18:21 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-23 10:18:21 -0400 |
commit | 6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0 (patch) | |
tree | 6b45668c064ea979f5df868e856988cf60dd0d3e /lumina-desktop | |
parent | Make the open/openwith functionality in lumina-fm multi-selection aware. Also... (diff) | |
parent | Update the Fluxbox startup command to use the new "-no-slit" and "-no-toolbar... (diff) | |
download | lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.tar.gz lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.tar.bz2 lumina-6d89f62bd04d1bc6ed7e76e6d8c644210029d6f0.zip |
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'lumina-desktop')
-rw-r--r-- | lumina-desktop/LPanel.cpp | 2 | ||||
-rw-r--r-- | lumina-desktop/WMProcess.cpp | 2 | ||||
-rw-r--r-- | lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp | 6 | ||||
-rw-r--r-- | lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp | 3 |
4 files changed, 8 insertions, 5 deletions
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp index 1f59ba8b..d5be8670 100644 --- a/lumina-desktop/LPanel.cpp +++ b/lumina-desktop/LPanel.cpp @@ -12,6 +12,7 @@ LPanel::LPanel(QSettings *file, int scr, int num, QWidget *parent) : QWidget(){ //Take care of inputs + this->setMouseTracking(true); if(DEBUG){ qDebug() << " - Creating Panel:" << scr << num; } bgWindow = parent; //save for later //Setup the widget overlay for the entire panel to provide transparency effects @@ -283,6 +284,7 @@ void LPanel::enterEvent(QEvent *event){ //Move the panel out so it is fully available this->move(showpoint); } + this->activateWindow(); event->accept(); //just to quiet the compile warning } diff --git a/lumina-desktop/WMProcess.cpp b/lumina-desktop/WMProcess.cpp index 41cfb2bd..e84e4c22 100644 --- a/lumina-desktop/WMProcess.cpp +++ b/lumina-desktop/WMProcess.cpp @@ -85,7 +85,7 @@ QString WMProcess::setupWM(){ if(!QFile::exists(QDir::homePath()+"/.fluxbox")){ QDir dir; dir.mkpath(QDir::homePath()+"/.fluxbox"); } - cmd = "fluxbox -rc "+confDir+"/fluxbox-init"; + cmd = "fluxbox -rc "+confDir+"/fluxbox-init -no-slit -no-toolbar"; }else { cmd = WM; } diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp index 20607c60..eda1f2cd 100644 --- a/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp +++ b/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp @@ -193,9 +193,9 @@ void LTaskButton::minimizeWindow(){ void LTaskButton::triggerWindow(){ LWinInfo win = currentWindow(); //Check which state the window is currently in and flip it to the other - LXCB::WINDOWSTATE state = cstate; - if(DEBUG){ qDebug() << "Window State: " << state; } - if(state == LXCB::ACTIVE){ + //LXCB::WINDOWSTATE state = cstate; + //if(DEBUG){ qDebug() << "Window State: " << state; } + if(cstate == LXCB::ACTIVE){ if(DEBUG){ qDebug() << "Minimize Window:" << this->text(); } LSession::handle()->XCB->MinimizeWindow(win.windowID()); QTimer::singleShot(100, this, SLOT(UpdateButton()) ); //make sure to update this button if losing active status diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp index 8f73ffa1..9da86da8 100644 --- a/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp +++ b/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp @@ -35,7 +35,8 @@ void LTaskManagerPlugin::UpdateButtons(){ //Get the current window list QList<WId> winlist = LSession::handle()->XCB->WindowList(); //Do not change the status of the previously active window if it just changed to a non-visible window - bool skipActive = false;//!winlist.contains( LSession::handle()->XCB->ActiveWindow() ); + WId activeWin = LSession::handle()->XCB->ActiveWindow(); + bool skipActive = !winlist.contains(activeWin); //qDebug() << "Update Buttons:" << winlist; if(updating > ctime){ return; } //another thread kicked off already - stop this one //Now go through all the current buttons first |