* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_EVENT_TRANSLATOR_H__
void (* select_window_events) (GdkEventTranslator *translator,
Window window,
GdkEventMask event_mask);
+ GdkWindow * (* get_window) (GdkEventTranslator *translator,
+ XEvent *xevent);
};
GType _gdk_x11_event_translator_get_type (void) G_GNUC_CONST;
void _gdk_x11_event_translator_select_window_events (GdkEventTranslator *translator,
Window window,
GdkEventMask event_mask);
+GdkWindow * _gdk_x11_event_translator_get_window (GdkEventTranslator *translator,
+ GdkDisplay *display,
+ XEvent *xevent);
G_END_DECLS