Node: Cursor Positioning, Previous: Cursor Appearance, Up: Cursors



Cursor Positioning

Sawfish provides one basic command for adjusting the relative position of the cursor.

move-cursor right down Function
Move the cursor right pixels to the right across the screen, and down pixels down the screen. The cursor stops at the edge of the screen (although in multi-head environments, this may not be at the edge of the display).

There are also more specialized cursor movement commands.

move-cursor-left-fine Function
move-cursor-right-fine Function
move-cursor-up-fine Function
move-cursor-down-fine Function
Move the cursor 1 pixel in the indicated direction.

move-cursor-left Function
move-cursor-right Function
move-cursor-up Function
move-cursor-down Function
Move the cursor move-cursor-increment pixels in the indicated direction.

move-cursor-increment 16 Variable
The move-cursor-DIRECTION functions move this cursor this many pixels at a time.