aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03build: bump version to 0.1.0Isaac Freund1-1/+1
2021-11-02build: fix trailing newline in version stringIsaac Freund4-4/+7
2021-11-02docs: remove AUTHORS fileIsaac Freund1-6/+0
We haven't managed to keep this at all up to date, which defeats the purpose. Please refer to the git history for a complete list of contributors.
2021-11-01completions/fish: simplifyFollieHiyuki1-95/+70
2021-11-01docs: update URLs for migration to riverwm github orgIsaac Freund6-10/+10
2021-11-01common: use -h instead of -helpIsaac Freund6-12/+12
This doesn't really matter that much as unrecognized options will still trigger a help message to be printed, but -h is much more standard so lets make the predictable choice here while sticking to only single '-' flags.
2021-11-01docs: assorted fixes/cleanupsIsaac Freund3-8/+8
2021-10-31docs: standardize on "layout generator"Isaac Freund6-8/+8
This is likely more clear than "layout client" to most users.
2021-10-30Cursor: fix move/resize with high poll rate/low dpi miceIsaac Freund1-9/+32
2021-10-30View: fix checks to respect client side move/resizeIsaac Freund3-5/+5
2021-10-30view: respect client size resize of floating viewsIsaac Freund1-3/+8
mpv for example has key bindings to set the window size to a multiple of the video resolution. This is a valid use case for client-size resizing of the view and river should respect this if the view is floating.
2021-10-20Xwayland: always send configure if requestedIsaac Freund1-4/+9
This seems to fix an issue with mouse input for steam if steam is not started on an output at 0,0. X11 is pretty spooky.
2021-10-20View: send enter/leave events to full surface treeIsaac Freund1-5/+22
2021-10-20Cursor: only trigger focus-follow-cursor on motionIsaac Freund1-17/+18
This greatly improves the UX of this feature, as views moving under a stationary cursor (as happens during the zoom command for example) will no longer trigger focus change.
2021-10-12Xwayland: honor fullscreen requestsIsaac Freund2-5/+11
2021-10-11pointer-constraints: fix coordinatesIsaac Freund2-12/+29
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-06contrib: recommend using a venv for layout.pyIsaac Freund1-8/+11
This avoids needing to run pwayland's scanner with root privileges and install the river-layout bindings to system directories.
2021-10-06contrib: make layout.py more pythonicMichal Siedlaczek1-22/+19
2021-10-06contrib: add python layoutLeon Henrik Plickat1-0/+142
2021-10-04docs: change Enter to ReturnEuro201791-2/+2
xkbcommon uses `Return` to indicate this key, `Enter` isn't a valid keysym name. Co-authored-by: Euro <no>
2021-10-04Decrease layout demand timeout to 100msLeon Henrik Plickat1-1/+1
Layout generators are generally pretty fast. The timeout is only reached when the generator is faulty / stuck. In that case, freezing for 1 second is simply bad UX.
2021-10-02Server: fix use after free in deinit()Isaac Freund1-1/+1
The input manager and seats must be destroyed before the display is destroyed as they need to destroy their timer event sources used for key repeat.
2021-10-02View: fix unmap/destroy control flowIsaac Freund12-68/+64
Currently the view destruction sequence is started as soon as a view is unmapped. However, this is incorrect as a client may map the view again instead of destroying it. Instead, only start the view destruction sequence when the underlying xdg toplevel or xwayland surface is destroyed.
2021-10-02doc: update my (Isaac's) email addressIsaac Freund3-3/+3
2021-10-02View: add fullscreen check missing in previous commitIsaac Freund1-7/+9
2021-09-30View: resize if moved between outputs while fullscreenIsaac Freund1-0/+7
2021-09-30Subsurface: remove commit listener in destroy()Isaac Freund1-0/+2
Currently if destroy() is called while a subsurface is mapped a dangling commit listener is left behind. This is obivously a problem, so check if the subsurface is mapped in destroy() and remove the listener if needed.
2021-09-27ci: fix xbps invocationIsaac Freund1-6/+6
This avoids errors like: util-linux-common-2.37.2_1 in transaction breaks installed pkg `libfdisk-2.37.1_1' util-linux-common-2.37.2_1 in transaction breaks installed pkg `libsmartcols-2.37.1_1' libuuid-2.37.2_1 in transaction breaks installed pkg `libfdisk-2.37.1_1' libuuid-2.37.2_1 in transaction breaks installed pkg `util-linux-2.37.1_1' libblkid-2.37.2_1 in transaction breaks installed pkg `libfdisk-2.37.1_1' libblkid-2.37.2_1 in transaction breaks installed pkg `util-linux-2.37.1_1' libmount-2.37.2_1 in transaction breaks installed pkg `util-linux-2.37.1_1' Transaction aborted due to unresolved dependencies.
2021-09-27Cursor: implement surfaceAt() for XwaylandUnmanagedIsaac Freund1-6/+19
2021-09-18xdg-toplevel: fix configure serial checkingIsaac Freund2-7/+26
Currently if another configure is in flight after the one we are tracking the serial of and the client acks the second configure as well (or only the second configure) before committing, we will never realize the configure we are tracking has been acked. Instead, listen for the ack_configure signal and set a bool that we can check on surface commit. This probably isn't an issue that would actually be hit by well behaved clients as river doesn't send redundant configure events. However, having correct code is always better even if it's slightly more complex.
2021-09-16command: Use std.ComptimeStringMap to get impl. function from command stringLeon Henrik Plickat1-57/+52
2021-09-14river: add send-to-previous-tags commandPeter Rice6-0/+24
2021-09-07river: Allow applying CSD based on window titlesBen Fiedler6-34/+80
This extends the `csd-filter-add` command to allow matching on window titles as well, using a `csd-filter-add kind pattern` syntax. The following kinds are supported: * `title`, which matches window titles * `app-id`, which matches app ids Only exact matches are considered. As an example following configuration applies client-side decorations to all windows with the title 'asdf with spaces'. riverctl csd-filter-add title 'asdf with spaces'
2021-09-06river: fix viewporter protocol implementationIsaac Freund2-12/+27
It turns out that wlroots requires us to do a bit more than just create the wlr_viewporter. Docs are being added to the wlroots header in https://github.com/swaywm/wlroots/pull/3171
2021-09-06river: Fix errdefer in floatFilterAddBen Fiedler1-1/+1
2021-09-06docs: update example init for float fitler changesIsaac Freund1-3/+3
2021-09-06river: Allow floating based on window titlesBen Fiedler5-38/+71
This extends the `float-filter-add` command to allow matching on window titles as well, using a `float-filter-add kind pattern` syntax. The following kinds are supported: * `title`, which matches window titles * `app-id`, which matches app ids Only exact matches are considered. As an example following configuration floats all windows with the title 'asdf with spaces'. riverctl float-filter-add title 'asdf with spaces'
2021-08-19river: implement xdg-activation-v1novakane18-6/+104
- 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-18docs: default keyboard mapping mode is "normal"Keith Hubbard1-2/+2
2021-08-15command: support repeating keyboard mappingsKeith Hubbard9-22/+92
Repeating mappings are created using the -repeat option to the map command: % riverctl map normal $mod+Mod1 K -repeat move up 10 - repeating is only supported for key press (not -release) mappings - unlike -release, -repeat does not create distinct mappings: mapping a key with -repeat will replace an existing bare mapping and vice-versa Resolves #306
2021-08-12river-status: fix output status destructionIsaac Freund2-2/+10
There was a use-after-free if the Output was destroyed first, and the memory of the output status was leaked.
2021-08-12output: simplify layer shell handling on destroyIsaac Freund1-9/+7
No need for noop output hacks here, wlr.LayerSurfaceV1.close() synchronously emits the unmap signal if the layer surface is mapped.
2021-08-12layer-shell: ignore commits on closed layer surfaceIsaac Freund1-0/+3
2021-08-10seat: always add view to focus stack on mapIsaac Freund5-41/+31
Currently if a view is mapped while some other view is fullscreen, it will not be added to the focus stack, which means that if the fullscreen view is then closed the view which was not added to the focus stack will not be focused. To fix this, always add views to the focus stack on map.
2021-08-09config: fix leak of default layout namespaceIsaac Freund1-0/+3
2021-08-09Xwayland: fix possible use-after-free on unmapIsaac Freund1-2/+2
The view.unmap() call may synchronously destroy the view, which makes the the code removing listeners which is currently run after view.unmap() access free'd memory. To fix this, simply change the order of the calls to match that of XdgToplevel.handleUnmap().
2021-08-07render: draw borders before rendering viewsKeith Hubbard1-4/+4
Menus, tooltips, etc. can extend beyond a view's borders. Render views after their borders so floating content appears on top. Unfocused floating content can still be obscured by views higher in the stack and the focused view.
2021-08-02river: fix crash on disabling all outputsIsaac Freund1-8/+10
If using the on-output-change cursor warp option river currently crashes when the last real output is disabled as the noop output used as a fallback is not present in the output layout.
2021-08-02river-layout: fix typo in protocolIsaac Freund1-3/+3
2021-07-31util: remove unused functionIsaac Freund1-10/+0