summaryrefslogtreecommitdiff
path: root/src/core/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/display.h')
-rw-r--r--src/core/display.h103
1 files changed, 6 insertions, 97 deletions
diff --git a/src/core/display.h b/src/core/display.h
index 65b95a5..659f79d 100644
--- a/src/core/display.h
+++ b/src/core/display.h
@@ -87,103 +87,12 @@ struct _MetaDisplay
Window leader_window;
Window timestamp_pinging_window;
- Atom atom_net_wm_name;
- Atom atom_wm_protocols;
- Atom atom_wm_take_focus;
- Atom atom_wm_delete_window;
- Atom atom_wm_state;
- Atom atom_net_close_window;
- Atom atom_net_wm_state;
- Atom atom_motif_wm_hints;
- Atom atom_net_wm_state_shaded;
- Atom atom_net_wm_state_maximized_horz;
- Atom atom_net_wm_state_maximized_vert;
- Atom atom_net_wm_desktop;
- Atom atom_net_number_of_desktops;
- Atom atom_wm_change_state;
- Atom atom_sm_client_id;
- Atom atom_wm_client_leader;
- Atom atom_wm_window_role;
- Atom atom_net_current_desktop;
- Atom atom_net_supporting_wm_check;
- Atom atom_net_supported;
- Atom atom_net_wm_window_type;
- Atom atom_net_wm_window_type_desktop;
- Atom atom_net_wm_window_type_dock;
- Atom atom_net_wm_window_type_toolbar;
- Atom atom_net_wm_window_type_menu;
- Atom atom_net_wm_window_type_dialog;
- Atom atom_net_wm_window_type_normal;
- Atom atom_net_wm_state_modal;
- Atom atom_net_client_list;
- Atom atom_net_client_list_stacking;
- Atom atom_net_wm_state_skip_taskbar;
- Atom atom_net_wm_state_skip_pager;
- Atom atom_net_wm_icon_name;
- Atom atom_net_wm_icon;
- Atom atom_net_wm_icon_geometry;
- Atom atom_utf8_string;
- Atom atom_wm_icon_size;
- Atom atom_kwm_win_icon;
- Atom atom_net_wm_moveresize;
- Atom atom_net_active_window;
- Atom atom_metacity_restart_message;
- Atom atom_net_wm_strut;
- Atom atom_metacity_reload_theme_message;
- Atom atom_metacity_set_keybindings_message;
- Atom atom_net_wm_state_hidden;
- Atom atom_net_wm_window_type_utility;
- Atom atom_net_wm_window_type_splash;
- Atom atom_net_wm_ping;
- Atom atom_net_wm_pid;
- Atom atom_wm_client_machine;
- Atom atom_net_wm_state_fullscreen;
- Atom atom_net_workarea;
- Atom atom_net_showing_desktop;
- Atom atom_net_desktop_layout;
- Atom atom_manager;
- Atom atom_targets;
- Atom atom_multiple;
- Atom atom_timestamp;
- Atom atom_version;
- Atom atom_atom_pair;
- Atom atom_net_desktop_names;
- Atom atom_net_wm_allowed_actions;
- Atom atom_net_wm_action_move;
- Atom atom_net_wm_action_resize;
- Atom atom_net_wm_action_fullscreen;
- Atom atom_net_wm_action_minimize;
- Atom atom_net_wm_action_shade;
- Atom atom_net_wm_action_stick;
- Atom atom_net_wm_action_maximize_horz;
- Atom atom_net_wm_action_maximize_vert;
- Atom atom_net_wm_action_change_desktop;
- Atom atom_net_wm_action_close;
- Atom atom_net_wm_action_above;
- Atom atom_net_wm_action_below;
- Atom atom_net_wm_state_above;
- Atom atom_net_wm_state_below;
- Atom atom_net_startup_id;
- Atom atom_metacity_toggle_verbose;
- Atom atom_net_wm_sync_request;
- Atom atom_net_wm_sync_request_counter;
- Atom atom_gnome_panel_action;
- Atom atom_gnome_panel_action_main_menu;
- Atom atom_gnome_panel_action_run_dialog;
- Atom atom_metacity_sentinel;
- Atom atom_net_wm_strut_partial;
- Atom atom_net_frame_extents;
- Atom atom_net_request_frame_extents;
- Atom atom_net_wm_user_time;
- Atom atom_net_wm_state_demands_attention;
- Atom atom_net_restack_window;
- Atom atom_net_moveresize_window;
- Atom atom_net_desktop_geometry;
- Atom atom_net_desktop_viewport;
- Atom atom_metacity_version;
- Atom atom_net_wm_visible_name;
- Atom atom_net_wm_visible_icon_name;
- Atom atom_net_wm_user_time_window;
+ /* Pull in all the names of atoms as fields; we will intern them when the
+ * class is constructed.
+ */
+#define item(x) Atom atom_##x;
+#include "atomnames.h"
+#undef item
/* This is the actual window from focus events,
* not the one we last set