1 /* XEMBED messages */ 2 typedef enum { 3 XEMBED_EMBEDDED_NOTIFY = 0, 4 XEMBED_WINDOW_ACTIVATE = 1, 5 XEMBED_WINDOW_DEACTIVATE = 2, 6 XEMBED_REQUEST_FOCUS = 3, 7 XEMBED_FOCUS_IN = 4, 8 XEMBED_FOCUS_OUT = 5, 9 XEMBED_FOCUS_NEXT = 6, 10 XEMBED_FOCUS_PREV = 7, 11 XEMBED_GRAB_KEY = 8, 12 XEMBED_UNGRAB_KEY = 9, 13 XEMBED_MODALITY_ON = 10, 14 XEMBED_MODALITY_OFF = 11, 15 16 /* Non standard messages*/ 17 XEMBED_GTK_GRAB_KEY = 108, 18 XEMBED_GTK_UNGRAB_KEY = 109 19 } XEmbedMessageType; 20 21 /* Details for XEMBED_FOCUS_IN: */ 22 #define XEMBED_FOCUS_CURRENT 0 23 #define XEMBED_FOCUS_FIRST 1 24 #define XEMBED_FOCUS_LAST 2 25 26 /* Flags for XEMBED_FOCUS_IN, XEMBED_FOCUS_NEXT, XEMBED_FOCUS_PREV */ 27 #define XEMBED_FOCUS_WRAPAROUND (1 << 0) 28 29 /* Flags for _XEMBED_INFO */ 30 #define XEMBED_MAPPED (1 << 0) 31 32