summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-01-02 11:03:12 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-01-02 11:03:12 +0000
commitd47558034833d38d96d94f207e8cbfa40300f82a (patch)
tree7acedd2c99995d1f1dacf55716bd854f7c6f9422
parent6e3522ab2c44c90da28d1064a2f56c3a7184f749 (diff)
downloadgdk-pixbuf-d47558034833d38d96d94f207e8cbfa40300f82a.tar.gz
Clean up some more leftovers from before Owen's reorganization: Don't have
2000-01-02 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from before Owen's reorganization: Don't have queued_events and queued_tail statics in this file, but use gdk_queued_events and gdk_queued_tail. This makes exposure event compression work again. (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't seem to be needed?
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLog.pre-2-010
-rw-r--r--ChangeLog.pre-2-1010
-rw-r--r--ChangeLog.pre-2-210
-rw-r--r--ChangeLog.pre-2-410
-rw-r--r--ChangeLog.pre-2-610
-rw-r--r--ChangeLog.pre-2-810
-rw-r--r--gdk/win32/gdkevents-win32.c19
8 files changed, 79 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4c4732824..b10e7e3cb 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,13 @@
+2000-01-02 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganization: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
+
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
+
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index ec4c5e6e6..3d698a6a5 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -133,12 +133,6 @@ static HCURSOR p_grab_cursor;
static GList *client_filters; /* Filters for client messages */
-/* FIFO's for event queue, and for events put back using
- * gdk_event_put().
- */
-static GList *queued_events = NULL;
-static GList *queued_tail = NULL;
-
static GSourceFuncs event_funcs = {
gdk_event_prepare,
gdk_event_check,
@@ -197,7 +191,7 @@ gdk_WindowProc (HWND hWnd,
if (event.any.type == GDK_CONFIGURE)
{
/* Compress configure events */
- GList *list = queued_events;
+ GList *list = gdk_queued_events;
while (list != NULL
&& (((GdkEvent *)list->data)->any.type != GDK_CONFIGURE
@@ -205,6 +199,8 @@ gdk_WindowProc (HWND hWnd,
list = list->next;
if (list != NULL)
{
+ GDK_NOTE (EVENTS, g_print ("... compressing an CONFIGURE event\n"));
+
*((GdkEvent *)list->data) = event;
gdk_window_unref (event.any.window);
/* Wake up WaitMessage */
@@ -215,7 +211,7 @@ gdk_WindowProc (HWND hWnd,
else if (event.any.type == GDK_EXPOSE)
{
/* Compress expose events */
- GList *list = queued_events;
+ GList *list = gdk_queued_events;
while (list != NULL
&& (((GdkEvent *)list->data)->any.type != GDK_EXPOSE
@@ -225,13 +221,16 @@ gdk_WindowProc (HWND hWnd,
{
GdkRectangle u;
+ GDK_NOTE (EVENTS, g_print ("... compressing an EXPOSE event\n"));
gdk_rectangle_union (&event.expose.area,
&((GdkEvent *)list->data)->expose.area,
&u);
((GdkEvent *)list->data)->expose.area = u;
gdk_window_unref (event.any.window);
+#if 0
/* Wake up WaitMessage */
PostMessage (NULL, gdk_ping_msg, 0, 0);
+#endif
return FALSE;
}
}
@@ -3845,7 +3844,7 @@ gdk_event_translate (GdkEvent *event,
return_val = !GDK_DRAWABLE_DESTROYED (window);
if (return_val)
{
- GList *list = queued_events;
+ GList *list = gdk_queued_events;
while (list != NULL )
{
if ((((GdkEvent *)list->data)->any.type == GDK_EXPOSE) &&
@@ -4197,7 +4196,7 @@ gdk_events_queue (void)
((GdkEventPrivate *)event)->flags |= GDK_EVENT_PENDING;
gdk_event_queue_append (event);
- node = queued_tail;
+ node = gdk_queued_tail;
if (gdk_event_translate (event, &msg, NULL, NULL))
((GdkEventPrivate *)event)->flags &= ~GDK_EVENT_PENDING;