<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I have a couple of video filters that allow me to sample and classify pixels.<br>They use the mouse-button-push navigation events generated by <br>xvimagesink to assist in this. When I use gst-launch to launch the pipeline<br>everything works ok but the user interface is poor.<br><br>In an attempt to improve the UI I have an application that launches the same<br>pipeline and shows the video in a gtk_window. I use gst_x_overlay_set_xwindow_id to set the video in the window which works <br>but then the filters do not get the mouse-button-press events, however they do get the&nbsp; mouse-move events.<br><br>My current working hypothesis is that X is somehow stealing the <br>mouse-button events but my understanding of X and gtk is very limited.<br>Can anyone suggest a direction?<br>My current aim is to have the video and a small number of widgets in<br>a window to
 provide a intuitive user interface. I have experimented with<br>gst_x_overlay_handle_events without any success but perhaps I'm not<br>doing it right.<br><br>Any Ideas?<br><br>JC<br>&nbsp; <br><br></td></tr></table><br>