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

@@ -10,6 +10,14 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
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
2013-11-06 23:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbgtinfo.ch
+ added new hb_gtInfo() switch: HB_GTI_CLOSEMODE

View File

@@ -1562,7 +1562,7 @@ static void hb_gt_qtc_setWindowFlags( PHB_GTQTC pQTC, Qt::WindowFlags flags, HB_
if( newFlags != currFlags )
{
pQTC->qWnd->setWindowFlags( currFlags );
pQTC->qWnd->setWindowFlags( newFlags );
HB_QTC_LOCK();
pQTC->qWnd->show();
HB_QTC_UNLOCK();
@@ -1580,7 +1580,7 @@ static void hb_gt_qtc_setWindowState( PHB_GTQTC pQTC, Qt::WindowStates state, HB
if( newState != currState )
{
pQTC->qWnd->setWindowState( currState );
pQTC->qWnd->setWindowState( newState );
HB_QTC_LOCK();
pQTC->qWnd->show();
HB_QTC_UNLOCK();

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