aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17Merge pull request #2289 from frsfnrrg/memory-fixes1.0-alpha.4Drew DeVault5-10/+17
Fix memory leaks and reference to uninitialized
2018-07-17Fix memory leak in sway/desktop/idle_inhibit_v1.cfrsfnrrg1-0/+1
2018-07-17Fix memory leak in handle_layer_shell_surfacefrsfnrrg1-6/+6
2018-07-17Free individual criteria in free_configfrsfnrrg2-2/+8
Also free cmd_list when cleaning up a struct criteria.
2018-07-17Fix uninitialized pointer in view_unmapfrsfnrrg1-2/+2
Otherwise, sway crashes due to uninitialized pointer dereference when AddressSanitizer is active.
2018-07-16Merge pull request #2286 from RyanDwyer/default-floating-borderBrian Ashworth7-21/+72
Implement default_floating_border command and adjust CSD behaviour
2018-07-16Merge branch 'master' into default-floating-borderBrian Ashworth2-1/+3
2018-07-16Revert "config: free include path on successful load"Drew DeVault1-1/+0
This reverts commit 92450883d7b148d408b42c3553a60340a14771f6.
2018-07-16Merge pull request #2287 from RyanDwyer/superfluous-urgent-eventsDrew DeVault1-0/+3
Remove superfluous IPC urgent events
2018-07-17Remove superfluous IPC urgent eventsRyan Dwyer1-0/+3
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.
2018-07-17Implement default_floating_border command and adjust CSD behaviourRyan Dwyer7-21/+72
2018-07-16Merge pull request #2285 from emersion/cleanup-swayidleDrew DeVault1-9/+6
swayidle: cleanup
2018-07-16Merge pull request #2276 from RyanDwyer/urgencyDrew DeVault18-19/+251
Implement urgency base functionality
2018-07-17swaybar: Read urgent colors from IPCRyan Dwyer1-0/+12
2018-07-16Merge pull request #2265 from RedSoxFan/implement-1962emersion2-57/+196
Implement swaylock configuration file parsing
2018-07-16swayidle: cleanupemersion1-9/+6
No idea why wlr_output_layout was involved here.
2018-07-16Switch to using getopt_long for config flagBrian Ashworth1-7/+10
2018-07-16Remove leftover parensBrian Ashworth1-1/+1
2018-07-16Remove int cast after changing to size_tBrian Ashworth1-1/+1
2018-07-16Change to size_t in swaylock's get_config_pathBrian Ashworth1-1/+1
2018-07-16Implement swaylock configuration file parsingBrian Ashworth2-57/+193
2018-07-16Merge pull request #2283 from RyanDwyer/no-focusDrew DeVault5-8/+57
Implement no_focus command
2018-07-16Focus view before running criteria when mappingRyan Dwyer1-3/+1
2018-07-16Implement no_focus commandRyan Dwyer5-5/+56
2018-07-16Merge pull request #2282 from RyanDwyer/fix-tab-split-focusemersion1-0/+1
Fix tab split focus bug
2018-07-16Render containers as urgent if they have an urgent childRyan Dwyer2-4/+9
2018-07-16Fix tab split focus bugRyan Dwyer1-0/+1
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.
2018-07-16Mark containers as urgent in IPC if they have urgent viewsRyan Dwyer4-10/+15
2018-07-16Update workspace urgent state when views close or move workspacesRyan Dwyer6-7/+31
2018-07-16Make container_for_each_descendant_dfs descend into floating viewsRyan Dwyer1-8/+15
2018-07-16Fix crash in ipc_json_describe_viewRyan Dwyer1-2/+4
I didn't expect a function called ipc_json_describe_view to be passed a container which wasn't a view :\
2018-07-16Add documentation for urgent commandRyan Dwyer1-0/+5
2018-07-16Implement xwayland urgency hintRyan Dwyer1-0/+4
2018-07-16Fix urgency IPC eventsRyan Dwyer2-1/+6
2018-07-16Implement urgency base functionalityRyan Dwyer12-7/+170
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.
2018-07-15Merge pull request #2280 from ianyfan/leaksemersion3-0/+4
Fix some memory leaks
2018-07-15config output: free command string if unusedIan Fan1-0/+2
2018-07-15config: free include path on successful loadIan Fan1-0/+1
2018-07-15bar: free old position when changingIan Fan1-0/+1
2018-07-15Merge pull request #2277 from ianyfan/config-read-fixDrew DeVault1-14/+26
Fix config buffer overflow and logic
2018-07-15Add error handling for getting config file sizeIan Fan1-3/+8
2018-07-15Fix config buffer overflow and logicIan Fan1-12/+19
2018-07-15Merge pull request #2275 from RyanDwyer/transactionise-focusDrew DeVault10-73/+55
Make focus part of transactions
2018-07-15Make focus part of transactionsRyan Dwyer10-73/+55
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).
2018-07-15Merge pull request #2272 from RyanDwyer/simplify-transactionsDrew DeVault29-190/+139
Simplify transactions by using a dirty flag on containers
2018-07-15Merge pull request #2266 from emersion/remove-orbital-screenshooterDrew DeVault1-2/+0
Remove orbital screenshooter
2018-07-14Merge pull request #2273 from swaywm/debug-flagsDrew DeVault4-11/+33
Add extended debugging flags
2018-07-14Add extended debugging flagsDrew DeVault4-11/+33
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.
2018-07-15Set signature to voidRyan Dwyer1-1/+1
2018-07-14Simplify transactions by utilising a dirty flag on containersRyan Dwyer29-190/+139
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.