Qt: reverted using unixdatetime instead of x11 CurrentTime const because problem is in buggy wm not in our code.

git-svn-id: trunk@54779 -
This commit is contained in:
zeljko 2017-04-30 09:49:11 +00:00
parent ed47307de1
commit dcfe43130d
2 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ uses
// uncomment only those units with implementation
////////////////////////////////////////////////////
{$IFDEF HASX11}
XAtom, X, XLib, XKB, xkblib, dateutils,
XAtom, X, XLib, XKB, xkblib,
{$ENDIF}
QtCaret,
QtThemes,

View File

@ -120,7 +120,7 @@ begin
XClient.message_type := WMATom;
XClient.format := 32;
XClient.data.l[0] := 1;
XClient.data.l[1] := DateTimeToUnix(Now()); // _NET_WM_USER_TIME
XClient.data.l[1] := CurrentTime; // _NET_WM_USER_TIME
XClient.data.l[2] := 0;
Result := XSendEvent(Display, RootWin, False,
SubstructureRedirectMask or SubstructureNotifyMask,