| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
This is necessary because commands in the config file (mode for
instance) emit ipc events, and if ipc_init has not been called the
ipc_clients_list is not initialized, and we segfault. This fixes that
bug.
|
| |
|
|
|
|
| |
Fixes #910. There were some missing multiplications with window->scale.
|
|\
| |
| | |
Split setgid and setuid, add privilege check [RFC]
|
| |
| |
| |
| |
| |
| |
| | |
This commit deals with issue #884. I consulted the following sources:
https://www.securecoding.cert.org/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
and
https://www.securecoding.cert.org/confluence/display/c/POS37-C.+Ensure+that+privilege+relinquishment+is+successful
|
|\ \
| | |
| | | |
add unique IDs to containers
|
| |/ |
|
|\ \
| |/
|/| |
Implement default name for workspace command
|
|/
|
|
|
|
|
|
|
| |
This implements commands such as:
workspace number 9: test
If a workspace with the given number exists then it will be focused,
otherwise a new workspace with the given name will be created.
|
|\
| |
| | |
implement "focused container" option for swaygrab
|
|/ |
|
|\
| |
| | |
fix get_workspaces json reply
|
|/ |
|
|\
| |
| | |
fix view focus property in get_tree json
|
|/ |
|
|\
| |
| | |
add global `current_focus` pointer
|
|/ |
|
|\
| |
| | |
Fix swaybar when running on named outputs.
|
|/
|
|
|
|
|
|
|
|
| |
When using a bar on a named output, load_swaybars() requires the
output to be active (ie. in the root container), but this is not the case if
the bar is added to the last output. To fix this, load_swaybars() is now
called after the output has been added to the root container.
After fixing that, swaybar would segfault due to using the wrong index
variable when loading outputs and config.
|
|\
| |
| | |
document `workspace_auto_back_and_forth` command
|
|/ |
|
|\
| |
| | |
Put workspace name in quotes (swaybar ipc)
|
|/
|
|
| |
fixes #894
|
|\
| |
| | |
Use indicator border color only when needed.
|
|/
|
|
|
|
| |
Indicator border color is now used only when a container is the only
child. Reason for the change? i3 does it this way. Sway container
borders are now a bit more similar to i3 ones.
|
|\
| |
| | |
fix pango markup on swaybar
|
|/ |
|
|\
| |
| | |
merge resize.c into commands/resize.c
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Move views between outputs
|
|/
|
|
|
|
|
|
|
| |
This patch makes it possible to move views between outputs using the
`move left|right|up|down` commands.
It behaves similar to i3 with one important difference. The focus will
always follow the view being moved, unlike i3 where the focus doesn't
always follow the view to a new output (I assume that's a bug in i3).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This adds HiDPI support to swaybar, swaybg, and swaylock.
|
| |
|
|
|
|
| |
Closes #852
|
|\
| |
| | |
refactor commands.c
|
| | |
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Correct `hide_edge_borders` command
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
`vertical` and `horizontal` should be swapped.
If border_left and border_right were set to 0, the vertical borders
instead of the horizontal borders would be hidden.
i3 handles this command equally.
|
| |
| |
| |
| | |
Fixes #875
|
| | |
|
|\ \
| | |
| | | |
document `orientation` command
|