From 700d9f46c7725159a56b87d0b391a5967cfb081a Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 28 Feb 2022 00:38:27 +0600 Subject: fix: window title not working on certain WMs not all WMs support `_NET_WM_NAME` and `_NET_WM_ICON_NAME` this patch sets `WM_NAME` and `WM_ICON_NAME` inside win_set_title() Closes: https://github.com/nsxiv/nsxiv/issues/233 --- nsxiv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nsxiv.h') diff --git a/nsxiv.h b/nsxiv.h index 8576d51..4350864 100644 --- a/nsxiv.h +++ b/nsxiv.h @@ -381,6 +381,8 @@ enum { ATOM__NET_WM_PID, ATOM__NET_WM_STATE_FULLSCREEN, ATOM_UTF8_STRING, + ATOM_WM_NAME, + ATOM_WM_ICON_NAME, ATOM_COUNT }; -- cgit v1.2.3