]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkinput.c
Some bug fixes and improvements to the Win32 GDK.
[~andy/gtk] / gdk / gdkinput.c
index 491131ca27eae6b1744013fbf7f637199bd4ff13..b09821ff6edbbb2adad0f75fee3a022036df0b7c 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+
+/*
+ * Modified by the GTK+ Team and others 1997-1999.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #include <stdlib.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-#include "../config.h"
+#include "config.h"
 #include "gdk.h"
 #include "gdkx.h"
 #include "gdkprivate.h"
@@ -38,9 +46,9 @@ static GdkDevicePrivate *gdk_input_find_device (guint32 id);
 
 /* Incorporate the specific routines depending on compilation options */
 
-static GdkAxisUse gdk_input_core_axes[] = { GDK_AXIS_X, GDK_AXIS_Y };
+static const GdkAxisUse gdk_input_core_axes[] = { GDK_AXIS_X, GDK_AXIS_Y };
 
-static GdkDeviceInfo gdk_input_core_info =
+static const GdkDeviceInfo gdk_input_core_info =
 {
   GDK_CORE_POINTER,
   "Core Pointer",
@@ -147,7 +155,7 @@ gdk_input_motion_events (GdkWindow *window,
              coords[i].ytilt = 0.0;
            }
 
-         XFree(xcoords);
+         XFree (xcoords);
 
          return coords;
        }