backends/native: Move pause/resume handling to backend

Move the handling of pause/resume events from the launcher to the
backend.

https://bugzilla.gnome.org/show_bug.cgi?id=779837
This commit is contained in:
Jonas Ådahl
2017-03-10 13:55:33 +08:00
parent 4b86af839f
commit cf6b7bcb79
3 changed files with 44 additions and 39 deletions

View File

@ -34,4 +34,8 @@ G_DECLARE_FINAL_TYPE (MetaBackendNative, meta_backend_native,
gboolean meta_activate_vt (int vt, GError **error);
void meta_backend_native_pause (MetaBackendNative *backend_native);
void meta_backend_native_resume (MetaBackendNative *backend_native);
#endif /* META_BACKEND_NATIVE_H */