From 3c8b051e31ffec7392a1617c1b3ffd125f388e93 Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Sun, 23 Mar 2003 21:54:48 +0000 Subject: [PATCH] just return if we are not verbose. Sun Mar 23 23:04:06 2003 Soeren Sandmann * src/display.c (meta_spew_event): just return if we are not verbose. --- ChangeLog | 5 +++++ src/display.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index b8a8b7ecc..301e4d7db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 23 23:04:06 2003 Soeren Sandmann + + * src/display.c (meta_spew_event): just return if we are not + verbose. + 2003-03-11 Havoc Pennington Should fix #108108, #106217, tracked down by Owen Taylor and diff --git a/src/display.c b/src/display.c index 6fef5f99d..27fd6f542 100644 --- a/src/display.c +++ b/src/display.c @@ -2226,6 +2226,9 @@ meta_spew_event (MetaDisplay *display, char *winname; MetaScreen *screen; + if (!meta_is_verbose()) + return; + /* filter overnumerous events */ if (event->type == Expose || event->type == MotionNotify || event->type == NoExpose)