summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Fix seat_get_active_childLibravatar Ryan Dwyer2018-06-03
| | | | | | | | | | | | | | 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.
* Merge pull request #2093 from emersion/damage-debugLibravatar emersion2018-06-03
|\ | | | | Add SWAY_DAMAGE_DEBUG
| * Add SWAY_DAMAGE_DEBUGLibravatar emersion2018-06-02
| | | | | | | | | | | | 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.
* | Merge pull request #2096 from kupospelov/fix-title-updateLibravatar emersion2018-06-03
|\ \ | | | | | | Fix view title update order
| * | Fix view title update orderLibravatar Konstantin Pospelov2018-06-03
| |/ | | | | | | | | This commit fixes the function call order to make sure that the title texture is updated using the relevant global font size.
* / Fix potential crash when destroying workspaceLibravatar Ryan Dwyer2018-06-03
|/ | | | | | | | | | | | | `_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.
* Schedule a frame even if damage is emptyLibravatar emersion2018-06-02
|
* sway/config: fix use-after-free for end of blockLibravatar Dominique Martinet2018-06-03
| | | | Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
* Merge pull request #2089 from emersion/send-frame-done-visibleLibravatar Drew DeVault2018-06-02
|\ | | | | Only send frame done to visible views
| * Only send frame done to visible viewsLibravatar emersion2018-06-02
| | | | | | | | Also don't accumulate empty damage
* | Address first round of review for generic blocksLibravatar Brian Ashworth2018-06-02
| |
* | Support braces on next line for config blocksLibravatar Brian Ashworth2018-06-02
| |
* | Make command block implementation genericLibravatar Brian Ashworth2018-06-02
|/
* Merge pull request #2080 from frsfnrrg/keyboard-remodelingLibravatar emersion2018-06-02
|\ | | | | Reduce work duplication in keyboard and binding code
| * Style fix, redundant entry removal, fix extra keysym deleteLibravatar frsfnrrg2018-06-01
| |
| * Rename update_shortcut_model to update_shortcut_stateLibravatar frsfnrrg2018-06-01
| |
| * Rename check_shortcut_model to get_active_bindingLibravatar frsfnrrg2018-06-01
| |
| * Style fixed for keyboard.cLibravatar frsfnrrg2018-06-01
| |
| * Style fixes for bind.cLibravatar frsfnrrg2018-06-01
| |
| * Remove almost-always redundant loop in key handlingLibravatar frsfnrrg2018-06-01
| |
| * Fix binding bindcode flag initializationLibravatar frsfnrrg2018-06-01
| |
| * Rewrite shortcut handling code to avoid hardcoded valuesLibravatar frsfnrrg2018-06-01
| | | | | | | | | | | | | | | | | | 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.
| * Use XKB keycode numbering for bindcodeLibravatar frsfnrrg2018-06-01
| |
| * Share common code between bindsym and bindcode commandsLibravatar frsfnrrg2018-06-01
| |
* | Fix top border when a view is initially floatingLibravatar Ryan Dwyer2018-06-02
|/ | | | Fixes #2085.
* Merge pull request #2027 from RyanDwyer/implement-floatingLibravatar Drew DeVault2018-06-01
|\ | | | | Implement floating
| * Fix changing borders on floating viewsLibravatar Ryan Dwyer2018-06-01
| |
| * Don't auto float xdg views if their dimensions are not setLibravatar Ryan Dwyer2018-06-01
| |
| * Fix mpv damage issue when unfullscreening into floatingLibravatar Ryan Dwyer2018-06-01
| |
| * Fix fullscreen position of xwayland viewsLibravatar Ryan Dwyer2018-06-01
| |
| * Fix crash when using multiple outputsLibravatar Ryan Dwyer2018-06-01
| |
| * Fix mouse warping interaction with layout coordsLibravatar Drew DeVault2018-06-01
| |
| * Consider floating views when calculating title heightLibravatar Ryan Dwyer2018-06-01
| |
| * Fix floating position when view is floated when mappedLibravatar Ryan Dwyer2018-06-01
| |
| * Adjust move command to account for changed coordinate systemLibravatar Ryan Dwyer2018-06-01
| |
| * Fix fullscreen positionLibravatar Ryan Dwyer2018-06-01
| |
| * Don't unmaximize floating viewsLibravatar Ryan Dwyer2018-06-01
| |
| * Fix getting adjacent outputLibravatar Ryan Dwyer2018-06-01
| |
| * Remove unfinished wants_floating implementation for xwaylandLibravatar Ryan Dwyer2018-06-01
| |
| * Don't let xwayland views set position unless unmanagedLibravatar Ryan Dwyer2018-06-01
| |
| * Use swayc rather than wlr_output when renderingLibravatar Ryan Dwyer2018-06-01
| |
| * Use surface size if xdg shell's geometry isn't setLibravatar Ryan Dwyer2018-06-01
| |
| * Implement wants_floating for xdg_shell and xdg_shell_v6Libravatar Ryan Dwyer2018-06-01
| |
| * Remove container_self_or_parent_floatingLibravatar Ryan Dwyer2018-06-01
| |
| * Rename container_set_geometry_from_viewLibravatar Ryan Dwyer2018-06-01
| |
| * Remove check for if floating view intersects outputLibravatar Ryan Dwyer2018-06-01
| |
| * Render floating views before top layer and unmanagedLibravatar Ryan Dwyer2018-06-01
| |
| * Store swayc coordinates as layout-localLibravatar Ryan Dwyer2018-06-01
| |
| * Add L_FLOATING back to debug treeLibravatar Ryan Dwyer2018-06-01
| |
| * Rename set_maximized functions to set_tiledLibravatar Ryan Dwyer2018-06-01
| |