Commit Graph

356 Commits

Author SHA1 Message Date
Max Bruckner
0ac6409a75 Add Wayland and Xorg session files
This allows display managers to detect sway.
2015-08-20 23:12:34 +02:00
Drew DeVault
1100335ea0 Merge pull request #104 from minus7/ipc-get-messages
added IPC messages get_workspaces and get_outputs
2015-08-20 15:16:38 -04:00
minus
754793aad4 added IPC messages get_workspaces and get_outputs
No escaping on container names is done yet, as well as some values are
hardcoded because they don't exist yet.
2015-08-20 21:13:01 +02:00
Drew DeVault
d965ce4a1a Merge pull request #102 from taiyu-len/master
find_parent_by_type
2015-08-20 13:22:25 -04:00
taiyu
36e07e9ebc find_parent_by_type 2015-08-20 09:52:54 -07:00
Drew DeVault
84f01a67bd Merge pull request #75 from minus7/ipc
i3 IPC
2015-08-20 09:34:06 -04:00
minus
f8787ce69e added missing header file 2015-08-20 15:27:59 +02:00
minus
4c56cd0ed6 set I3SOCK for i3-msg compatibility 2015-08-20 15:27:59 +02:00
minus
6ab968e63e fixed formatting 2015-08-20 15:27:59 +02:00
minus
f26ed32e46 added sway_terminate to exit cleanly 2015-08-20 15:27:56 +02:00
minus
70f046c87a set IPC client sockets to close on exec 2015-08-20 15:24:33 +02:00
minus
91c0877264 properly exit sway
- wlc_terminate() instead of exit(0)
- unlink IPC socket
2015-08-20 15:24:33 +02:00
minus
bfbadadf70 use env var SWAYSOCK if available
or fall back to /tmp/sway-ipc.sock
2015-08-20 15:24:33 +02:00
minus
773e85c681 properly handle IPC clients 2015-08-20 15:24:33 +02:00
minus
5d99215469 added i3-ipc support/parsing 2015-08-20 15:24:33 +02:00
minus
8981b48cd2 very basic IPC implementation
simply executes the received data as command
2015-08-20 15:24:33 +02:00
Drew DeVault
579fe70ed9 Add command line parsing
Closes #6
2015-08-20 08:37:24 -04:00
taiyu
927ef0a5ec Merge branch 'master' of https://github.com/SirCmpwn/sway
merging
2015-08-20 05:08:04 -07:00
Drew DeVault
95f5660897 Merge pull request #97 from taiyu-len/master
setup for resizable windows, drop weight
2015-08-20 08:07:16 -04:00
taiyu
f5fde7c45c style 2015-08-20 05:06:22 -07:00
taiyu
f6e002fb8b small fix, default width/height 0 2015-08-20 04:57:01 -07:00
taiyu
b76dcf6e0f unnessesary log 2015-08-20 04:50:15 -07:00
taiyu
fbaa9111a8 setup for resizable windows, drop weight 2015-08-20 04:47:36 -07:00
Drew DeVault
85ae987515 Fix compiler warning 2015-08-20 07:38:40 -04:00
Drew DeVault
14947c92aa Merge pull request #94 from taiyu-len/master
input_state.ch, and command conflicts resolved
2015-08-20 07:38:04 -04:00
taiyu
ba6034e8c8 changes 2015-08-20 04:24:39 -07:00
Drew DeVault
616d630fb0 Merge pull request #96 from KoffeinFlummi/gap-fix
Change gap behaviour to more closely match i3-gaps
2015-08-20 06:51:56 -04:00
KoffeinFlummi
3c124d9e7d Change gap behaviour to more closely match i3-gaps
Previously, when only using inner gaps, the gap between a window at the
edge of the output was only half the size of the gaps between views.

Additionally, the gaps between the actual windows was twice as wide as
it was on i3-gaps.
2015-08-20 08:47:51 +02:00
taiyu
1d9b73ed67 remove debug message 2015-08-19 20:31:28 -07:00
taiyu
686780f12d another small fix to move_focus 2015-08-19 20:29:24 -07:00
taiyu
66e82a68fc small fix 2015-08-19 20:28:05 -07:00
taiyu
5ff0619ca1 input state, find_container_in_direction 2015-08-19 20:22:15 -07:00
taiyu
470b4dfbae key_state.ch, and command conflicts resolved 2015-08-19 18:59:27 -07:00
Drew DeVault
4db89b5fe4 Deal with more xkb bullshit 2015-08-19 21:14:34 -04:00
Drew DeVault
e5d3074d70 Whitelist a handful of characters for keys
Ones that don't change when you hold shift
2015-08-19 21:04:34 -04:00
Drew DeVault
f2f7192865 Merge pull request #93 from Luminarys/master
Fixed mode_toggle
2015-08-19 21:00:39 -04:00
Luminarys
29b6b2f37b Fixed mode_toggle 2015-08-19 19:57:39 -05:00
Drew DeVault
1d8591d902 Improve key handling somewhat
XKB is fucking bullshit
2015-08-19 20:52:52 -04:00
Drew DeVault
84a778b688 Improve key buffer handling 2015-08-19 20:12:05 -04:00
Drew DeVault
2dabca03f4 Remove logging of all key presess
This makes the logs a bit too hard to read
2015-08-19 19:55:40 -04:00
Drew DeVault
057d2e529d Merge pull request #92 from z33ky/master
A couple of cppcheck issues
2015-08-19 19:30:26 -04:00
Alexander 'z33ky' Hirsch
f85d0740a8 Fix potential memory leak 2015-08-20 02:30:22 +02:00
Alexander 'z33ky' Hirsch
22675b0111 Minor style fix 2015-08-20 02:30:22 +02:00
Alexander 'z33ky' Hirsch
c068f47ce3 Fix potential crash when toggling fullscreen mode 2015-08-20 02:30:22 +02:00
Drew DeVault
74c9df0c07 Fix error with workspace/output name matching 2015-08-19 19:29:55 -04:00
taiyu
6f424ff6b8 fixed default active_workspace, and more use of set_focused_container_for(...) 2015-08-19 16:15:17 -07:00
taiyu
b79a49a394 use enums for pointer click names 2015-08-19 15:44:13 -07:00
taiyu
a31f23f90c fixed active_workspace update on focus change 2015-08-19 15:22:55 -07:00
taiyu
a90bd212a1 Merge branch 'master' of https://github.com/SirCmpwn/sway
merge
2015-08-19 13:27:23 -07:00
taiyu
269d6ba4ea fixed 2015-08-19 13:27:06 -07:00