aboutsummaryrefslogtreecommitdiff
path: root/sway
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-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-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-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-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-02Schedule a frame even if damage is emptyemersion
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-02Only send frame done to visible viewsemersion
Also don't accumulate empty damage
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-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-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-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
2018-06-01Fix crash when using multiple outputsRyan Dwyer
2018-06-01Fix mouse warping interaction with layout coordsDrew DeVault
2018-06-01Consider floating views when calculating title heightRyan Dwyer
2018-06-01Fix floating position when view is floated when mappedRyan Dwyer