summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge pull request #2289 from frsfnrrg/memory-fixes1.0-alpha.4Libravatar Drew DeVault2018-07-17
|\ | | | | Fix memory leaks and reference to uninitialized
| * 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 pull request #2286 from RyanDwyer/default-floating-borderLibravatar Brian Ashworth2018-07-16
|\ | | | | Implement default_floating_border command and adjust CSD behaviour
| * 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.
* | Merge pull request #2287 from RyanDwyer/superfluous-urgent-eventsLibravatar Drew DeVault2018-07-16
|\ \ | | | | | | Remove superfluous IPC urgent events
| * | 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 #2285 from emersion/cleanup-swayidleLibravatar Drew DeVault2018-07-16
|\ | | | | swayidle: cleanup
| * swayidle: cleanupLibravatar emersion2018-07-16
| | | | | | | | No idea why wlr_output_layout was involved here.
* | Merge pull request #2276 from RyanDwyer/urgencyLibravatar Drew DeVault2018-07-16
|\ \ | | | | | | Implement urgency base functionality
| * | swaybar: Read urgent colors from IPCLibravatar Ryan Dwyer2018-07-17
| | |
| * | 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.
* | | Merge pull request #2265 from RedSoxFan/implement-1962Libravatar emersion2018-07-16
|\ \ \ | | | | | | | | Implement swaylock configuration file parsing
| * | | Switch to using getopt_long for config flagLibravatar Brian Ashworth2018-07-16
| | | |
| * | | Remove leftover parensLibravatar Brian Ashworth2018-07-16
| | | |
| * | | Remove int cast after changing to size_tLibravatar Brian Ashworth2018-07-16
| | | |
| * | | Change to size_t in swaylock's get_config_pathLibravatar Brian Ashworth2018-07-16
| | | |
| * | | Implement swaylock configuration file parsingLibravatar Brian Ashworth2018-07-16
|/ / /
* | | Merge pull request #2283 from RyanDwyer/no-focusLibravatar Drew DeVault2018-07-16
|\ \ \ | | | | | | | | Implement no_focus command
| * | | Focus view before running criteria when mappingLibravatar Ryan Dwyer2018-07-16
| | | |
| * | | Implement no_focus commandLibravatar Ryan Dwyer2018-07-16
|/ / /
* | | Merge pull request #2282 from RyanDwyer/fix-tab-split-focusLibravatar emersion2018-07-16
|\ \ \ | |/ / |/| | Fix tab split focus bug
| * | 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.
* | Merge pull request #2280 from ianyfan/leaksLibravatar emersion2018-07-15
|\ \ | | | | | | Fix some memory leaks
| * | 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
|/ /
* | Merge pull request #2277 from ianyfan/config-read-fixLibravatar Drew DeVault2018-07-15
|\ \ | | | | | | Fix config buffer overflow and logic
| * | Add error handling for getting config file sizeLibravatar Ian Fan2018-07-15
| | |
| * | Fix config buffer overflow and logicLibravatar Ian Fan2018-07-15
|/ /
* | Merge pull request #2275 from RyanDwyer/transactionise-focusLibravatar Drew DeVault2018-07-15
|\ \ | | | | | | Make focus part of transactions
| * | 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
| | | |
* | | | Merge pull request #2273 from swaywm/debug-flagsLibravatar Drew DeVault2018-07-14
|\ \ \ \ | |_|_|/ |/| | | Add extended debugging flags