Skip to content

Commit

Permalink
Added another condition for inactiveness
Browse files Browse the repository at this point in the history
Also, added more KDE titlebar colors
  • Loading branch information
tsujan committed Jul 21, 2018
1 parent 6f473ea commit 1fd4376
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 33 deletions.
1 change: 1 addition & 0 deletions Kvantum/style/Kvantum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ bool Style::isWidgetInactive(const QWidget *widget) const
/* some widgets (like KCapacityBar in kdf) may be drawn while still invisible */
&& widget->isVisible()
&& !widget->window()->windowFlags().testFlag(Qt::WindowDoesNotAcceptFocus)
&& !widget->window()->windowFlags().testFlag(Qt::X11BypassWindowManagerHint)
&& !widget->isActiveWindow())
{
return true;
Expand Down
12 changes: 6 additions & 6 deletions Kvantum/themes/colors/KvAdapta.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=250,251,252
activeBlend=250,251,252
activeForeground=0,0,0
inactiveBackground=250,251,252
inactiveBlend=250,251,252
inactiveForeground=104,108,111
activeBackground=34,45,50
activeBlend=34,45,50
activeForeground=255,255,255
inactiveBackground=34,45,50
inactiveBlend=34,45,50
inactiveForeground=200,200,200
10 changes: 5 additions & 5 deletions Kvantum/themes/colors/KvAdaptaDark.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=38,50,56
activeBlend=38,50,56
activeBackground=34,45,50
activeBlend=34,45,50
activeForeground=255,255,255
inactiveBackground=38,50,56
inactiveBlend=38,50,56
inactiveForeground=155,155,155
inactiveBackground=34,45,50
inactiveBlend=34,45,50
inactiveForeground=200,200,200
10 changes: 5 additions & 5 deletions Kvantum/themes/colors/KvArc.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=245,246,247
activeBlend=245,246,247
activeBackground=231,232,235
activeBlend=231,232,235
activeForeground=0,0,0
inactiveBackground=245,246,247
inactiveBlend=245,246,247
inactiveForeground=104,108,111
inactiveBackground=231,232,235
inactiveBlend=231,232,235
inactiveForeground=90,90,90
10 changes: 5 additions & 5 deletions Kvantum/themes/colors/KvArcDark.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=56,60,74
activeBlend=56,60,74
activeBackground=47,52,63
activeBlend=47,52,63
activeForeground=255,255,255
inactiveBackground=56,60,74
inactiveBlend=56,60,74
inactiveForeground=155,155,155
inactiveBackground=47,52,63
inactiveBlend=47,52,63
inactiveForeground=200,200,200
12 changes: 6 additions & 6 deletions Kvantum/themes/colors/KvCommunitheme.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=253,253,253
activeBlend=253,253,253
activeForeground=0,0,0
inactiveBackground=253,253,253
inactiveBlend=253,253,253
inactiveForeground=104,108,111
activeBackground=43,41,41
activeBlend=43,41,41
activeForeground=255,255,255
inactiveBackground=61,58,58
inactiveBlend=61,58,58
inactiveForeground=200,200,200
12 changes: 6 additions & 6 deletions Kvantum/themes/colors/KvFlatLight.colors
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ shadeSortColumn=true
contrast=0

[WM]
activeBackground=234,234,235
activeBlend=234,234,235
activeForeground=0,0,0
inactiveBackground=234,234,235
inactiveBlend=234,234,235
inactiveForeground=104,108,111
activeBackground=61,61,62
activeBlend=61,61,62
activeForeground=255,255,255
inactiveBackground=61,61,62
inactiveBlend=61,61,62
inactiveForeground=200,200,200

0 comments on commit 1fd4376

Please sign in to comment.