mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
c8f7dc1c14
Without override-redirect, i3 will not allow you to have a non-full-width bar. But polybar simply ignores that request and continues to render the user-requested width instead of the width i3 has configured the window to be. With the 3.7 release, we started setting the window's backing pixmap to the rendering pixmap. In the case above, the pixmap would only be allocted for the smaller width and when i3 maps the window, it repeats the backing pixmap to fill the entire window. At the point where i3 maps the window, the pixmap contains an initial render of the bar without module content and that render is then duplicated. Reverting back to the old approach of simply copying over the pixmap after each render does not have that problem and the remainder of the bar is black (or fully transparent with a compositor). Ideally, polybar would respect the width i3 configures for it, but that would break many existing setups that rely on non-full-width bars in i3 Fixes #3060
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
---
|
|
Checks: '
|
|
-*,
|
|
performance-*,
|
|
readability-*,
|
|
clang-analyzer-alpha.core*,
|
|
clang-analyzer-alpha.security*,
|
|
clang-analyzer-alpha.unix.cstring*,
|
|
clang-analyzer-core.uninitialized*,
|
|
clang-analyzer-cplusplus.*,
|
|
clang-analyzer-nullability*,
|
|
clang-analyzer-unix*,
|
|
cppcoreguidelines*,
|
|
modernize-use-*,
|
|
modernize-*,
|
|
-modernize-raw-string-literal,
|
|
-modernize-use-bool-literals,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-identifier-length,
|
|
-readability-implicit-bool-cast,
|
|
-readability-else-after-return,
|
|
-readability-named-parameter,
|
|
-readability-implicit-bool-conversion,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
-cppcoreguidelines-pro-type-vararg,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-pro-type-union-access,
|
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
-cppcoreguidelines-owning-memory,
|
|
'
|
|
|
|
CheckOptions:
|
|
cppcoreguidelines-avoid-do-while.IgnoreMacros: true
|
|
modernize-loop-convert.NamingStyle: lower_case
|
|
readability-identifier-naming.ClassCase: lower_case
|
|
readability-identifier-naming.ClassConstantCase: UPPER_CASE
|
|
readability-identifier-naming.ClassMethodCase: lower_case
|
|
readability-identifier-naming.MemberCase: lower_case
|
|
readability-identifier-naming.ProtectedMemberPrefix: 'm_'
|
|
readability-identifier-naming.PrivateMemberPrefix: 'm_'
|
|
|
|
HeaderFilterRegex: ''
|
|
WarningsAsErrors: ''
|
|
AnalyzeTemporaryDtors: false
|
|
...
|