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:
Przemysław Czerpak
2013-11-07 15:03:17 +01:00
parent 548cc2df3a
commit fcbfb7a7e8
3 changed files with 11 additions and 2 deletions

View File

@@ -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 );