Move mouse pointer (absolute)
| 171 | |
| 172 | // Move mouse pointer (absolute) |
| 173 | void move_to (Display *display, int x, int y) |
| 174 | { |
| 175 | int cur_x, cur_y; |
| 176 | coords (display, &cur_x, &cur_y); |
| 177 | XWarpPointer (display, None, None, 0,0,0,0, -cur_x, -cur_y); |
| 178 | XWarpPointer (display, None, None, 0,0,0,0, x, y); |
| 179 | } |
| 180 | |
| 181 | // Get pixel color at coordinates x,y |
| 182 | //void |