| Commit message (Collapse) | Author | Age |
|
|
|
| |
Also remove some unnecessary strtup()s and rename a few variables and functions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This reverts commit 99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb.
It turned out that code to handle swaybg as shell surface was broken so we don't
want to make swaybg a shell surface until this has been fixed.
|
|\
| |
| | |
Spawn new views to target ws's focused container
|
| | |
|
|/ |
|
|\
| |
| | |
swaylock: Add -f option to detach from the controlling terminal, fixe…
|
| | |
|
|\ \
| | |
| | | |
Enable using non-annotated tags in git-describe
|
|/ /
| |
| | |
This fixes the version string
|
|\ \
| | |
| | | |
clang-format configuration for Sway's style as detailed in CONTRIBUTI…
|
| |/
| |
| |
| |
| |
| | |
CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The
kernel uses a column limit of 80 characters. The de facto syle in Sway is to
allow for wider lines so this format file does not enforce an 80 column limit.
|
|\ \
| |/
|/| |
Fix build on x86
|
|/ |
|
|\
| |
| | |
Fix tabbed/stacked corner case #742
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Enable windows to register to get notified of pointer button events
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
get_tree json fixes
|
|/
|
|
|
|
| |
- null pointer check against container names
- use actual json null values instead of "null" strings
- add "visible" property to all containers
|
|\
| |
| | |
Make swaybar and swaybg shell surfaces, take 2
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\|
| |
| | |
I think this fixes #678
|
|/ |
|
|\
| |
| | |
implement `get_tree` command
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Create .editorconfig
|
|/ / |
|
|\ \
| | |
| | | |
Set size command
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/ /
|/| | |
|
| |\ \
| | | |
| | | |
| | | | |
set-size-command
|
| |\ \ \ |
|
| | | | | |
|
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes #604
|
|\ \ \ \
| | | | |
| | | | | |
Add get_log_level() to encapsulate v (current log level)
|
| | | | |
| | | | |
| | | | |
| | | | | |
This patch also makes all global variable in log.c static.
|
|\| | | |
| | | | |
| | | | | |
Bug fix: Add missing header file, unistd.h
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Without unistd.h the following functions getuid, alarm and
close are implicitly declared causing compilation to fail due to
-Werror=implicit-function-declaration
|