Branch: Tag:

2008-07-20

2008-07-20 17:45:42 by Marcus Comstedt <marcus@mc.pp.se>

Ditto for move_cursor_abs().

Rev: src/post_modules/GTK2/source/global.pre:1.17

447:   {    INT_TYPE x, y;    struct object *o; -  GdkWindowPrivate *priv; +  GdkWindow *w;    get_all_args("move_cursor_abs",args,"%o%i%i",&o,&x,&y); -  priv = (GdkWindowPrivate *)get_gdkobject( o, window ); -  if( !priv ) +  w = GDK_WINDOW(get_gdkobject( o, window )); +  if( !w )    Pike_error("No window specified!\n"); -  XWarpPointer(GDK_DISPLAY(),None,priv->xwindow,0,0,0,0,x,y); +  XWarpPointer(GDK_DISPLAY(),None,GDK_WINDOW_XWINDOW(w),0,0,0,0,x,y);    pgtk2_pop_n_elems(args);   }