gl/window/x11: only listen on the X Display when needed
authorMatthew Waters <matthew@centricular.com>
Fri, 12 Jun 2015 03:14:57 +0000 (13:14 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:04 +0000 (19:32 +0000)
commit99009284033dc97f2bd90f7fe5a3e412977bcbe6
tree615f797cdd2d6b4949d77ea51f636987baefc37e
parent8a1fc4ab4e14a8d35b033962ea4a809148fd84a8
gl/window/x11: only listen on the X Display when needed

5697b6b89b4b2a15c45bd47be940a17f4412ea11 causes us to possibly listen
on a toolkit provided Display connection.  We thus could eat their
precious winsys events.  Only listen if we need to
(!foreign_display or videooverlay).
gst-libs/gst/gl/x11/gstglwindow_x11.c