https://github.com/swaywm/sway.git

sort by:
Revision Author Date Message Commit Date
0cd418b Merge pull request #2422 from ggreer/compiler-errors Fix compiler errors. 05 August 2018, 09:35:50 UTC
208831a 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 Merge pull request #2418 from RyanDwyer/separate-root Separate root-related code 04 August 2018, 19:41:45 UTC
30e7e0f Move workspace pid code to root.c 04 August 2018, 04:01:49 UTC
04489ff 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 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 Merge branch 'master' into fix-2416 04 August 2018, 00:15:29 UTC
38675eb Merge pull request #2400 from RedSoxFan/swaynag-config-errors Show swaynag on config errors 03 August 2018, 19:08:38 UTC
ad2a7c2 Check correct ws for sticky and fix floating iter 03 August 2018, 15:36:18 UTC
36fd84c Remove swaynag_clone and use memcpy 03 August 2018, 14:40:09 UTC
a7f7d4a Write to swaynag pipe fd directly on config errors 03 August 2018, 14:37:35 UTC
f9a6407 Show swaynag on config errors 03 August 2018, 14:37:35 UTC
3e2bf7f Merge pull request #2417 from marienz/swaynag-includes Add missing stdlib.h includes to swaynag 03 August 2018, 09:58:42 UTC
4df8858 Add missing stdlib.h includes to swaynag 03 August 2018, 09:24:44 UTC
b49904d 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 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 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 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 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 Deny "move container" when an empty workspace is focused 03 August 2018, 07:13:37 UTC
5ac3509 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 Merge branch 'master' into exit-nag 03 August 2018, 02:18:14 UTC
4eadf9f Merge pull request #2325 from emersion/wlr-gamma-control Enable wlr-gamma-control-unstable-v1 02 August 2018, 22:59:20 UTC
3a54e22 Merge branch 'master' into wlr-gamma-control 02 August 2018, 22:49:25 UTC
e07da5f Merge pull request #2411 from emersion/fullscreen-pointer-input Fix pointer events for fullscreen views 02 August 2018, 22:18:09 UTC
b336564 Fix pointer events for fullscreen views 02 August 2018, 21:48:43 UTC
2ecba10 Merge pull request #2410 from minus7/fix-fullscreen Fix crash on mouse motion on fullscreen container 02 August 2018, 21:33:38 UTC
e72f867 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 config.in: nag user on exit 02 August 2018, 14:42:43 UTC
3eda76d Merge pull request #2407 from RyanDwyer/fix-popups-v3 Fix popups v3 02 August 2018, 13:46:53 UTC
787f08d Convert toplevel coordinates to output-local 02 August 2018, 13:36:36 UTC
8392eae 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 Merge pull request #2366 from RedSoxFan/nagbar Implement swaynag 02 August 2018, 13:28:13 UTC
706c0fb Merge branch 'master' into nagbar 02 August 2018, 13:05:49 UTC
9aa258d Revert "Fix popups" This reverts commit de86d65627e96cffe77f4abf11c4a0b982326ff9. 02 August 2018, 13:05:46 UTC
8e60f6a 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 Merge pull request #2403 from RyanDwyer/fix-transaction-unmap Fix race condition crashes when unmapping views 02 August 2018, 12:10:16 UTC
eec25ce Merge pull request #2406 from RyanDwyer/fix-focus-crashes Fix focus related crashes 02 August 2018, 12:07:40 UTC
e2eaf7b Merge pull request #2405 from marienz/sigmask Reset signal mask after fork 02 August 2018, 12:03:54 UTC
9339026 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 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 Allow moving containers when workspace itself is focused 02 August 2018, 10:59:44 UTC
8314019 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 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 Merge pull request #2396 from RyanDwyer/fix-resize-wiggle Correctly track saved surfaces during multiple transactions 02 August 2018, 07:20:39 UTC
47bf4ed Merge branch 'master' into fix-resize-wiggle 02 August 2018, 07:11:10 UTC
26c5ef1 swaynag: don't drop \n for first line 02 August 2018, 02:55:20 UTC
41d858b swaynag: add blank lines after headings in scdocs 02 August 2018, 02:47:54 UTC
1e7fbe4 swaynag: swaybar like default colors 02 August 2018, 02:47:54 UTC
4f5cf33 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 swaynag: fix hidpi 02 August 2018, 02:47:54 UTC
e01acb6 swaynag: allow more config options 02 August 2018, 02:47:54 UTC
ca40298 swaynag: add math to meson.build 02 August 2018, 02:47:54 UTC
894d57f swaynag: fix output selection 02 August 2018, 02:47:54 UTC
a614591 swaynag: refactor {sway_,}nagbar to swaynag 02 August 2018, 02:47:54 UTC
6124d0f swaynag: split config into own file and fix optind 02 August 2018, 02:47:54 UTC
58f3fa7 Disable pango markup for extended message 02 August 2018, 02:47:54 UTC
3770991 Set output to NULL if not specified This opens nagbar on the active output. 02 August 2018, 02:47:54 UTC
8463a28 swaynag: implement config file support 02 August 2018, 02:47:54 UTC
a4f7bf2 Address first round review for swaynag 02 August 2018, 02:47:54 UTC
72db10c Support a detailed message in swaynagbar 02 August 2018, 02:47:54 UTC
88bc4b5 Implements swaynagbar 02 August 2018, 02:47:54 UTC
abf3346 Arrange output in arrange_layers and commit dirty 02 August 2018, 02:47:54 UTC
9564c73 Merge pull request #2391 from RyanDwyer/fix-popups-v2 Fix popups (v2) 02 August 2018, 02:02:12 UTC
4cc0855 Merge pull request #2264 from ianyfan/ipc IPC Events (1.0) 01 August 2018, 22:17:25 UTC
46cfa8f 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 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 ipc: fix workspace::focus event behaviour 01 August 2018, 15:57:15 UTC
3edaf2c ipc: add tick event 01 August 2018, 15:57:15 UTC
33433c6 Add missing swaymsg completions 01 August 2018, 15:57:15 UTC
75aba00 ipc: always include old property in workspace events 01 August 2018, 15:57:15 UTC
d898e03 ipc: add workspace::reload event 01 August 2018, 15:57:15 UTC
6865b8a ipc: add binding event 01 August 2018, 15:57:15 UTC
e0e6382 ipc: add window::move events 01 August 2018, 15:57:15 UTC
4bf2538 ipc: fix workspace::move calls argument order 01 August 2018, 15:57:15 UTC
07101a5 ipc: only emit window::create event for views 01 August 2018, 15:57:15 UTC
317217f ipc: add window::mark event 01 August 2018, 15:57:15 UTC
dd6debf ipc: add barconfig_update event on config reload 01 August 2018, 15:57:14 UTC
686c084 ipc: add workspace::empty event 01 August 2018, 15:57:14 UTC
4f8f363 ipc: add window::title event 01 August 2018, 15:57:14 UTC
dd1d625 ipc: add window::focus event 01 August 2018, 15:57:14 UTC
f031093 ipc: add window::close event 01 August 2018, 15:57:14 UTC
87ccf18 ipc: add workspace::init event 01 August 2018, 15:57:14 UTC
e8b179e ipc: add shutdown event 01 August 2018, 15:57:14 UTC
f078f7f 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 XCursor is not configured if no pointer device is available 01 August 2018, 15:27:36 UTC
d10ccc1 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 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 Create list for mouse binds when creating new mode 01 August 2018, 03:49:42 UTC
7a59508 Close popups when changing focus Also reverts the send frame done changes from the previous commit. 31 July 2018, 09:58:34 UTC
de86d65 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 Merge pull request #2390 from emersion/fix-fullscreen-segfault Fix segfault with fullscreen 30 July 2018, 18:54:08 UTC
15c1957 Fix segfault with fullscreen 30 July 2018, 18:44:07 UTC
cbd0c3e Merge pull request #2367 from emersion/iterator-redesign Refactor surface iterators 30 July 2018, 17:12:22 UTC
878d1dd Merge pull request #2387 from 1ace/feature/bash-completion bash completion 30 July 2018, 17:11:20 UTC
6c30b3f Merge pull request #2381 from frsfnrrg/key-repeat Implement key repeat for keybindings 30 July 2018, 17:10:56 UTC
c1bf8d0 Merge pull request #2388 from 1ace/fix/delete-swaygrab delete references to swaygrab 30 July 2018, 16:25:41 UTC
52a27f1 delete references to swaygrab 30 July 2018, 15:24:46 UTC
4985667 Merge pull request #2385 from 1ace/fix/include util.h: add missing include 30 July 2018, 14:57:11 UTC
b9d531b meson: install bash completion 30 July 2018, 14:56:50 UTC
back to top