aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lumina-desktop/LPanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/LPanel.cpp b/lumina-desktop/LPanel.cpp
index 6a4c55d8..8cdcffa8 100644
--- a/lumina-desktop/LPanel.cpp
+++ b/lumina-desktop/LPanel.cpp
@@ -261,7 +261,7 @@ void LPanel::enterEvent(QEvent *event){
void LPanel::leaveEvent(QEvent *event){
//qDebug() << "Panel Leave Event:";
- if(hidden){
+ if(hidden && !this->geometry().contains( this->mapFromGlobal(QCursor::pos()) ) ){
//Move the panel back to it's "hiding" spot
this->move(hidepoint);
}
bgstack15