aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-06-29docs: add toggle-fullscreenIsaac Freund2-2/+8
2020-06-29render: draw fullscreen views properlyIsaac Freund1-34/+48
- use a solid black background - only draw the overlay layer
2020-06-29seat: prioritize fullscreen views for focusIsaac Freund2-19/+22
2020-06-29command: disable focus-view in fullscreenIsaac Freund1-0/+3
2020-06-29river: implement toggle-fullscreenIsaac Freund7-16/+79
The command works, but behaves a little strangely. Also, fullscreen views are not yet rendered on an opqaue backdrop.
2020-06-28view: use saved geometry for borders if neededIsaac Freund5-34/+3
This fixes the issues caused by 60f06a1 and greatly simplifies the code. Turns out we were already tracking the dimensions needed.
2020-06-28view: replace mode with float/fullscreen boolsIsaac Freund6-24/+30
The enum would be awkward here since if a view is fullscreened while floating it should still be floating when defullscreened.
2020-06-28view: draw borders around actual dimensionsIsaac Freund5-9/+39
Previously if the view did not take the size requested, we would draw the borders around the size we asked the view to take rather than its actual size.
2020-06-28code: fix testsIsaac Freund1-10/+10
2020-06-28cursor: fix viewAt() orderingIsaac Freund1-3/+12
Focused views must be checked first as they are always rendered on top.
2020-06-27view: simplify default float dimension handlingIsaac Freund3-39/+27
2020-06-27view: introduce state struct to simplify codeIsaac Freund12-124/+105
The state struct holds all of the state that is double-buffered and applied through transactions. This more explicit handling simplifies much of the code, and will allow for easier implementation of new feature such as fullscreen.
2020-06-27view: use a mode enum instead of floating boolIsaac Freund7-73/+58
This is in preperation for fullscreen support which will add another mode to this enum. This commit also fixes a bug that allowed clicking floating views though layout views in some cases.
2020-06-26command: log output of commands run by mappingsIsaac Freund3-14/+34
2020-06-26command: allow output on success, refactorIsaac Freund19-122/+104
2020-06-26config: fix leak of hashmap keysIsaac Freund2-2/+8
2020-06-26command: dupe mode name memoryIsaac Freund2-2/+8
The hashmap doesn't take ownership of the memory pointer to by these slices, so we need to dupe them to avoid use-after-free.
2020-06-26river-status: fix view-tags array sizeIsaac Freund1-2/+2
2020-06-26seat: pass a null terminated stringIsaac Freund1-2/+2
2020-06-26code: improve error handling consistencyIsaac Freund11-40/+23