Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: set expandtab shiftwidth=2 tabstop=2: */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 /* XEMBED messages */
9 #define XEMBED_EMBEDDED_NOTIFY 0
10 #define XEMBED_WINDOW_ACTIVATE 1
11 #define XEMBED_WINDOW_DEACTIVATE 2
12 #define XEMBED_REQUEST_FOCUS 3
13 #define XEMBED_FOCUS_IN 4
14 #define XEMBED_FOCUS_OUT 5
15 #define XEMBED_FOCUS_NEXT 6
16 #define XEMBED_FOCUS_PREV 7
17 #define XEMBED_GRAB_KEY 8
18 #define XEMBED_UNGRAB_KEY 9
19 #define XEMBED_MODALITY_ON 10
20 #define XEMBED_MODALITY_OFF 11
22 /* Non standard messages*/
23 #define XEMBED_GTK_GRAB_KEY 108
24 #define XEMBED_GTK_UNGRAB_KEY 109
26 /* Details for XEMBED_FOCUS_IN: */
27 #define XEMBED_FOCUS_CURRENT 0
28 #define XEMBED_FOCUS_FIRST 1
29 #define XEMBED_FOCUS_LAST 2
31 /* Flags for _XEMBED_INFO */
32 #define XEMBED_MAPPED (1 << 0)