Drew DeVault
b1afcc69fa
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.
6 years ago
Brian Ashworth
13c6627ddb
Implement tap_button_map for input devices
6 years ago
Ryan Dwyer
0584ecec0a
Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer
5940682f40
Implement resize grow|shrink <direction> <amount> or <amount>
6 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>
6 years ago
emersion
efda33b285
Simplify popup_unconstrain
...
Just use the parent output.
6 years ago
emersion
d88f1d2196
Fix output_has_opaque_lockscreen
6 years ago
Drew DeVault
bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
...
feature: scroll button option for input devices
6 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.
6 years ago
Ryan Dwyer
53133fdefb
Merge branch 'master' into xwayland-floating-borders
6 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.
6 years ago
Drew DeVault
da8149c066
Merge pull request #2253 from Hello71/issue2249
...
config.c: fix current_config uninit warning (#2249 )
6 years ago
emersion
a96f1c22fe
Add xdg-positioner support
6 years ago
emersion
9b16227ec3
Don't disable borders for xwayland floating views
6 years ago
Alex Xu
fbecfc2d35
config.c: fix current_config uninit warning ( #2249 )
6 years ago
Robert Kubosz
094edcbea2
rm constraint for max value of button identifier
...
updated error message to be more adequate for current contraint
6 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.
6 years ago
Robert Kubosz
08edaf4e76
increase maximum value of button identifier
...
and also cleanup spaces
6 years ago
Ryan Dwyer
ee0e1b170e
Fix crash in seat code
...
Container will be NULL if launching swaylock.
6 years ago
emersion
60fdb71a1f
Updates for swaywm/wlroots#1116
6 years ago
Drew DeVault
2bc18d8cf7
Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows
...
fix crash on floating windows
6 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.
6 years ago
dudemanguy
600c126150
fix crash on floating windows
6 years ago
Ryan Dwyer
f2d1cf3ceb
Implement floating_minimum_size and floating_maximum_size
6 years ago
emersion
73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
...
Use saved buffer when fullscreen view is in a transaction
6 years ago
Ryan Dwyer
3b50a2a3af
Use saved buffer when fullscreen view is in a transaction
...
Fixes #2237 .
6 years ago
Ryan Dwyer
15dc5286e2
Move floating windows to front when focused
6 years ago
russ morris
6ae1004cd1
removed unnecessary parens
6 years ago
russ morris
c06266e12d
fix line lengths
6 years ago
russ morris
b9d8ecc548
tabs instead of spaces
6 years ago
russ morris
89c25dd149
fix tabbed titlebar widths
6 years ago
Ian Fan
23c1c26c3f
Add get_config message type to ipc
6 years ago
Ian Fan
5fd36164a0
Add get_binding_modes message type to ipc
6 years ago
Ryan Dwyer
56ad148403
Merge branch 'master' into fix-stacked-layout
6 years ago
Drew DeVault
6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle
6 years ago
emersion
63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Konstantin Pospelov
9dd54f934e
Fix titlebar rendering for nested stacked containers
6 years ago
emersion
b755639ca8
Document `focus floating|tiling`
6 years ago
emersion
48c98b676f
Implement `focus mode_toggle`
6 years ago
emersion
ebcdce457a
Merge pull request #2223 from RyanDwyer/floating-move
...
Implement some floating move commands
6 years ago
Ryan Dwyer
b0fc7e9850
Remove duplicate function declaration and add assertion
6 years ago
Ryan Dwyer
ab8a86369c
Implement some floating move commands
...
This implements the following for floating containers:
* move <direction> <amount>
* move [absolute] position <x> <y>
* move [absolute] position mouse
6 years ago
vilhalmer
4e7ef1dd39
No need to walk to workspace, recursive will
6 years ago
vilhalmer
47c20f8ea4
Regroup signal
6 years ago
vilhalmer
ce626a0708
Replace empty workspace with moved workspace
6 years ago
emersion
f9625d1d56
Split renderer
6 years ago
Ryan Dwyer
0046eed969
Fix titles when container titles contain UTF-8 characters
...
The title and marks textures would have their height set from the
config's computed max font height, but the textures were not regenerated
when the config's max font height changed which made a gap appear.
Rather than making it regenerate the title textures every time the
config font height was changed, I've changed it to just make the
textures the height of the title itself and fill any gap when rendering.
Also, the title_width and marks_width variables have been renamed to
make it more obvious that they are in output-buffer-local coordinates.
Fixes #1936 .
6 years ago
emersion
9a9d9116be
Make view_update_* update live props as well
6 years ago
emersion
47d56306c3
Fix xwayland floating views unclickable
...
Some xwayland views are first configured with a 1x1 size, and then
resized. Since the view size isn't updated, they are unclickable.
Fixes #2195
6 years ago
Drew DeVault
817e847749
Merge pull request #2206 from martinetd/leaks
...
Fix a bunch of leaks
6 years ago