aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-06-05Merge pull request #2107 from tobiasblass/remove_suspicious_returnemersion-1/+0
Remove suspicious unconditional return
2018-06-05Remove suspicious unconditional returnTobias Blass-1/+0
This return effectively disables the log_kernel function
2018-06-05Merge pull request #2095 from emersion/fullscreen-damage-only-visibleemersion-11/+21
Only send frame to visible surfaces when fullscreened
2018-06-05Merge pull request #2103 from RyanDwyer/focus-fixesemersion-2/+23
Focus fixes
2018-06-05Merge pull request #2106 from RedSoxFan/fix-2105emersion-10/+6
Fix movement crashes/issues
2018-06-05Fix movement crashes/issuesBrian Ashworth-10/+6
2018-06-04Don't restore focus if unmapping surface wasn't focusedRyan Dwyer-7/+10
2018-06-04Don't set focus to NULL when clicking a surface which has no containerRyan Dwyer-1/+1
2018-06-04Restore focus when unmapping layer shell surfacesRyan Dwyer-1/+7
2018-06-04Restore focus when unmapping unmanaged xwayland surfacesRyan Dwyer-0/+12
2018-06-03Merge pull request #2087 from RedSoxFan/output-subcommandemersion-267/+374
Refactor cmd_output to use config_subcommand
2018-06-03Merge pull request #2099 from RyanDwyer/fix-seat-get-active-childemersion-7/+7
Fix seat_get_active_child
2018-06-03Merge pull request #2100 from RyanDwyer/fix-workspace-orientationemersion-4/+6
Fix initial workspace orientation on a rotated output
2018-06-03Address review comments for output subcommandsBrian Ashworth-1/+4
2018-06-03Refactor cmd_output to use config_subcommandBrian Ashworth-267/+371
2018-06-03Fix initial workspace orientation on a rotated outputRyan Dwyer-4/+6
2018-06-03Fix seat_get_active_childRyan Dwyer-7/+7
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-0/+19
Add SWAY_DAMAGE_DEBUG
2018-06-03Merge pull request #2096 from kupospelov/fix-title-updateemersion-1/+3
Fix view title update order
2018-06-03Merge pull request #2097 from RyanDwyer/fix-workspace-segfaultemersion-1/+9
Fix potential crash when destroying workspace
2018-06-03Fix potential crash when destroying workspaceRyan Dwyer-1/+9
`_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-1/+3
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-0/+19
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-11/+21
2018-06-02Merge pull request #2094 from emersion/damage-scheduleemersion-0/+2
Schedule a frame even if damage is empty
2018-06-02Schedule a frame even if damage is emptyemersion-0/+2
2018-06-02Merge pull request #2091 from martinetd/config-block-use-after-freeDrew DeVault-4/+4
sway/config: fix use-after-free for end of block
2018-06-03sway/config: fix use-after-free for end of blockDominique Martinet-4/+4
Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
2018-06-02Merge pull request #2089 from emersion/send-frame-done-visibleDrew DeVault-14/+21
Only send frame done to visible views
2018-06-02Merge pull request #2070 from RedSoxFan/generic-config-blocksDrew DeVault-396/+349
Make command block implementation generic
2018-06-02Only send frame done to visible viewsemersion-14/+21
Also don't accumulate empty damage
2018-06-02Fix infinite loop in peek_line for EOF blanksBrian Ashworth-0/+2
2018-06-02Address emersion's feedback on peek_lineBrian Ashworth-5/+5
2018-06-02Fix condition in peek_lineBrian Ashworth-1/+1
2018-06-02Address first round of review for generic blocksBrian Ashworth-32/+34
2018-06-02Support braces on next line for config blocksBrian Ashworth-8/+74
2018-06-02Make command block implementation genericBrian Ashworth-399/+282
2018-06-02Merge pull request #2080 from frsfnrrg/keyboard-remodelingemersion-374/+235
Reduce work duplication in keyboard and binding code
2018-06-02Merge pull request #2088 from RyanDwyer/fix-floating-border-pixelemersion-1/+4
Fix top border when a view is initially floating
2018-06-02Fix top border when a view is initially floatingRyan Dwyer-1/+4
Fixes #2085.
2018-06-01Style fix, redundant entry removal, fix extra keysym deletefrsfnrrg-7/+6
2018-06-01Rename update_shortcut_model to update_shortcut_statefrsfnrrg-5/+5
2018-06-01Comment to explain sway_shortcut_state listsfrsfnrrg-0/+13
2018-06-01Rename check_shortcut_model to get_active_bindingfrsfnrrg-4/+4
2018-06-01Style fixed for keyboard.cfrsfnrrg-14/+13
2018-06-01Style fixes for bind.cfrsfnrrg-5/+6
2018-06-01Remove almost-always redundant loop in key handlingfrsfnrrg-26/+22
2018-06-01Fix binding bindcode flag initializationfrsfnrrg-1/+1
2018-06-01Rewrite shortcut handling code to avoid hardcoded valuesfrsfnrrg-263/+166
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.
2018-06-01Use XKB keycode numbering for bindcodefrsfnrrg-1/+1