d47be3b592
deps: update to latest zig-wayland
2022-05-11 18:02:32 +02:00
44aaee3a51
command/map: layout-pinned mappings
...
e.g. `riverctl map -layout 0 normal Super Y spawn foot`
When this mapping is checked against a pressed key, layout 0 will be used to translate the pressed key instead of the currently active layout.
The number denotes to an index of the layouts set with
`XKB_DEFAULT_LAYOUT`.
2022-04-27 18:31:08 +02:00
60fdefc3fd
input: add map-switch/unmap-switch commands
...
This allows running a command on a laptop's lid being opened/closed
or a tablet's button/switch being pressed/toggled.
2022-04-14 12:49:47 +02:00
e16eabd928
Xwayland: move window to top of X11 stack on focus
...
This is required for X11 input handling to work properly with
overlapping windows.
2022-01-02 04:32:28 +00:00
c1d985ac29
build: update to zig version 0.9.0
2021-12-24 05:28:14 +00:00
6a093fecee
river: remove wlroots 0.14 workarounds
...
Since updating to wlroots 0.15 we can remove several workarounds we had
in place due to wlroots improvements.
2021-12-22 20:15:57 +00:00
2288778dd7
ci: update for wlroots 0.15.0
2021-12-22 03:56:47 +00:00
c34d850397
layer-shell: fix regression from wlroots 0.15 update
...
The way wlroots handles the layer surface configure flow has changed a
bit and river's logic needs updating.
2021-12-21 19:41:47 +00:00
4d19621f1e
river: update to wlroots 0.15.0
2021-12-21 03:18:30 +00:00
bd70c010e9
Cursor: add workaround in pointer drag termination
...
Currently wlroots sends use the drag destroy event before sending the
wl_data_device.leave event to the client, which makes things a bit
awkward. My patch fixing this has been merged to wlroots master so we
can remove this when upgrading to wlroots 0.15, but until then this
workaround will fix the issue.
2021-11-23 22:54:19 +01:00
50814e0ffe
pointer-constraints: fix coordinates
...
Currently the implementation treats the x/y coordinates of
View.State.box as layout coordinates instead of output-relative. This
causes issues when using an output not at 0,0.
2021-10-11 15:01:57 +02:00
e59c2a73d7
river: implement xdg-activation-v1
...
- add a new "urgent" border color
- add a new event to river-status-unstable-v1
Co-authored-by: Isaac Freund <ifreund@ifreund.xyz >
2021-08-19 12:58:52 +00:00
505639432e
Revert "build: assert wlroots version at comptime"
...
zig-wlroots now has this assert built in
This reverts commit 3392b21aa8
.
2021-06-24 20:21:07 +02:00
3392b21aa8
build: assert wlroots version at comptime
...
This will prevent people compiling river against the wrong wlroots
version and wondering why it crashes.
2021-06-24 19:34:15 +02:00
41874b47ae
code: update to wlroots 0.14.0
2021-06-23 15:35:10 +02:00
833248e805
Add basic input configuration
2021-06-13 10:37:36 -07:00
c0a2286847
code: update to zig 0.8.0
2021-06-05 17:29:58 +00:00
13f01bcb4b
render: do basic yes/no damage tracking
2021-05-24 16:43:21 +02:00
ec2c50b33f
deps: update to latest zig-wayland
2021-04-27 12:24:30 +02:00
84f5283889
pixman: update and fix PointerConstraint
2021-04-22 10:33:28 +02:00
df3e993013
river: fix to work with latest zig-pixman
2021-04-20 13:14:45 +02:00
9e3e92050e
river: update for wlroots 0.13.0
2021-04-08 00:21:17 +02:00
6438f193ae
build: handle null install_prefix correctly
2021-03-22 11:54:51 +01:00
27cac16ced
build: fix if wlroots x11 backend is disabled
2021-03-01 14:54:36 +01:00
26b0acddb7
river: pointer-constraints and relative-pointer
2021-02-22 14:47:31 +01:00
870f0b746e
Implement pointer-gestures-unstable-v1
2021-02-15 18:18:18 +01:00
7029a5cd3e
output: add output_title default option
...
Outputs now have a default option, "output_title". If this changes, the
outputs title is set to the option value. This title is currently only
relevant when run nested in a wayland/X11 session.
Co-authored-by: Isaac Freund <ifreund@ifreund.xyz >
2021-02-02 01:14:06 +01:00
afe1f197aa
deps: update to lastest zig-wlroots
2021-01-25 12:33:15 +01:00
18bab45d4c
riverctl: implement river-options interface
...
To make this cleaner, introduce some arg-parsing infrastructure that
will useful when porting riverctl to river-control-v2 in the future as
well.
2021-01-18 22:30:52 +01:00
8cbccbfb6e
river-options: implement
2021-01-16 23:51:15 +01:00
cc08be2dee
code: clean up listener initialization
2020-12-31 15:35:35 +01:00
760c88b094
foreign-toplevel-management: basic implementation
...
We do no yet set the parent of toplevels. We also only honor activate
requests if the target view is already visible on the focused output.
2020-12-24 13:07:59 +01:00
20d804cdb5
code: switch to custom wlroots/libwayland bindings
...
This is a big step up over @cImport() for ergonomics and type safety.
Nearly all void pointer casts have been eliminated!
2020-12-13 22:53:33 +01:00
807d4a4212
keyboard: handle destruction
2020-11-29 21:05:27 +01:00
f1e5f1aacb
style: fix zig fmt regression
...
CI works now so this shouldn't happen again
2020-11-21 11:53:37 +01:00
6c52f9cc2b
code: use std.ascii.spaces
2020-11-03 00:36:53 +01:00
a7459026f6
code: port riverctl to zig-wayland
2020-11-02 13:59:59 +01:00
a895970561
Add submodule
2020-11-01 13:58:54 +01:00