aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-26sway: extensions: make locking give back focusAleksa Sarai
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
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
Fixes #988
2016-12-20Clear swaylock properly during re-renderDrew DeVault
Fixes #999
2016-12-18Merge pull request #1001 from alkino/masterDrew DeVault
Put floating views in center, fallback on top left
2016-12-18Put floating views in center, fallback on top leftNicolas Cornu
Sometimes views are created before we got its size
2016-12-17Change how security config is loadedDrew DeVault
2016-12-17Merge pull request #996 from woutershep/datadirDrew DeVault
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
2016-12-17Add libcap dependency to readmeDrew DeVault
2016-12-17Merge pull request #995 from SirCmpwn/memory-useDrew DeVault
Handle allocation failures
2016-12-17Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIRWouter van Kesteren
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
2016-12-15Fix indentation issuesDrew DeVault
2016-12-15Handle calloc failuresDrew DeVault
2016-12-15Add remaining sway allocation failure handlingDrew DeVault
2016-12-15Handle allocation failures in security codeDrew DeVault
Note that such errors are generally going to be fatal
2016-12-15Handle IPC server allocation failuresDrew DeVault
2016-12-15Handle some more memory allocation failuresDrew DeVault
2016-12-15Handle config-related allocation failuresDrew DeVault
2016-12-15Handle allocation failure in commandsDrew DeVault
2016-12-15Handle border-related malloc failuresDrew DeVault
2016-12-15Always log filename and line numberDrew DeVault
2016-12-15Handle malloc failures from read_lineDrew DeVault
2016-12-15Handle malloc failure in ipc_recv_responseDrew DeVault
2016-12-14Merge pull request #991 from barfoo1/registry_fixDrew DeVault
minor logic error in registry.c:seat_handle_capabilities()
2016-12-14minor logic errorbarfoo1
2016-12-11Merge pull request #985 from myfreeweb/masterDrew DeVault
Fix build on FreeBSD
2016-12-09Fix build on FreeBSDGreg V
- 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
2016-12-04Decrement expected_lenDrew DeVault
2016-12-04Change name of ld-library-path cmake variableDrew DeVault
2016-12-04Mention setcap in manual install instructionsDrew DeVault
2016-12-04Add link to security features issue in readmeDrew DeVault
2016-12-04Fix to sway-security(7)Drew DeVault
2016-12-04Drop restart command from sanity checkDrew DeVault
Since we don't actually have one of those
2016-12-04Fix minor issues with default security configDrew DeVault
2016-12-04fix layout switching (was broken because of workspace_layout)D.B
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
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
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
Security features
2016-12-03Disallow everything by defaultDrew DeVault
And update config.d/security to configure sane defaults
2016-12-02Fix use-after-freeDrew DeVault
2016-12-02Fix clang issuesDrew DeVault
2016-12-02Check for CAP_SYS_PTRACEDrew DeVault
2016-12-02Add ipc connection feature policy controlsDrew DeVault
2016-12-02Enforce IPC security policyDrew DeVault
2016-12-02Add IPC security policy command handlersDrew DeVault
2016-12-02Add IPC policy to configDrew DeVault
Also reduces enum abuse, cc @minus7
2016-12-02Drop -Denable-binding-eventDrew DeVault
2016-12-02Run config files through sed and install to /etcDrew DeVault