| Commit message (Collapse) | Author | Age |
... | |
|\ \
| | |
| | | |
FreeBSD fixes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR #2855 basically hardcodes the config file path to /etc, which is a
problem on e.g. FreeBSD, where the expected path for config files of
non-base software is '/usr/local/etc'.
Meson sets sysconfdir to '/etc' explicitly only when prefix is '/usr',
so it is still possible to use '/usr/local' as prefix, and install the
config files under '/usr/local/etc'. This commit allows to do that by
setting sysconfdir based on the value of prefix.
|
| |/
| |
| |
| |
| | |
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of
POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
|
|\ \
| | |
| | | |
Fix crashes when running certain commands on an empty workspace
|
| |/
| |
| |
| |
| | |
This fixes crashes when running the border, mark, unmark and
title_format commands on an empty workspace.
|
|\ \
| | |
| | | |
Fix mouse warping container
|
| | |
| | |
| | |
| | |
| | |
| | | |
If the cursor is warped during the destruction of the workspace, we end up in
the wrong position. Warp the cursor after arrange_workspace() so we end up in
the correct position.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The new functions allow a cursor to be warped without changing the focus.
This is a preparation commit to handle cursor warping not only in
seat_set_focus_warp.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For mouse_warping cursor to correctly work on newly spawned containers,
the workspace needs to be arranged before the cursor is warped.
The shell functions each implement their own fullscreen and arrange checks,
move them into the view_map function and pass their states via boolean arguments.
Fixes #2819
|
|\ \ \
| |_|/
|/| | |
Fix overflow in strcpy
|
|/ / |
|
|\ \
| | |
| | | |
swaynag: Truncate message to 2048 chars.
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Make SYSCONFDIR FHS compliant when "prefix" is set
|
| | | |
| | | |
| | | |
| | | |
| | | | |
SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant.
This is the default in meson from v0.44.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This reverts commit 6942f5b6845b2cc572ec378365771a34caf50ba1.
SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant.
This is the default in meson from v0.44.
|
|\ \ \
| | | |
| | | | |
Fix crash when using workspace back_and_forth with no previous
|
|/ / / |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Increase buffer size, remove macros.
Make variables lowercase.
Some more feedback.
|
|\ \
| | |
| | | |
Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix swaylock version string
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
The referenced constants were not defined so it always printed "version
unknown".
Also it would exit with code 1. It now exits with code 0.
|
|\ \ \
| | | |
| | | | |
Sway clients: Exit gracefully when compositor is unavailable
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix crash in swap command
|
|/ / /
| | |
| | |
| | |
| | | |
When swapping containers that are in the root of the workspace, parent
will be NULL.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we would compare the last focus's workspace with the new
focus's workspace to determine if we need to emit an IPC
workspace::focus event. This doesn't work when moving the focused
container to a new workspace.
This adds a workspace property to the seat which stores the last emitted
workspace::focus workspace. Using this method, after moving the
container, refocusing it will trigger exactly one workspace::focus
event: from the old workspace to the new workspace.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces seat_set_raw_focus: a function that manipulates the
focus stack without doing any other behaviour whatsoever. There are a
few places where this is useful, such as where we set focus_inactive
followed by another call to set the real focus again. With this change,
the notify argument to seat_set_focus_warp is also removed as these
cases now use the raw function instead.
A bonus of this is we are no longer emitting window::focus IPC events
when setting focus_inactive, nor are we sending focus/unfocus events to
the surface.
This also fixes the following:
* When running `move workspace to output <name>` and moving the last
workspace from the source output, the workspace::focus IPC event is no
longer emitted for the newly created workspace.
* When splitting the currently focused container, unfocus/focus events
will not be sent to the surface when giving focus_inactive to the newly
created parent, and window::focus events will not be emitted.
|
|\ \
| | |
| | | |
Establish sway-output(5)
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Implement common event loop for swaybar and swaylock
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
timerfd doesn't work on the BSDs, so this replaces it with a timespec
for the expiry and uses a poll timeout to check the timers when needed.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* The loop functions are now prefixed with `loop_`.
* It is now easy to add timers to the loop.
* Timers are implemented using pollfd and timerfd, rather than manually
checking them when any other event happens to arrive.
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Bar mode/hidden_state events
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, when the bar was hidden, the height would be set to 0.
This meant that if the bar was empty upon reshow, it would not render
since the height was still 0, which made it seem there was a problem.
Now, the height is not reset, but the width is, to indicate upon reshow
that the layer surface needed reconfiguring.
|
| | | |
|
| | | |
|