blob: 571a5ebcfbe295df7dd66234b87f92d530073f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ac,v 1.1 2006/01/18 12:44:03 jmmv Exp $
--- sys/ximage/ximagesrc.c.orig 2005-08-29 13:50:51.000000000 +0200
+++ sys/ximage/ximagesrc.c
@@ -93,6 +93,9 @@ struct _GstXimagesrc
gboolean have_xfixes;
gboolean have_xdamage;
gboolean show_pointer;
+#ifdef HAVE_XFIXES
+ int fixes_event_base;
+#endif
#ifdef HAVE_XDAMAGE
Damage damage;
int damage_event_base;
@@ -440,7 +443,7 @@ gst_ximagesrc_change_state (GstElement *
{
int error_base;
- if (XFixesQueryExtension (s->xcontext->disp, &s->damage_event_base,
+ if (XFixesQueryExtension (s->xcontext->disp, &s->fixes_event_base,
&error_base))
s->have_xfixes = TRUE;
}
|