Logo Search packages:      
Sourcecode: xdotool version File versions  Download package

int xdo_window_move ( const xdo_t xdo,
Window  wid,
int  x,
int  y 
)

Move a window to a specific location.

The top left corner of the window will be moved to the x,y coordinate.

Parameters:
wid the window to move
x the X coordinate to move to.
y the Y coordinate to move to.

Definition at line 202 of file xdo.c.

References xdo::xdpy.

                                                                {
  XWindowChanges wc;
  int ret = 0;
  wc.x = x;
  wc.y = y;

  ret = XConfigureWindow(xdo->xdpy, wid, CWX | CWY, &wc);
  return _is_success("XConfigureWindow", ret == 0);
}


Generated by  Doxygen 1.6.0   Back to index