Closed traumweh closed 1 year ago
window.get_wm_name() returns an empty string if the window property WM_NAME is not a STRING but a UTF8_STRING instance. This is an ongoing error in Xlib that afaik hasn't been fixed for years. So I added a fallback using the _NET_WM_NAME property.
window.get_wm_name()
WM_NAME
STRING
UTF8_STRING
_NET_WM_NAME
window.get_wm_name()
returns an empty string if the window propertyWM_NAME
is not aSTRING
but aUTF8_STRING
instance. This is an ongoing error in Xlib that afaik hasn't been fixed for years. So I added a fallback using the_NET_WM_NAME
property.