mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Add support for dimming the colors when losing focus
Summary: pretty vital (at least for me) if one doesn't have compositing. we can't use the normal QPalette::Inactive because of color schemes, but I made the new scrollbar color code follow the same dimming colors. Test Plan: tested with and without compositing, with and without scrollbar, and dark and light color schemes. Reviewers: hindenburg, #konsole Reviewed By: hindenburg, #konsole Subscribers: anthonyfieroni, konsole-devel, #konsole Tags: #konsole Differential Revision: https://phabricator.kde.org/D16198
This commit is contained in:
committed by
Kurt Hindenburg
parent
2c9a793369
commit
25e07b7e20
@@ -811,6 +811,7 @@ void ViewManager::applyProfileToView(TerminalDisplay *view, const Profile::Ptr p
|
||||
|
||||
// show hint about terminal size after resizing
|
||||
view->setShowTerminalSizeHint(profile->showTerminalSizeHint());
|
||||
view->setDimWhenInactive(profile->dimWhenInactive());
|
||||
|
||||
// terminal features
|
||||
view->setBlinkingCursorEnabled(profile->blinkingCursorEnabled());
|
||||
|
||||
Reference in New Issue
Block a user