Ryan Dwyer
2032f85d94
Simplify transactions by utilising 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.
7 years ago
Drew DeVault
dbeb03aa68
Merge pull request #2271 from RedSoxFan/implement-1569
...
Implement tap_button_map for input devices
7 years ago
Brian Ashworth
13c6627ddb
Implement tap_button_map for input devices
7 years ago
Drew DeVault
63f28bcf1e
Merge pull request #2244 from RyanDwyer/floating-resize
...
Implement resize command for floating views
7 years ago
Ryan Dwyer
0584ecec0a
Force min/max size when resizing floating containers
7 years ago
Ryan Dwyer
5940682f40
Implement resize grow|shrink <direction> <amount> or <amount>
7 years ago
Ryan Dwyer
558ca9fc28
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>
7 years ago
emersion
4e486a01bb
Merge pull request #2269 from minus7/swaybarbg-crash-on-dpms-resume
...
swaybar/bg: Fix crash on DPMS off
7 years ago
minus
c73a40555f
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.
7 years ago
Drew DeVault
e0e31418d4
Merge pull request #2267 from emersion/simplify-popup-constraints
...
Simplify popup_unconstrain
7 years ago
emersion
efda33b285
Simplify popup_unconstrain
...
Just use the parent output.
7 years ago
emersion
82c978d34b
Remove orbital screenshooter
7 years ago
Drew DeVault
671a202c94
Merge pull request #2260 from emersion/fix-has-opaque-lockscreen
...
Fix output_has_opaque_lockscreen
7 years ago
emersion
d88f1d2196
Fix output_has_opaque_lockscreen
7 years ago
Drew DeVault
bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
...
feature: scroll button option for input devices
7 years ago
Robert Kubosz
f8bc928b2d
add error handling for scroll button out of range
...
user will be informed if the scroll button indentifier values causes
underflow or overflow.
7 years ago
Ryan Dwyer
683a307151
Merge pull request #2255 from emersion/xwayland-floating-borders
...
Don't disable borders for xwayland floating views
7 years ago
Ryan Dwyer
53133fdefb
Merge branch 'master' into xwayland-floating-borders
7 years ago
Robert Kubosz
89db5b5716
expanded error detection for scroll button option
...
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.
7 years ago
Drew DeVault
da8149c066
Merge pull request #2253 from Hello71/issue2249
...
config.c: fix current_config uninit warning (#2249 )
7 years ago
Drew DeVault
447e1e6f8a
Merge pull request #2256 from emersion/xdg-positioner
...
Add xdg-positioner support
7 years ago
emersion
a96f1c22fe
Add xdg-positioner support
7 years ago
emersion
9b16227ec3
Don't disable borders for xwayland floating views
7 years ago
Alex Xu
fbecfc2d35
config.c: fix current_config uninit warning ( #2249 )
7 years ago
Robert Kubosz
094edcbea2
rm constraint for max value of button identifier
...
updated error message to be more adequate for current contraint
7 years ago
Robert Kubosz
20d6c7c2e4
add paragraph to sway-input man page
...
The added paragraph describes how to get button identifier and set it in
config.
7 years ago
Robert Kubosz
08edaf4e76
increase maximum value of button identifier
...
and also cleanup spaces
7 years ago
Brian Ashworth
abcc2ef9eb
Merge pull request #2250 from RyanDwyer/fix-crash
...
Fix crash when launching swaylock
7 years ago
Ryan Dwyer
ee0e1b170e
Fix crash in seat code
...
Container will be NULL if launching swaylock.
7 years ago
Drew DeVault
106a9eaf11
Merge pull request #2235 from emersion/wlr-surface-role
...
Update for swaywm/wlroots#1116
7 years ago
emersion
60fdb71a1f
Updates for swaywm/wlroots#1116
7 years ago
Drew DeVault
2bc18d8cf7
Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows
...
fix crash on floating windows
7 years ago
Robert Kubosz
41b80c28df
add scroll button option
...
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.
7 years ago
emersion
588abbb128
Merge pull request #2245 from RyanDwyer/floating-minmax-size
...
Implement floating_minimum_size and floating_maximum_size
7 years ago
dudemanguy
600c126150
fix crash on floating windows
7 years ago
Ryan Dwyer
f2d1cf3ceb
Implement floating_minimum_size and floating_maximum_size
7 years ago
emersion
73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
...
Use saved buffer when fullscreen view is in a transaction
7 years ago
Drew DeVault
edfe42032c
Merge pull request #2240 from RedSoxFan/implement-1961
...
Implement swaylock customization flags
7 years ago
Drew DeVault
00daa17446
Merge pull request #2242 from RyanDwyer/floating-zindex
...
Move floating windows to front when focused
7 years ago
Ryan Dwyer
3b50a2a3af
Use saved buffer when fullscreen view is in a transaction
...
Fixes #2237 .
7 years ago
Ryan Dwyer
15dc5286e2
Move floating windows to front when focused
7 years ago
emersion
0f14abf512
Merge pull request #2241 from rustysec/master
...
fix tabbed titlebar widths
7 years ago
russ morris
6ae1004cd1
removed unnecessary parens
7 years ago
russ morris
c06266e12d
fix line lengths
7 years ago
russ morris
b9d8ecc548
tabs instead of spaces
7 years ago
Brian Ashworth
22d152f1fe
Change formatting of swaylock usage in the code
7 years ago
Brian Ashworth
936a920a8e
Implement swaylock customization flags
7 years ago
russ morris
89c25dd149
fix tabbed titlebar widths
7 years ago
Drew DeVault
60bba5a961
Merge pull request #2233 from emersion/remove-clipboard
...
Remove `clipboard` command and `get_clipboard` message
7 years ago
emersion
ba3511b243
Remove `clipboard` command and `get_clipboard` message
7 years ago