Add missing include, fix GdkWindowPrivate => GdkDrawablePrivate.

Mon Nov  8 16:18:25 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkinput-gxi.c: Add missing include,
	  fix GdkWindowPrivate => GdkDrawablePrivate.

	* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.

	* gdk/x11/Makefile.am (xinput_sources): Add missing
	backslash to fix building with --with-xinput=none
This commit is contained in:
Owen Taylor 1999-11-08 21:25:04 +00:00 committed by Owen Taylor
parent e9b6bfcc01
commit 5491cd971d
13 changed files with 84 additions and 5 deletions

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,3 +1,13 @@
Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkinput-gxi.c: Add missing include,
fix GdkWindowPrivate => GdkDrawablePrivate.
* gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
* gdk/x11/Makefile.am (xinput_sources): Add missing
backslash to fix building with --with-xinput=none
Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
Move all X specific code into the x11/ directory.

View File

@ -1,4 +1,4 @@
\input texinfo @c -*-texinfo-*-
b\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename gdk.info
@settitle GDK

View File

@ -30,7 +30,7 @@ xinput_sources = \
gdkinput-x11.c \
gdkinput-xfree.c
else
xinput_sources =
xinput_sources = \
gdkinput-none.c
endif
endif

View File

@ -24,6 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include <stdlib.h>
#include "gdkinputprivate.h"
#include "gdkx.h"
/* #define DEBUG_SWITCHING */
#include <gxid_lib.h>
@ -312,8 +317,8 @@ gdk_input_gxi_other_event (GdkEvent *event,
if (return_val > 0 && event->type == GDK_MOTION_NOTIFY &&
(!gdkdev->button_state) && (!input_window->grabbed) &&
((event->motion.x < 0) || (event->motion.y < 0) ||
(event->motion.x > ((GdkWindowPrivate *)window)->width) ||
(event->motion.y > ((GdkWindowPrivate *)window)->height) ||
(event->motion.x > ((GdkDrawablePrivate *)window)->width) ||
(event->motion.y > ((GdkDrawablePrivate *)window)->height) ||
gdk_input_is_obscured(input_window,event->motion.x,event->motion.y)))
{
#ifdef DEBUG_SWITCHING

View File

@ -17,6 +17,8 @@
* Boston, MA 02111-1307, USA.
*/
#include "gdkinputprivate.h"
/*
* 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

View File

@ -18,7 +18,6 @@
*/
#include "gdkinputprivate.h"
#include "gdkx.h"
/*
* Modified by the GTK+ Team and others 1997-1999. See the AUTHORS

View File

@ -30,6 +30,9 @@
#include "config.h"
#include "gdkinput.h"
#include "gdkevents.h"
#include "gdkx.h"
#include <X11/Xlib.h>
#ifndef XINPUT_NONE
#include <X11/extensions/XInput.h>