Index: TGQt.cxx =================================================================== --- TGQt.cxx (revision 43748) +++ TGQt.cxx (working copy) @@ -800,6 +800,7 @@ assert(!fgTQt); fgTQt = this; gQt = this; + gPtr2VirtualX = GetVirtualX; fSelectedWindow = fPrevWindow = NoOperation; } @@ -814,6 +815,7 @@ assert(!fgTQt); fgTQt = this; gQt = this; + gPtr2VirtualX = GetVirtualX; fSelectedWindow = fPrevWindow = NoOperation; CreateQtApplicationImp(); Init();