comparison libvo/vo_gl2.c @ 16239:87da68468e6d

Get events from -wid window.
author reimar
date Tue, 16 Aug 2005 23:24:52 +0000
parents f18e92e72216
children 273d33249c25
comparison
equal deleted inserted replaced
16238:619eb5ebb0c4 16239:87da68468e6d
620 } 620 }
621 621
622 static int config_glx(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { 622 static int config_glx(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) {
623 if (WinID >= 0) { 623 if (WinID >= 0) {
624 vo_window = WinID ? (Window)WinID : mRootWin; 624 vo_window = WinID ? (Window)WinID : mRootWin;
625 vo_x11_selectinput_witherr(mDisplay, vo_window,
626 StructureNotifyMask | KeyPressMask | PointerMotionMask |
627 ButtonPressMask | ButtonReleaseMask | ExposureMask);
625 return 0; 628 return 0;
626 } 629 }
627 if ( vo_window == None ) 630 if ( vo_window == None )
628 { 631 {
629 XSizeHints hint; 632 XSizeHints hint;