[Differential] [Request, 1 line] D1156: [shell] Set FramelessWindowHint on DesktopView by default
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Wed Mar 16 15:01:58 UTC 2016
graesslin created this revision.
graesslin added reviewers: Plasma, sebas, mart.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
REVISION SUMMARY
The default window type is desktop, so we should also tell Qt that it's
a frameless window. Not doing so means that on construction of the
platform surface our plasma-integration plugin will request a server
side decoration for the window. Which means KWin creates a deco and
destroys it again once the flag propagated. But it also means that the
window gets misplaced due to the temporarily added deco.
By setting the flag the plasma-integration never asks for the deco to
be created in the first place and in all my tests so far the window was
positioned correctly.
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
BRANCH
shell-desktop-view-flags-5.6
REVISION DETAIL
https://phabricator.kde.org/D1156
AFFECTED FILES
shell/desktopview.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma, sebas, mart
Cc: plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160316/64995a85/attachment-0001.html>
More information about the Plasma-devel
mailing list