SHARE
TWEET

Untitled

a guest Jun 19th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/shell/panelconfigview.cpp b/shell/panelconfigview.cpp
  2. index 98db1e8..64a1a93 100644
  3. --- a/shell/panelconfigview.cpp
  4. +++ b/shell/panelconfigview.cpp
  5. @@ -58,7 +58,7 @@ PanelConfigView::PanelConfigView(Plasma::Containment *containment, PanelView *pa
  6.              [=]() {
  7.                  setScreen(panelView->screen());
  8.                  KWindowSystem::setType(winId(), NET::Dock);
  9. -                setFlags(Qt::WindowFlags((flags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint) & (~Qt::WindowDoesNotAcceptFocus)));
  10. +                //setFlags(Qt::WindowFlags((flags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint) & (~Qt::WindowDoesNotAcceptFocus)));
  11.                  KWindowSystem::setState(winId(), NET::KeepAbove);
  12.                  syncGeometry();
  13.                  syncLocation();
  14. @@ -66,7 +66,7 @@ PanelConfigView::PanelConfigView(Plasma::Containment *containment, PanelView *pa
  15.  
  16.      KWindowSystem::setType(winId(), NET::Dock);
  17.      KWindowSystem::setState(winId(), NET::KeepAbove);
  18. -    setFlags(Qt::WindowFlags((flags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint) & (~Qt::WindowDoesNotAcceptFocus)));
  19. +    //setFlags(Qt::WindowFlags((flags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint) & (~Qt::WindowDoesNotAcceptFocus)));
  20.      KWindowSystem::forceActiveWindow(winId());
  21.  
  22.      KWindowEffects::enableBlurBehind(winId(), true);
RAW Paste Data
Top