Simplify screensaver inhibit API and fix OSX compatibility

This commit is contained in:
Robin Gareus 2019-08-11 19:04:02 +02:00
parent a3eed5839f
commit 4b5d16554b
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 29 additions and 31 deletions

View file

@ -107,8 +107,7 @@ bool windows_overlap (Gtk::Window *a, Gtk::Window *b);
bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text);
bool running_from_source_tree ();
void enable_screensaver ();
void disable_screensaver ();
void inhibit_screensaver (bool);
} // namespace
#endif /* __ardour_gtk_utils_h__ */