/* * xembed.h - XEMBED definitions * * nspluginwrapper (C) 2005-2007 Gwenole Beauchesne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef XEMBED_H #define XEMBED_H // XEMBED messages #define XEMBED_EMBEDDED_NOTIFY 0 #define XEMBED_WINDOW_ACTIVATE 1 #define XEMBED_WINDOW_DEACTIVATE 2 #define XEMBED_REQUEST_FOCUS 3 #define XEMBED_FOCUS_IN 4 #define XEMBED_FOCUS_OUT 5 #define XEMBED_FOCUS_NEXT 6 #define XEMBED_FOCUS_PREV 7 #define XEMBED_GRAB_KEY 8 #define XEMBED_UNGRAB_KEY 9 #define XEMBED_MODALITY_ON 10 #define XEMBED_MODALITY_OFF 11 // Non-standard messages #define XEMBED_GTK_GRAB_KEY 108 #define XEMBED_GTK_UNGRAB_KEY 109 // Details for XEMBED_FOCUS_IN #define XEMBED_FOCUS_CURRENT 0 #define XEMBED_FOCUS_FIRST 1 #define XEMBED_FOCUS_LAST 2 // Flags for _XEMBED_INFO #define XEMBED_MAPPED (1 << 0) #endif /* XEMBED_H */