aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-07-16Render containers as urgent if they have an urgent childRyan Dwyer-4/+9
2018-07-16Mark containers as urgent in IPC if they have urgent viewsRyan Dwyer-10/+15
2018-07-16Update workspace urgent state when views close or move workspacesRyan Dwyer-7/+31
2018-07-16Make container_for_each_descendant_dfs descend into floating viewsRyan Dwyer-8/+15
2018-07-16Fix crash in ipc_json_describe_viewRyan Dwyer-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 Dwyer-0/+5
2018-07-16Implement xwayland urgency hintRyan Dwyer-0/+4
2018-07-16Fix urgency IPC eventsRyan Dwyer-1/+6
2018-07-16Implement urgency base functionalityRyan Dwyer-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/leaksemersion-0/+4
Fix some memory leaks
2018-07-15config output: free command string if unusedIan Fan-0/+2
2018-07-15config: free include path on successful loadIan Fan-0/+1
2018-07-15bar: free old position when changingIan Fan-0/+1
2018-07-15Merge pull request #2277 from ianyfan/config-read-fixDrew DeVault-14/+26
Fix config buffer overflow and logic
2018-07-15Add error handling for getting config file sizeIan Fan-3/+8
2018-07-15Fix config buffer overflow and logicIan Fan-12/+19
2018-07-15Merge pull request #2275 from RyanDwyer/transactionise-focusDrew DeVault-73/+55
Make focus part of transactions
2018-07-15Make focus part of transactionsRyan Dwyer-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 DeVault-190/+139
Simplify transactions by using a dirty flag on containers
2018-07-15Merge pull request #2266 from emersion/remove-orbital-screenshooterDrew DeVault-2/+0
Remove orbital screenshooter
2018-07-14Merge pull request #2273 from swaywm/debug-flagsDrew DeVault-11/+33
Add extended debugging flags
2018-07-14Add extended debugging flagsDrew DeVault-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 Dwyer-1/+1
2018-07-14Simplify transactions by utilising a dirty flag on containersRyan Dwyer-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.
2018-07-14Merge pull request #2271 from RedSoxFan/implement-1569Drew DeVault-0/+53
Implement tap_button_map for input devices
2018-07-14Implement tap_button_map for input devicesBrian Ashworth-0/+53
2018-07-13Merge pull request #2244 from RyanDwyer/floating-resizeDrew DeVault-55/+351
Implement resize command for floating views
2018-07-14Force min/max size when resizing floating containersRyan Dwyer-10/+74
2018-07-14Implement resize grow|shrink <direction> <amount> or <amount>Ryan Dwyer-109/+220
2018-07-14Implement resize command for floating viewsRyan Dwyer-8/+129
Implements the following for floating views: * resize set <width> <height> * resize <grow|shrink> <width|height|up|down|left|right> <amount>
2018-07-13Merge pull request #2269 from minus7/swaybarbg-crash-on-dpms-resumeemersion-0/+6
swaybar/bg: Fix crash on DPMS off
2018-07-14swaybar/bg: Fix crash on DPMS offminus-0/+6
When turning off displays via DPMS, swaybar and swaybg still tried to render, but did not get a valid buffer, causing them to crash.
2018-07-13Merge pull request #2267 from emersion/simplify-popup-constraintsDrew DeVault-68/+10
Simplify popup_unconstrain
2018-07-13Simplify popup_unconstrainemersion-68/+10
Just use the parent output.
2018-07-13Remove orbital screenshooteremersion-2/+0
2018-07-13Merge pull request #2260 from emersion/fix-has-opaque-lockscreenDrew DeVault-4/+4
Fix output_has_opaque_lockscreen
2018-07-13Fix output_has_opaque_lockscreenemersion-4/+4
2018-07-13Merge pull request #2252 from rkubosz/scroll-button-optionDrew DeVault-0/+63
feature: scroll button option for input devices
2018-07-13add error handling for scroll button out of rangeRobert Kubosz-1/+8
user will be informed if the scroll button indentifier values causes underflow or overflow.
2018-07-13Merge pull request #2255 from emersion/xwayland-floating-bordersRyan Dwyer-1/+15
Don't disable borders for xwayland floating views
2018-07-13Merge branch 'master' into xwayland-floating-bordersRyan Dwyer-6/+106
2018-07-12expanded error detection for scroll button optionRobert Kubosz-2/+8
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.
2018-07-12Merge pull request #2253 from Hello71/issue2249Drew DeVault-6/+6
config.c: fix current_config uninit warning (#2249)
2018-07-12Merge pull request #2256 from emersion/xdg-positionerDrew DeVault-0/+100
Add xdg-positioner support
2018-07-12Add xdg-positioner supportemersion-0/+100
2018-07-12Don't disable borders for xwayland floating viewsemersion-1/+15
2018-07-12config.c: fix current_config uninit warning (#2249)Alex Xu-6/+6
2018-07-12rm constraint for max value of button identifierRobert Kubosz-2/+2
updated error message to be more adequate for current contraint
2018-07-12add paragraph to sway-input man pageRobert Kubosz-0/+5
The added paragraph describes how to get button identifier and set it in config.
2018-07-12increase maximum value of button identifierRobert Kubosz-3/+3
and also cleanup spaces