@@ -701,9 +701,6 @@ <h3 id="_miscellaneous_commands">Miscellaneous Commands</h3>
701701< p > < em > nls</ em > which prints information on the locale catalogs that fvwm used</ p >
702702</ div >
703703< div class ="paragraph ">
704- < p > < em > style</ em > which prints information on fvwm styles. < em > verbose</ em > can be 1.</ p >
705- </ div >
706- < div class ="paragraph ">
707704< p > < em > bindings</ em > which prints information on all the bindings fvwm has: key
708705and mouse bindings. < em > verbose</ em > has no effect with this option.</ p >
709706</ div >
@@ -1667,40 +1664,56 @@ <h3 id="_focus_mouse_movement">Focus & Mouse Movement</h3>
16671664< p > < em > CursorBarrier</ em > only works if fvwm is complied with the XFixes extension.</ p >
16681665</ div >
16691666</ dd >
1670- < dt class ="hdlist1 "> < strong > CursorMove</ strong > < em > horizontal</ em > [p] < em > vertical</ em > [p]</ dt >
1667+ < dt class ="hdlist1 "> < strong > CursorMove</ strong > [screen < em > RANDRNAME </ em > ] < em > horizontal</ em > [p] < em > vertical</ em > [p]</ dt >
16711668< dd >
1672- < p > Moves the mouse pointer by < em > horizontal</ em > pages in the X direction and
1673- < em > vertical</ em > pages in the Y direction. Either or both entries may be
1674- negative. CursorMove can only move the mouse cursor to a relative
1675- position. To move the mouse cursor to an absolute position, see
1676- < strong > WarpToWindow</ strong > . Both horizontal and vertical values are expressed in
1677- percent of pages, so</ p >
1669+ < p > Without the < em > screen</ em > option, < em > CusorMove</ em > moves the mouse cursor a
1670+ < em > horizontal</ em > distance and < em > vertical</ em > distance from its current position.
1671+ The values are expressed as either a percent of the virtual desktop size,
1672+ or a pixel distance by appending a '< em > p</ em > ' to the value. Either or both
1673+ entries may be negative. For example,</ p >
16781674< div class ="literalblock highlight ">
16791675< div class ="content ">
1680- < pre > CursorMove 100 100</ pre >
1676+ < pre > # Move down and right by one full page.
1677+ CursorMove 100 100
1678+
1679+ # Move down two full pages.
1680+ CursorMove 0 200
1681+
1682+ # Move half page right and quarter page up.
1683+ CursorMove 50 -25
1684+
1685+ # Move left 100 pixels and down 50 pixels.
1686+ CursorMove -100p 50p</ pre >
16811687</ div >
16821688</ div >
16831689< div class ="paragraph ">
1684- < p > means to move down and right by one full page.</ p >
1690+ < p > If the option < em > screen</ em > followed by a valid RandR monitor name is included,
1691+ < em > CursorMove</ em > will move the cursor to the absolute position (starting at
1692+ the top left corner) given by the arguments, as either percent values
1693+ of the monitor’s size, or an absolute location with the '< em > p</ em > ' suffix.
1694+ For example,</ p >
16851695</ div >
16861696< div class ="literalblock highlight ">
16871697< div class ="content ">
1688- < pre > CursorMove 50 25</ pre >
1698+ < pre > # Move cursor to center of monitor DP-1
1699+ CursorMove screen DP-1 50 50
1700+
1701+ # Move cursor to the exact location (400, 200) of monitor DP-2
1702+ CursorMove screen DP-2 400p 200p</ pre >
16891703</ div >
16901704</ div >
16911705< div class ="paragraph ">
1692- < p > means to move right half a page and down a quarter of a page.
1693- Alternatively, the distance can be specified in pixels by appending a
1694- '< em > p</ em > ' to the horizontal and/or vertical specification. For example</ p >
1695- </ div >
1696- < div class ="literalblock highlight ">
1697- < div class ="content ">
1698- < pre > CursorMove -10p -10p</ pre >
1699- </ div >
1706+ < p > When moving to a specified < em > screen</ em > , the < em > horizontal</ em > and < em > vertical</ em >
1707+ values are always shifted to be inside the current page of the specified
1708+ monitor. For instance '50', '150', and '-150' will all be the center of the
1709+ monitor, and will not change monitor’s page. Use < strong > GotoPage</ strong > to change the
1710+ page of a specified monitor. Negative values can be used to specify distance
1711+ from the right/bottom corner of the monitor.</ p >
17001712</ div >
17011713< div class ="paragraph ">
1702- < p > means move ten pixels up and ten pixels left. The CursorMove function
1703- should not be called from pop-up menus.</ p >
1714+ < p > < em > CusorMove</ em > can only move the cursor relative to its current position,
1715+ or to an absolute position on a given monitor. To move the cursor relative
1716+ to a window, use < strong > WarpToWindow</ strong > .</ p >
17041717</ div >
17051718</ dd >
17061719< dt class ="hdlist1 "> < strong > FlipFocus</ strong > [NoWarp]</ dt >
0 commit comments