0cd418b | emersion | 05 August 2018, 09:35:50 UTC | Merge pull request #2422 from ggreer/compiler-errors Fix compiler errors. | 05 August 2018, 09:35:50 UTC |
208831a | Geoff Greer | 05 August 2018, 07:24:42 UTC | Fix compiler errors. - Some platforms don't expose kill() unless _POSIX_C_SOURCE is defined. - fork(), execl(), and setsid() need unistd.h on some platforms. Basically, this fixes some platform-specific build errors. | 05 August 2018, 07:24:44 UTC |
0016f77 | emersion | 04 August 2018, 19:41:45 UTC | Merge pull request #2418 from RyanDwyer/separate-root Separate root-related code | 04 August 2018, 19:41:45 UTC |
30e7e0f | Ryan Dwyer | 04 August 2018, 04:01:49 UTC | Move workspace pid code to root.c | 04 August 2018, 04:01:49 UTC |
04489ff | Ryan Dwyer | 03 August 2018, 13:06:01 UTC | Separate root-related code This creates a root.c and moves bits and pieces from elsewhere into it. * layout_init has been renamed to root_create and moved into root.c * root_destroy has been created and is called on shutdown * scratchpad code has been moved into root.c, because hidden scratchpad containers are stored in the root struct | 04 August 2018, 04:01:20 UTC |
5de2223 | Ryan Dwyer | 04 August 2018, 00:26:55 UTC | Merge pull request #2419 from RedSoxFan/fix-2416 Check correct ws for sticky and fix floating iter | 04 August 2018, 00:26:55 UTC |
e24fc3d | Ryan Dwyer | 04 August 2018, 00:15:29 UTC | Merge branch 'master' into fix-2416 | 04 August 2018, 00:15:29 UTC |
38675eb | Drew DeVault | 03 August 2018, 19:08:38 UTC | Merge pull request #2400 from RedSoxFan/swaynag-config-errors Show swaynag on config errors | 03 August 2018, 19:08:38 UTC |
ad2a7c2 | Brian Ashworth | 03 August 2018, 15:36:18 UTC | Check correct ws for sticky and fix floating iter | 03 August 2018, 15:36:18 UTC |
36fd84c | Brian Ashworth | 03 August 2018, 14:40:09 UTC | Remove swaynag_clone and use memcpy | 03 August 2018, 14:40:09 UTC |
a7f7d4a | Brian Ashworth | 03 August 2018, 01:37:29 UTC | Write to swaynag pipe fd directly on config errors | 03 August 2018, 14:37:35 UTC |
f9a6407 | Brian Ashworth | 02 August 2018, 03:54:40 UTC | Show swaynag on config errors | 03 August 2018, 14:37:35 UTC |
3e2bf7f | Ryan Dwyer | 03 August 2018, 09:58:42 UTC | Merge pull request #2417 from marienz/swaynag-includes Add missing stdlib.h includes to swaynag | 03 August 2018, 09:58:42 UTC |
4df8858 | Marien Zwart | 02 August 2018, 15:23:39 UTC | Add missing stdlib.h includes to swaynag | 03 August 2018, 09:24:44 UTC |
b49904d | emersion | 03 August 2018, 08:56:46 UTC | Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crash Fix crash when fullscreen view closes on inactive workspace | 03 August 2018, 08:56:46 UTC |
16c1e21 | emersion | 03 August 2018, 08:47:54 UTC | Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crash Fix crash when moving cursor over a fullscreen split container | 03 August 2018, 08:47:54 UTC |
942f92f | emersion | 03 August 2018, 08:45:24 UTC | Merge pull request #2413 from RyanDwyer/dont-move-empty-workspace Deny "move container" when an empty workspace is focused | 03 August 2018, 08:45:24 UTC |
c17f087 | Ryan Dwyer | 03 August 2018, 08:08:20 UTC | Fix crash when moving cursor over a fullscreen split container Calling container_at_view fails an assertion if the container isn't a view. Calling tiling_container_at works correctly, as that function checks if the container is a view and calls container_at_view if so. | 03 August 2018, 08:08:20 UTC |
854c5fb | Ryan Dwyer | 03 August 2018, 07:55:58 UTC | Fix crash when fullscreen view closes on inactive workspace When a view unmaps, normally the surviving ancestor (ie. after reaping) needs to be arranged. When a fullscreen view unmaps, it arranges the workspace rather than the surviving ancestor, but didn't handle cases where the workspace itself was reaped. This happens if the workspace is not currently shown and the fullscreen view was the last container on that workspace. This commit rewrites this part of view_unmap so it's more readable, and fixes the crash by not arranging the workspace if it's been reaped. Note that it no longer arranges the output under any circumstance - this wasn't required anyway. | 03 August 2018, 07:55:58 UTC |
9e8d628 | Ryan Dwyer | 03 August 2018, 07:13:37 UTC | Deny "move container" when an empty workspace is focused | 03 August 2018, 07:13:37 UTC |
5ac3509 | Brian Ashworth | 03 August 2018, 02:35:26 UTC | Merge pull request #2408 from ianyfan/exit-nag Change exit binding in default config to nag user, matching i3 | 03 August 2018, 02:35:26 UTC |
b16043a | Brian Ashworth | 03 August 2018, 02:18:14 UTC | Merge branch 'master' into exit-nag | 03 August 2018, 02:18:14 UTC |
4eadf9f | emersion | 02 August 2018, 22:59:20 UTC | Merge pull request #2325 from emersion/wlr-gamma-control Enable wlr-gamma-control-unstable-v1 | 02 August 2018, 22:59:20 UTC |
3a54e22 | emersion | 02 August 2018, 22:49:25 UTC | Merge branch 'master' into wlr-gamma-control | 02 August 2018, 22:49:25 UTC |
e07da5f | Ryan Dwyer | 02 August 2018, 22:18:09 UTC | Merge pull request #2411 from emersion/fullscreen-pointer-input Fix pointer events for fullscreen views | 02 August 2018, 22:18:09 UTC |
b336564 | emersion | 02 August 2018, 21:48:43 UTC | Fix pointer events for fullscreen views | 02 August 2018, 21:48:43 UTC |
2ecba10 | Drew DeVault | 02 August 2018, 21:33:38 UTC | Merge pull request #2410 from minus7/fix-fullscreen Fix crash on mouse motion on fullscreen container | 02 August 2018, 21:33:38 UTC |
e72f867 | minus | 02 August 2018, 21:19:01 UTC | Fix crash on mouse motion on fullscreen container container_at expects a workspace, not the fullscreened container. Fixes #2409 | 02 August 2018, 21:19:01 UTC |
94888e5 | Ian Fan | 02 August 2018, 14:40:26 UTC | config.in: nag user on exit | 02 August 2018, 14:42:43 UTC |
3eda76d | Drew DeVault | 02 August 2018, 13:46:53 UTC | Merge pull request #2407 from RyanDwyer/fix-popups-v3 Fix popups v3 | 02 August 2018, 13:46:53 UTC |
787f08d | Ryan Dwyer | 02 August 2018, 13:34:26 UTC | Convert toplevel coordinates to output-local | 02 August 2018, 13:36:36 UTC |
8392eae | Ryan Dwyer | 02 August 2018, 13:30:26 UTC | Revert "Revert "Fix popups"" This reverts commit 9aa258d33a9baa42895214da7e82f4568fcb8f76. Reverting the revert, so that popups can be fixed. | 02 August 2018, 13:36:36 UTC |
ea14ef4 | Drew DeVault | 02 August 2018, 13:28:13 UTC | Merge pull request #2366 from RedSoxFan/nagbar Implement swaynag | 02 August 2018, 13:28:13 UTC |
706c0fb | Ryan Dwyer | 02 August 2018, 13:05:49 UTC | Merge branch 'master' into nagbar | 02 August 2018, 13:05:49 UTC |
9aa258d | Drew DeVault | 02 August 2018, 13:05:46 UTC | Revert "Fix popups" This reverts commit de86d65627e96cffe77f4abf11c4a0b982326ff9. | 02 August 2018, 13:05:46 UTC |
8e60f6a | Drew DeVault | 02 August 2018, 12:11:23 UTC | Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused Allow moving containers when workspace itself is focused | 02 August 2018, 12:11:23 UTC |
23b5124 | Drew DeVault | 02 August 2018, 12:10:16 UTC | Merge pull request #2403 from RyanDwyer/fix-transaction-unmap Fix race condition crashes when unmapping views | 02 August 2018, 12:10:16 UTC |
eec25ce | Drew DeVault | 02 August 2018, 12:07:40 UTC | Merge pull request #2406 from RyanDwyer/fix-focus-crashes Fix focus related crashes | 02 August 2018, 12:07:40 UTC |
e2eaf7b | emersion | 02 August 2018, 12:03:54 UTC | Merge pull request #2405 from marienz/sigmask Reset signal mask after fork | 02 August 2018, 12:03:54 UTC |
9339026 | Ryan Dwyer | 02 August 2018, 11:55:37 UTC | Fix focus related crashes * seat_set_focus_warp lacked a container NULL check * view mapping code needs to use seat_get_focus_inactive Also, seat_set_focus_warp triggered the wrong IPC event if focus was a workspace, which resulted in swaybar not showing the workspace as active. | 02 August 2018, 11:55:37 UTC |
7d8413d | Marien Zwart | 01 August 2018, 13:21:29 UTC | Reset signal mask after fork wlroots uses wl_event_loop_add_signal to handle SIGUSR1 from Xwayland. wl_event_loop_add_signal works by masking the signal and receiving it from a signalfd. The signal mask is preserved across fork and exec, so subprocesses spawned by Sway start with SIGUSR1 masked. Most subprocesses do not expect this and never unmask the signal, resulting in missing functionality or unexpected behavior for processes that use SIGUSR1 (such as i3status). Fix this by unmasking all signals between fork and exec. | 02 August 2018, 11:31:34 UTC |
d64c8df | Ryan Dwyer | 02 August 2018, 10:59:44 UTC | Allow moving containers when workspace itself is focused | 02 August 2018, 10:59:44 UTC |
8314019 | Ryan Dwyer | 02 August 2018, 10:54:03 UTC | Fix race condition crashes when unmapping views This fixes two issues which were both introduced in #2396. First issue: The PR changes the location of the buffer save to transaction_apply, but puts it inside the should_configure block. For unmapping (destroying) views, should_configure returns false so it wasn't saving the buffer. If a frame was rendered between the unmap and the transaction applying then it would result in a crash. Second issue: If a destroying view is involved in two transactions, we must not release the buffer between the transactions because there is no live buffer to grab any more. | 02 August 2018, 10:54:03 UTC |
d609558 | Michel Ganguin | 02 August 2018, 07:36:47 UTC | Link xcb dependency to meson options "enable_xwayland" (#2393) * Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland" | 02 August 2018, 07:36:47 UTC |
fe39129 | emersion | 02 August 2018, 07:20:39 UTC | Merge pull request #2396 from RyanDwyer/fix-resize-wiggle Correctly track saved surfaces during multiple transactions | 02 August 2018, 07:20:39 UTC |
47bf4ed | emersion | 02 August 2018, 07:11:10 UTC | Merge branch 'master' into fix-resize-wiggle | 02 August 2018, 07:11:10 UTC |
26c5ef1 | Brian Ashworth | 02 August 2018, 02:55:20 UTC | swaynag: don't drop \n for first line | 02 August 2018, 02:55:20 UTC |
41d858b | Brian Ashworth | 30 July 2018, 19:17:51 UTC | swaynag: add blank lines after headings in scdocs | 02 August 2018, 02:47:54 UTC |
1e7fbe4 | Brian Ashworth | 30 July 2018, 18:14:16 UTC | swaynag: swaybar like default colors | 02 August 2018, 02:47:54 UTC |
4f5cf33 | Brian Ashworth | 30 July 2018, 17:52:02 UTC | swaynag: address some more of sircmpwn's comments Fixes segfauls for any case where swaynag->outputs was not inititalized including -h/--help, -v/--version, and invalid arguments. Sets sane defaults for colors not given. Any color not given will fallback to the default color values for type error. Adds support for a hidpi cursor | 02 August 2018, 02:47:54 UTC |
0ef3988 | Brian Ashworth | 30 July 2018, 05:02:50 UTC | swaynag: fix hidpi | 02 August 2018, 02:47:54 UTC |
e01acb6 | Brian Ashworth | 30 July 2018, 02:42:03 UTC | swaynag: allow more config options | 02 August 2018, 02:47:54 UTC |
ca40298 | Brian Ashworth | 29 July 2018, 04:28:01 UTC | swaynag: add math to meson.build | 02 August 2018, 02:47:54 UTC |
894d57f | Brian Ashworth | 29 July 2018, 03:25:40 UTC | swaynag: fix output selection | 02 August 2018, 02:47:54 UTC |
a614591 | Brian Ashworth | 29 July 2018, 03:15:12 UTC | swaynag: refactor {sway_,}nagbar to swaynag | 02 August 2018, 02:47:54 UTC |
6124d0f | Brian Ashworth | 29 July 2018, 02:56:12 UTC | swaynag: split config into own file and fix optind | 02 August 2018, 02:47:54 UTC |
58f3fa7 | Drew DeVault | 28 July 2018, 13:48:37 UTC | Disable pango markup for extended message | 02 August 2018, 02:47:54 UTC |
3770991 | Drew DeVault | 28 July 2018, 13:44:01 UTC | Set output to NULL if not specified This opens nagbar on the active output. | 02 August 2018, 02:47:54 UTC |
8463a28 | Brian Ashworth | 28 July 2018, 13:34:25 UTC | swaynag: implement config file support | 02 August 2018, 02:47:54 UTC |
a4f7bf2 | Brian Ashworth | 27 July 2018, 15:19:42 UTC | Address first round review for swaynag | 02 August 2018, 02:47:54 UTC |
72db10c | Brian Ashworth | 27 July 2018, 05:30:35 UTC | Support a detailed message in swaynagbar | 02 August 2018, 02:47:54 UTC |
88bc4b5 | Brian Ashworth | 26 July 2018, 01:57:19 UTC | Implements swaynagbar | 02 August 2018, 02:47:54 UTC |
abf3346 | Brian Ashworth | 23 July 2018, 03:43:45 UTC | Arrange output in arrange_layers and commit dirty | 02 August 2018, 02:47:54 UTC |
9564c73 | Drew DeVault | 02 August 2018, 02:02:12 UTC | Merge pull request #2391 from RyanDwyer/fix-popups-v2 Fix popups (v2) | 02 August 2018, 02:02:12 UTC |
4cc0855 | Ryan Dwyer | 01 August 2018, 22:17:25 UTC | Merge pull request #2264 from ianyfan/ipc IPC Events (1.0) | 01 August 2018, 22:17:25 UTC |
46cfa8f | Ian Fan | 01 August 2018, 15:22:06 UTC | ipc: remove extraneous values Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused | 01 August 2018, 15:57:15 UTC |
03eaf44 | Ian Fan | 18 July 2018, 20:55:14 UTC | ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output When a container is moved from, say, workspace 1 to workspace 2, workspace 2 is focused in order to arrange the windows before focus is moved back to workspace 1, which caused a workspace:focus event from workspace 2 to workspace 1 to be emitted. This commit inhibits that event. | 01 August 2018, 15:57:15 UTC |
b2ac234 | Ian Fan | 18 July 2018, 20:52:15 UTC | ipc: fix workspace::focus event behaviour | 01 August 2018, 15:57:15 UTC |
3edaf2c | Ian Fan | 18 July 2018, 11:30:39 UTC | ipc: add tick event | 01 August 2018, 15:57:15 UTC |
33433c6 | Ian Fan | 18 July 2018, 10:52:29 UTC | Add missing swaymsg completions | 01 August 2018, 15:57:15 UTC |
75aba00 | Ian Fan | 18 July 2018, 10:40:16 UTC | ipc: always include old property in workspace events | 01 August 2018, 15:57:15 UTC |
d898e03 | Ian Fan | 18 July 2018, 10:38:06 UTC | ipc: add workspace::reload event | 01 August 2018, 15:57:15 UTC |
6865b8a | Ian Fan | 18 July 2018, 10:37:50 UTC | ipc: add binding event | 01 August 2018, 15:57:15 UTC |
e0e6382 | Ian Fan | 18 July 2018, 09:50:48 UTC | ipc: add window::move events | 01 August 2018, 15:57:15 UTC |
4bf2538 | Ian Fan | 18 July 2018, 09:47:44 UTC | ipc: fix workspace::move calls argument order | 01 August 2018, 15:57:15 UTC |
07101a5 | Ian Fan | 16 July 2018, 13:01:35 UTC | ipc: only emit window::create event for views | 01 August 2018, 15:57:15 UTC |
317217f | Ian Fan | 14 July 2018, 10:10:36 UTC | ipc: add window::mark event | 01 August 2018, 15:57:15 UTC |
dd6debf | Ian Fan | 13 July 2018, 22:22:34 UTC | ipc: add barconfig_update event on config reload | 01 August 2018, 15:57:14 UTC |
686c084 | Ian Fan | 13 July 2018, 20:55:04 UTC | ipc: add workspace::empty event | 01 August 2018, 15:57:14 UTC |
4f8f363 | Ian Fan | 13 July 2018, 16:19:16 UTC | ipc: add window::title event | 01 August 2018, 15:57:14 UTC |
dd1d625 | Ian Fan | 13 July 2018, 16:16:32 UTC | ipc: add window::focus event | 01 August 2018, 15:57:14 UTC |
f031093 | Ian Fan | 13 July 2018, 16:15:52 UTC | ipc: add window::close event | 01 August 2018, 15:57:14 UTC |
87ccf18 | Ian Fan | 13 July 2018, 16:13:25 UTC | ipc: add workspace::init event | 01 August 2018, 15:57:14 UTC |
e8b179e | Ian Fan | 13 July 2018, 15:58:45 UTC | ipc: add shutdown event | 01 August 2018, 15:57:14 UTC |
f078f7f | Drew DeVault | 01 August 2018, 15:45:36 UTC | Merge pull request #2397 from chr0me-sh/hide-cursor-if-no-pointer XCursor is not configured if no pointer device is available | 01 August 2018, 15:45:36 UTC |
77d74dd | chr0me | 01 August 2018, 11:48:43 UTC | XCursor is not configured if no pointer device is available | 01 August 2018, 15:27:36 UTC |
d10ccc1 | Ryan Dwyer | 01 August 2018, 06:23:11 UTC | Correctly track saved surfaces during multiple transactions Fixes #2364. Suppose a view is 600px wide, and we tell it to resize to 601px during a resize operation. We create a transaction, save the 600px buffer and send the configure. This buffer is saved into the associated instruction, and is rendered while we wait for the view to commit a 601px buffer. Before the view commits the 601px buffer, suppose we tell it to resize to 602px. The new transaction will also save the buffer, but it's still the 600px buffer because we haven't received a new one yet. Then suppose the view commits its original 601px buffer. This completes the first transaction, so we apply the 601px width to the container. There's still the second (now only) transaction remaining, so we render the saved buffer from that. But this is still the 600px buffer, and we believe it's 601px. Whoops. The problem here is we can't stack buffers like this. So this commit removes the saved buffer from the instructions, places it in the view instead, and re-saves the latest buffer every time the view completes a transaction and still has further pending transactions. As saved buffers are now specific to views rather than instructions, the functions for saving and removing the saved buffer have been moved to view.c. The calls to save and restore the buffer have been relocated to more appropriate functions too, favouring transaction_commit and transaction_apply rather than transaction_add_container and transaction_destroy. | 01 August 2018, 06:24:15 UTC |
f91fd78 | Ryan Dwyer | 01 August 2018, 04:21:18 UTC | Merge pull request #2395 from RedSoxFan/create-mouse-binding-list Create list for mouse bindings when creating new mode | 01 August 2018, 04:21:18 UTC |
00a00aa | Brian Ashworth | 01 August 2018, 03:49:42 UTC | Create list for mouse binds when creating new mode | 01 August 2018, 03:49:42 UTC |
7a59508 | Ryan Dwyer | 31 July 2018, 09:58:34 UTC | Close popups when changing focus Also reverts the send frame done changes from the previous commit. | 31 July 2018, 09:58:34 UTC |
de86d65 | Ryan Dwyer | 31 July 2018, 08:41:30 UTC | Fix popups Fixes the render and container_at order for popups. Fixes #2210 For rendering: * render_view_surfaces has been renamed to render_view_toplevels * render_view_toplevels now uses output_surface_for_each_surface (which is now public), as that function uses wlr_surface_for_each_surface which doesn't descend into popups * Views now have a for_each_popup iterator, which is used by the renderer to render the focused view's popups * When rendering a popup, toplevels (xdg subsurfaces) of that popup are also rendered For sending frame done, the logic has been updated to match the rendering logic: * send_frame_done_container no longer descends into popups * for_each_popup is used to send frame done to the focused view's popups and their child toplevels For container_at: * floating_container_at is now static, which means it had to be moved higher in the file. * container_at now considers popups for the focused view before checking containers. * tiling_container_at has been introduced, so that it doesn't call container_at recursively (it would check popups recursively if it did) | 31 July 2018, 08:41:30 UTC |
f19add2 | Drew DeVault | 30 July 2018, 18:54:08 UTC | Merge pull request #2390 from emersion/fix-fullscreen-segfault Fix segfault with fullscreen | 30 July 2018, 18:54:08 UTC |
15c1957 | emersion | 30 July 2018, 18:44:07 UTC | Fix segfault with fullscreen | 30 July 2018, 18:44:07 UTC |
cbd0c3e | Drew DeVault | 30 July 2018, 17:12:22 UTC | Merge pull request #2367 from emersion/iterator-redesign Refactor surface iterators | 30 July 2018, 17:12:22 UTC |
878d1dd | Drew DeVault | 30 July 2018, 17:11:20 UTC | Merge pull request #2387 from 1ace/feature/bash-completion bash completion | 30 July 2018, 17:11:20 UTC |
6c30b3f | Drew DeVault | 30 July 2018, 17:10:56 UTC | Merge pull request #2381 from frsfnrrg/key-repeat Implement key repeat for keybindings | 30 July 2018, 17:10:56 UTC |
c1bf8d0 | emersion | 30 July 2018, 16:25:41 UTC | Merge pull request #2388 from 1ace/fix/delete-swaygrab delete references to swaygrab | 30 July 2018, 16:25:41 UTC |
52a27f1 | Eric Engestrom | 30 July 2018, 15:24:46 UTC | delete references to swaygrab | 30 July 2018, 15:24:46 UTC |
4985667 | emersion | 30 July 2018, 14:57:11 UTC | Merge pull request #2385 from 1ace/fix/include util.h: add missing include | 30 July 2018, 14:57:11 UTC |
b9d531b | Eric Engestrom | 27 July 2018, 16:50:33 UTC | meson: install bash completion | 30 July 2018, 14:56:50 UTC |