*/
#include "config.h"
+
+#include "gdkasync.h"
+#include "gdkprivate-x11.h"
+
#ifdef NEED_XIPROTO_H_FOR_XREPLY
#include <X11/extensions/XIproto.h>
#endif
+
#include <X11/Xlibint.h>
-#include "gdkasync.h"
-#include "gdkx.h"
-#include "gdkalias.h"
+
typedef struct _ChildInfoChildState ChildInfoChildState;
typedef struct _ChildInfoState ChildInfoState;
state.children = NULL;
state.nchildren = 0;
- gdk_error_trap_push ();
+ gdk_x11_display_error_trap_push (display);
result = list_children_and_wm_state (dpy, window,
win_has_wm_state ? wm_state_atom : None,
&has_wm_state,
&state.children, &state.nchildren);
- gdk_error_trap_pop ();
+ gdk_x11_display_error_trap_pop_ignored (display);
if (!result)
{
g_free (state.children);
UnlockDisplay(dpy);
SyncHandle();
}
-
-#define __GDK_ASYNC_C__
-#include "gdkaliasdef.c"