Andrew J. Hesford
1bcaf8255f
action: rename "omnipresent" button options for Openbox compatibility
...
- Mouse context "Omnipresent" -> "AllDesktops"
- Theme elements "window.*.button.omnipresent" -> "window.*.button.desk"
- Update documentation accordingly
2024-08-25 07:22:23 +02:00
Andrew J. Hesford
b7bccc8026
ssd: add optional omnipresent button
2024-08-24 05:42:38 +02:00
Andrew J. Hesford
186a07be9b
ssd: add optional shade button
2024-08-24 05:42:38 +02:00
Simon Long
ed1b631492
Add All context for mouse events
2024-05-19 22:17:04 +01:00
Jens Peters
4c59a8c3d7
config: add more mouse button definitions
2024-01-06 19:37:41 +00:00
Consolatis
4a8b50603e
src/config/rcxml.c: allow clearing key/mouse bindings
...
Fixes #567
2023-02-03 03:30:10 +01:00
bi4k8
2b753a98b8
Support smooth scroll and horizontal scroll
...
note that this changes Scroll mousebinds from taking a "button"
attribute to taking a "direction" attribute
2022-11-15 21:57:36 +00:00
Arnaudv6
063a26ae9d
Scroll-Bindings: Add support for mouse wheel bindings
2022-11-06 22:03:50 +01:00
Consolatis
89ad0b808f
s/wl_list_insert(list.prev...)/wl_list_append(list...)/
2022-10-05 19:50:36 +01:00
John Lindgren
a54d378e6c
common: Add znew/znew_n() macros
2022-09-18 15:25:19 -04:00
John Lindgren
cb40cdc36c
common: Add additional memory utilities (xzalloc() etc.)
2022-09-17 10:57:30 -04:00
Consolatis
99237cc232
src/config/mousebind.c: Fix mousebind ordering
2022-08-30 16:39:09 +01:00
Consolatis
b7b1e8064f
Add WindowMenu button
2022-01-26 06:17:41 +00:00
Consolatis
d9cef42721
CodeStyle
2022-01-09 06:37:39 +00:00
ARDiDo
5935a78fb4
mouse: add support for drag mouse event
2022-01-07 22:05:07 +00:00
Consolatis
0b45cce648
Rewrite action handling to allow multiple actions at once
2022-01-05 16:22:41 +00:00
bi4k8
5ee4baee7a
implement corner/edge mouse contexts
2021-12-26 21:31:11 +00:00
Consolatis
fa18f347e5
config/rcxml: Allow multiple <action>s inside of a <mousebind>
...
Issue arises when using the default config from docs/rc.xml.all.
Without this patch only the last action defined inside a <mousebind>
will have an effect.
Without a config or when defining the same <mousebind> multiple times
with each containing only a single <action> the issue does not exist.
2021-12-23 09:53:11 -05:00
bi4k8
6b3320bcc1
do not add mouse bindings with no set context
2021-12-02 17:58:31 +00:00
bi4k8
b008917895
implement handling for Client, Frame, and Root/Desktop (conflated for now) mouse contexts
2021-12-02 17:58:31 +00:00
bi4k8
8eab1e8132
parse and respect modifiers for mouse bindings
2021-12-01 15:11:21 -05:00
ARDiDo
6b948c7106
mousebind: add support for more contexts and mouse events
2021-11-02 18:14:50 +00:00
Johan Malm
d2375b025d
Fix coding style
2021-09-24 22:04:03 +01:00
Johan Malm
ebb632419b
*.c: add SPDX-License-Identifier
2021-09-24 21:45:48 +01:00
Johan Malm
62d93d54c5
rcxml: refactor mousebind implementation
2021-09-06 21:54:00 +01:00
alexander bryan
1ac654f006
Apply coding std to <mouse> code & add .clang-format
...
The files:
include/config/mousebind.h
src/config/mousebind.c
src/config/rc.xml
were formatted automatically via clang-format using the rules specified
in the .clang-format file. Specifically, the command;
clang-format -i -style=file include/config/mousebind.h \
src/config/mousebind.c src/config/rc.xml
This is unfortunately adding a break before the brace in enum
declarations
2021-09-01 07:05:37 +01:00
alexander bryan
10a685a0e4
refactor <mouse> xml parsing to match rest of xml parsing
2021-09-01 07:05:37 +01:00
alex
92891b4dfa
change mousebind code to use already existing enums
...
Also added an #include statement to ssd.h so it would compile without
depending on other headers to be #included before it
2021-09-01 07:05:37 +01:00
alex
dfdb4e4b0e
First implemenation of <mouse> in rc.xml
...
Can successfully parse the following XML and and implement the action:
<mouse>
<context name="TitleBar">
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/>
</mousebind>
</context>
</mouse>
The XML parsing code for this looks A LOT different than the already
existing XML parsing code. It may have to be reworked
2021-09-01 07:05:37 +01:00