[uim-commit] r238 - trunk/gtk

tkng@freedesktop.org tkng@freedesktop.org
Mon Jan 10 15:44:42 PST 2005


Author: tkng
Date: 2005-01-10 15:44:27 -0800 (Mon, 10 Jan 2005)
New Revision: 238

Modified:
   trunk/gtk/uim-cand-win-gtk.c
Log:
gtk/uim-cand-win-gtk.c:
 -(uim_cand_win_gtk_layout): Use width of candidate window to calculate
   candidate windows's position.


Modified: trunk/gtk/uim-cand-win-gtk.c
===================================================================
--- trunk/gtk/uim-cand-win-gtk.c	2005-01-10 23:25:07 UTC (rev 237)
+++ trunk/gtk/uim-cand-win-gtk.c	2005-01-10 23:44:27 UTC (rev 238)
@@ -560,7 +560,7 @@
   sc_he = gdk_screen_get_height(gdk_screen_get_default ());
   sc_wi = gdk_screen_get_width (gdk_screen_get_default ());
 
-  if (sc_wi <  topwin_x + cwin->cursor.x + cw_he) {
+  if (sc_wi <  topwin_x + cwin->cursor.x + cw_wi) {
     x = topwin_x + cwin->cursor.x - cw_wi;
   } else {
     x = topwin_x + cwin->cursor.x;



More information about the Uim-commit mailing list