From 733cb5e43d10003c78921c69f0675487ae0b032b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 10 Jan 2011 23:11:42 +0100 Subject: [PATCH] Cleanup leftover code in gtkplug-x11 This code was part of the GdkDeviceManagerCore hack --- gtk/gtkplug-x11.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gtk/gtkplug-x11.c b/gtk/gtkplug-x11.c index e7d8b4c6a5..4e1a7b1429 100644 --- a/gtk/gtkplug-x11.c +++ b/gtk/gtkplug-x11.c @@ -27,21 +27,6 @@ #include "config.h" -#if 0 -#ifdef XINPUT_2 - -/* Hack to have keyboard events interpreted - * regardless of the default device manager - */ -#define GDK_COMPILATION -#include "x11/gdkdevicemanager-core.h" -#include "x11/gdkdevicemanager-xi2.h" -#include "x11/gdkeventtranslator.h" -#undef GDK_COMPILATION - -#endif /* XINPUT_2 */ -#endif - #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtkplug.h"