Skip to content

Support setting dock/clip/icon properties (or dragging) via mouse #257

@rjhorniii

Description

@rjhorniii

Lots of Windowmaker apps and dock apps make use of a three category mouse-icon interaction. Mouse actions outside the icon go to the compositor for background/window activity. Mouse actions in a border region of the icon go to the compositor for icon controls. Mouse actions inside an active area inside the border region of the icon go to the application running behind the icon. If there is no active area established by the application, all the actions inside the icon are used for icon controls. This is FYI for testing the mouse-icon interactions.

I've adjusted my icon sizes to make this easier to use on a high DPI large display, as shown in the example. This is from the Windowmaker wmCalClock dockapp (unmodified) with a larger icon size default and the original size icon images. The border region is the grey ramp shaded area around the date and time blocks. Mouse and keyboard actions inside the date and time areas are sent to the app, and the app updates the date and time values.

The default sizes are tricky to use on HIDI screens because by default the border region is just that small beveled edge portion. The active app area by default it the rest of the icon area. I expanded the default icon size so that there is a larger border area to use for icon re-positioning, etc.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions