aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2015-11-18Clean up memory pool files betterDrew DeVault-21/+27
2015-11-18Support resizing in wayland client implementationDrew DeVault-0/+12
2015-11-18Fix up wayland client implementationDrew DeVault-121/+168
Now it receives frame callbacks and renders properly, and is double buffered and such.
2015-11-16Track pid of child process from execDrew DeVault-3/+18
This will allow us to eventually open that process on the current view. Requires support from @Cloudef.
2015-11-16Merge pull request #233 from sce/multiple_adjacent_outputsDrew DeVault-49/+167
output: Support multiple adjacent outputs.
2015-11-16output: Support multiple adjacent outputs.S. Christoffer Eliesen-49/+167
When querying for an adjacent output we now need an absolute position in order to know which adjacent output that matches. (The position is either the current mouse position or the center of the currently focused container, depending on context.) If two outputs have one edge each that at least partially align with each other they now count as adjacent. Seamless mouse is affected by this and now properly moves and positions itself between outputs with "uneven" placement (as long as they have at least some part of the edge adjacent to each other). When focusing or moving a container in a specified direction the center of the current focused container decides where to look for an adjacent output. So if e.g. an output has two adjacent outputs to the right and a "focus right" command is issued then it's the placement of the currently focused container that decides which output actually gets focused. Also, if an output has at least one output adjacent in some direction but the entire edge is not covered (ie. it has "holes" with no outputs), then the algorithm will choose the output that is closest to the currently focused container (this does not apply to seamless mouse, the pointer will just stop at the edge in that case).
2015-11-16Merge pull request #232 from sce/replace_output_configDrew DeVault-1/+11
cmd_output: Replace existing config if called multiple times.
2015-11-16cmd_output: Replace existing config if called multiple times.S. Christoffer Eliesen-1/+11
2015-11-15Update READMEDrew DeVault-0/+2
2015-11-15Merge pull request #230 from sce/code_overviewDrew DeVault-0/+81
README: Add long code overview section.
2015-11-15HACKING.md: Add code overview section.S. Christoffer Eliesen-0/+81
2015-11-14We somewhat more wlc_point nowDrew DeVault-12/+12
Apparently I missed some cc @Cloudef
2015-11-14We wlc_point nowDrew DeVault-3/+3
cc @Cloudef
2015-11-13Merge pull request #227 from xerpi/masterDrew DeVault-1/+3
Check the client_setup() return value
2015-11-13Check the client_setup() return valueSergi Granell-1/+3
2015-11-13Merge pull request #226 from sce/fix_get_socketpathDrew DeVault-6/+15
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
2015-11-13ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.S. Christoffer Eliesen-6/+15
After adding pid to the socket path the `--get-socketpath` command broke because it doesn't know the pid of the running instance. Fix this by setting and querying `SWAYSOCK`. Also ignore `SWAYSOCK` upon normal startup if a socket exists at that location (ie. from another sway instance), and don't overwrite `I3SOCK` if it exists either.
2015-11-13New screenshot for READMEDrew DeVault-1/+1
This one was actually taken from within sway!
2015-11-13Clean up some things better in wayland clientsDrew DeVault-14/+27
2015-11-13Merge branch 'master' of github.com:SirCmpwn/swayDrew DeVault-6/+7
2015-11-13Revert "Try ~/.i3/config earlier than /etc/sway/config"Drew DeVault-1/+1
This reverts commit f0ceb4e909bb0182d10ce09d34019497aa8d5715.
2015-11-13Merge pull request #225 from sce/logind_socket_pathDrew DeVault-6/+7
ipc: Put socket into proper user runtime dir.
2015-11-13Try ~/.i3/config earlier than /etc/sway/configDrew DeVault-1/+1
And ~/.config/i3/config, of course.
2015-11-13ipc: Put socket into proper user runtime dir.S. Christoffer Eliesen-6/+7
2015-11-13Fix man page installsDrew DeVault-1/+1
2015-11-13Clean up CMake stuffDrew DeVault-8/+5
2015-11-12Merge pull request #224 from mathstuf/cmake-cleanupsDrew DeVault-70/+70
CMake cleanups
2015-11-12cmake: run git in the source directoryBen Boeckel-0/+2
2015-11-12common: create a static libraryBen Boeckel-7/+9
2015-11-12cmake: clean up installation rulesBen Boeckel-20/+20
2015-11-12cmake: clean up definition settingsBen Boeckel-5/+2
2015-11-12cmake: manipulate CMAKE_MODULE_PATH as a listBen Boeckel-1/+2
Also prefer local modules.
2015-11-12cmake: set the output directory onceBen Boeckel-2/+1
2015-11-12cmake: simplify manpage generationBen Boeckel-25/+28
2015-11-12cmake: use string(TIMESTAMP)Ben Boeckel-8/+2
2015-11-12cmake: bump requirement to 3.1.0Ben Boeckel-1/+3
CMAKE_C_STANDARD was introduced in 3.1.0.
2015-11-12We don't need to implement strdupDrew DeVault-16/+6
After defining _GNU_SOURCE
2015-11-12Further refinement of wayland client supportDrew DeVault-9/+50
2015-11-12Start fleshing out wayland client implementationDrew DeVault-92/+370
This introduces a basic shared framework for making wayland clients within sway itself.
2015-11-12Merge branch 'master' of github.com:SirCmpwn/swayDrew DeVault-0/+2
2015-11-12Start working on IPC for get_pixelsDrew DeVault-6/+45
This is broken
2015-11-12Merge pull request #223 from mikkeloscar/swaybg-depsDrew DeVault-0/+2
Add new swaybg dependencies
2015-11-12Add new swaybg dependenciesMikkel Oscar Lyderik-0/+2
2015-11-12Add swaybg executableDrew DeVault-3/+35
This will let users set their background to something other than that cringy demoscene thing wlc has now. It's also going to be the first wayland client written for sway, so I picked an easy thing to work on. We'll have to figure out how to indicate that it's a special view.
2015-11-12Add new dependencies for wayland clientsDrew DeVault-0/+661
Cairo for rendering shit, Pango for text rendering, and wayland client stuff. Thanks @Cloudef, blatantly ripping off his cmake files for this
2015-11-12Fix gaps for views being incorrectDrew DeVault-1/+4
2015-11-11Fix some IPC issuesDrew DeVault-6/+9
Socket now includes pid in the filename (fixes nested sway sessions or old sockets causing problems). Fixed warnings on strict aliasing and cleaned up relevant code in general.
2015-11-11Add file and line number to log in Debug buildDrew DeVault-2/+22
2015-11-08Add some documentation commentsDrew DeVault-46/+224
This is mostly setting a precedent, I hope that others will continue to write docs for more headers. Ref #218
2015-11-04Merge pull request #217 from mikkeloscar/ipc-hDrew DeVault-0/+1
Include header declaring ipc_event_workpace(2)