Paste P419

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jun 22 2019, 6:29 PM.
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 8b2c1227..838aa54a 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -357,8 +357,11 @@ void QWaylandWindow::resizeFromApplyConfigure(const QSize &sizeWithMargins, cons
void QWaylandWindow::sendExposeEvent(const QRect &rect)
{
- if (!(mShellSurface && mShellSurface->handleExpose(rect)))
+ qDebug() << window() << "trying to send expose";
+ if (/*!(mShellSurface && mShellSurface->handleExpose(rect))*/ true) {
+ qDebug() << window() << "send expose";
QWindowSystemInterface::handleExposeEvent(window(), rect);
+ }
else
qCDebug(lcQpaWayland) << "sendExposeEvent: intercepted by shell extension, not sending";
mLastExposeGeometry = rect;
@@ -999,6 +1002,7 @@ void QWaylandWindow::requestActivateWindow()
bool QWaylandWindow::isExposed() const
{
+ return true;
if (!window()->isVisible())
return false;
davidedmundson edited the content of this paste. (Show Details)Jun 22 2019, 6:29 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.