Hello ! I am using xteddy 1.0.3 on Linux with KDE 1.0. Every time I tried to move the mousepointer on xteddy, the teddy "jumped away" from the screen. I haven´t yet programmed with X as GUI, so I tried that, what I would do in AmigaOS and it worked ! In the (large) event-handling part I added an "if"-clause in "case Motion-Notify": old: case MotionNotify: /* Move xteddy around with the mouse */ while (XCheckMaskEvent(display, ButtonMotionMask, &report)); if (!XQueryPointer(display, report.xmotion.window, &root, &child, &new_x, &new_y, &tmp_x, & tmp_y, &tmp_mask)) break; winchanges.x = new_x - offs_x; winchanges.y = new_y - offs_y; XReconfigureWMWindow(display, win, screen_num, CWX | CWY, &winchanges); break; new: case MotionNotify: /* Move xteddy around with the mouse */ while (XCheckMaskEvent(display, ButtonMotionMask, &report)); if (!XQueryPointer(display, report.xmotion.window, &root, &child, &new_x, &new_y, &tmp_x, &tmp_y, &tmp_mask)) break; if (tmp_mask!=0) /* H.K. 03.10.1998 */ { /* H.K. 03.10.1998 */ winchanges.x = new_x - offs_x; winchanges.y = new_y - offs_y; XReconfigureWMWindow(display, win, screen_num, CWX | CWY, &winchanges); } /* H.K. 03.10.1998 */ break; The teddy should only be moved if an mousebutton is pressed, else the xteddy-windows jumps far away in the off-screen-area, because the "winchanges"-values are wrong. Now the teddy doesn´t disappears if the mousepointer reaches the xteddy-window :-) Tschüß Hartmut Kahl