| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This code had some issues. Remove it now so that we can start clean and fix
it later.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- null pointer check against container names
- use actual json null values instead of "null" strings
- add "visible" property to all containers
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Fixes #604
|
|
|
|
| |
This patch also makes all global variable in log.c static.
|
|
|
|
| |
Fixes #714, by preventing change of focus from a window to the whole ws
|
| |
|
|
|
|
| |
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
|
|\ |
|
| | |
|
|/ |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This should fix the issue #681
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Escape line return when reading from a file with the '\' character.
Similar to shell scripts.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Escape line return in configuration file with the '\' character. Similar
to shell scripts.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
variables_corner_cases
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This should fix the corner case where a variable is not assigned, but used anyway.
This should solve partially the issue #681.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |_|_|/
|/| | | |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
add documentation for client commands
|
| | |/
| |/| |
|
|/ / |
|
|/
|
|
| |
also change sort_workspaces() to use it
|
|\
| |
| |
| | |
Merge branch 'master' of https://github.com/SirCmpwn/sway into floating_size_conf
|
| | |
|
|/ |
|
| |
|
| |
|