aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-12-23Update default swaybar commandDrew DeVault
Fixes #988
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-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-15Handle malloc failures from read_lineDrew DeVault
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-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 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-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
2016-12-02Clarify lock permission consequencesDrew DeVault
2016-12-02Clarify that executable has to be a full pathDrew DeVault
2016-12-02Soften up environment securityDrew DeVault
So no one gets their feewings hurt
2016-12-02Deal with LD_LIBRARY_PATHDrew DeVault
2016-12-02Clarify when keyboard/mouse features workDrew DeVault
2016-12-02Add docs on what features sway programs requireDrew DeVault
2016-12-02Add sway-security(7)Drew DeVault
2016-12-02Unset LD_PRELOAD on startup (before dropping root)Drew DeVault
LD_PRELOAD enables keyloggers to easily be made. This solution isn't perfect - really a secure system wouldn't have LD_PRELOAD at all. It was a stupid idea in the first place.
2016-12-02Flesh out security_sanity_checkDrew DeVault
2016-12-02Enforce command policiesDrew DeVault
2016-12-02Add support for command policies in config fileDrew DeVault
2016-12-01Enforce mouse permissionsDrew DeVault
2016-12-01Enforce keyboard permissionsDrew DeVault
2016-12-01Enforce fullscreen permissionsDrew DeVault
2016-12-01Shut Clang upDrew DeVault
2016-12-01Add security checks for background, panel, lockDrew DeVault