aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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.
2018-06-01Use XKB keycode numbering for bindcodefrsfnrrg
2018-06-01Share common code between bindsym and bindcode commandsfrsfnrrg
2018-06-01Merge pull request #2027 from RyanDwyer/implement-floatingDrew DeVault
Implement floating
2018-06-01Merge pull request #2083 from RedSoxFan/fix-1976emersion
Fix cmd_workspace crash when a surface has focus
2018-06-01Fix cmd_workspace crash when a surface has focusBrian Ashworth
2018-06-01Fix changing borders on floating viewsRyan Dwyer
2018-06-01Don't auto float xdg views if their dimensions are not setRyan Dwyer
2018-06-01Fix mpv damage issue when unfullscreening into floatingRyan Dwyer
2018-06-01Fix fullscreen position of xwayland viewsRyan Dwyer