summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-12-26Merge pull request #1014 from cyphar/swaylock-fix-focus0.11Drew DeVault-5/+11
sway: extensions: make locking give back focus
2016-12-26sway: extensions: make locking give back focusAleksa Sarai-4/+8
Don't switch the internal tracking of focus to the swaylock surface, to allow for switching back to the previously active window (or the currently active window, if some new process changed). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2016-12-26sway: extensions: only unlock if lock_surfaces.length == 0Aleksa Sarai-1/+3
When destroying lock surfaces, we really should only unlock a desktop_shell if the set of lock surfaces has dropped to zero (since callers need to do a set_lock_surface for every output). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2016-12-23Update default swaybar commandDrew DeVault-1/+1
Fixes #988
2016-12-20Clear swaylock properly during re-renderDrew DeVault-0/+5
Fixes #999
2016-12-18Merge pull request #1001 from alkino/masterDrew DeVault-3/+12
Put floating views in center, fallback on top left
2016-12-18Put floating views in center, fallback on top leftNicolas Cornu-3/+12
Sometimes views are created before we got its size
2016-12-17Change how security config is loaded0.11-rc3Drew DeVault-57/+37
2016-12-17Merge pull request #996 from woutershep/datadirDrew DeVault-7/+7
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
2016-12-17Add libcap dependency to readmeDrew DeVault-0/+1
2016-12-17Merge pull request #995 from SirCmpwn/memory-useDrew DeVault-103/+401
Handle allocation failures
2016-12-17Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIRWouter van Kesteren-7/+7
Exherbo installs architecture dependent data in a different place than architecture independent data. More concretely: binaries go in /usr/$chost/{bin,lib}, data goes in /usr/share and configs in /etc, /etc is already configurable through CMAKE_INSTALL_FULL_SYSCONFDIR but the datadir was not. This patch fixes it so that things can be pushed in the right places.
2016-12-15Fix build errorDrew DeVault-1/+1
2016-12-15Fix indentation issuesDrew DeVault-3/+3
2016-12-15Handle calloc failuresDrew DeVault-2/+39
2016-12-15Add remaining sway allocation failure handlingDrew DeVault-2/+10
2016-12-15Handle allocation failures in security codeDrew DeVault-2/+24
Note that such errors are generally going to be fatal
2016-12-15Handle IPC server allocation failuresDrew DeVault-6/+21
2016-12-15Handle some more memory allocation failuresDrew DeVault-1/+25
2016-12-15Handle config-related allocation failuresDrew DeVault-60/+136
2016-12-15Handle allocation failure in commandsDrew DeVault-16/+78
2016-12-15Handle border-related malloc failuresDrew DeVault-3/+26
2016-12-15Always log filename and line numberDrew DeVault-5/+0
2016-12-15Handle malloc failures from read_lineDrew DeVault-3/+18
2016-12-15Handle malloc failure in ipc_recv_responseDrew DeVault-3/+24
2016-12-14Merge pull request #991 from barfoo1/registry_fixDrew DeVault-1/+1
minor logic error in registry.c:seat_handle_capabilities()
2016-12-14minor logic errorbarfoo1-1/+1
2016-12-11Merge pull request #985 from myfreeweb/master0.11-rc2Drew DeVault-103/+127
Fix build on FreeBSD
2016-12-09Fix build on FreeBSDGreg V-103/+127
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf - Add forgotten json-c include path to swaymsg/CMakeLists.txt - Disable -Werror because of assert warnings - Add correct /proc/pid/file path for FreeBSD - Use libepoll-shim on FreeBSD - Only use Linux capabilities on, well, Linux
2016-12-06Use return value of writeDrew DeVault-1/+3
2016-12-04Decrement expected_lenDrew DeVault-1/+1
2016-12-04Change name of ld-library-path cmake variableDrew DeVault-2/+2
2016-12-04Mention setcap in manual install instructionsDrew DeVault-0/+1
2016-12-04Add link to security features issue in readmeDrew DeVault-0/+1
2016-12-04Fix to sway-security(7)Drew DeVault-3/+3
2016-12-04Drop restart command from sanity checkDrew DeVault-1/+0
Since we don't actually have one of those
2016-12-04Fix minor issues with default security configDrew DeVault-2/+0
2016-12-04fix layout switching (was broken because of workspace_layout)0.11-rc1D.B-2/+5
For workspace containers, swayc_change_layout also changes ->layout alongside ->workspace_layout when it's a sensible thing to do. There is an additional test for 'layout toggle' command which ensures that containers will be tiled horizontally after toggling from tabbed or stacked.
2016-12-04wrap some views under workspacesD.B-0/+23
If workspace layout is set to tabbed or stacked, its C_VIEW children should get wrapped in a container. Alongside that, move_container was modified to retain previous functionality.
2016-12-04add workspace_layout to containerD.B-25/+33
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
2016-12-04Merge pull request #981 from SirCmpwn/securityDrew DeVault-44/+1159
Security features
2016-12-03Disallow everything by defaultDrew DeVault-13/+34
And update config.d/security to configure sane defaults
2016-12-02Fix use-after-freeDrew DeVault-1/+1
2016-12-02Fix clang issuesDrew DeVault-2/+2
2016-12-02Check for CAP_SYS_PTRACEDrew DeVault-0/+11
2016-12-02Add ipc connection feature policy controlsDrew DeVault-10/+34
2016-12-02Enforce IPC security policyDrew DeVault-13/+65
2016-12-02Add IPC security policy command handlersDrew DeVault-1/+200
2016-12-02Add IPC policy to configDrew DeVault-6/+8
Also reduces enum abuse, cc @minus7
2016-12-02Drop -Denable-binding-eventDrew DeVault-10/+0