From 6a190797b6fa17eeb5d8b60ede6af9c7b1b420ee Mon Sep 17 00:00:00 2001 From: bi4k8 Date: Sat, 11 Dec 2021 22:57:47 +0000 Subject: [PATCH] document mouse buttons and newly-supported mouse contexts --- docs/labwc-config.5.scd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 87e5a886..65e1a245 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -113,9 +113,18 @@ Configuration must be wrapped in a root-node. ** Define a mouse binding. Supported context-names include: - TitleBar: The area where the title of the window is shown. + - Title: The title of the window itself. - Iconify: The button that looks like an underline. - Maximize: The button that looks like a box. - Close: The button that looks like an X. + - Top: The top edge of the window's border. + - Bottom: The bottom edge of the window's border. + - Left: The left edge of the window's border. + - Right: The right edge of the window's border. + - TRCorner: The top-right corner of the window's border. + - TLCorner: The top-left corner of the window's border. + - BLCorner: The bottom-left corner of the window's border. + - BRCorner: The bottom-right edge of the window's border. - Client: The client area of a window, inside its decorations. Events bound to Client are also passed to applications. - Frame: Any part of a window, but events bound to Frame are not passed @@ -123,6 +132,11 @@ Configuration must be wrapped in a root-node. - Desktop: The desktop background, where no windows are present. - Root: A synonym for Desktop (for compatibility). + Supported mouse buttons are: + - Left + - Middle + - Right + Supported mouse actions include: - Press: Pressing the specified button down in the context. - Release: Releasing the specified button in the context.