[Differential] [Commented On] D2121: DesktopView: Don't call ensureWindowType on FocusIn event

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Aug 12 11:32:34 UTC 2016


graesslin added a comment.


  Patch for setting through surface event:
  
    diff --git a/shell/desktopview.cpp b/shell/desktopview.cpp
    index 14a25af..38c6621 100644
    --- a/shell/desktopview.cpp
    +++ b/shell/desktopview.cpp
    @@ -226,6 +226,7 @@ bool DesktopView::event(QEvent *e)
                 switch (pe->surfaceEventType()) {
                 case QPlatformSurfaceEvent::SurfaceCreated:
                     setupWaylandIntegration();
    +                ensureWindowType();
                     break;
                 case QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed:
                     delete m_shellSurface;

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D2121

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: drosca, #plasma
Cc: mart, graesslin, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160812/8fc6fb7a/attachment.html>


More information about the Plasma-devel mailing list