parent
e45f463723
commit
afe8ce2ef7
@ -7,6 +7,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "gdkprivate-quartz.h"
|
#include "gdkprivate-quartz.h"
|
||||||
|
#include <gdk/gdkdisplayprivate.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file implementations integration between the GLib main loop and
|
* This file implementations integration between the GLib main loop and
|
||||||
@ -620,7 +621,7 @@ gdk_event_prepare (GSource *source,
|
|||||||
|
|
||||||
*timeout = -1;
|
*timeout = -1;
|
||||||
|
|
||||||
if (display->event_pause_count > 0)
|
if (_gdk_display->event_pause_count > 0)
|
||||||
retval = FALSE;
|
retval = FALSE;
|
||||||
else
|
else
|
||||||
retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||
|
retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||
|
||||||
@ -638,7 +639,7 @@ gdk_event_check (GSource *source)
|
|||||||
|
|
||||||
gdk_threads_enter ();
|
gdk_threads_enter ();
|
||||||
|
|
||||||
if (display->event_pause_count > 0)
|
if (_gdk_display->event_pause_count > 0)
|
||||||
retval = FALSE;
|
retval = FALSE;
|
||||||
else
|
else
|
||||||
retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||
|
retval = (_gdk_event_queue_find_first (_gdk_display) != NULL ||
|
||||||
|
Loading…
Reference in New Issue
Block a user