Commit 76473bfa authored by Marco Martin's avatar Marco Martin

actually emit activeChanged

parent ffc0bcda
......@@ -92,7 +92,9 @@ void FullScreenOverlay::initWayland()
bool FullScreenOverlay::event(QEvent *e)
{
if (e->type() == QEvent::PlatformSurface) {
if (e->type() == QEvent::FocusIn || e->type() == QEvent::FocusOut) {
emit activeChanged();
} else if (e->type() == QEvent::PlatformSurface) {
QPlatformSurfaceEvent *pe = static_cast<QPlatformSurfaceEvent*>(e);
if (pe->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment