summaryrefslogtreecommitdiff
path: root/src/conn_info
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn_info')
-rw-r--r--src/conn_info/atoms.rs26
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,
}
}