~profzoom/wmaker/master

Viewing all changes in revision 3933.

  • Committer: Carlos R. Mafra
  • Author(s): David Maciejak
  • Date: 2023-03-26 09:35:33 UTC
  • Revision ID: git-v1:802cbc0d75932802ca12056792f6fae757d9a66c
Hot corners feature core

Add mouse pointer position detection to trigger the corner actions.

Screen corners can be assigned an external command to be
executed when the mouse pointer is entering those areas.

In WPrefs, "Hot Corner Shortcut Preferences" can be used
for configuration or by manually adding a "HotCorners" key
and value to "YES" in the ~/GNUstep/Defaults/WindowMaker file.

Actions are specified by the "HotCornerActions" and are defined
as a four entries list ("top left action", "top right action",
"bottom left action", "bottom right action").
A screen corner area is a cube shape defined by the "HotCornerEdge"
which is a number of pixels from 2 (by default) to 10.

To lower the risk of triggering that feature accidentally a
"HotCornerDelay" key can be used which is the time before the action
is triggered while the pointer is in one of the screen corner.
Default value is 250 ms.

Hot Corners feature is disabled by default.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: