summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-08-05Merge pull request #2422 from ggreer/compiler-errors1.0-alpha.5Furkan Sahin-0/+2
Fix compiler errors.
2018-08-05Fix compiler errors.Furkan Sahin-0/+2
- 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.
2018-08-04Merge pull request #2418 from RyanDwyer/separate-rootFurkan Sahin-394/+413
Separate root-related code
2018-08-04Move workspace pid code to root.cFurkan Sahin-119/+121
2018-08-04Merge pull request #2419 from RedSoxFan/fix-2416Furkan Sahin-0/+5
Check correct ws for sticky and fix floating iter
2018-08-04Merge branch 'master' into fix-2416Furkan Sahin-19/+222
2018-08-03Merge pull request #2400 from RedSoxFan/swaynag-config-errorsFurkan Sahin-19/+222
Show swaynag on config errors
2018-08-03Check correct ws for sticky and fix floating iterFurkan Sahin-0/+5
2018-08-03Remove swaynag_clone and use memcpyFurkan Sahin-15/+3
2018-08-03Separate root-related codeFurkan Sahin-275/+292
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
2018-08-03Merge pull request #2417 from marienz/swaynag-includesFurkan Sahin-0/+2
Add missing stdlib.h includes to swaynag
2018-08-03Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crashFurkan Sahin-11/+10
Fix crash when fullscreen view closes on inactive workspace
2018-08-03Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crashFurkan Sahin-10/+6
Fix crash when moving cursor over a fullscreen split container
2018-08-03Merge pull request #2413 from RyanDwyer/dont-move-empty-workspaceFurkan Sahin-0/+4
Deny "move container" when an empty workspace is focused
2018-08-03Fix crash when moving cursor over a fullscreen split containerFurkan Sahin-10/+6
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 workspaceFurkan Sahin-11/+10
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 focusedFurkan Sahin-0/+4
2018-08-02Merge pull request #2408 from ianyfan/exit-nagFurkan Sahin-2/+2
Change exit binding in default config to nag user, matching i3
2018-08-02Merge branch 'master' into exit-nagFurkan Sahin-2/+8
2018-08-02Write to swaynag pipe fd directly on config errorsFurkan Sahin-110/+227
2018-08-02Merge pull request #2325 from emersion/wlr-gamma-controlFurkan Sahin-0/+2
Enable wlr-gamma-control-unstable-v1
2018-08-02Merge branch 'master' into wlr-gamma-controlFurkan Sahin-1026/+5187
2018-08-03Merge pull request #2411 from emersion/fullscreen-pointer-inputFurkan Sahin-2/+7
Fix pointer events for fullscreen views
2018-08-02Fix pointer events for fullscreen viewsFurkan Sahin-2/+7
2018-08-02Merge pull request #2410 from minus7/fix-fullscreenFurkan Sahin-2/+1
Fix crash on mouse motion on fullscreen container
2018-08-02Fix crash on mouse motion on fullscreen containerFurkan Sahin-2/+1
container_at expects a workspace, not the fullscreened container. Fixes #2409
2018-08-03Add missing stdlib.h includes to swaynagFurkan Sahin-0/+2
2018-08-02config.in: nag user on exitFurkan Sahin-2/+2
2018-08-02Merge pull request #2407 from RyanDwyer/fix-popups-v3Furkan Sahin-55/+198
Fix popups v3
2018-08-02Convert toplevel coordinates to output-localFurkan Sahin-1/+2
2018-08-02Revert "Revert "Fix popups""Furkan Sahin-55/+197
This reverts commit 781fc357eaf46b9ca6b5415771982db960c87475. Reverting the revert, so that popups can be fixed.
2018-08-02Merge pull request #2366 from RedSoxFan/nagbarFurkan Sahin-0/+1843
Implement swaynag
2018-08-02Merge branch 'master' into nagbarFurkan Sahin-73/+77
2018-08-02Revert "Fix popups"Furkan Sahin-197/+55
This reverts commit 0878cf13c8acc3e2a67dc1a6d177ad3052cb425b.
2018-08-02Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focusedFurkan Sahin-2/+1
Allow moving containers when workspace itself is focused
2018-08-02Merge pull request #2403 from RyanDwyer/fix-transaction-unmapFurkan Sahin-8/+15
Fix race condition crashes when unmapping views
2018-08-02Merge pull request #2406 from RyanDwyer/fix-focus-crashesFurkan Sahin-4/+9
Fix focus related crashes
2018-08-02Merge pull request #2405 from marienz/sigmaskFurkan Sahin-0/+8
Reset signal mask after fork
2018-08-02Fix focus related crashesFurkan Sahin-4/+9
* 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-02Allow moving containers when workspace itself is focusedFurkan Sahin-2/+1
2018-08-02Fix race condition crashes when unmapping viewsFurkan Sahin-8/+15
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)Furkan Sahin-6/+6
* 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-wiggleFurkan Sahin-61/+46
Correctly track saved surfaces during multiple transactions
2018-08-02Merge branch 'master' into fix-resize-wiggleFurkan Sahin-94/+529
2018-08-01Show swaynag on config errorsFurkan Sahin-20/+118
2018-08-01swaynag: don't drop \n for first lineFurkan Sahin-8/+4
2018-08-01Merge pull request #2391 from RyanDwyer/fix-popups-v2Furkan Sahin-55/+239
Fix popups (v2)
2018-08-02Merge pull request #2264 from ianyfan/ipcFurkan Sahin-38/+289
IPC Events (1.0)
2018-08-01Merge pull request #2397 from chr0me-sh/hide-cursor-if-no-pointerFurkan Sahin-1/+1
XCursor is not configured if no pointer device is available
2018-08-01ipc: remove extraneous valuesFurkan Sahin-4/+0
Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused