aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-03Write to swaynag pipe fd directly on config errorsBrian Ashworth
2018-08-03Show swaynag on config errorsBrian Ashworth
2018-08-03Merge pull request #2417 from marienz/swaynag-includesRyan Dwyer
Add missing stdlib.h includes to swaynag
2018-08-03Add missing stdlib.h includes to swaynagMarien Zwart
2018-08-03Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crashemersion
Fix crash when fullscreen view closes on inactive workspace
2018-08-03Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crashemersion
Fix crash when moving cursor over a fullscreen split container
2018-08-03Merge pull request #2413 from RyanDwyer/dont-move-empty-workspaceemersion
Deny "move container" when an empty workspace is focused
2018-08-03Fix crash when moving cursor over a fullscreen split containerRyan Dwyer
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.
2018-08-03Fix crash when fullscreen view closes on inactive workspaceRyan Dwyer
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.
2018-08-03Deny "move container" when an empty workspace is focusedRyan Dwyer
2018-08-02Merge pull request #2408 from ianyfan/exit-nagBrian Ashworth
Change exit binding in default config to nag user, matching i3
2018-08-02Merge branch 'master' into exit-nagBrian Ashworth
2018-08-02Merge pull request #2325 from emersion/wlr-gamma-controlemersion
Enable wlr-gamma-control-unstable-v1
2018-08-02Merge branch 'master' into wlr-gamma-controlemersion
2018-08-03Merge pull request #2411 from emersion/fullscreen-pointer-inputRyan Dwyer
Fix pointer events for fullscreen views
2018-08-02Fix pointer events for fullscreen viewsemersion
2018-08-02Merge pull request #2410 from minus7/fix-fullscreenDrew DeVault
Fix crash on mouse motion on fullscreen container
2018-08-02Fix crash on mouse motion on fullscreen containerminus
container_at expects a workspace, not the fullscreened container. Fixes #2409
2018-08-02config.in: nag user on exitIan Fan
2018-08-02Merge pull request #2407 from RyanDwyer/fix-popups-v3Drew DeVault
Fix popups v3
2018-08-02Convert toplevel coordinates to output-localRyan Dwyer
2018-08-02Revert "Revert "Fix popups""Ryan Dwyer
This reverts commit 9aa258d33a9baa42895214da7e82f4568fcb8f76. Reverting the revert, so that popups can be fixed.
2018-08-02Merge pull request #2366 from RedSoxFan/nagbarDrew DeVault
Implement swaynag
2018-08-02Merge branch 'master' into nagbarRyan Dwyer
2018-08-02Revert "Fix popups"Drew DeVault
This reverts commit de86d65627e96cffe77f4abf11c4a0b982326ff9.
2018-08-02Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focusedDrew DeVault
Allow moving containers when workspace itself is focused
2018-08-02Merge pull request #2403 from RyanDwyer/fix-transaction-unmapDrew DeVault
Fix race condition crashes when unmapping views
2018-08-02Merge pull request #2406 from RyanDwyer/fix-focus-crashesDrew DeVault
Fix focus related crashes
2018-08-02Merge pull request #2405 from marienz/sigmaskemersion
Reset signal mask after fork
2018-08-02Fix focus related crashesRyan Dwyer
* 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.
2018-08-02Reset signal mask after forkMarien Zwart
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.
2018-08-02Allow moving containers when workspace itself is focusedRyan Dwyer
2018-08-02Fix race condition crashes when unmapping viewsRyan Dwyer
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.
2018-08-02Link xcb dependency to meson options "enable_xwayland" (#2393)Michel Ganguin
* Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland"
2018-08-02Merge pull request #2396 from RyanDwyer/fix-resize-wiggleemersion
Correctly track saved surfaces during multiple transactions
2018-08-02Merge branch 'master' into fix-resize-wiggleemersion
2018-08-01swaynag: don't drop \n for first lineBrian Ashworth
2018-08-01swaynag: add blank lines after headings in scdocsBrian Ashworth
2018-08-01swaynag: swaybar like default colorsBrian Ashworth
2018-08-01swaynag: address some more of sircmpwn's commentsBrian Ashworth
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
2018-08-01swaynag: fix hidpiBrian Ashworth
2018-08-01swaynag: allow more config optionsBrian Ashworth
2018-08-01swaynag: add math to meson.buildBrian Ashworth
2018-08-01swaynag: fix output selectionBrian Ashworth
2018-08-01swaynag: refactor {sway_,}nagbar to swaynagBrian Ashworth
2018-08-01swaynag: split config into own file and fix optindBrian Ashworth
2018-08-01Disable pango markup for extended messageDrew DeVault
2018-08-01Set output to NULL if not specifiedDrew DeVault
This opens nagbar on the active output.
2018-08-01swaynag: implement config file supportBrian Ashworth
2018-08-01Address first round review for swaynagBrian Ashworth