aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-05input: keep applying input configs after first matchLeon Henrik Plickat1-1/+0
Device identifiers aren't so unique after all
2022-02-05View: use last set fullscreen state in applyPending()Isaac Freund4-6/+35
This avoids a race where the fullscreen set is e.g. set then unset before the transaction has been completed and the current state has been updated.
2022-02-03View: fix/simplify logic in applyPending()Isaac Freund3-27/+22
In particular, this fixes a crash that can happen if a client is made non-fullscreen and then, while that transaction is ongoing, made fullscreen again.
2022-01-31code: relicense to GPL-3.0-onlyIsaac Freund65-130/+65
I don't need anyone's permission to make this change since GPL-3.0-or-later is one-way compatible with GPL-3.0-only.
2022-01-29Cursor: update image if needed on xcursor theme changeLeon Henrik Plickat1-1/+6
2022-01-29ci: run on 0.1.x branchIsaac Freund1-0/+2
2022-01-28wlr-output-management: simplify implementationIsaac Freund2-107/+83
Notably, we no longer call both wlr_output_test and wlr_output_commit when applying an output config, which seems to fix or workaround an occasional crash since updating to wlroots 0.15.0.
2022-01-25layer-shell: center when opposing anchors are setIsaac Freund1-10/+12
Currently river will place the surface at the top or left edge if opposing anchors are set without a 0 width/height. Instead, center the surface between the anchors.
2022-01-23XdgPopup: remove commit listener on destroy if mappedIsaac Freund1-0/+2
Since the destroy() function may be called by river while the popup is mapped, we must handle this case.
2022-01-23docs: fix typo in river(1) man pageIsaac Freund1-1/+1
2022-01-23docs: Fix typo in readmeJustin Wood1-1/+1
2022-01-18Xwayland: Handle minimize requestHugo Machet1-0/+20
Fix X11 clients getting stuck minimized, and displaying a black screen after they lose focus.
2022-01-17command/map: Warn users on keybinding overwrittenHugo Machet1-3/+14
2022-01-17example/init: Use Alt/Super aliasesIsaac Freund1-72/+71
2022-01-17command/map: add Alt/Super as aliases for Mod1/Mod4Isaac Freund2-4/+9
I personally made the mistake of using Alt instead of Mod1 when messing with my config. This change makes things a bit more user friendly/intuitive.
2022-01-15rivertile: Use saturating additionHugo Machet1-5/+1
2022-01-12XdgPopup: fix unconstrain from box coordsIsaac Freund1-18/+24
We currently don't properly handle xdg surface geometry of the parent, which causes popups to render partially off-screen in some cases. GTK4 clients such as easyeffects seem to trigger this issue reliably.
2022-01-08contrib: add desktop fileNick Hastings1-0/+5
2022-01-05Cursor: remove minor outdated workaroundIsaac Freund1-5/+1
Since Zig 0.9 @tagName() and other similar builtins return 0 terminated data.
2022-01-02Seat: do a better job of cleaning up listenersIsaac Freund1-0/+6
I thought this should be fine as river won't yield to the event loop when Seat.deinit() is called before the wlroots seat is destroyed, but a segfault on exit has been reported with a stack trace mentioning wlr_seat_destroy(). Let's hope this clears that up.
2022-01-02Xwayland: move window to top of X11 stack on focusIsaac Freund2-0/+1
This is required for X11 input handling to work properly with overlapping windows.
2021-12-29Cursor: fix down mode motion events for subsurfacesIsaac Freund1-62/+77
There are a couple of TODOs here that are not worth resolving until after moving to the scene graph api.
2021-12-24docs: update zig version required in readmeHugo Machet1-1/+1
2021-12-24build: update to zig version 0.9.0Isaac Freund62-379/+345
2021-12-22docs: soften the README disclaimer a bitIsaac Freund1-3/+4
2021-12-22river: remove wlroots 0.14 workaroundsIsaac Freund6-34/+5
Since updating to wlroots 0.15 we can remove several workarounds we had in place due to wlroots improvements.
2021-12-22Subsurface: add commit listener on create if mappedIsaac Freund1-0/+2
Subsurfaces may already be mapped when create is called, in which case we must add the commit listener.
2021-12-22Cursor: properly handle clients setting the cursor imageIsaac Freund1-2/+6
The new code to dedup XcursorManager.setCursorImage() calls for efficiency currently doesn't handle clients setting the cursor properly. This commit corrects this oversight.
2021-12-22ci: update for wlroots 0.15.0Isaac Freund2-25/+36
2021-12-21layer-shell: fix regression from wlroots 0.15 updateIsaac Freund2-13/+13
The way wlroots handles the layer surface configure flow has changed a bit and river's logic needs updating.
2021-12-21Cursor: dedup XcursorManager.setCursorImage() callsIsaac Freund1-6/+25
wlroots doesn't avoid re-setting the same cursor image so this is relatively expensive to call repeatedly if nothing has changed.
2021-12-21river: update to wlroots 0.15.0Isaac Freund14-85/+79
2021-12-15common/flags: make argFlag() return a sliceIsaac Freund3-9/+11
We always pass the result of this to mem.span() currently, no need for the code duplication.
2021-12-10Cursor: improve output focus handling on button pressLeon Henrik Plickat1-1/+10
This patch allows to focus outputs by clicking on the empty background and by clicking on layer surfaces without keyboard interactivity. This makes it possible to use the cursor to focus outputs with no visible views. This also fixes problems with pointer interactive layer surfaces (for example launchers and docks) on non-focused outputs.
2021-11-29layer-shell: tighten up handling of large marginsIsaac Freund1-16/+6
2021-11-23Cursor: add workaround in pointer drag terminationIsaac Freund2-1/+22
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-19Cursor: fix pointer drags with focus-follows-cursorIsaac Freund2-23/+50
2021-11-11docs: remove reference to /etc/river/initIsaac Freund1-1/+3
We used to look in /etc/river/init if no init at ~/.config/river/init or $XDG_CONFIG_HOME/river/init was found but this feature was removed. It seems that we forgot to remove this mention of the old behavior however.
2021-11-08docs: fix wlroots link in readmeWannes De Meyer1-1/+1
2021-11-03docs: clarify description of dependenciesIsaac Freund1-3/+4
2021-11-03build: bump version to 0.2.0-devIsaac Freund1-1/+1
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