aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Merge pull request #2155 from ael-code/fix_output_command_failureLibravatar Drew DeVault2018-06-22
|\ | | | | bugfix: avoid access after free
| * bugfix: avoid access after freeLibravatar ael-code2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | if src is NULL due to a previous error we cannot use it in the command result string. Moreover if `src` points to `p.we_wordv[0]` we cannot use it after `wordfree(&p)` in the command result string. Bonus feature: If there was an error accessing the file, the string rapresentation of the error is now included in the command result string.
* | Merge pull request #2146 from ↵Libravatar Drew DeVault2018-06-22
|\ \ | | | | | | | | | | | | tobiasblass/prepare_server_before_dropping_privileges Perform (partial) server initialization before dropping privileges.
| * | Perform (partial) server initialization before dropping privileges.Libravatar Tobias Blass2018-06-19
| |/ | | | | | | | | | | | | | | Some operations during backend creation (e.g. becoming DRM master) require CAP_SYS_ADMIN privileges. At this point, sway has dropped them already, though. This patch splits the privileged part of server_init into its own function and calls it before dropping its privileges. This fixes the bug with minimal security implications.
* | Merge pull request #2152 from atomnuker/masterLibravatar emersion2018-06-22
|\ \ | |/ |/| Init the dmabuf exporting protocol in wlroots
| * Init the dmabuf exporting protocol in wlrootsLibravatar Rostislav Pehlivanov2018-06-22
|/ | | | Allows desktop capture via the dmabuf-capture wlroots example client.
* Merge pull request #2143 from vilhalmer/mark-pool-buffers-busyLibravatar Drew DeVault2018-06-17
|\ | | | | Set pool_buffers busy when handing them out
| * Merge branch 'master' into mark-pool-buffers-busyLibravatar vil2018-06-17
| |\ | |/ |/|
* | Merge pull request #2140 from Hello71/patch-2Libravatar Drew DeVault2018-06-17
|\ \ | | | | | | swayidle: fix stack overflow on sleep
| * | swayidle: fix stack overflow on sleepLibravatar Alex Xu (Hello71)2018-06-17
|/ /
* | Merge pull request #2135 from emersion/wlroots-1060Libravatar Drew DeVault2018-06-16
|\ \ | | | | | | Update for swaywm/wlroots#1060
| * | Update for swaywm/wlroots#1060Libravatar emersion2018-06-16
|/ /
* | Merge pull request #2130 from frsfnrrg/keyboard-tuningLibravatar Drew DeVault2018-06-13
|\ \ | | | | | | Clean up keyboard handling code
| * | Fix keyboard shortcut handling inconsistenciesLibravatar frsfnrrg2018-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ensure that modifier keys are identified even when the next key does not produce a keysym. This requires that modifier change tracking be done for each sway_shortcut_state. * Permit regular and --release shortcuts on the same key combination. Distinct bindings are identified for press and release cases; note that the release binding needs to be identified for both key press and key release events. * Maintain ascending sort order for the shortcut state list, and keep track of the number of pressed key ids, for simpler (and hence faster) searching of the list of key bindings. * Move binding duplicate detection into get_active_binding to avoid duplicating error messages.
| * | Sort binding key listsLibravatar frsfnrrg2018-06-12
|/ / | | | | | | | | | | | | Sort the list comprising the set of keys for the binding in ascending order. (Keyboard shortcuts depend only on the set of simultaneously pressed keys, not their order, so this change should have no external effect.) This simplifies comparisons between bindings.
* | Merge pull request #2124 from emersion/drag-icons1.0-alpha.3Libravatar Drew DeVault2018-06-09
|\ \ | | | | | | Render drag icons
| * | Render drag iconsLibravatar emersion2018-06-09
| | |
| | * Set pool_buffers busy when handing them outLibravatar vilhalmer2018-06-17
| |/ |/|
* | Merge pull request #2047 from natesymer/masterLibravatar Drew DeVault2018-06-09
|\ \ | |/ |/| Implement Gaps
| * Implement gaps (PR #2047)Libravatar Nate Symer2018-06-09
|/
* Merge pull request #2123 from emersion/fix-disabled-outputsLibravatar emersion2018-06-09
|\ | | | | Fix compilation errors related to disabled outputs
| * Fix compilation errors related to disabled outputsLibravatar emersion2018-06-09
|/
* Merge pull request #2115 from RedSoxFan/restore-workspacesLibravatar Ryan Dwyer2018-06-09
|\ | | | | Restore workspaces to output when re-enabled
| * Switch restore workspaces to a nested for-loopLibravatar Brian Ashworth2018-06-08
| |
| * Restore workspaces to outputs based on priorityLibravatar Brian Ashworth2018-06-08
|/
* Merge pull request #2121 from martinetd/swaylock-ctrl-uLibravatar emersion2018-06-08
|\ | | | | swaylock: implement ^U to clear buffer
| * swaylock: implement ^U to clear bufferLibravatar Dominique Martinet2018-06-08
|/ | | | | | | The whole state->xcb.modifiers thing didn't work at all (always 0) The xkb doc says "[xkb_state_serialize_mods] should not be used in regular clients; please use the xkb_state_mod_*_is_active API instead" so here it is
* Merge pull request #2119 from martinetd/gcc-strtruncationLibravatar emersion2018-06-08
|\ | | | | sway/criteria: gcc string truncation warning fix
| * sway/criteria: gcc string truncation warning fixLibravatar Dominique Martinet2018-06-08
| |
* | Merge pull request #2120 from martinetd/swayidle-zombiesLibravatar emersion2018-06-08
|\ \ | |/ |/| Swayidle: doublefork to not leave zombies around
| * sway exec command: use waitpid instead of waitLibravatar Dominique Martinet2018-06-08
| |
| * swayidle: doublefork to not leave zombies aroundLibravatar Dominique Martinet2018-06-08
|/
* Merge pull request #2118 from RedSoxFan/fix-2117Libravatar emersion2018-06-08
|\ | | | | Remove strip quoting and fix strncpy-overlap
| * Remove strip quoting and fix strncpy-overlapLibravatar Brian Ashworth2018-06-07
|/
* Merge pull request #2084 from RedSoxFan/runtime-var-expansionLibravatar emersion2018-06-07
|\ | | | | Runtime variable expansion
| * Fix logic issue in do_var_replacementLibravatar Brian Ashworth2018-06-05
| |
| * Support runtime var expansion and set at runtimeLibravatar Brian Ashworth2018-06-05
| |
* | Merge pull request #2108 from RedSoxFan/store-outputsLibravatar emersion2018-06-07
|\ \ | | | | | | Allow outputs to be re-enabled
| * | Switch output storing from list_t to wl_listLibravatar Brian Ashworth2018-06-06
| | |
| * | Address emersions comments on output re-enablingLibravatar Brian Ashworth2018-06-06
| | |
| * | Store sway_outputs so that they can be reenabledLibravatar Brian Ashworth2018-06-06
|/ /
* | Merge pull request #2116 from RedSoxFan/fix-2113Libravatar Ryan Dwyer2018-06-07
|\ \ | | | | | | Fix focusing after splitting tabs/stacks
| * | Remove tab/stack check for focusing after a splitLibravatar Brian Ashworth2018-06-06
| | |
| * | Fix focusing after splitting tabs/stacksLibravatar Brian Ashworth2018-06-06
|/ /
* | Merge pull request #2110 from smlx/initialise-cursor-previousLibravatar emersion2018-06-06
|\ \ | | | | | | Initialise previous cursor position.
| * | Initialise previous cursor position.Libravatar Scott Leggett2018-06-06
|/ / | | | | | | | | Fix the problem with focus jumping to the container under the cursor when first starting sway.
* | Merge pull request #2107 from tobiasblass/remove_suspicious_returnLibravatar emersion2018-06-05
|\ \ | |/ |/| Remove suspicious unconditional return
| * Remove suspicious unconditional returnLibravatar Tobias Blass2018-06-05
|/ | | | This return effectively disables the log_kernel function
* Merge pull request #2095 from emersion/fullscreen-damage-only-visibleLibravatar emersion2018-06-05
|\ | | | | Only send frame to visible surfaces when fullscreened
| * Only send frame to visible surfaces when fullscreenedLibravatar emersion2018-06-02
| |