diff options
-rw-r--r-- | src/x11/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x11/session.c b/src/x11/session.c index 5b4879bc0..29368ad70 100644 --- a/src/x11/session.c +++ b/src/x11/session.c @@ -175,7 +175,7 @@ ice_io_error_handler (IceConn connection) } static void -ice_init (void) +ice_init (MetaContext *context) { static gboolean ice_initted = FALSE; @@ -189,7 +189,7 @@ ice_init (void) if (ice_installed_handler == default_handler) ice_installed_handler = NULL; - IceAddConnectionWatch (new_ice_connection, NULL); + IceAddConnectionWatch (new_ice_connection, context); ice_initted = TRUE; } @@ -272,7 +272,7 @@ meta_session_init (MetaContext *context, saved_client_id = NULL; } - ice_init (); + ice_init (context); mask = SmcSaveYourselfProcMask | SmcDieProcMask | SmcSaveCompleteProcMask | SmcShutdownCancelledProcMask; |