X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fballoon_help.c;h=8efbbeb5691bde5d3840ff3d15d27a8886e1d4b5;hp=b73a7111a6aca705063ec293079739a741352368;hb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;hpb=fc475e6669a613cd6d98eb5511c749a23b63c7ac diff --git a/src/balloon_help.c b/src/balloon_help.c index b73a711..8efbbeb 100644 --- a/src/balloon_help.c +++ b/src/balloon_help.c @@ -32,7 +32,6 @@ Boston, MA 02111-1307, USA. */ #include #include -#include #include #include @@ -86,8 +85,6 @@ static GC b_maskGC; static CONST char* b_text; static int b_width, b_height; -static int b_lastX, b_lastY; - static XtIntervalId b_timer; static unsigned long b_delay; @@ -364,11 +361,8 @@ show_help (XtPointer data, XtIntervalId* id) /* make sure it is still ok with offset */ shape = get_shape (shape, x, y, b_width, b_height, b_screenWidth, b_screenHeight); - b_lastX = x; - b_lastY = y; b_lastShape = shape; - make_mask (shape, x, y, b_width, b_height); XShapeCombineMask (b_dpy, b_win, ShapeBounding, 0, 0, b_mask, ShapeSet); @@ -598,9 +592,6 @@ balloon_help_move_to_pointer (void) if (shape == b_lastShape) { - b_lastX = x; - b_lastY = y; - XMoveWindow (b_dpy, b_win, shape & SHAPE_CONE_LEFT ? x : x - b_width, shape & SHAPE_CONE_TOP ? y : y - b_height);