2013-11-07 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc1.cpp
! typo in last commit - flags and state were not changed
* src/rtl/gtxwc/gtxwc.c
* added XSync() just after XBell() to reduce a little bit potential
delay
This commit is contained in:
@@ -4710,6 +4710,7 @@ static void hb_gt_xwc_Tone( PHB_GT pGT, double dFrequency, double dDuration )
|
||||
HB_XWC_XLIB_LOCK();
|
||||
XChangeKeyboardControl( wnd->dpy, KBBellPitch | KBBellDuration, &XkbCtrl );
|
||||
XBell( wnd->dpy, 0 );
|
||||
XSync( wnd->dpy, False );
|
||||
HB_XWC_XLIB_UNLOCK();
|
||||
}
|
||||
hb_idleSleep( dDuration );
|
||||
|
||||
Reference in New Issue
Block a user