polybar-dwm/src
Frank Großgasteiger 638a57379b
Redraw tray on wallpaper change, only if transparent ()
The tray manager of polybar listens on multiple atoms for the background of the root window. On change of these atoms, it will redraw its window-background and message its tray-client to redraw also.

On fast changes of of background, this leads to immense messaging and eventual flickering of the systray.

This patch tries to soften the issue in a way, that tray-window and its client will only redraw, if the bar has transparency. If not, there should be no reason to redraw on wallpaper-change.

* Redraw on background change only if transparent

* Replace tab with spaces
2022-03-07 19:16:07 +01:00
..
adapters feat(script): add repeat interval for script failure and exec-if 2022-03-07 15:44:55 +01:00
cairo Use @ for doxygen commands () 2022-02-20 21:40:48 +01:00
components Stop using unique_ptr for on_exit 2022-03-06 18:28:26 +01:00
drawtypes Add units support (POINT, PIXEL, SPACE) () 2022-02-20 21:08:57 +01:00
events refactor(signals): Avoid reinterpret_cast 2017-01-01 20:31:09 +01:00
ipc Use @ for doxygen commands () 2022-02-20 21:40:48 +01:00
modules feat(script): add repeat interval for script failure and exec-if 2022-03-07 15:44:55 +01:00
tags tests: Use fake renderer for dispatch test 2022-03-05 13:37:28 +01:00
utils Cleanup use of pointers in util code 2022-03-06 18:28:26 +01:00
x11 Redraw tray on wallpaper change, only if transparent () 2022-03-07 19:16:07 +01:00
CMakeLists.txt Cleanup use of pointers in util code 2022-03-06 18:28:26 +01:00
main.cpp Add units support (POINT, PIXEL, SPACE) () 2022-02-20 21:08:57 +01:00
polybar-msg.cpp Fix hint message when using deprecated polybar-msg hook 2022-03-05 09:41:00 +01:00
settings.cpp.cmake cmake: Stop using CMAKE_* variables for flags 2021-07-11 14:47:26 +02:00