summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-02-27 02:05:39 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-02-27 02:05:39 +0000
commitefa0ae83737dd33a9bee4eed0c5f2e45fc860c92 (patch)
treefdfaa2a795f0eb02c501d1f99c2041b0d36fd0b8 /src/util.h
parentbedddaa717e8350ae2d22a2ea28094a794218a97 (diff)
downloadmetacity-efa0ae83737dd33a9bee4eed0c5f2e45fc860c92.tar.gz
Screw around with Anders's ping patch so he'll get plenty of CVS
2002-02-26 Havoc Pennington <hp@pobox.com> Screw around with Anders's ping patch so he'll get plenty of CVS conflicts. ;-) * src/display.c (meta_display_ping_window): spew warnings if we try to call this with CurrentTime (meta_display_ping_timeout): remove ping from the pending pings after it times out. * src/util.h: added PING debug category * src/display.c (remove_pending_pings_for_window): don't remove "tmp" just before "tmp->next", don't break out of loop after finding the first match (meta_display_open): no trailing comma in array init (event_callback): move the processing of ping replies into a separate function * src/screen.c (set_supported_hint): add _NET_WM_PING to supported list * src/display.h: change gpointer to void* 2002-02-26 Anders Carlsson <andersca@gnu.org> * src/display.c: (ping_data_free), (remove_pending_pings_for_window), (meta_display_open), (event_callback), (meta_display_unregister_x_window), (meta_display_ping_timeout), (meta_display_ping_window), (meta_display_window_has_pending_pings): Implement meta_display_ping_window, and filter out scroll wheel events. * src/display.h: Add MetaWindowPingFunc, meta_display_ping_window and meta_display_window_has_pending_pings.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index afd9bdc8..7f5c08a2 100644
--- a/src/util.h
+++ b/src/util.h
@@ -54,7 +54,8 @@ typedef enum
META_DEBUG_WINDOW_STATE = 1 << 6,
META_DEBUG_WINDOW_OPS = 1 << 7,
META_DEBUG_GEOMETRY = 1 << 8,
- META_DEBUG_PLACEMENT = 1 << 9
+ META_DEBUG_PLACEMENT = 1 << 9,
+ META_DEBUG_PING = 1 << 10
} MetaDebugTopic;