Commit cf752786 authored by Nguyễn Thái Ngọc Duy's avatar Nguyễn Thái Ngọc Duy Committed by Matthias Clasen

gdkdnd-x11.c: fix building without HAVE_XCOMPOSITE

Signed-off-by: default avatarNguyễn Thái Ngọc Duy <pclouds@gmail.com>
parent 98a30bbf
......@@ -41,7 +41,9 @@
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/shape.h>
#ifdef HAVE_XCOMPOSITE
#include <X11/extensions/Xcomposite.h>
#endif
#include <string.h>
......@@ -498,7 +500,9 @@ gdk_window_cache_new (GdkScreen *screen)
GdkWindow *root_window = gdk_screen_get_root_window (screen);
GdkChildInfoX11 *children;
guint nchildren, i;
#ifdef HAVE_XCOMPOSITE
Window cow;
#endif
GdkWindowCache *result = g_new (GdkWindowCache, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment