summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-06-01 21:59:31 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-06-01 21:59:31 +0000
commit3f0092c4e63f2cc633e270e590a6c30a983f1c7f (patch)
tree0d3a24cd9b46ed71bc31e81c257c64cbcf062ea7
parentc4962116760783afa572f01ee532addecb359e98 (diff)
downloadgtk+-3f0092c4e63f2cc633e270e590a6c30a983f1c7f.tar.gz
Remove deadwood code.GTK_PRE_FLICKER
Remove deadwood code.
-rw-r--r--gdk/linux-fb/gdkdrawable-fb2.c2
-rw-r--r--gdk/linux-fb/gdkinput.c3
-rw-r--r--gdk/linux-fb/gdkinputprivate.h72
-rw-r--r--gdk/linux-fb/gdkmain-fb.c11
4 files changed, 2 insertions, 86 deletions
diff --git a/gdk/linux-fb/gdkdrawable-fb2.c b/gdk/linux-fb/gdkdrawable-fb2.c
index f5c7b8c122..99d158f749 100644
--- a/gdk/linux-fb/gdkdrawable-fb2.c
+++ b/gdk/linux-fb/gdkdrawable-fb2.c
@@ -831,6 +831,7 @@ gdk_fb_draw_rectangle (GdkDrawable *drawable,
if(filled)
{
+#if 0
static volatile int print_rect = 0;
if(print_rect)
@@ -839,6 +840,7 @@ gdk_fb_draw_rectangle (GdkDrawable *drawable,
if(y < 0)
G_BREAKPOINT();
}
+#endif
rect.x = x;
rect.y = y;
diff --git a/gdk/linux-fb/gdkinput.c b/gdk/linux-fb/gdkinput.c
index 2013ea07c8..c70de7023e 100644
--- a/gdk/linux-fb/gdkinput.c
+++ b/gdk/linux-fb/gdkinput.c
@@ -241,9 +241,6 @@ gdk_input_exit (void)
gdk_input_set_mode(gdkdev->info.deviceid,GDK_MODE_DISABLED);
g_free(gdkdev->info.name);
-#ifndef XINPUT_NONE
- g_free(gdkdev->axes);
-#endif
g_free(gdkdev->info.axes);
g_free(gdkdev->info.keys);
g_free(gdkdev);
diff --git a/gdk/linux-fb/gdkinputprivate.h b/gdk/linux-fb/gdkinputprivate.h
index d9ce74fdf9..1857a34317 100644
--- a/gdk/linux-fb/gdkinputprivate.h
+++ b/gdk/linux-fb/gdkinputprivate.h
@@ -96,34 +96,6 @@ struct _GdkAxisInfo
struct _GdkDevicePrivate {
GdkDeviceInfo info;
-
-#ifndef XINPUT_NONE
- /* information about the axes */
- GdkAxisInfo *axes;
-
- /* reverse lookup on axis use type */
- gint axis_for_use[GDK_AXIS_LAST];
-
- /* Information about XInput device */
- XDevice *xdevice;
-
- /* minimum key code for device */
- gint min_keycode;
-
- int buttonpress_type, buttonrelease_type, keypress_type,
- keyrelease_type, motionnotify_type, proximityin_type,
- proximityout_type, changenotify_type;
-
- /* true if we need to select a different set of events, but
- can't because this is the core pointer */
- gint needs_update;
-
- /* Mask of buttons (used for button grabs) */
- gint button_state;
-
- /* true if we've claimed the device as active. (used only for XINPUT_GXI) */
- gint claimed;
-#endif /* !XINPUT_NONE */
};
struct _GdkInputWindow
@@ -170,50 +142,6 @@ gint gdk_input_enable_window (GdkWindow *window,
gint gdk_input_disable_window (GdkWindow *window,
GdkDevicePrivate *gdkdev);
-#ifndef XINPUT_NONE
-
-#define GDK_MAX_DEVICE_CLASSES 13
-
-gint gdk_input_common_init (gint include_core);
-void gdk_input_get_root_relative_geometry (Display *dpy,
- Window w,
- int *x_ret,
- int *y_ret,
- int *width_ret,
- int *height_ret);
-void gdk_input_common_find_events (GdkWindow *window,
- GdkDevicePrivate *gdkdev,
- gint mask,
- XEventClass *classes,
- int *num_classes);
-void gdk_input_common_select_events (GdkWindow *window,
- GdkDevicePrivate *gdkdev);
-gint gdk_input_common_other_event (GdkEvent *event,
- XEvent *xevent,
- GdkInputWindow *input_window,
- GdkDevicePrivate *gdkdev);
-void gdk_input_common_get_pointer (GdkWindow *window,
- guint32 deviceid,
- gdouble *x,
- gdouble *y,
- gdouble *pressure,
- gdouble *xtilt,
- gdouble *ytilt,
- GdkModifierType *mask);
-void gdk_input_common_set_key (guint32 deviceid,
- guint index,
- guint keyval,
- GdkModifierType modifiers);
-void gdk_input_common_set_axes (guint32 deviceid,
- GdkAxisUse *axes);
-GdkTimeCoord * gdk_input_common_motion_events (GdkWindow *window,
- guint32 deviceid,
- guint32 start,
- guint32 stop,
- gint *nevents_return);
-
-#endif /* !XINPUT_NONE */
-
GdkDevicePrivate *gdk_input_find_device (guint32 id);
GdkInputWindow *gdk_input_window_find (GdkWindow *window);
void gdk_input_window_destroy (GdkWindow *window);
diff --git a/gdk/linux-fb/gdkmain-fb.c b/gdk/linux-fb/gdkmain-fb.c
index 5fd7bb8800..3f8ca53ec7 100644
--- a/gdk/linux-fb/gdkmain-fb.c
+++ b/gdk/linux-fb/gdkmain-fb.c
@@ -40,17 +40,6 @@
#include "gdkprivate-fb.h"
#include "gdkinternals.h"
-/*
- * Private function declarations
- */
-
-#ifndef HAVE_XCONVERTCASE
-static void gdkx_XConvertCase (KeySym symbol,
- KeySym *lower,
- KeySym *upper);
-#define XConvertCase gdkx_XConvertCase
-#endif
-
/* Private variable declarations
*/
static int gdk_initialized = 0; /* 1 if the library is initialized,