~ubuntu-branches/ubuntu/quantal/metacity/quantal

« back to all changes in this revision

Viewing changes to .pc/102_workarea.patch/src/core/atomnames.h

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-03-15 11:09:17 UTC
  • Revision ID: package-import@ubuntu.com-20120315110917-xzwv6fwud94wry1b
Tags: 1:2.34.1-1ubuntu8
* debian/patches/102_workarea.patch,
  debian/patches/103_struts_in_the_middle.patch,
  debian/patches/104_workarea_union.patch:
  - FFe/UIFe: add barriers and multimonitor strut support for unity-2d
    (LP: #798156, #947249, #950774, #954175)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
2
 
 
3
/* 
 
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
 
9
 * 
 
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.
 
14
 *
 
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.
 
19
 * 
 
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
 
23
 * 02111-1307, USA.
 
24
 */
 
25
 
 
26
/**
 
27
 * \file atomnames.h  A list of atom names.
 
28
 *
 
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
 
33
 * again.
 
34
 *
 
35
 * If you also define EWMH_ATOMS_ONLY then you will only get _NET_WM_*
 
36
 * atoms rather than all of them.
 
37
 */
 
38
 
 
39
#ifndef item
 
40
#error "item(x) must be defined when you include atomnames.h"
 
41
#endif
 
42
 
 
43
#ifndef EWMH_ATOMS_ONLY
 
44
 
 
45
item(WM_PROTOCOLS)
 
46
item(WM_TAKE_FOCUS)
 
47
item(WM_DELETE_WINDOW)
 
48
item(WM_STATE)
 
49
item(_MOTIF_WM_HINTS)
 
50
item(WM_CHANGE_STATE)
 
51
item(SM_CLIENT_ID)
 
52
item(WM_CLIENT_LEADER)
 
53
item(WM_WINDOW_ROLE)
 
54
item(UTF8_STRING)
 
55
item(WM_ICON_SIZE)
 
56
item(_KWM_WIN_ICON)
 
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)
 
67
item(MANAGER)
 
68
item(TARGETS)
 
69
item(MULTIPLE)
 
70
item(TIMESTAMP)
 
71
item(VERSION)
 
72
item(ATOM_PAIR)
 
73
item(_METACITY_WINDOW_CAPTURE)
 
74
 
 
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.
 
80
 */
 
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)
 
86
 
 
87
/* But I suppose it's quite reasonable not to advertise using
 
88
 * _NET_SUPPORTED that we support _NET_SUPPORTED :)
 
89
 */
 
90
item(_NET_SUPPORTED)
 
91
 
 
92
#endif /* !EWMH_ATOMS_ONLY */
 
93
 
 
94
/**************************************************************************/
 
95
 
 
96
item(_NET_WM_NAME)
 
97
item(_NET_CLOSE_WINDOW)
 
98
item(_NET_WM_STATE)
 
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)
 
118
item(_NET_WM_ICON)
 
119
item(_NET_WM_ICON_GEOMETRY)
 
120
item(_NET_WM_MOVERESIZE)
 
121
item(_NET_ACTIVE_WINDOW)
 
122
item(_NET_WM_STRUT)
 
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)
 
127
item(_NET_WM_PING)
 
128
item(_NET_WM_PID)
 
129
item(_NET_WORKAREA)
 
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)
 
161
 
 
162
/* eof atomnames.h */
 
163