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 Metacity 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
47
item(WM_DELETE_WINDOW)
52
item(WM_CLIENT_LEADER)
57
item(_METACITY_RESTART_MESSAGE)
58
item(_METACITY_RELOAD_THEME_MESSAGE)
59
item(_METACITY_SET_KEYBINDINGS_MESSAGE)
60
item(_METACITY_TOGGLE_VERBOSE)
61
item(_GNOME_PANEL_ACTION)
62
item(_GNOME_PANEL_ACTION_MAIN_MENU)
63
item(_GNOME_PANEL_ACTION_RUN_DIALOG)
64
item(_METACITY_SENTINEL)
65
item(_METACITY_VERSION)
66
item(WM_CLIENT_MACHINE)
73
item(_METACITY_WINDOW_CAPTURE)
75
/* Oddities: These are used, and we need atoms for them,
76
* but when we need all _NET_WM hints (i.e. when we're making
77
* lists of which _NET_WM hints we support in order to advertise
78
* it) we haven't historically listed them. I don't know what
79
* the reason for this is. It may be a bug.
81
item(_NET_WM_SYNC_REQUEST)
82
item(_NET_WM_SYNC_REQUEST_COUNTER)
83
item(_NET_WM_VISIBLE_NAME)
84
item(_NET_WM_VISIBLE_ICON_NAME)
85
item(_NET_SUPPORTING_WM_CHECK)
87
/* But I suppose it's quite reasonable not to advertise using
88
* _NET_SUPPORTED that we support _NET_SUPPORTED :)
92
#endif /* !EWMH_ATOMS_ONLY */
94
/**************************************************************************/
97
item(_NET_CLOSE_WINDOW)
99
item(_NET_WM_STATE_SHADED)
100
item(_NET_WM_STATE_MAXIMIZED_HORZ)
101
item(_NET_WM_STATE_MAXIMIZED_VERT)
102
item(_NET_WM_DESKTOP)
103
item(_NET_NUMBER_OF_DESKTOPS)
104
item(_NET_CURRENT_DESKTOP)
105
item(_NET_WM_WINDOW_TYPE)
106
item(_NET_WM_WINDOW_TYPE_DESKTOP)
107
item(_NET_WM_WINDOW_TYPE_DOCK)
108
item(_NET_WM_WINDOW_TYPE_TOOLBAR)
109
item(_NET_WM_WINDOW_TYPE_MENU)
110
item(_NET_WM_WINDOW_TYPE_DIALOG)
111
item(_NET_WM_WINDOW_TYPE_NORMAL)
112
item(_NET_WM_STATE_MODAL)
113
item(_NET_CLIENT_LIST)
114
item(_NET_CLIENT_LIST_STACKING)
115
item(_NET_WM_STATE_SKIP_TASKBAR)
116
item(_NET_WM_STATE_SKIP_PAGER)
117
item(_NET_WM_ICON_NAME)
119
item(_NET_WM_ICON_GEOMETRY)
120
item(_NET_WM_MOVERESIZE)
121
item(_NET_ACTIVE_WINDOW)
123
item(_NET_WM_STATE_HIDDEN)
124
item(_NET_WM_WINDOW_TYPE_UTILITY)
125
item(_NET_WM_WINDOW_TYPE_SPLASH)
126
item(_NET_WM_STATE_FULLSCREEN)
130
item(_NET_SHOWING_DESKTOP)
131
item(_NET_DESKTOP_LAYOUT)
132
item(_NET_DESKTOP_NAMES)
133
item(_NET_WM_ALLOWED_ACTIONS)
134
item(_NET_WM_ACTION_MOVE)
135
item(_NET_WM_ACTION_RESIZE)
136
item(_NET_WM_ACTION_SHADE)
137
item(_NET_WM_ACTION_STICK)
138
item(_NET_WM_ACTION_MAXIMIZE_HORZ)
139
item(_NET_WM_ACTION_MAXIMIZE_VERT)
140
item(_NET_WM_ACTION_CHANGE_DESKTOP)
141
item(_NET_WM_ACTION_CLOSE)
142
item(_NET_WM_STATE_ABOVE)
143
item(_NET_WM_STATE_BELOW)
144
item(_NET_STARTUP_ID)
145
item(_NET_WM_STRUT_PARTIAL)
146
item(_NET_WM_ACTION_FULLSCREEN)
147
item(_NET_WM_ACTION_MINIMIZE)
148
item(_NET_FRAME_EXTENTS)
149
item(_NET_REQUEST_FRAME_EXTENTS)
150
item(_NET_WM_USER_TIME)
151
item(_NET_WM_STATE_DEMANDS_ATTENTION)
152
item(_NET_MOVERESIZE_WINDOW)
153
item(_NET_DESKTOP_GEOMETRY)
154
item(_NET_DESKTOP_VIEWPORT)
155
item(_NET_WM_USER_TIME_WINDOW)
156
item(_NET_WM_ACTION_ABOVE)
157
item(_NET_WM_ACTION_BELOW)
158
item(_NET_WM_STATE_STICKY)
159
item(_NET_WM_FULLSCREEN_MONITORS)
160
item(_NET_RESTACK_WINDOW)
162
/* eof atomnames.h */