summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-25 15:42:20 +0100
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-10-25 15:42:20 +0100
commit942df949b0e419667994776c0f2ff04530d0c274 (patch)
treeda30463333e8dd57b8faa490fc3718076f029981 /src/corelib/x11
parent153f85fedf034d2f15630f6ade8da34b3e9df371 (diff)
downloadfpGUI-942df949b0e419667994776c0f2ff04530d0c274.tar.xz
minor changes for Xlib api usage.
I'm not sure if this changes is needed any more for the latest FPC though. Anyway, now it is consistent with most other usages of Xlib API and boolean values.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_x11.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 95c08578..d1e83d93 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -2179,7 +2179,7 @@ begin
xapplication.FLeaderWindow := XCreateSimpleWindow(xapplication.Display,
XDefaultRootWindow(xapplication.Display), 0, 0, 1, 1, 0, 0, 0);
SetWindowGroup(xapplication.FLeaderWindow);
- xapplication.FClientLeaderAtom := XInternAtom(xapplication.Display, 'WM_CLIENT_LEADER', False);
+ xapplication.FClientLeaderAtom := XInternAtom(xapplication.Display, 'WM_CLIENT_LEADER', TBool(False));
end;
end;