mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
ximagesrc: Fix build problem without XFIXES
This commit is contained in:
parent
89eb378598
commit
5fc970d686
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,7 @@ gst_ximage_src_recalc (GstXImageSrc * src)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_XFIXES
|
||||
static gboolean
|
||||
gst_ximage_is_pointer_in_region (GstXImageSrc * src)
|
||||
{
|
||||
|
@ -388,6 +389,7 @@ gst_ximage_is_pointer_in_region (GstXImageSrc * src)
|
|||
return (on_window && (win_x >= src->startx) && (win_y >= src->starty) &&
|
||||
(win_x < src->endx) && (win_y < src->endy));
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XFIXES
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue