aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-07-28Merge pull request #793 from thejan2009/workspace_layout_first_window_fixDrew DeVault
bugfix: invisible windows on empty workspace with tabbed/stacked layout
2016-07-28Merge pull request #791 from acrisci/feature/focus-childDrew DeVault
Implement `focus child` command
2016-07-28Merge pull request #792 from ↵Drew DeVault
acrisci/feature/render-focused-stack-children-focused Render focused stack/tab children focused
2016-07-28Close all focused container's child views on killD.B
Previously, cmd_kill only closed a focused view, while containers were not affected. Now it closes all views that are children of the focused container.
2016-07-28bugfix: windows on empty workspaces with layout tabbed/stacked would spawn ↵D.B
with 0x0 geometry
2016-07-27Render focused stack/tab children focusedTony Crisci
Whenever a stacked or tabbed container has focused, paint the titlebars of all its child windows to be focused as well to indicate the parent stack/tab container has the focus.
2016-07-27Implement `focus child` commandTony Crisci
The `focus child` command focuses the child container within the selected container.
2016-07-27bugfix: set focus to workspace of an outputTony Crisci
In `move_focus()`, when given an output, set the focus to the workspace of that output instead of the output itself. This fixes a bug that did not allow users to switch between outputs introduced in afc6ad6. It also fixes other issues before that commit when a workspace with children was selected and the user tried to switch focus in the direction of another output.
2016-07-27bugfix: cmd focus parent don't set focus above wsTony Crisci
In the `focus parent` command, do not set focus above the workspace level. These containers are not meant to be focused. This prevents a crash on repeated `focus parent` commands.
2016-07-23Put ipc command result json in an arrayTony Crisci
For compatibility with i3, put the command result into an array. Returning multiple command results is still unsupported.
2016-07-23don't passthrough a floating_scroll event to focused windowD.B
2016-07-23Merge pull request #779 from thejan2009/smart-gaps-outerDrew DeVault
Hide outer gaps too when smart_gaps is on
2016-07-22properly hide bottom and right bordersD.B
2016-07-21fix regression in hide_edge_bordersZandr Martin
2016-07-21outer gap 0 with smart_gaps onD.B
2016-07-21rename ws to workspace for clarityD.B
2016-07-21calculate borders for hiding from workspace geometryD.B
2016-07-21Arrange backgrounds only when requiredMykyta Holubakha
2016-07-21Handle transient_forMykyta Holubakha
2016-07-21Unite describe_view and describe_windowMykyta Holubakha
2016-07-21Fix dispatching and assigning eventsMykyta Holubakha
2016-07-21More progress on window eventsMykyta Holubakha
2016-07-21Initial work on window eventsMykyta Holubakha
2016-07-21Remove arrange_windows from post-renderDrew DeVault
Fixes #741
2016-07-18clean up apply_input_configminus
2016-07-18Move backgrounds to back after arrange_windowsDrew DeVault
Fixes #769
2016-07-18Merge pull request #764 from deklov/move-position-bug-02Drew DeVault
Do not crash when handling the command 'move position'
2016-07-18Construct titles of nested tabbed/stacked containers from app_id instead of ↵D.B
title
2016-07-17Add missing entry to list of accepted arguments for the move commandDavid Eklov
2016-07-17Do not crash when handling the command 'move position'David Eklov
Sway expected 'move position' to be 'move position mouse'. If mouse is not present in the command, Sway crashes.
2016-07-17Fix clang warningDrew DeVault
2016-07-17Fix bug with views behind backgrounds on ws switchDrew DeVault
2016-07-17Turn swaybg into a shell surfaceDrew DeVault
2016-07-17Implement configurable wrapping on bar ws scrollDrew DeVault
2016-07-17Allow users to customize the cursor on clientsDrew DeVault
This also sets the default size to 16 and documents all of the other environment variables in use in sway(1).
2016-07-17Fix a memory leakHummer12007
2016-07-16refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵D.B
where needed
2016-07-14Set panels' geometries correctly and don't render them explicitlyDavid Eklov
Panels were explicitly rendered by calling wlc_surface_render in handle_output_pre_render. Calling wlc_surface_render does not set the surface's geometry (like wlc_view_set_geometry does). Sway did not call wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at the origin. This is not correct for bars unless their location is top. Furthermore, for a surface to receive pointer events, its mask has to be set to visible. This causes wlc to render these surfaces, causing panels and backgrounds to be rendered twice. This commit makes panels and surfaces visible, sets the correct geometries and removes the code that explicitly rendered them.
2016-07-14Don't treat backgrounds as shell surfacesDavid Eklov
This code had some issues. Remove it now so that we can start clean and fix it later.
2016-07-15Suspend destruction of wss when creating viewsMykyta Holubakha
2016-07-15Spawn new views to target ws's focused containerMykyta Holubakha
2016-07-12Fix build on x86Mykyta Holubakha
2016-07-07Fix tabbed/stacked corner case #742D.B
Tabbed/stacked containers are now created only if a view is present on the workspace. If a view is created on previously empty tabbed/stacked workspace, it gets wrapped in a container.
2016-07-05get_tree json fixesZandr Martin
- null pointer check against container names - use actual json null values instead of "null" strings - add "visible" property to all containers
2016-07-04Enable backgrounds and panels to be shell surfacesDavid Eklov
Prior to this commit all windows (e.g. shell surfaces) were handled the same way in handle_view_created. Since backgrounds and panels have to be treated differently, they could not be shell surfaces. This changes checks whether a client is a background or a panel in handle_view_created and exists to let them be dealt with elsewhere.
2016-07-04I think this fixes #678Zandr Martin
2016-07-04Merge branch 'master' into get-tree-commandZandr Martin
2016-07-04fix typo in ipc-json.cZandr Martin
2016-07-04implement `get_tree` commandZandr Martin
2016-07-03resize command updates (#713)Zandr Martin