Age | Commit message (Collapse) | Author |
|
|
|
We will need to overhaul this for 1.0
|
|
|
|
|
|
|
|
|
|
Overhaul criteria implementation
|
|
cmd_move_container: Focus a window on the source workspace.
|
|
Allow setting border widths for normal borders using default_border.
|
|
In Sway 0.15, moving a window to another workspace would cause a window on the source workspace to be focused. This restores that behavior, allowing you to quickly move a lot of windows to another workspace.
|
|
In Sway 0.15, `default_border normal 1` would set 1px wide borders. This recreates that behavior.
|
|
|
|
|
|
The criteria struct now uses properties for each token type rather than
the list_t list of tokens. The reason for this is that different token
types have different data types: pcre, string and number to name a few.
This solution should be more flexible moving forward. A bonus of this is
that criteria is now easier to understand when looking at the struct
definition.
The criteria parser has been rewritten because the previous one didn't
support valueless pairs (eg. [class="foo" floating]).
Criteria now has types. Types at the moment are CT_COMMAND,
CT_ASSIGN_WORKSPACE and CT_ASSIGN_OUTPUT. i3 uses types as well.
Previously the assign command was creating a criteria with 'move to
workspace <name>' as its command, but this caused the window to appear
briefly on the focused workspace before being moved to the assigned
workspace. It now creates the view directly in the assigned workspace.
Each view will only execute a given criteria once. This is achieved by
storing a list of executed criteria in the view. This is the same
strategy used by i3.
Escaping now works properly. Previously you could do things like
[class="Fire\"fox"] and the stored value would be 'Fire\"fox', but it
should be (and now is) 'Fire"fox'.
The public functions in criteria.c are now all prefixed with criteria_.
Xwayland views now listen to the set_title, set_class and
set_window_type events and criteria will be run when these happen. XDG
shell has none of these events so it continues to update the title in
handle_commit.
Each view type's get_prop function has been split into get_string_prop
and get_int_prop because some properties like the X11 window ID and
window type are numeric.
The following new criteria tokens are now supported:
* id (X11 window ID)
* instance
* tiling
* workspace
|
|
Highlight all child borders when using focus parent
|
|
|
|
Implement full damage tracking
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
layer-shell: use usable_area when arranging non-exclusive layer surfaces
|
|
Use reasonable default for font height
|
|
Fixes #1949
|
|
|
|
Fix null deref in server_init
|
|
If the backend fails to be created, log an error and immidiately return
from server_init.
|
|
Fix titles on rotated outputs
|
|
|
|
Swaybar: Respect pango_markup config
|
|
If the output is rotated, the scissor box needs to be transformed in the
opposite rotation.
|
|
Makes swaybar respect the user's pango_markup configuration in the
workspace buttons and binding mode indicator.
|
|
Update xwayland start for new API
|
|
swaybg: remove assertions with side-effects
|
|
Update layer-shell protocol
|
|
|
|
|
|
https://github.com/swaywm/wlroots/pull/959
|
|
meson.build: Try looking for `pam` when `libpam` isn't found.
|
|
See #1920 for more information.
|
|
Revert PR #1881
|
|
This reverts commit f2c209c299889ad965ac995049704b1c46176c6d.
|
|
This reverts commit 7709340727fe2834f87b43aeeaef878694d5acd6.
|
|
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
|
|
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
|
|
process"
This reverts commit 177c67e6b89404d9d477b82c00c1353cd4696096.
|
|
This reverts commit b4249166f309a46c15dd3a5734594aee961b723b.
|