From e51eb7f9b51dc29be83a00abf2ebf95cc17d0ba7 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 3 Mar 2017 14:25:29 -0500 Subject: Another large batch of updates to the Native Window "plumbing": 1) Handle all property changes in bulk groups for efficiency 2) Add simplification functions for changing single properties. 3) Automatically prune redundant property settings from signals 4) Add another property or two, and simplify the number of "extra" signals/functions for non-property changes/requests. 5) Starting cleaning up the new NativeWindowSystem class to use the new plumbing, and get it ready for the XCB "guts" to be copied in. --- src-qt5/core/libLumina/RootWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina/RootWindow.cpp') diff --git a/src-qt5/core/libLumina/RootWindow.cpp b/src-qt5/core/libLumina/RootWindow.cpp index 0758653b..b1f740d3 100644 --- a/src-qt5/core/libLumina/RootWindow.cpp +++ b/src-qt5/core/libLumina/RootWindow.cpp @@ -11,7 +11,7 @@ #include // === PUBLIC === -RootWindow::RootWindow() : QMdiArea(0){ //QWidget(0, Qt::Window | Qt::BypassWindowManagerHint | Qt::WindowStaysOnBottomHint){ +RootWindow::RootWindow() : QWidget(0, Qt::Window | Qt::BypassWindowManagerHint | Qt::WindowStaysOnBottomHint){ qRegisterMetaType("WId"); autoResizeTimer = 0; } @@ -191,7 +191,7 @@ void RootWindow::CloseWindow(WId win){ void RootWindow::paintEvent(QPaintEvent *ev){ //qDebug() << "RootWindow: PaintEvent:" << ev->rect(); //<< QDateTime::currentDateTime()->toString(QDateTime::ShortDate); bool found = false; - QPainter painter(this->viewport()); + QPainter painter(this); for(int i=0; irect()) ){ found = true; -- cgit