aboutsummaryrefslogtreecommitdiff
path: root/global.h
blob: 32294974d5051ed5d5557d25c9c1739970ecc5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _TOPMENU_GLOBAL_H_
#define _TOPMENU_GLOBAL_H_

/* Private definitions that are common to entire project. */

#include "config.h"

/** The window ID of this top level's window attached menu window. */
#define ATOM_TOPMENU_WINDOW "_TOPMENU_WINDOW"

/** The X11 selection that is used to indicate the current server widget. */
#define ATOM_TOPMENU_SERVER_SELECTION "_TOPMENU_SERVER"

/* Gobject data keys */
/** For a GtkWindow, stores its associated TopMenu GtkPlug */
#define OBJECT_DATA_KEY_PLUG "topmenu-plug"

/** For a server widget, stores the associated stub window.
    This is the window that might own ATOM_TOPMENU_SERVER_SELECTION. */
#define OBJECT_DATA_KEY_SERVER_STUB "topmenu-server-stub"

#endif