Drew DeVault
82db2a57a9
Basic support for extensions in server and clients
9 years ago
Drew DeVault
fb0bfa13ce
Fix warning about uninitialized variable
9 years ago
Drew DeVault
2f01a3265d
Exit if unable to allocate buffer
9 years ago
Drew DeVault
7a40eb6de6
Support cursors over wayland clients
...
Apparently wayland has fucking client-side cursors, too
9 years ago
Drew DeVault
929537c158
Generate protocol headers
9 years ago
Drew DeVault
86372d00db
Fix SIGBUS from wayland clients
9 years ago
Drew DeVault
665d4baaf1
Normalize indentation
9 years ago
Drew DeVault
9a1e95b7da
Clean up memory pool files better
9 years ago
Drew DeVault
49388eb88b
Support resizing in wayland client implementation
9 years ago
Drew DeVault
399220f14b
Fix up wayland client implementation
...
Now it receives frame callbacks and renders properly, and is double
buffered and such.
9 years ago
Drew DeVault
01202568f9
Track pid of child process from exec
...
This will allow us to eventually open that process on the current view.
Requires support from @Cloudef.
9 years ago
Drew DeVault
6850174049
Merge pull request #233 from sce/multiple_adjacent_outputs
...
output: Support multiple adjacent outputs.
9 years ago
S. Christoffer Eliesen
236f26f62e
output: Support multiple adjacent outputs.
...
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).
9 years ago
Drew DeVault
95c65ee33e
Merge pull request #232 from sce/replace_output_config
...
cmd_output: Replace existing config if called multiple times.
9 years ago
S. Christoffer Eliesen
a94a91a723
cmd_output: Replace existing config if called multiple times.
9 years ago
Drew DeVault
00a4591b39
Update README
9 years ago
Drew DeVault
63a3f24b79
Merge pull request #230 from sce/code_overview
...
README: Add long code overview section.
9 years ago
S. Christoffer Eliesen
2f7f8512bd
HACKING.md: Add code overview section.
9 years ago
Drew DeVault
cd161aa985
We somewhat more wlc_point now
...
Apparently I missed some
cc @Cloudef
9 years ago
Drew DeVault
95442dac8d
We wlc_point now
...
cc @Cloudef
9 years ago
Drew DeVault
ab3d6f6fa1
Merge pull request #227 from xerpi/master
...
Check the client_setup() return value
9 years ago
Sergi Granell
a8b18b5159
Check the client_setup() return value
9 years ago
Drew DeVault
3dbdc40b0e
Merge pull request #226 from sce/fix_get_socketpath
...
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
9 years ago
S. Christoffer Eliesen
f64b7e71d4
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
...
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.
9 years ago
Drew DeVault
2cc6d39d46
New screenshot for README
...
This one was actually taken from within sway!
9 years ago
Drew DeVault
f7c0d2badb
Clean up some things better in wayland clients
9 years ago
Drew DeVault
1011957465
Merge branch 'master' of github.com:SirCmpwn/sway
9 years ago
Drew DeVault
38b18d460a
Revert "Try ~/.i3/config earlier than /etc/sway/config"
...
This reverts commit f0ceb4e909
.
9 years ago
Drew DeVault
f3fc48f692
Merge pull request #225 from sce/logind_socket_path
...
ipc: Put socket into proper user runtime dir.
9 years ago
Drew DeVault
f0ceb4e909
Try ~/.i3/config earlier than /etc/sway/config
...
And ~/.config/i3/config, of course.
9 years ago
S. Christoffer Eliesen
253204efb9
ipc: Put socket into proper user runtime dir.
9 years ago
Drew DeVault
5c3f40111a
Fix man page installs
9 years ago
Drew DeVault
fd1a59def3
Clean up CMake stuff
9 years ago
Drew DeVault
44d0b3282f
Merge pull request #224 from mathstuf/cmake-cleanups
...
CMake cleanups
9 years ago
Ben Boeckel
8e8bdbcae2
cmake: run git in the source directory
9 years ago
Ben Boeckel
ec013d1f1a
common: create a static library
9 years ago
Ben Boeckel
98678dea5d
cmake: clean up installation rules
9 years ago
Ben Boeckel
f8ae8cb820
cmake: clean up definition settings
9 years ago
Ben Boeckel
28f1e9842c
cmake: manipulate CMAKE_MODULE_PATH as a list
...
Also prefer local modules.
9 years ago
Ben Boeckel
2e9183e4de
cmake: set the output directory once
9 years ago
Ben Boeckel
4714262c3d
cmake: simplify manpage generation
9 years ago
Ben Boeckel
c8599dba02
cmake: use string(TIMESTAMP)
9 years ago
Ben Boeckel
f002baed7a
cmake: bump requirement to 3.1.0
...
CMAKE_C_STANDARD was introduced in 3.1.0.
9 years ago
Drew DeVault
c43ef2aedd
We don't need to implement strdup
...
After defining _GNU_SOURCE
9 years ago
Drew DeVault
11b1ba397f
Further refinement of wayland client support
9 years ago
Drew DeVault
bfcabe48ef
Start fleshing out wayland client implementation
...
This introduces a basic shared framework for making wayland clients
within sway itself.
9 years ago
Drew DeVault
5c4e98aa4e
Merge branch 'master' of github.com:SirCmpwn/sway
9 years ago
Drew DeVault
ef8335d694
Start working on IPC for get_pixels
...
This is broken
9 years ago
Drew DeVault
8048b8a4d2
Merge pull request #223 from mikkeloscar/swaybg-deps
...
Add new swaybg dependencies
9 years ago
Mikkel Oscar Lyderik
b8068a1d3e
Add new swaybg dependencies
9 years ago