Commit f9e441ef authored by Marco Martin's avatar Marco Martin
Browse files

Revert "restore previous hacks"

This reverts commit 1c0ed855.
parent 1c0ed855
......@@ -99,8 +99,8 @@ bool FullScreenOverlay::event(QEvent *e)
QPlatformSurfaceEvent *pe = static_cast<QPlatformSurfaceEvent*>(e);
if (pe->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) {
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::FullScreen);
setWindowStates(Qt::WindowFullScreen);
//KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::FullScreen);
// setWindowStates(Qt::WindowFullScreen);
if (!m_acceptsFocus) {
setFlags(flags() | Qt::FramelessWindowHint|Qt::WindowDoesNotAcceptFocus);
//KWindowSystem::setType(winId(), NET::Dock);
......
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