labwc/include
Tobias Klausmann 2e667dce07 client menu: add option to allow opening of menu at cursor
Until now, the client menu can be two ways by default:

- left click on client menu button at the top left of the window bar
- right click anywhere on the window bar that isn't otherwise bound

The first option opens the menu button, while the second opens it on the
window bar, whereever the mouse cursor is.

If one adds a way to open the menu elsewhere, e.g. with this:

```xml
<mouse>
  <context name="Frame">
    <mousebind button="S-Right" action="Press">
      <action name="ShowMenu">
        <menu>client-menu</menu>
      </action>
    </mousebind>
  <context>
</mouse>
```

the menu will open on the client menu spot.

With OpenBox, a similar configuration will result in the menu opening
where the mouse cursor is, which is usually more convenient.

This patch adds an option (`menu_clientMenuAtPointer`) that will enable
the same behavior as with OpenBox, and default to off (existing
behavior).

I am not tied to the naming of the option (or that it lives in the RC
root atm), but I thought I'd get the general ide reviewed and then
letting the bikeshedding begin. Naturally, docs and rc.xml.all will
also be added once the basics have been decided.
2024-03-10 16:47:20 +01:00
..
button Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
common cursor: process layer subsurfaces in cursor_button_press() 2024-03-09 00:44:19 +01:00
config client menu: add option to allow opening of menu at cursor 2024-03-10 16:47:20 +01:00
input Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
menu menu: use wl_list instead of array 2023-10-10 06:17:37 +01:00
action.h action: add If and ForEach actions 2023-10-01 14:17:29 +01:00
buffer.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h chase (dnd): refactor to use wlroot's scene_drag_icon 2023-12-03 18:24:26 +00:00
edges.h edges: do not apply resistance to invisible edges 2024-02-14 21:20:45 +00:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
labwc.h Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
layers.h src/layers.c: delay popup unconstrain until after first commit 2024-02-25 11:49:03 +00:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
output-virtual.h Add optional headless fallback output 2024-03-08 13:54:13 +01:00
placement.h view: honor automatic placement when adjusting floating geometry 2023-12-30 16:50:09 +00:00
regions.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resistance.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resize_indicator.h Add window resize indicator 2023-08-19 18:37:16 +02:00
session-lock.h session-lock: reconfigure for output layout changes 2023-10-05 20:10:37 +01:00
snap.h edges, resistance, snap: unified resistance and snapping engine 2024-01-30 15:02:17 -05:00
ssd-internal.h src/ssd: refactor button hover and maximize toggle 2023-12-08 20:55:50 +00:00
ssd.h feat: add Shade/Unshade/ToggleShade actions 2024-01-15 21:37:36 +00:00
theme.h theme: use non-hover button variants as fallback 2023-12-21 02:42:23 +01:00
view-impl-common.h view: commonize sub-view logic in view_move_to_front/back() 2023-10-21 15:40:56 +01:00
view.h Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
window-rules.h window-rules: add fixedPosition property 2023-11-10 21:46:15 +01:00
workspaces.h desktop: switch workspaces and optionally raise in desktop_focus_view() 2023-09-28 03:38:51 +02:00
xwayland.h xwayland: support querying window types 2024-01-25 21:14:30 +00:00