aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-02-27 19:38:27 +0100
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2022-03-02 10:32:35 +0100
commit700d9f46c7725159a56b87d0b391a5967cfb081a (patch)
tree809bd2fc6067a790b68a61c72b28fde46a5ee8a0 /nsxiv.h
parentad571e7448eb53fb099ec0cb87baf97cb38d3450 (diff)
downloadnsxiv-700d9f46c7725159a56b87d0b391a5967cfb081a.tar.zst
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
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h2
1 files changed, 2 insertions, 0 deletions
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
};