[gtk+] Fix visibility notification event reporting
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix visibility notification event reporting
- Date: Fri, 20 Jan 2012 10:03:01 +0000 (UTC)
commit 7ec927a3861f4b3af5228171feb3fd2728340c9c
Author: Alexander Larsson <alexl redhat com>
Date: Fri Jan 20 11:01:23 2012 +0100
Fix visibility notification event reporting
We were checking the event mask for GDK_VISIBILITY_NOTIFY,
not GDK_VISIBILITY_NOTIFY_MASK, which was clearly a typo.
gdk/gdkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 0b9eacc..8dddcd1 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -824,7 +824,7 @@ gdk_window_update_visibility (GdkWindow *window)
window->effective_visibility = new_visibility;
if (new_visibility != GDK_VISIBILITY_NOT_VIEWABLE &&
- window->event_mask & GDK_VISIBILITY_NOTIFY)
+ window->event_mask & GDK_VISIBILITY_NOTIFY_MASK)
{
event = _gdk_make_event (window, GDK_VISIBILITY_NOTIFY,
NULL, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]