| Commit message (Collapse) | Author | Age |
| |
|
|\
| |
| | |
Make focus part of transactions
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Rather than maintain copies of the entire focus stack, this PR
transactionises the focus by introducing two new properties to the
container state and using those when rendering.
* `bool focused` means this container has actual focus. Only one
container should have this equalling true in its current state.
* `struct sway_container *focus_inactive_child` points to the immediate
child that was most recently focused (eg. for tabbed and stacked
containers).
|
|\
| |
| | |
Simplify transactions by using a dirty flag on containers
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR changes the way we handle transactions to a more simple method.
The new method is to mark containers as dirty from low level code
(eg. arranging, or container_destroy, and eventually seat_set_focus),
then call transaction_commit_dirty which picks up those containers and
runs them through a transaction. The old methods of using transactions
(arrange_and_commit, or creating one manually) are now no longer
possible.
The highest-level code (execute_command and view implementation
handlers) will call transaction_commit_dirty, so most other code just
needs to set containers as dirty. This is done by arranging, but can
also be done by calling container_set_dirty.
|
|\ \
| | |
| | | |
Remove orbital screenshooter
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add extended debugging flags
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
We currently have several ways of setting debug flags, including command
line arguments, environment variables, and compile-time macros. This
replaces the lot with command line flags.
|
|\ \ \
| |_|/
|/| | |
Implement tap_button_map for input devices
|
|/ / |
|
|\ \
| | |
| | | |
Implement resize command for floating views
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Implements the following for floating views:
* resize set <width> <height>
* resize <grow|shrink> <width|height|up|down|left|right> <amount>
|
|\ \
| | |
| | | |
swaybar/bg: Fix crash on DPMS off
|
|/ /
| |
| |
| |
| | |
When turning off displays via DPMS, swaybar and swaybg still tried to
render, but did not get a valid buffer, causing them to crash.
|
|\ \
| |/
|/| |
Simplify popup_unconstrain
|
|/
|
|
| |
Just use the parent output.
|
|\
| |
| | |
Fix output_has_opaque_lockscreen
|
|/ |
|
|\
| |
| | |
feature: scroll button option for input devices
|
| |
| |
| |
| |
| | |
user will be informed if the scroll button indentifier values causes
underflow or overflow.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the scroll_button will not accept:
- letters on string beginning;
- negative numbers.
What is tolerated:
- letters after number;
- rational numbers: the fraction after dot will be omitted.
|
| |
| |
| |
| | |
updated error message to be more adequate for current contraint
|
| |
| |
| |
| |
| | |
The added paragraph describes how to get button identifier and set it in
config.
|
| |
| |
| |
| | |
and also cleanup spaces
|
| |
| |
| |
| |
| |
| | |
This commit introduces a scroll_button option, which is intended to be
used with scroll_method. Now user can edit his sway config and add an
scroll_button option to device section.
|
|\ \
| | |
| | | |
Don't disable borders for xwayland floating views
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
config.c: fix current_config uninit warning (#2249)
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add xdg-positioner support
|
|/ / / |
|
|/ / |
|
|\ \
| | |
| | | |
Fix crash when launching swaylock
|
|/ /
| |
| |
| | |
Container will be NULL if launching swaylock.
|
|\ \
| | |
| | | |
Update for swaywm/wlroots#1116
|
|/ / |
|
|\ \
| |/
|/| |
fix crash on floating windows
|
| | |
|
|\ \
| |/
|/| |
Implement floating_minimum_size and floating_maximum_size
|
|/ |
|
|\
| |
| | |
Use saved buffer when fullscreen view is in a transaction
|
| |
| |
| |
| | |
Fixes #2237.
|
|\ \
| | |
| | | |
Implement swaylock customization flags
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Move floating windows to front when focused
|