aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* config.in: nag user on exitLibravatar Ian Fan2018-08-02
|
* Merge pull request #2407 from RyanDwyer/fix-popups-v3Libravatar Drew DeVault2018-08-02
|\ | | | | Fix popups v3
| * 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
| |\
| * | swaynag: don't drop \n for first lineLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: add blank lines after headings in scdocsLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: swaybar like default colorsLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: address some more of sircmpwn's commentsLibravatar Brian Ashworth2018-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | swaynag: fix hidpiLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: allow more config optionsLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: add math to meson.buildLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: fix output selectionLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: refactor {sway_,}nagbar to swaynagLibravatar Brian Ashworth2018-08-01
| | |
| * | swaynag: split config into own file and fix optindLibravatar Brian Ashworth2018-08-01
| | |
| * | Disable pango markup for extended messageLibravatar Drew DeVault2018-08-01
| | |
| * | Set output to NULL if not specifiedLibravatar Drew DeVault2018-08-01
| | | | | | | | | | | | This opens nagbar on the active output.
| * | swaynag: implement config file supportLibravatar Brian Ashworth2018-08-01
| | |
| * | Address first round review for swaynagLibravatar Brian Ashworth2018-08-01
| | |
| * | Support a detailed message in swaynagbarLibravatar Brian Ashworth2018-08-01
| | |
| * | Implements swaynagbarLibravatar 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.
* | | Merge pull request #2405 from marienz/sigmaskLibravatar emersion2018-08-02
|\ \ \ | |/ / |/| | Reset signal mask after fork
| * | 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 pull request #2396 from RyanDwyer/fix-resize-wiggleLibravatar emersion2018-08-02
|\ \ | |/ |/| Correctly track saved surfaces during multiple transactions
| * 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)
* | | Merge pull request #2264 from ianyfan/ipcLibravatar Ryan Dwyer2018-08-02
|\ \ \ | | | | | | | | IPC Events (1.0)
| * | | 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
| | | |
| * | | Add missing swaymsg completionsLibravatar 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
| | | |