aboutsummaryrefslogtreecommitdiff
path: root/sway/CMakeLists.txt
AgeCommit message (Collapse)Author
2015-12-28arrange_windows_r: Round pixels to match reality, fixes calculations.S. Christoffer Eliesen
If the width or height of a container can't be evenly distributed to its children, then the layout algorithm still thought it got it right (due to using decimals) which caused a gap of one or more pixels for some window arrangements. This is fixed by this patch by first rounding off the width and height (so that decimals are never introduced) and then adjusting the last view in a container to fill the remaining pixels (which now is counted correctly due to the decimals being removed). Also, due to the way gaps are implemented, an odd sized gap can never be aligned properly, so just adjust to closest even number.
2015-12-23Use SYSCONFDIR as recommendedYacine Hmito
- swaylock config path not hardcoded anymore - the unusual and weird FALLBACK_CONFIG_DIR is no more
2015-12-14Move sway/util.c to common/util.cMikkel Oscar Lyderik
2015-12-02move manpages to subfoldersChristoph Gysin
2015-12-02cmake: build common code only onceChristoph Gysin
This creates (static) libraries for protocols/, common/, and wayland/.
2015-12-01Fix busted install of /etc/sway/configDrew DeVault
2015-12-01cmake: extract swayChristoph Gysin