polybar-dwm/include/x11
Benno Fünfstück f74c524fff fix(renderer): Handling of missing root pixmap (#1608)
Polybar had issues when there is no background set or set by a tool like imagemagick which doesn't add the root pixmap to the root window properties.

There's not much we can do about it, but at least polybar doesn't crash anymore.

Fixes #1582 
Fixes #1585 

* fix(tray_manager): only enable transparency if neccessary

Previously, we always enabled transparency

* fix(background_manager): avoid needless fetching

* fix(renderer): move logging message to correct place

* fix(background_manager): handle dummy pixmap (_XSETROOT_ID) right

* fix(background_manager): more initialization + don't free on error

Freeing on error is incorrect, since we could still be called again later in
which case we still need the resources.

* fix(background_manager): add more infos to trace logs

* fix(background): correct typo (XROOTMAP -> XROOTPMAP)

* fix(background_manager): do not report "no background" as error

* style(background_manager): use braces for if

Co-Authored-By: bennofs <benno.fuenfstueck@gmail.com>

* fix(background_manager): better error message for dummy pixmap

Co-Authored-By: bennofs <benno.fuenfstueck@gmail.com>

* style(background): some more style fixes

* fix(connection): initialize pixmap in all cases in root_pixmap()

* style(connection): improve readability using early return
2019-01-17 14:22:48 +01:00
..
extensions randr: Add separate key for exact monitor matching 2019-01-08 17:23:28 +01:00
atoms.hpp fix(renderer): Handling of missing root pixmap (#1608) 2019-01-17 14:22:48 +01:00
background_manager.hpp fix(tray): correctly handle transparency when using offset (#1571) 2019-01-05 01:08:18 +01:00
connection.hpp feat(render): support pseudo-transparency 2018-10-04 15:52:03 +02:00
cursor.hpp fix(compiling): map variable without namespace. (#1395) 2018-08-24 13:37:45 +02:00
ewmh.hpp feat(xworkspaces): add urgent desktop detection 2017-02-23 13:20:26 +01:00
icccm.hpp feat(xworkspaces): add urgent desktop detection 2017-02-23 13:20:26 +01:00
registry.hpp refactor(connection: Use custom base 2016-12-26 09:46:48 +01:00
tray_client.hpp refactor: Integral types 2017-01-24 07:11:14 +01:00
tray_manager.hpp fix(tray): correctly handle transparency when using offset (#1571) 2019-01-05 01:08:18 +01:00
types.hpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
window.hpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
winspec.hpp doc: Convert @ to \ doxygen commands 2018-11-04 19:28:27 -08:00
xembed.hpp refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
xresources.hpp fix(xrm): res_class==nullptr to properly get the resource (#368) 2017-01-23 17:54:20 +01:00