From 3f8d98b94d554e42d48d3c0699196dc439ab90d8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Sep 2008 03:21:15 +0000 Subject: [PATCH] =?utf8?q?Bug=20339367=20=E2=80=93=20Incorrect=20spotlocat?= =?utf8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-09-27 Matthias Clasen Bug 339367 – Incorrect spotlocation * modules/input/gtkimcontextxim.c: Correct the spot location for on-the-spot style. svn path=/trunk/; revision=21537 --- ChangeLog | 7 +++++++ modules/input/gtkimcontextxim.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dc3faefeb..a0a0b3167 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-27 Matthias Clasen + + Bug 339367 – Incorrect spotlocation + + * modules/input/gtkimcontextxim.c: Correct the spot location + for on-the-spot style. + 2008-09-27 Denis Washington * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c index e9d02dd57..a9e584c5c 100644 --- a/modules/input/gtkimcontextxim.c +++ b/modules/input/gtkimcontextxim.c @@ -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, -- 2.43.2