| Commit message (Collapse) | Author | Age |
|\
| |
| | |
Fix window_type with disabled xwayland support
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
FreeBSD fixes
|
| | | |
|
| |\| |
|
| | |
| | |
| | |
| | |
| | | |
Privilege dropping works on FreeBSD too, so only the caps parts need to
be Linux-only.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rootston calls "wlr_xwayland_destroy" and "wl_display_destroy_clients"
on shutdown, but these were not called by Sway. Without them, Sway
crashes on exit before the display destroy event handler could be
called. This causes two problems:
- The TTY is not reset, and it locks up after exiting Sway.
- drmDropMaster is not called, and the implicit drop (that should
occur when the DRM fd is closed) seems not to be working in some
scenarios (e.g. if you have a tmux session running - maybe the fd
is retained somehow by tmux?). In other words, it you exit Sway,
you can't start it (or any other program that wants to be DRM
master) again until you close all your tmux sessions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "login" PAM configuration means somathing entirely different on
FreeBSD than on Linux: if you try to authenticate as the calling user,
it OKs the request without prompting for password. The "passwd" config
implements the desired functionality, therefore it should be used by
swaylock.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SYSCONFDIR is used to determine the path of the default configuration
file. 'sysconfdir' is set to 'prefix/sysconfdir' later (on line 139),
so configuration files are installed under 'prefix', but SYSCONFDIR did
not reflect it.
|
| | |
| | |
| | |
| | |
| | | |
FreeBSD does not have libcap, so without "required: false" Sway fails
to build.
|
| | |
| | |
| | |
| | |
| | | |
On FreeBSD, snprintf and vsnprintf are visible only if
_XOPEN_SOURCE >= 600.
|
|\ \ \
| | | |
| | | | |
fix misaligned integer stores/loads
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix crash when a splash screen opens on an empty workspace
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Do not modeset disabled outputs
|
| |\ \ \
| |/ / /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add meson option for LD_LIBRARY_PATH
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Implement focus_on_window_activation
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Depends on https://github.com/swaywm/wlroots/pull/1223
|
|\ \ \ \
| | | | |
| | | | | |
Check modal state when determining whether an xwayland view should float
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Depends on https://github.com/swaywm/wlroots/pull/1222.
I don't know of a program that sets the state to modal without setting
the window type, but I know the modal property works because logging the
property shows it's true for the Firefox Open File dialog.
|
|\ \ \ \
| |_|/ /
|/| | | |
Update for swaywm/wlroots#1216
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix crash when running deferred commands
|
| | |/
| |/|
| | |
| | | |
Fixes #2541
|
| |/
|/| |
|
|\ \
| | |
| | | |
Fix crash on reload
|
| | |
| | |
| | |
| | |
| | | |
This fixes a crash if you have commands where reload appears in the
middle or at the end, such as `bindsym r mode default, reload`.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If sway is reloaded using a bindsym which has multiple commands, it
failed to detect the reload command, didn't create a duplicate of the
binding and would crash because the reload command frees the bindings.
For example:
mode system {
bindsym r reload, mode default
}
In this example, the binding->command is "reload, mode default".
Fixes #2545
|
|\ \ \
| | | |
| | | | |
Implement deprecated new_window and new_float commands
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
May as well make it as easy as possible for users who are coming from
i3.
This also changes the `border` command to accept a thickness when
setting the border to normal. This makes it work the same way as the
`default_border` command. Eg. `border normal 5`
|
|\ \ \
| |/ /
|/| | |
Implement window_type criteria token
|
|/ / |
|
|\ \
| |/
|/| |
Don't send never-ending transactions when a focused layer surface commits
|
|/
|
|
|
|
|
|
|
|
|
| |
This moves the arrange_windows call into the arrange_layers function,
where we know the output actually needs to be arranged.
Additionally, we shouldn't set focus to the parent of an unknown
container type, because the parent may be an output and this causes a
crash because outputs can't have direct focus.
Fixes #2543
|
|\
| |
| | |
commands: fix exec quoting
|
| | |
|
|\ \
| |/
|/| |
Don't use bitfield to test for similar transactions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When there's multiple transactions in the queue, sway can take a
shortcut by checking if they all operate on the same set of containers.
If they do, it can skip all but the last transaction. The way we tested
for transactions which used the same containers was to exclusive-or
their con IDs together, but this has proved not only to be ineffective
but also has the potential to make sway crash.
This patch replaces the exclusive-or with a loop and container
comparison.
|
|\ \
| | |
| | | |
Fix rendering of nested tabs
|
|/ /
| |
| |
| | |
The C_CONTAINER check needs to apply to C_VIEW as well.
|
|\ \
| | |
| | | |
Fix crash when reaping a workspace
|
|/ /
| |
| |
| | |
It wasn't returning the surviving container.
|
|\ \
| |/
|/| |
Fix workspace tabs
|