mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 11:39:19 +02:00
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:
parent
ed47307de1
commit
dcfe43130d
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user