Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
1faa50e6
Commit
1faa50e6
authored
Oct 11, 2019
by
Martin Tobias Holmedahl Sandsmark
Committed by
Kurt Hindenburg
Sep 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't set blur unless asked to, it is slow
parent
d1a90cf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/MainWindow.cpp
src/MainWindow.cpp
+6
-0
src/MainWindow.h
src/MainWindow.h
+1
-0
No files found.
src/MainWindow.cpp
View file @
1faa50e6
...
...
@@ -839,6 +839,12 @@ void MainWindow::setBlur(bool blur)
return
;
}
// Saves 70-100ms when starting
if
(
blur
==
_blurEnabled
)
{
return
;
}
_blurEnabled
=
blur
;
if
(
!
_pluggedController
->
isKonsolePart
())
{
KWindowEffects
::
enableBlurBehind
(
winId
(),
blur
);
}
...
...
src/MainWindow.h
View file @
1faa50e6
...
...
@@ -199,6 +199,7 @@ private:
bool
_menuBarInitialVisibility
;
bool
_menuBarInitialVisibilityApplied
;
bool
_blurEnabled
=
false
;
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment