polybar/src/x11
Frank Großgasteiger 638a57379b
Redraw tray on wallpaper change, only if transparent (#2604)
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
..
extensions xkb: Use xpp for xcb calls (#2536) 2021-10-14 15:57:46 +02:00
atoms.cpp Cleanup xcb stuff 2022-03-06 18:28:26 +01:00
background_manager.cpp Remove undefined behaviors and clean code (#1769) 2021-02-15 23:32:56 +01:00
connection.cpp Cleanup use of pointers in util code 2022-03-06 18:28:26 +01:00
cursor.cpp refactor: Simplify if statements (#1381) 2018-08-14 23:31:44 +02:00
ewmh.cpp Cleanup xcb stuff 2022-03-06 18:28:26 +01:00
icccm.cpp fix: Set WM_SIZE_HINTS to fix position in openbox 2022-02-21 21:40:33 +01:00
registry.cpp refactor(connection: Use custom base 2016-12-26 09:46:48 +01:00
tray_client.cpp Cleanup xcb stuff 2022-03-06 18:28:26 +01:00
tray_manager.cpp Redraw tray on wallpaper change, only if transparent (#2604) 2022-03-07 19:16:07 +01:00
window.cpp fix(window): remove useless operator= and add default copy cstr (#1729) 2019-04-07 17:32:55 +02:00
winspec.cpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
xembed.cpp Cleanup xcb stuff 2022-03-06 18:28:26 +01:00
xresources.cpp refactor(xresources): Use xcb-util-xrm 2017-01-20 02:26:01 +01:00