aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-07code: clean up cursor resize modeIsaac Freund1-12/+10
- offset_{x,y} is consistent with delta_{x,y} - no need to name the type, it's only referenced in one place
2020-08-07cursor: implement implicit grabsIsaac Freund2-29/+55
When a button is held down and the cursor leaves a surface, events now continue to be sent to the client. This allows e.g. dragging a scroll bar from outside the surface.
2020-08-07cursor: refactor mode handlingIsaac Freund2-195/+158
2020-08-03view: double buffer focus, use counter not boolIsaac Freund8-54/+49
- Double buffering focus state ensures that border color is kept in sync with the transaction state of views in the layout. - Using a counter instead of a bool will allow for proper handling of multiple seats. This is done in the same commit to avoid more churn in the future.
2020-08-01view: arrange on unmap if fullscreened from layoutIsaac Freund1-1/+2
We don't rearrange the layout on fullscreening a view that is part of the layout since the fullscreened view hides the layout. This means that if a non-floating fullscreen view is closed the layout needs to be rearranged.
2020-08-01view: fix xdg_toplevel fullscreen request handlingIsaac Freund3-23/+22
2020-08-01layout: use fork/execve instead of ChildProcessIsaac Freund1-19/+21
This keeps things simpler, and we will need this control anyways in order to enforce a timeout.
2020-08-01output: simplify layout codeIsaac Freund1-29/+25
2020-08-01server: handle SIGINT/SIGTERM with wl_event_loopIsaac Freund3-21/+22
This is cleaner than having a separate signal handler and should be more consistent/reliable.
2020-08-01server: use fork/execve for startup commandIsaac Freund1-11/+12
std.ChildProcess leaks an fd currently and is more complex than what we need anyways.
2020-08-01doc: shorten riverctl’s synopsisLennard Hofmann1-2/+1
The set-option command got removed but was still present in SYNOPSIS, which confused me. It is not the first time, we forgot to update it.
2020-07-31view: remember floating dimesionsIsaac Freund2-1/+10
When a floating view is returned to the layout or made fullscreen, it now saves the dimesions it had while floating and returns to that same position/size if made to float again.
2020-07-31cursor: handle xwayland views for move/resizeIsaac Freund3-26/+46
2020-07-31view: sidestep transaction for float/fullscreenIsaac Freund5-21/+37
Transactions are only useful when multiple views need to atomically change size together. Float/fullscreen views are independant of the layout and should bypass the transaction system.
2020-07-31cursor: forbid move/resize of fullscreen viewsIsaac Freund1-2/+3
2020-07-31view: forbid mode change if cursor targetIsaac Freund3-2/+23
Making a floating view tiled during a resize breaks things badly.
2020-07-31cursor: implement resizeIsaac Freund6-91/+189
2020-07-28code: refactor and simplify cursor move modeIsaac Freund1-107/+68
2020-07-28meta: update layer shell xmlIsaac Freund1-2/+12
2020-07-24river-status: note that wl_outputs must be boundIsaac Freund1-1/+2
2020-07-18ci: use void linuxIsaac Freund2-38/+51
arch is taking too long to get wlroots 0.11.0 and I already updated it for void.
2020-07-17cursor: ensure theme loaded on output creationIsaac Freund2-1/+11
2020-07-17code: fix a pair of leaksIsaac Freund2-0/+4
2020-07-17cursor: properly set XCURSOR_SIZE if defaultIsaac Freund1-2/+3
2020-07-16Fix bug causing XDG toplevels with a parent to not respect the CSD filterLeon Henrik Plickat2-29/+18
2020-07-16Implement csd-filter-add and float-filter-add commandsLeon Henrik Plickat5-6/+77
2020-07-16Make float_filter a slice listLeon Henrik Plickat1-2/+2
2020-07-16code: update to wlroots 0.11.0Isaac Freund7-19/+18
2020-07-16Implement csd_filter listLeon Henrik Plickat6-13/+64
2020-07-15ci: run on all branchesIsaac Freund2-14/+2
2020-07-15code: use a tagged union to store focusIsaac Freund11-86/+48
This simplifies the code and is more robust than two separate pointers.
2020-07-15code: simplify direction parsingIsaac Freund4-22/+13
2020-07-15code: deduplicate command include codeIsaac Freund1-55/+26
2020-07-15command: split set-option into "toplevel" commandsIsaac Freund4-105/+164
`riverctl set-option view_padding 10` becomes `riverctl view-padding 10` Having set-option doesn't really gain us anything and is more verbose as well as being slightly inaccurate as the changes instantly apply.
2020-07-14cursor: make xcursor theme configurableIsaac Freund4-29/+99
- add a new command to set the theme - export the theme of the default seat through environment variables
2020-07-12command/spawn: use _exit(2) instead of exit(3)Isaac Freund1-4/+6
Something in exit(3) is causing the intermediate fork to segfault.
2020-07-09xwayland: set seatIsaac Freund1-0/+3
This makes e.g. the clipboard work.
2020-07-08command/spawn: clean up and disown childrenIsaac Freund2-10/+29
- Call setsid - Clean up the signal mask. - Use a double fork so that processes get inherited by init.
2020-07-08cursor: close view on middleclick when pointer_modifier is activeLeon Henrik Plickat1-2/+2
2020-07-07cursor: implement moving viewsLeon Henrik Plickat4-22/+189
2020-07-06xwayland: don't crash on null titleIsaac Freund1-1/+1
2020-07-06river-status: fix bug sending old output tag stateIsaac Freund1-2/+3
2020-07-05layer-shell: respect single anchor exclusive zonesIsaac Freund1-22/+18
2020-07-05code: handle out of memory as well as possibleIsaac Freund10-44/+55
2020-07-05server: send SIGTERM to startup process on exitIsaac Freund2-6/+12
2020-07-05server: exit cleanly on SIGINT and SIGTERMIsaac Freund1-1/+18
2020-07-02output: introduce state structIsaac Freund11-41/+42
This simplifies the handling of the current/pending tags and will be used in the future for atomic layout updates involving layer surface exclusive zones.
2020-06-29docs: Fix duplicate mapping in config.shLennard Hofmann1-1/+1
2020-06-29xdg-shell: honor fullscreen requestsIsaac Freund3-7/+18
2020-06-29view: save and restore floating dimensionsIsaac Freund5-23/+25
When a floating view is fullscreened and returned to floating, it should remember its previous floating size/position.