summaryrefslogtreecommitdiff
path: root/src/corelib/x11/fpg_x11.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-01 15:27:56 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-01 15:27:56 +0200
commit6ad5649b6c858d0b8ebe10fbff0b527de0ca615f (patch)
tree91fe6c03e05114c64cd332a510c9f71992f25fcc /src/corelib/x11/fpg_x11.pas
parent0f559f5bcfc057006460929e0391035a94fbeff1 (diff)
downloadfpGUI-6ad5649b6c858d0b8ebe10fbff0b527de0ca615f.tar.xz
no comment.
Diffstat (limited to 'src/corelib/x11/fpg_x11.pas')
-rw-r--r--src/corelib/x11/fpg_x11.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 054f71c0..a5f37593 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -748,10 +748,9 @@ begin
if InputMethod = nil then
Exit;
- InputContext := XCreateIC(InputMethod, [XNInputStyle, XIMPreeditNothing or XIMStatusNothing, 0]);
+ InputContext := XCreateIC(InputMethod, [XNInputStyle, XIMPreeditNothing or XIMStatusNothing, nil]);
if InputContext = nil then
Exit;
-
FIsInitialized := True;
xapplication := TfpgApplication(self);
end;