212 Commits (c3fca26d303617614bee67ad766fd3cb95609245)

Author SHA1 Message Date
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
emersion 311c7db7e3
Add xwayland command
6 years ago
emersion f90ff1210b
Teardown compositor when failing to drop permissions
6 years ago
emersion 9dae68eba5
Make it clear that being able to restore root is a failure
6 years ago
Ryan Dwyer ebeb759873 Abort if proprietary drivers are in use
6 years ago
Drew DeVault 71aaa7e130 Remove unnecessary comment
6 years ago
Arkadiusz Hiler eed0bc3ebd Add support for installing binaries with DT_RPATH
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
Arkadiusz Hiler 00dfb76832 Remove libcap/prctl artifacts
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
sghctoma 67188b7cba Enable privilege dropping of FreeBSD
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer f9563d88f3 Use enum for damage debug options
6 years ago
Ryan Dwyer 8d1dd03823 Standardise debug variables
6 years ago
Drew DeVault db0fa066e5 Remove obsolete security sanity check
6 years ago
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Brian Ashworth a7f7d4a488 Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth f9a6407111 Show swaynag on config errors
6 years ago
Ian Fan e8b179e313 ipc: add shutdown event
6 years ago
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Drew DeVault b1afcc69fa Add extended debugging flags
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 7ef08ffbe6 pango/cairo: set default font map to NULL to free it
7 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
7 years ago
Dominique Martinet c092f1fe6a startup: move setenv WAYLAND_DISPLAY before config execs
7 years ago
Dominique Martinet 1b7f554474 log_kernel: s/fclose/pclose/ (for popen'd FILE)
7 years ago
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
7 years ago
Tobias Blass d6d292897f Remove suspicious unconditional return
7 years ago
Dominique Martinet 89ae1792b5 sway: run commands without waiting for Xwayland
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
Tony Crisci f7a20726fc temporarily add LD_LIBRARY_PATH stuff
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci ed2cedb544 rename layout init
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Dominique Martinet f5b33cb4b6 fix typos in comments/messages; add shutting down message
7 years ago
Calvin Lee 7196f59db0 Consolidate WLR and Sway logging
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 9333a7eb53 working xcursor
7 years ago
emersion aaae59026f
Add output config
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
Tony Crisci 7152075681 log env after ipc init
7 years ago
Tony Crisci 9696f50eba remove nvidia support claim
7 years ago
Drew DeVault 7753a0ec75 Wire up IPC server
7 years ago
Drew DeVault db4fb1c85c Add outputs to the tree
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree
7 years ago
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop
7 years ago
Dan Robertson 88d042ec49
nvidia: Validate the nvidia_drm module options
7 years ago
azarus 5987f19eb2 Check for Raspberry Pi
7 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Mykyta Holubakha 93cf21fb9a Terminate when both suid bit and filecaps are set
8 years ago
Mykyta Holubakha f736198c31 Initialise logging earlier
8 years ago
Sebastian Noack 173b338567 Add -DVERSION flag for release version numbers
8 years ago
Drew DeVault b3541d9dc5 Implement more thourough nvidia config check
8 years ago
Drew DeVault b036ad9b54 Downgrade nvidia proprietary driver warning
8 years ago
JerziKaminsky aa6bd85da1 Add libcap check to CMake
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Drew DeVault 407ebe9cd3 Move env logging to earlier than wlc_init
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Mykyta Holubakha 138bcd0cfa Unset LD_LIBRARY_PATH, unless specified
8 years ago
Mykyta Holubakha d9ba61d7e9 Log capability dropping
8 years ago
Mykyta Holubakha ea1313d80d Keep CAP_SYS_PTRACE with suid binary
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault 4c6c65e70c Handle malloc failures from read_line
8 years ago
Greg V da26d69cb1 Fix build on FreeBSD
8 years ago
Drew DeVault 979878d8af Decrement expected_len
8 years ago
Drew DeVault cdecf3c495 Drop restart command from sanity check
8 years ago
Drew DeVault 8577095db7 Check for CAP_SYS_PTRACE
8 years ago
Drew DeVault a4e92ad272 Deal with LD_LIBRARY_PATH
8 years ago
Drew DeVault 10c2125040 Unset LD_PRELOAD on startup (before dropping root)
8 years ago
Drew DeVault 04fc10feeb Flesh out security_sanity_check
8 years ago
Drew DeVault dc4b57c868 Shut Clang up
8 years ago
Drew DeVault 5831f7ab68 Write example security config, start on code
8 years ago
Drew DeVault d3e55f88ec Log LD_LIBRARY_PATH
8 years ago
Drew DeVault 78b65e2317 Remove duplicate redhat-release line
8 years ago
Drew DeVault 7aef6e66ae Log uname -a on startup
8 years ago
Drew DeVault 6ad2186f0e Log contents of distro version files
8 years ago
Drew DeVault 0d6cbcacbe Log important env vars on startup
8 years ago
Patrick Sauter 153620aefe moved ipc_init above config file processing.
8 years ago
D.B 5e585f9603 Split setgid and setuid, add privilege check
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Daniel Lockyer c9d634414a sway/main.c: simplify free'ing by switching to the helper method
9 years ago
Drew DeVault 54c635ca16 Update to wlc 0.0.2
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Mikkel Oscar Lyderik 938ff29b7b Gracefully exit when config is not found
9 years ago
Drew DeVault 06107bb44e Make the nvidia warning louder
9 years ago
Drew DeVault fd061d4dc4 Don't set WLC_DIM on startup
9 years ago
Drew DeVault 5c85c018b4 Update to new WLC API
9 years ago
Mikkel Oscar Lyderik 67bbcceba1 Free config before exiting sway.
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Yacine Hmito c400ca8f88 Fix for when sway_abort doesn't exit
9 years ago
Yacine Hmito e239fbbd88 No options when using sway as IPC client
9 years ago
Yacine Hmito 179192e222 Removed p as a valid CLI option
9 years ago
crondog cd0eaf00da Prevent ipc from crashing sway
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago