summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsn/sn-common.c2
-rw-r--r--libsn/sn-internals.h3
-rw-r--r--libsn/sn-monitor.c3
3 files changed, 3 insertions, 5 deletions
diff --git a/libsn/sn-common.c b/libsn/sn-common.c
index ebbf781..b494ad7 100644
--- a/libsn/sn-common.c
+++ b/libsn/sn-common.c
@@ -174,7 +174,7 @@ sn_display_process_event (SnDisplay *display,
retval = FALSE;
- if (sn_internal_monitor_process_event (display, xevent))
+ if (sn_internal_monitor_process_event (display))
retval = TRUE;
if (sn_internal_xmessage_process_event (display, xevent))
diff --git a/libsn/sn-internals.h b/libsn/sn-internals.h
index 354af35..0336a0d 100644
--- a/libsn/sn-internals.h
+++ b/libsn/sn-internals.h
@@ -58,8 +58,7 @@ void sn_internal_display_get_xmessage_data (SnDisplay *displa
SnList **pending);
/* --- From sn-monitor.c --- */
-sn_bool_t sn_internal_monitor_process_event (SnDisplay *display,
- XEvent *xevent);
+sn_bool_t sn_internal_monitor_process_event (SnDisplay *display);
/* --- From sn-util.c --- */
sn_bool_t sn_internal_utf8_validate (const char *str,
diff --git a/libsn/sn-monitor.c b/libsn/sn-monitor.c
index ae9a5b7..e2af250 100644
--- a/libsn/sn-monitor.c
+++ b/libsn/sn-monitor.c
@@ -596,8 +596,7 @@ dispatch_monitor_event (SnDisplay *display,
}
sn_bool_t
-sn_internal_monitor_process_event (SnDisplay *display,
- XEvent *xevent)
+sn_internal_monitor_process_event (SnDisplay *display)
{
sn_bool_t retval;