Age | Commit message (Collapse) | Author |
|
After issuing 'layout toggle split' command from tabbed/stacked layout,
layout should have been horizontally split.
|
|
|
|
This commit removes has_* booleans from bar color struct. It also
generalizes of functions in commands/bar/colors.c.
|
|
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some users may want to switch buttons on their input devices, turns out
libinput already supports it. Let's add a support for it in our config.
Signed-off-by: Michał Winiarski <knr@hardline.pl>
|
|
|
|
This does two important things when using alpha:
1. At corners, borders don't double in opacity
2. Foreground elements (text) can be made transparent and you can see
fully through to the wallpaper
|
|
SirCmpwn/revert-948-floating-titlebar-click"
This reverts commit 857eea8b6355deff7a12edd8b733f8057210142a, reversing
changes made to ce713efcd23b82a7d85c1976ddfbd46f08133ff6.
|
|
|
|
|
|
Fixes dealing with workspace_layout and related bugs [rfc]
|
|
|
|
Add swayc_change_layout function, which changes either layout or
workspace_layout, depending on the container type. Workspace being
always L_HORIZ makes this much more i3-compatible.
|
|
If workspace has stacked/tabbed layout, its direct children should be
wrapped into a container which enables them to draw the titlebar.
|
|
|
|
|
|
fix for_window [] move scratchpad
|
|
Fix border color for floating containers
|
|
- move wlc_view_set_mask before applying window criteria
- check parent_container because container in scratchpad doesn't have a
parent
|
|
|
|
|
|
If we want to add a sibling of different type than current
container it failed. Because we add it to the wrong list
|
|
af44154 forget one "get_text_size" made it possible to
do a format string by setting title bar.
|
|
It will also wrap if needed.
|
|
|
|
Introduces container wrapping - if there is no other viable move, the
selection wraps on the first container where such action is possible.
|
|
- Check null pointer for swayc_parent_by_type
- Split lines to follow coding style
|
|
|
|
prevent dereference of freed workspace
|
|
|
|
|
|
|
|
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.
|
|
|
|
Split setgid and setuid, add privilege check [RFC]
|
|
add unique IDs to containers
|
|
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.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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.
|