summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Fix memory leak in sway/desktop/idle_inhibit_v1.cLibravatar frsfnrrg2018-07-17
|
* Fix memory leak in handle_layer_shell_surfaceLibravatar frsfnrrg2018-07-17
|
* Free individual criteria in free_configLibravatar frsfnrrg2018-07-17
| | | | Also free cmd_list when cleaning up a struct criteria.
* Fix uninitialized pointer in view_unmapLibravatar frsfnrrg2018-07-17
| | | | | Otherwise, sway crashes due to uninitialized pointer dereference when AddressSanitizer is active.
* Merge branch 'master' into default-floating-borderLibravatar Brian Ashworth2018-07-16
|\
| * Revert "config: free include path on successful load"Libravatar Drew DeVault2018-07-16
| | | | | | | | This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
| * Remove superfluous IPC urgent eventsLibravatar Ryan Dwyer2018-07-17
| | | | | | | | | | | | | | | | | | | | When an xwayland view is mapped, the IPC urgent event was being sent on every surface commit. I had intentionally ommitted the check because I figured an urgent surface could update its urgent timestamp by sending urgent a second time. But that's not how it works in xwayland's case, and it makes for more complicated code.
* | Implement default_floating_border command and adjust CSD behaviourLibravatar Ryan Dwyer2018-07-17
|/
* Merge pull request #2276 from RyanDwyer/urgencyLibravatar Drew DeVault2018-07-16
|\ | | | | Implement urgency base functionality
| * Render containers as urgent if they have an urgent childLibravatar Ryan Dwyer2018-07-16
| |
| * Mark containers as urgent in IPC if they have urgent viewsLibravatar Ryan Dwyer2018-07-16
| |
| * Update workspace urgent state when views close or move workspacesLibravatar Ryan Dwyer2018-07-16
| |
| * Make container_for_each_descendant_dfs descend into floating viewsLibravatar Ryan Dwyer2018-07-16
| |
| * Fix crash in ipc_json_describe_viewLibravatar Ryan Dwyer2018-07-16
| | | | | | | | | | I didn't expect a function called ipc_json_describe_view to be passed a container which wasn't a view :\
| * Add documentation for urgent commandLibravatar Ryan Dwyer2018-07-16
| |
| * Implement xwayland urgency hintLibravatar Ryan Dwyer2018-07-16
| |
| * Fix urgency IPC eventsLibravatar Ryan Dwyer2018-07-16
| |
| * Implement urgency base functionalityLibravatar Ryan Dwyer2018-07-16
| | | | | | | | | | | | Introduces a command to manually set urgency, as well as rendering of urgent views, sending the IPC event, removing urgency after focused for one second, and matching urgent views via criteria.
* | Focus view before running criteria when mappingLibravatar Ryan Dwyer2018-07-16
| |
* | Implement no_focus commandLibravatar Ryan Dwyer2018-07-16
| |
* | Fix tab split focus bugLibravatar Ryan Dwyer2018-07-16
|/ | | | | Fixes a bug where if you have a tab containing a split, then switch from a non-split tab to the split tab, focus is not changed properly.
* config output: free command string if unusedLibravatar Ian Fan2018-07-15
|
* config: free include path on successful loadLibravatar Ian Fan2018-07-15
|
* bar: free old position when changingLibravatar Ian Fan2018-07-15
|
* Add error handling for getting config file sizeLibravatar Ian Fan2018-07-15
|
* Fix config buffer overflow and logicLibravatar Ian Fan2018-07-15
|
* Make focus part of transactionsLibravatar Ryan Dwyer2018-07-15
| | | | | | | | | | | | Rather than maintain copies of the entire focus stack, this PR transactionises the focus by introducing two new properties to the container state and using those when rendering. * `bool focused` means this container has actual focus. Only one container should have this equalling true in its current state. * `struct sway_container *focus_inactive_child` points to the immediate child that was most recently focused (eg. for tabbed and stacked containers).
* Merge pull request #2272 from RyanDwyer/simplify-transactionsLibravatar Drew DeVault2018-07-15
|\ | | | | Simplify transactions by using a dirty flag on containers
| * Set signature to voidLibravatar Ryan Dwyer2018-07-15
| |
| * Simplify transactions by utilising a dirty flag on containersLibravatar Ryan Dwyer2018-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR changes the way we handle transactions to a more simple method. The new method is to mark containers as dirty from low level code (eg. arranging, or container_destroy, and eventually seat_set_focus), then call transaction_commit_dirty which picks up those containers and runs them through a transaction. The old methods of using transactions (arrange_and_commit, or creating one manually) are now no longer possible. The highest-level code (execute_command and view implementation handlers) will call transaction_commit_dirty, so most other code just needs to set containers as dirty. This is done by arranging, but can also be done by calling container_set_dirty.
* | Merge pull request #2266 from emersion/remove-orbital-screenshooterLibravatar Drew DeVault2018-07-15
|\ \ | | | | | | Remove orbital screenshooter
| * | Remove orbital screenshooterLibravatar emersion2018-07-13
| | |
* | | Add extended debugging flagsLibravatar Drew DeVault2018-07-14
| | | | | | | | | | | | | | | | | | We currently have several ways of setting debug flags, including command line arguments, environment variables, and compile-time macros. This replaces the lot with command line flags.
* | | Implement tap_button_map for input devicesLibravatar Brian Ashworth2018-07-14
| |/ |/|
* | Force min/max size when resizing floating containersLibravatar Ryan Dwyer2018-07-14
| |
* | Implement resize grow|shrink <direction> <amount> or <amount>Libravatar Ryan Dwyer2018-07-14
| |
* | Implement resize command for floating viewsLibravatar Ryan Dwyer2018-07-14
| | | | | | | | | | | | | | Implements the following for floating views: * resize set <width> <height> * resize <grow|shrink> <width|height|up|down|left|right> <amount>
* | Simplify popup_unconstrainLibravatar emersion2018-07-13
|/ | | | Just use the parent output.
* Fix output_has_opaque_lockscreenLibravatar emersion2018-07-13
|
* Merge pull request #2252 from rkubosz/scroll-button-optionLibravatar Drew DeVault2018-07-13
|\ | | | | feature: scroll button option for input devices
| * add error handling for scroll button out of rangeLibravatar Robert Kubosz2018-07-13
| | | | | | | | | | user will be informed if the scroll button indentifier values causes underflow or overflow.
| * expanded error detection for scroll button optionLibravatar Robert Kubosz2018-07-12
| | | | | | | | | | | | | | | | | | | | Now the scroll_button will not accept: - letters on string beginning; - negative numbers. What is tolerated: - letters after number; - rational numbers: the fraction after dot will be omitted.
| * rm constraint for max value of button identifierLibravatar Robert Kubosz2018-07-12
| | | | | | | | updated error message to be more adequate for current contraint
| * add paragraph to sway-input man pageLibravatar Robert Kubosz2018-07-12
| | | | | | | | | | The added paragraph describes how to get button identifier and set it in config.
| * increase maximum value of button identifierLibravatar Robert Kubosz2018-07-12
| | | | | | | | and also cleanup spaces
| * add scroll button optionLibravatar Robert Kubosz2018-07-11
| | | | | | | | | | | | This commit introduces a scroll_button option, which is intended to be used with scroll_method. Now user can edit his sway config and add an scroll_button option to device section.
* | Merge branch 'master' into xwayland-floating-bordersLibravatar Ryan Dwyer2018-07-13
|\ \
| * \ Merge pull request #2253 from Hello71/issue2249Libravatar Drew DeVault2018-07-12
| |\ \ | | | | | | | | config.c: fix current_config uninit warning (#2249)
| | * | config.c: fix current_config uninit warning (#2249)Libravatar Alex Xu2018-07-12
| | | |
| * | | Add xdg-positioner supportLibravatar emersion2018-07-12
| |/ /