Skip to content

Add fallback to WM_NAME#76

Open
kitt-cat wants to merge 1 commit intomkropat:masterfrom
kitt-cat:fallback_to_WM_NAME
Open

Add fallback to WM_NAME#76
kitt-cat wants to merge 1 commit intomkropat:masterfrom
kitt-cat:fallback_to_WM_NAME

Conversation

@kitt-cat
Copy link

@kitt-cat kitt-cat commented Jun 6, 2022

wmctrl only reads _NET_WM_NAME, however some applications (e.g. steam) do not set it and only set WM_NAME.

When _NET_WM_NAME is missing, wmctrl gives the name as N/A; in such a case there is a chance we can still get the right name from WM_NAME.

Fixes #75

wmctrl only reads _NET_WM_NAME, however some applications (e.g. steam)
do not set it and only set WM_NAME.
When _NET_WM_NAME is missing, wmctrl gives the name as "N/A"; in such
a case there is a chance we can still get the right name from WM_NAME.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wmctrl only reads _NET_WM_NAME

1 participant