summaryrefslogtreecommitdiffstats
path: root/sway
Commit message (Collapse)AuthorAge
* Merge branch 'master' into wlr-gamma-controlLibravatar emersion2018-08-02
|\
| * Fix pointer events for fullscreen viewsLibravatar emersion2018-08-02
| |
| * Fix crash on mouse motion on fullscreen containerLibravatar minus2018-08-02
| | | | | | | | | | container_at expects a workspace, not the fullscreened container. Fixes #2409
| * Convert toplevel coordinates to output-localLibravatar Ryan Dwyer2018-08-02
| |
| * Revert "Revert "Fix popups""Libravatar Ryan Dwyer2018-08-02
| | | | | | | | | | | | This reverts commit 9aa258d33a9baa42895214da7e82f4568fcb8f76. Reverting the revert, so that popups can be fixed.
| * Merge pull request #2366 from RedSoxFan/nagbarLibravatar Drew DeVault2018-08-02
| |\ | | | | | | Implement swaynag
| | * Merge branch 'master' into nagbarLibravatar Ryan Dwyer2018-08-02
| | |\
| | * | Address first round review for swaynagLibravatar Brian Ashworth2018-08-01
| | | |
| | * | Arrange output in arrange_layers and commit dirtyLibravatar Brian Ashworth2018-08-01
| | | |
| * | | Revert "Fix popups"Libravatar Drew DeVault2018-08-02
| | |/ | |/| | | | | | | This reverts commit de86d65627e96cffe77f4abf11c4a0b982326ff9.
| * | Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focusedLibravatar Drew DeVault2018-08-02
| |\ \ | | | | | | | | Allow moving containers when workspace itself is focused
| | * | Allow moving containers when workspace itself is focusedLibravatar Ryan Dwyer2018-08-02
| | | |
| * | | Merge pull request #2403 from RyanDwyer/fix-transaction-unmapLibravatar Drew DeVault2018-08-02
| |\ \ \ | | | | | | | | | | Fix race condition crashes when unmapping views
| | * | | Fix race condition crashes when unmapping viewsLibravatar Ryan Dwyer2018-08-02
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge pull request #2406 from RyanDwyer/fix-focus-crashesLibravatar Drew DeVault2018-08-02
| |\ \ \ | | | | | | | | | | Fix focus related crashes
| | * | | Fix focus related crashesLibravatar Ryan Dwyer2018-08-02
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * / / Reset signal mask after forkLibravatar Marien Zwart2018-08-02
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Link xcb dependency to meson options "enable_xwayland" (#2393)Libravatar Michel Ganguin2018-08-02
| | | | | | | | | | | | | | | | | | * Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland"
| * | Merge branch 'master' into fix-resize-wiggleLibravatar emersion2018-08-02
| |\|
| | * Merge pull request #2391 from RyanDwyer/fix-popups-v2Libravatar Drew DeVault2018-08-01
| | |\ | | | | | | | | Fix popups (v2)
| | | * Close popups when changing focusLibravatar Ryan Dwyer2018-07-31
| | | | | | | | | | | | | | | | Also reverts the send frame done changes from the previous commit.
| | | * Fix popupsLibravatar Ryan Dwyer2018-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| | * | ipc: remove extraneous valuesLibravatar Ian Fan2018-08-01
| | | | | | | | | | | | | | | | Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
| | * | ipc: prevent emitting a workspace::focus event when moving a container to a ↵Libravatar Ian Fan2018-08-01
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | ipc: fix workspace::focus event behaviourLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add tick eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: always include old property in workspace eventsLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add workspace::reload eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add binding eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add window::move eventsLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: fix workspace::move calls argument orderLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: only emit window::create event for viewsLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add window::mark eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add barconfig_update event on config reloadLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add workspace::empty eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add window::title eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add window::focus eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add window::close eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add workspace::init eventLibravatar Ian Fan2018-08-01
| | | |
| | * | ipc: add shutdown eventLibravatar Ian Fan2018-08-01
| | | |
| | * | XCursor is not configured if no pointer device is availableLibravatar chr0me2018-08-01
| | | |
| * | | Correctly track saved surfaces during multiple transactionsLibravatar Ryan Dwyer2018-08-01
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * / Create list for mouse binds when creating new modeLibravatar Brian Ashworth2018-07-31
| |/
| * Fix segfault with fullscreenLibravatar emersion2018-07-30
| |
| * Merge pull request #2367 from emersion/iterator-redesignLibravatar Drew DeVault2018-07-30
| |\ | | | | | | Refactor surface iterators
| | * Make output_surface_for_each_surface_iterator staticLibravatar emersion2018-07-29
| | |
| | * Remove unused output_from_wlr_outputLibravatar emersion2018-07-29
| | |
| | * Remove output_surface_for_each_surface from headerLibravatar emersion2018-07-29
| | |
| | * Completely switch over to new iteratorsLibravatar emersion2018-07-29
| | |
| | * wip: redesign output_view_for_each_surface iteratorLibravatar emersion2018-07-29
| | |