aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-06Initialise previous cursor position.Scott Leggett
Fix the problem with focus jumping to the container under the cursor when first starting sway.
2018-06-05Merge pull request #2107 from tobiasblass/remove_suspicious_returnemersion
Remove suspicious unconditional return
2018-06-05Remove suspicious unconditional returnTobias Blass
This return effectively disables the log_kernel function
2018-06-05Merge pull request #2095 from emersion/fullscreen-damage-only-visibleemersion
Only send frame to visible surfaces when fullscreened
2018-06-05Merge pull request #2103 from RyanDwyer/focus-fixesemersion
Focus fixes
2018-06-05Merge pull request #2106 from RedSoxFan/fix-2105emersion
Fix movement crashes/issues
2018-06-05Fix movement crashes/issuesBrian Ashworth
2018-06-04Don't restore focus if unmapping surface wasn't focusedRyan Dwyer
2018-06-04Don't set focus to NULL when clicking a surface which has no containerRyan Dwyer
2018-06-04Restore focus when unmapping layer shell surfacesRyan Dwyer
2018-06-04Restore focus when unmapping unmanaged xwayland surfacesRyan Dwyer
2018-06-03Merge pull request #2087 from RedSoxFan/output-subcommandemersion
Refactor cmd_output to use config_subcommand
2018-06-03Merge pull request #2099 from RyanDwyer/fix-seat-get-active-childemersion
Fix seat_get_active_child
2018-06-03Merge pull request #2100 from RyanDwyer/fix-workspace-orientationemersion
Fix initial workspace orientation on a rotated output
2018-06-03Address review comments for output subcommandsBrian Ashworth
2018-06-03Refactor cmd_output to use config_subcommandBrian Ashworth
2018-06-03Fix initial workspace orientation on a rotated outputRyan Dwyer
2018-06-03Fix seat_get_active_childRyan Dwyer
seat_get_active_child is used for tabbed and stacked containers to get the active child. The previous implementation used seat_get_focus_inactive then ascended the tree to the child of the tabbed/stacked container, but this fails when the workspace itself is stacked or tabbed and the most recently active child is floating. The new implementation takes a more simple approach, where it directly scans the focus stack for the first immediate child which isn't the floating container. Fixes #2098.
2018-06-03Merge pull request #2093 from emersion/damage-debugemersion
Add SWAY_DAMAGE_DEBUG
2018-06-03Merge pull request #2096 from kupospelov/fix-title-updateemersion
Fix view title update order
2018-06-03Merge pull request #2097 from RyanDwyer/fix-workspace-segfaultemersion
Fix potential crash when destroying workspace
2018-06-03Fix potential crash when destroying workspaceRyan Dwyer
`_container_destroy` emits a destroy event, and any listener for this event should have access to the full container, not a half destroyed one. `_container_destroy` also destroys the swayc, so we have to grab a reference to the sway_workspace so we can free it afterwards. This also fixes a memory leak where the floating container wasn't freed. Fixes #2092.
2018-06-03Fix view title update orderKonstantin Pospelov
This commit fixes the function call order to make sure that the title texture is updated using the relevant global font size.
2018-06-02Add SWAY_DAMAGE_DEBUGemersion
Setting it to "rerender" will always re-render everything regardless of the damaged region. Setting it to "highlight" will clear the screen and render only damaged regions.
2018-06-02Only send frame to visible surfaces when fullscreenedemersion
2018-06-02Merge pull request #2094 from emersion/damage-scheduleemersion
Schedule a frame even if damage is empty
2018-06-02Schedule a frame even if damage is emptyemersion
2018-06-02Merge pull request #2091 from martinetd/config-block-use-after-freeDrew DeVault
sway/config: fix use-after-free for end of block
2018-06-03sway/config: fix use-after-free for end of blockDominique Martinet
Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
2018-06-02Merge pull request #2089 from emersion/send-frame-done-visibleDrew DeVault
Only send frame done to visible views
2018-06-02Merge pull request #2070 from RedSoxFan/generic-config-blocksDrew DeVault
Make command block implementation generic
2018-06-02Only send frame done to visible viewsemersion
Also don't accumulate empty damage
2018-06-02Fix infinite loop in peek_line for EOF blanksBrian Ashworth
2018-06-02Address emersion's feedback on peek_lineBrian Ashworth
2018-06-02Fix condition in peek_lineBrian Ashworth
2018-06-02Address first round of review for generic blocksBrian Ashworth
2018-06-02Support braces on next line for config blocksBrian Ashworth
2018-06-02Make command block implementation genericBrian Ashworth
2018-06-02Merge pull request #2080 from frsfnrrg/keyboard-remodelingemersion
Reduce work duplication in keyboard and binding code
2018-06-02Merge pull request #2088 from RyanDwyer/fix-floating-border-pixelemersion
Fix top border when a view is initially floating
2018-06-02Fix top border when a view is initially floatingRyan Dwyer
Fixes #2085.
2018-06-01Style fix, redundant entry removal, fix extra keysym deletefrsfnrrg
2018-06-01Rename update_shortcut_model to update_shortcut_statefrsfnrrg
2018-06-01Comment to explain sway_shortcut_state listsfrsfnrrg
2018-06-01Rename check_shortcut_model to get_active_bindingfrsfnrrg
2018-06-01Style fixed for keyboard.cfrsfnrrg
2018-06-01Style fixes for bind.cfrsfnrrg
2018-06-01Remove almost-always redundant loop in key handlingfrsfnrrg
2018-06-01Fix binding bindcode flag initializationfrsfnrrg
2018-06-01Rewrite shortcut handling code to avoid hardcoded valuesfrsfnrrg
The same shortcut algorithm is now used for keycodes, raw keysyms, and translated keysyms. Pressed keysyms are now stored in association with the keycodes that generated them. Modifier keycodes (and associated keysyms) are identified retroactively by the subsequent change to the modifier flags.