diff options
Diffstat (limited to 'libs/pbd/misc.c')
-rw-r--r-- | libs/pbd/misc.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/pbd/misc.c b/libs/pbd/misc.c new file mode 100644 index 0000000000..797be5de45 --- /dev/null +++ b/libs/pbd/misc.c @@ -0,0 +1,21 @@ +#include <pbd/misc.h> + +#ifdef GTKOSX +#include <AppKit/AppKit.h> +#endif + +void +disable_screen_updates () +{ +#ifdef GTKOSX + NSDisableScreenUpdates (); +#endif +} + +void +enable_screen_updates () +{ +#ifdef GTKOSX + NSEnableScreenUpdates(); +#endif +} |