MetaIdleMonitor: add a DBus interface for the idle monitor
To allow other clients (gnome-session, gnome-settings-daemon) to monitor user activity, introduce a DBus interface for the idle monitor inside mutter. https://bugzilla.gnome.org/show_bug.cgi?id=706005
This commit is contained in:
@@ -991,8 +991,10 @@ meta_display_open (void)
|
||||
|
||||
meta_error_trap_pop (the_display);
|
||||
}
|
||||
|
||||
meta_display_ungrab (the_display);
|
||||
|
||||
meta_idle_monitor_init_dbus ();
|
||||
|
||||
meta_display_ungrab (the_display);
|
||||
|
||||
/* Done opening new display */
|
||||
the_display->display_opening = FALSE;
|
||||
@@ -2308,8 +2310,8 @@ meta_display_handle_event (MetaDisplay *display,
|
||||
meta_window_update_sync_request_counter (alarm_window, new_counter_value);
|
||||
filter_out_event = TRUE; /* GTK doesn't want to see this really */
|
||||
}
|
||||
|
||||
meta_idle_monitor_handle_xevent_all (event);
|
||||
else
|
||||
meta_idle_monitor_handle_xevent_all (event);
|
||||
}
|
||||
#endif /* HAVE_XSYNC */
|
||||
|
||||
|
Reference in New Issue
Block a user