1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
4
* Copyright (C) 2001 Havoc Pennington
5
* Copyright (C) 2002, 2003, 2004 Red Hat, Inc.
6
* Copyright (C) 2003, 2004 Rob Adams
7
* Copyright (C) 2004-2006 Elijah Newren
8
* Copyright (C) 2008 Thomas Thurman
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public License as
12
* published by the Free Software Foundation; either version 2 of the
13
* License, or (at your option) any later version.
15
* This program is distributed in the hope that it will be useful, but
16
* WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
27
* \file atomnames.h A list of atom names.
29
* This is a list of the names of all the X atoms that Mutter uses.
30
* Each is wrapped in a macro "item()" which is undefined here; the
31
* idea is that when you need to make a big list of all the X atoms,
32
* you can define item(), include this file, and then undefine it
35
* If you also define EWMH_ATOMS_ONLY then you will only get _NET_WM_*
36
* atoms rather than all of them.
40
#error "item(x) must be defined when you include atomnames.h"
43
#ifndef EWMH_ATOMS_ONLY
45
item(WM_PROTOCOLS) /* MUST BE FIRST */
47
item(WM_DELETE_WINDOW)
52
item(WM_CLIENT_LEADER)
57
item(_MUTTER_RESTART_MESSAGE)
58
item(_MUTTER_RELOAD_THEME_MESSAGE)
59
item(_MUTTER_SET_KEYBINDINGS_MESSAGE)
60
item(_MUTTER_TOGGLE_VERBOSE)
62
item(_GNOME_WM_KEYBINDINGS)
63
item(_GNOME_PANEL_ACTION)
64
item(_GNOME_PANEL_ACTION_MAIN_MENU)
65
item(_GNOME_PANEL_ACTION_RUN_DIALOG)
66
item(_MUTTER_SENTINEL)
68
item(WM_CLIENT_MACHINE)
76
/* Oddities: These are used, and we need atoms for them,
77
* but when we need all _NET_WM hints (i.e. when we're making
78
* lists of which _NET_WM hints we support in order to advertise
79
* it) we haven't historically listed them. I don't know what
80
* the reason for this is. It may be a bug.
82
item(_NET_WM_SYNC_REQUEST)
83
item(_NET_WM_SYNC_REQUEST_COUNTER)
84
item(_NET_WM_VISIBLE_NAME)
85
item(_NET_WM_VISIBLE_ICON_NAME)
86
item(_NET_SUPPORTING_WM_CHECK)
88
/* But I suppose it's quite reasonable not to advertise using
89
* _NET_SUPPORTED that we support _NET_SUPPORTED :)
93
#endif /* !EWMH_ATOMS_ONLY */
95
/**************************************************************************/
98
item(_NET_CLOSE_WINDOW)
100
item(_NET_WM_STATE_SHADED)
101
item(_NET_WM_STATE_MAXIMIZED_HORZ)
102
item(_NET_WM_STATE_MAXIMIZED_VERT)
103
item(_NET_WM_DESKTOP)
104
item(_NET_NUMBER_OF_DESKTOPS)
105
item(_NET_CURRENT_DESKTOP)
106
item(_NET_WM_WINDOW_TYPE)
107
item(_NET_WM_WINDOW_TYPE_DESKTOP)
108
item(_NET_WM_WINDOW_TYPE_DOCK)
109
item(_NET_WM_WINDOW_TYPE_TOOLBAR)
110
item(_NET_WM_WINDOW_TYPE_MENU)
111
item(_NET_WM_WINDOW_TYPE_UTILITY)
112
item(_NET_WM_WINDOW_TYPE_SPLASH)
113
item(_NET_WM_WINDOW_TYPE_DIALOG)
114
item(_NET_WM_WINDOW_TYPE_DROPDOWN_MENU)
115
item(_NET_WM_WINDOW_TYPE_POPUP_MENU)
116
item(_NET_WM_WINDOW_TYPE_TOOLTIP)
117
item(_NET_WM_WINDOW_TYPE_NOTIFICATION)
118
item(_NET_WM_WINDOW_TYPE_COMBO)
119
item(_NET_WM_WINDOW_TYPE_DND)
120
item(_NET_WM_WINDOW_TYPE_NORMAL)
121
item(_NET_WM_STATE_MODAL)
122
item(_NET_CLIENT_LIST)
123
item(_NET_CLIENT_LIST_STACKING)
124
item(_NET_WM_STATE_SKIP_TASKBAR)
125
item(_NET_WM_STATE_SKIP_PAGER)
126
item(_NET_WM_ICON_NAME)
128
item(_NET_WM_ICON_GEOMETRY)
129
item(_NET_WM_MOVERESIZE)
130
item(_NET_ACTIVE_WINDOW)
132
item(_NET_WM_STATE_HIDDEN)
133
item(_NET_WM_STATE_FULLSCREEN)
137
item(_NET_SHOWING_DESKTOP)
138
item(_NET_DESKTOP_LAYOUT)
139
item(_NET_DESKTOP_NAMES)
140
item(_NET_WM_ALLOWED_ACTIONS)
141
item(_NET_WM_ACTION_MOVE)
142
item(_NET_WM_ACTION_RESIZE)
143
item(_NET_WM_ACTION_SHADE)
144
item(_NET_WM_ACTION_STICK)
145
item(_NET_WM_ACTION_MAXIMIZE_HORZ)
146
item(_NET_WM_ACTION_MAXIMIZE_VERT)
147
item(_NET_WM_ACTION_CHANGE_DESKTOP)
148
item(_NET_WM_ACTION_CLOSE)
149
item(_NET_WM_STATE_ABOVE)
150
item(_NET_WM_STATE_BELOW)
151
item(_NET_STARTUP_ID)
152
item(_NET_WM_STRUT_PARTIAL)
153
item(_NET_WM_ACTION_FULLSCREEN)
154
item(_NET_WM_ACTION_MINIMIZE)
155
item(_NET_FRAME_EXTENTS)
156
item(_NET_REQUEST_FRAME_EXTENTS)
157
item(_NET_WM_USER_TIME)
158
item(_NET_WM_STATE_DEMANDS_ATTENTION)
159
item(_NET_MOVERESIZE_WINDOW)
160
item(_NET_DESKTOP_GEOMETRY)
161
item(_NET_DESKTOP_VIEWPORT)
162
item(_NET_WM_USER_TIME_WINDOW)
163
item(_NET_WM_ACTION_ABOVE)
164
item(_NET_WM_ACTION_BELOW)
165
item(_NET_WM_STATE_STICKY)
166
item(_NET_WM_FULLSCREEN_MONITORS)
169
/* We apparently never use: */
170
/* item(_NET_RESTACK_WINDOW) */
173
/* eof atomnames.h */