mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
improvements (?) for window visibility during session loading - time to test on linux
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2476 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
47e8a7ac4a
commit
2e765255e9
11 changed files with 129 additions and 45 deletions
21
libs/pbd/misc.c
Normal file
21
libs/pbd/misc.c
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue