aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/libLumina/NativeWindowSystem.cpp5
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.cpp4
2 files changed, 5 insertions, 4 deletions
diff --git a/src-qt5/core/libLumina/NativeWindowSystem.cpp b/src-qt5/core/libLumina/NativeWindowSystem.cpp
index 49839a69..d25d441f 100644
--- a/src-qt5/core/libLumina/NativeWindowSystem.cpp
+++ b/src-qt5/core/libLumina/NativeWindowSystem.cpp
@@ -408,7 +408,7 @@ void NativeWindowSystem::UpdateWindowProperties(NativeWindow* win, QList< Native
// === PUBLIC SLOTS ===
-//These are the slots which are only used by the desktop system itself or the NativeWindowEventFilter
+//These are the slots which are only used by the desktop system itself or the NativeEventFilter
void NativeWindowSystem::RegisterVirtualRoot(WId){
}
@@ -476,6 +476,7 @@ void NativeWindowSystem::NewTrayWindowDetected(WId id){
void NativeWindowSystem::WindowCloseDetected(WId id){
NativeWindow *win = findWindow(id);
+ qDebug() << "Got Window Closed" << id << win;
if(win!=0){
NWindows.removeAll(win);
win->emit WindowClosed(id);
@@ -491,7 +492,7 @@ void NativeWindowSystem::WindowCloseDetected(WId id){
}
void NativeWindowSystem::WindowPropertyChanged(WId id, NativeWindow::Property prop){
- //NOTE: This is triggered by the NativeWindowEventFilter - not by changes to the NativeWindow objects themselves
+ //NOTE: This is triggered by the NativeEventFilter - not by changes to the NativeWindow objects themselves
NativeWindow *win = findWindow(id);
if(win==0){ win = findTrayWindow(id); }
if(win!=0){
diff --git a/src-qt5/core/libLumina/RootSubWindow.cpp b/src-qt5/core/libLumina/RootSubWindow.cpp
index d00a3a75..3c8e5b97 100644
--- a/src-qt5/core/libLumina/RootSubWindow.cpp
+++ b/src-qt5/core/libLumina/RootSubWindow.cpp
@@ -155,7 +155,7 @@ void RootSubWindow::initWindowFrame(){
maxB->setObjectName("Button_Maximize");
otherM->setObjectName("Menu_Actions");
titleLabel->setObjectName("Label_Title");
- this->setStyleSheet("QWidget#WindowFrame{background-color: darkblue;} QWidget#Label_Title{background-color: transparent; color: white; }");
+ this->setStyleSheet("QWidget#WindowFrame{background-color: rgba(0,0,0,125);} QWidget#Label_Title{background-color: transparent; color: white; }");
//And adjust the margins
mainLayout->setContentsMargins(WIN_BORDER,WIN_BORDER,WIN_BORDER,WIN_BORDER);
mainLayout->setSpacing(0);
@@ -227,7 +227,7 @@ void RootSubWindow::startResizing(){
void RootSubWindow::propertiesChanged(QList<NativeWindow::Property> props, QList<QVariant> vals){
for(int i=0; i<props.length() && i<vals.length(); i++){
if(vals[i].isNull()){ return; } //not the same as a default/empty value - the property has just not been set yet
- //qDebug() << "Set Window Property:" << props[i] << vals[i];
+ qDebug() << "RootSubWindow: Property Changed:" << props[i] << vals[i];
switch(props[i]){
case NativeWindow::Visible:
if(vals[i].toBool()){ this->show(); }
bgstack15