[libwnck] core: Remove usage of _wnck_get_default_display() in filter_func()
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] core: Remove usage of _wnck_get_default_display() in filter_func()
- Date: Thu, 20 Jan 2011 15:36:33 +0000 (UTC)
commit 66dfd5a88b12d5f9ba2cb96045529a647bcd9d87
Author: Vincent Untz <vuntz gnome org>
Date: Wed Jan 19 23:18:27 2011 +0100
core: Remove usage of _wnck_get_default_display() in filter_func()
libwnck/xutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/xutils.c b/libwnck/xutils.c
index 77c5c89..1f7d430 100644
--- a/libwnck/xutils.c
+++ b/libwnck/xutils.c
@@ -763,7 +763,7 @@ filter_func (GdkXEvent *gdkxevent,
* us to send all events through sn_display_process_event
*/
i = 0;
- display = _wnck_get_default_display ();
+ display = ((XAnyEvent *) xevent)->display;
while (i < ScreenCount (display))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]