]> Pileus Git - ~andy/gtk/commitdiff
Bug 339367 – Incorrect spotlocation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Sep 2008 03:21:15 +0000 (03:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 28 Sep 2008 03:21:15 +0000 (03:21 +0000)
2008-09-27  Matthias Clasen  <mclasen@redhat.com>

        Bug 339367 – Incorrect spotlocation

        * modules/input/gtkimcontextxim.c: Correct the spot location
        for on-the-spot style.

svn path=/trunk/; revision=21537

ChangeLog
modules/input/gtkimcontextxim.c

index dc3faefeb1f6be5984a00651817253ef4be0b0f2..a0a0b3167438fcba281d810c6adebbd2fd9efa67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-27  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 339367 – Incorrect spotlocation
+
+       * modules/input/gtkimcontextxim.c: Correct the spot location
+       for on-the-spot style.
+
 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
 
        * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
index e9d02dd5791361b5bcef4faa36a7fd4f2dc61531..a9e584c5ca6972ce10b6f4e0773fac3038e7c8db 100644 (file)
@@ -846,7 +846,7 @@ gtk_im_context_xim_set_cursor_location (GtkIMContext *context,
     return;
 
   spot.x = area->x;
-  spot.y = area->y;
+  spot.y = area->y + area->height;
 
   preedit_attr = XVaCreateNestedList (0,
                                      XNSpotLocation, &spot,