diff options
author | tcmal <me@aria.rip> | 2024-06-21 20:57:49 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-21 20:57:49 +0100 |
commit | 8d3bb2a4b5a3058b51ade1df41378077d5afc691 (patch) | |
tree | 2a4e0edcce9ef263ad13d813cbb7d7e9f0dacebe /src/conn_info | |
parent | 3bff6a4dd8c16e9d633bd0dc4d42c1b89e748c0f (diff) |
fix atoms that didn't exist silently failing to intern
Diffstat (limited to 'src/conn_info')
-rw-r--r-- | src/conn_info/atoms.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/conn_info/atoms.rs b/src/conn_info/atoms.rs index 2d23c81..9b3a78a 100644 --- a/src/conn_info/atoms.rs +++ b/src/conn_info/atoms.rs @@ -1,18 +1,18 @@ xcb::atoms_struct! { #[derive(Copy, Clone, Debug)] pub struct Atoms { - pub wm_protocols => b"WM_PROTOCOLS", - pub wm_delete => b"WM_DELETE_WINDOW", - pub wm_state => b"WM_STATE", - pub wm_take_focus => b"WM_TAKE_FOCUS", - pub net_active_window => b"_NET_ACTIVE_WINDOW", - pub net_supported => b"_NET_SUPPORTED", - pub net_wm_name => b"_NET_WM_NAME", - pub net_wm_state => b"_NET_WM_STATE", - pub net_wm_check => b"_NET_SUPPORTING_WM_CHECK", - pub net_wm_fullscreen => b"_NET_WM_STATE_FULLSCREEN", - pub net_wm_window_type => b"_NET_WM_WINDOW_TYPE", - pub net_wm_window_type_dialog => b"_NET_WM_WINDOW_TYPE_DIALOG", - pub net_client_list => b"_NET_CLIENT_LIST", + pub wm_protocols => b"WM_PROTOCOLS" only_if_exists = false, + pub wm_delete => b"WM_DELETE_WINDOW" only_if_exists = false, + pub wm_state => b"WM_STATE" only_if_exists = false, + pub wm_take_focus => b"WM_TAKE_FOCUS" only_if_exists = false, + pub net_active_window => b"_NET_ACTIVE_WINDOW" only_if_exists = false, + pub net_supported => b"_NET_SUPPORTED" only_if_exists = false, + pub net_wm_name => b"_NET_WM_NAME" only_if_exists = false, + pub net_wm_state => b"_NET_WM_STATE" only_if_exists = false, + pub net_wm_check => b"_NET_SUPPORTING_WM_CHECK" only_if_exists = false, + pub net_wm_fullscreen => b"_NET_WM_STATE_FULLSCREEN" only_if_exists = false, + pub net_wm_window_type => b"_NET_WM_WINDOW_TYPE" only_if_exists = false, + pub net_wm_window_type_dialog => b"_NET_WM_WINDOW_TYPE_DIALOG" only_if_exists = false, + pub net_client_list => b"_NET_CLIENT_LIST" only_if_exists = false, } } |