| Commit message (Collapse) | Author | Age |
... | |
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Add mouse_warping container
|
| |\ \ \
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix floating click events
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Set focus to a floating container when clicking its title bar.
* Raise floating when user clicks title bar or decorations (in the
seat_begin functions).
* In container_at, it only returned a floating container if the user had
clicked the surface. This makes it use floating_container_at instead.
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This option always moves the cursor into the middle of the container if the warp
variable is true in seat_set_focus_warp.
Fixes #2577
|
|\ \ \ \
| |/ / /
|/| | | |
Fix program name in version strings
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When running swaymsg -v, the version returned is actually the version of
swaymsg itself, yet the message displayed was "sway version <version>".
This can create confusion if users update sway and swaymsg but don't
restart sway, then use swaymsg to check the version.
This patch changes the wording to be "swaymsg version <version>"
instead, and likewise for swaybar.
To get the version of a running sway instance, users should run swaymsg
-t get_version.
|
|\ \ \
| | | |
| | | | |
Fix back_and_forth documentation
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
Fix undesirable height change of floating views
|
|/ /
| |
| |
| |
| |
| |
| | |
In view_autoconfigure the height of the view is adjusted if the parent
container has a tabbed/stacked layout. Previously this height change
would also be applied to floating views, although it is not needed for
them.
|
|\ \
| | |
| | | |
resize: Determine if anything changed using before/after check
|
| | |
| | |
| | |
| | |
| | |
| | | |
Returning a boolean from container_resize_tiled and resize_tiled doesn't
work in all cases. This patch changes it back to void and does a
before/after check to see if the container was resized.
|
|\ \ \
| |/ /
|/| | |
Only consider tiling views for gaps outer
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \
| |/
|/| |
config: remove double free of config->swaynag_command
|
|/
|
|
| |
Fixes #2796
|
|\
| |
| | |
Only damage popups when popups have damage
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The previous behaviour was to damage the entire view, which would
recurse into each popup. This patch makes it damage only the popup's
surface, and respect the surface damage given by the client.
This adds listeners to the popup's map and unmap events rather than
doing the damage in the create and destroy functions. To get the popup's
position relative to the view, a new child_impl function get_root_coords
has been introduced, which traverses up the parents.
|
|\ \
| | |
| | | |
Implement popup_during_fullscreen
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
commands: when setting urgency, check container is not null
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Allow swaynag to be disabled
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Allow swaybg to be disabled
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Same as #2791 but for swaybg.
Fixes #2790
|
|\ \ \ \
| |/ / /
|/| | | |
Check if there is a current container before setting its opacity
|
|/ / / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces a new view_impl function: is_transient_for. Similar to
container_has_ancestor but works using the surface parents rather than
the tree.
This patch modifies view_is_visible, container_at and so on to allow
transient views to function normally when they're in front of a
fullscreen view.
|
|\ \
| | |
| | | |
swaybar: allow null status_command
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Sway sets a default status_command which runs date every second. This
patch removes this behaviour so the user can have a NULL status bar if
desired.
I had to swap swaybar's event_loop_poll and wl_display_flush so that it
would map the initial surface.
|
|\ \
| | |
| | | |
Reload config using idle event
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch makes it so when you run reload, the actual reloading is
deferred to the next time the event loop becomes idle. This avoids
several use-after-frees and removes the workarounds we have to avoid
them.
When you run reload, we validate the config before creating the idle
event. This is so the reload command will still return an error if there
are validation errors. To allow this, load_main_config has been adjusted
so it doesn't apply the config if validating is true rather than
applying it unconditionally.
This also fixes a memory leak in the reload command where if the config
failed to load, the bar_ids list would not be freed.
|
|\ \
| | |
| | | |
Shim client.background and client.placeholder
|
|/ /
| |
| |
| |
| |
| |
| | |
These are not supported by sway, but are valid i3 commands and should not
cause config errors.
Also includes a couple of minor touch-ups.
|