X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fballoon_help.c;h=3410129b0650513ba82ca86dd0b005b66505712b;hb=39e88d35656a41b9f4d85851041914b953064171;hp=b73a7111a6aca705063ec293079739a741352368;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git diff --git a/src/balloon_help.c b/src/balloon_help.c index b73a711..3410129 100644 --- a/src/balloon_help.c +++ b/src/balloon_help.c @@ -32,8 +32,8 @@ Boston, MA 02111-1307, USA. */ #include #include -#include #include +#include #include #include @@ -86,8 +86,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 +362,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 +593,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);