aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
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
2016-07-03match i3 syntax for `resize set`Zandr Martin
2016-06-30Spawn windows as floating if they have a parentDrew DeVault
Fixes #604
2016-06-27Add get_log_level() to encapsulate v (current log level)David Eklov
This patch also makes all global variable in log.c static.
2016-06-21Check if found ws is focused in new view handlerMykyta Holubakha
Fixes #714, by preventing change of focus from a window to the whole ws
2016-06-19Minor fix to warning messagesDrew DeVault
2016-06-18Added a null check in tabbed_stacked_parentHummer12007
This fixes a segfault, when trying to get parent of the workspace/root container/(?), as it is not assuered that the view's parent node is not null in the loop
2016-06-11Merge branch 'master' into set-size-commandZandr Martin