Commit graph

4611 commits

Author SHA1 Message Date
dudemanguy 600c126150 fix crash on floating windows 2018-07-11 12:24:06 -05:00
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size 2018-07-11 22:16:48 +10:00
emersion 73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
Use saved buffer when fullscreen view is in a transaction
2018-07-11 13:04:06 +01:00
Drew DeVault edfe42032c
Merge pull request #2240 from RedSoxFan/implement-1961
Implement swaylock customization flags
2018-07-11 04:39:13 -07:00
Drew DeVault 00daa17446
Merge pull request #2242 from RyanDwyer/floating-zindex
Move floating windows to front when focused
2018-07-11 04:38:46 -07:00
Ryan Dwyer 3b50a2a3af Use saved buffer when fullscreen view is in a transaction
Fixes #2237.
2018-07-11 20:33:36 +10:00
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused 2018-07-11 19:50:02 +10:00
emersion 0f14abf512
Merge pull request #2241 from rustysec/master
fix tabbed titlebar widths
2018-07-11 08:56:30 +01:00
russ morris 6ae1004cd1 removed unnecessary parens 2018-07-10 20:57:05 -07:00
russ morris c06266e12d fix line lengths 2018-07-10 20:34:51 -07:00
russ morris b9d8ecc548 tabs instead of spaces 2018-07-10 20:24:57 -07:00
Brian Ashworth 22d152f1fe Change formatting of swaylock usage in the code 2018-07-10 22:09:31 -04:00
Brian Ashworth 936a920a8e Implement swaylock customization flags 2018-07-10 21:29:15 -04:00
russ morris 89c25dd149 fix tabbed titlebar widths 2018-07-10 17:59:00 -07:00
Drew DeVault 60bba5a961
Merge pull request #2233 from emersion/remove-clipboard
Remove `clipboard` command and `get_clipboard` message
2018-07-10 17:49:19 -07:00
emersion ba3511b243 Remove clipboard command and get_clipboard message 2018-07-10 22:09:21 +01:00
Ryan Dwyer 8afe68f920
Merge pull request #2232 from ianyfan/ipc
Add some missing ipc message types from i3
2018-07-10 22:05:33 +10:00
Ian Fan 23c1c26c3f Add get_config message type to ipc 2018-07-10 12:37:37 +01:00
Ian Fan 5fd36164a0 Add get_binding_modes message type to ipc 2018-07-10 12:03:46 +01:00
Ryan Dwyer c1bb73f865
Merge pull request #2236 from kupospelov/fix-stacked-layout
Fix title bar rendering for nested stacked containers
2018-07-10 20:49:20 +10:00
Ryan Dwyer 56ad148403
Merge branch 'master' into fix-stacked-layout 2018-07-10 20:41:02 +10:00
Drew DeVault 5709c5d375
Merge pull request #2228 from emersion/focus-mode-toggle
Implement `focus mode_toggle`
2018-07-09 18:27:54 -07:00
Drew DeVault 6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle 2018-07-09 16:28:37 -07:00
Drew DeVault fbeef1322f
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
2018-07-09 16:23:03 -07:00
emersion 63b4bf5000
Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
Konstantin Pospelov 9dd54f934e Fix titlebar rendering for nested stacked containers 2018-07-10 00:33:13 +03:00
emersion b755639ca8
Document focus floating|tiling 2018-07-09 22:22:23 +01:00
emersion 48c98b676f
Implement focus mode_toggle 2018-07-09 22:22:17 +01:00
emersion ebcdce457a
Merge pull request #2223 from RyanDwyer/floating-move
Implement some floating move commands
2018-07-09 19:04:45 +01:00
emersion d97b4fa4ed
Merge pull request #2230 from vilhalmer/replace-empty-workspace
Replace empty workspace with moved workspace
2018-07-09 19:04:25 +01:00
Ryan Dwyer b0fc7e9850 Remove duplicate function declaration and add assertion 2018-07-09 23:41:00 +10:00
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
2018-07-09 23:38:29 +10:00
vilhalmer 4e7ef1dd39
No need to walk to workspace, recursive will 2018-07-09 08:26:39 -04:00
vilhalmer 47c20f8ea4
Regroup signal 2018-07-09 08:25:32 -04:00
vilhalmer ce626a0708
Replace empty workspace with moved workspace 2018-07-08 22:55:50 -04:00
vilhalmer 621d2666b1
Destroy empty workspace when destroying its output 2018-07-08 21:55:24 -04:00
emersion 6595d07ec7
Merge pull request #2226 from emersion/swaylock-daemonize-after-lock
swaylock: daemonize after locking
2018-07-08 22:57:06 +01:00
emersion ceb08b6365
swaylock: daemonize after locking 2018-07-07 18:36:49 +01:00
emersion 57fd65c5b5
Merge pull request #2225 from martinetd/swaylock-verified
swaylock: fix the displaying of "verified"
2018-07-07 13:16:39 +01:00
Drew DeVault c498c73b6d
Merge pull request #2224 from emersion/split-renderer
Split renderer
2018-07-07 05:09:13 -07:00
Dominique Martinet b78c29a83f swaylock: fix the displaying of "verified"
Displaying verified after damaging state needs more than one roundtrip,
so keep looping until surfaces are not dirty anymore
2018-07-07 21:02:28 +09:00
emersion f9625d1d56
Split renderer 2018-07-07 10:30:52 +01:00
emersion c523a14ae1
Merge pull request #2216 from RedSoxFan/fix-2213
Fix swaybar teardown when workspace buttons hidden
2018-07-07 09:52:33 +01:00
emersion 305fac293a
Merge pull request #2222 from RyanDwyer/fix-utf8-titles
Fix titles when container titles contain UTF-8 characters
2018-07-07 09:48:48 +01:00
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.
2018-07-07 15:49:51 +10:00
Drew DeVault fc4ed6f037
Merge pull request #2196 from emersion/xwayland-floating-resize
Fix xwayland floating views unclickable
2018-07-06 12:14:26 -07:00
emersion 9a9d9116be
Make view_update_* update live props as well 2018-07-06 19:33:10 +01:00
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
2018-07-06 19:31:44 +01:00
Drew DeVault 817e847749
Merge pull request #2206 from martinetd/leaks
Fix a bunch of leaks
2018-07-06 08:43:33 -07:00
Brian Ashworth 1b4c289482 Fix swaybar teardown when workspace buttons hidden 2018-07-06 11:38:02 -04:00