#include "gdkdisplaylinksource.h"
+#include "gdkdebug.h"
#include "gdkmacoseventsource-private.h"
+#include "gdkmacosmonitor-private.h"
#include "gdk-private.h"
static gint64 host_to_frame_clock_time (gint64 val);
{
GdkDisplayLinkSource *impl;
GSource *source;
+ char *name;
source = g_source_new (&gdk_display_link_source_funcs, sizeof *impl);
impl = (GdkDisplayLinkSource *)source;
impl->refresh_interval = period * 1000000L;
}
+ name = _gdk_macos_monitor_get_connector_name (display_id);
+ GDK_NOTE (MISC,
+ g_message ("Monitor \"%s\" discovered with Refresh Rate %d and Interval %"G_GINT64_FORMAT,
+ name ? name : "unknown",
+ impl->refresh_rate,
+ impl->refresh_interval));
+ g_free (name);
+
/* Wire up our callback to be executed within the high-priority thread. */
CVDisplayLinkSetOutputCallback (impl->display_link,
gdk_display_link_source_frame_cb,