Commit graph

7115 commits

Author SHA1 Message Date
S. Christoffer Eliesen fc1bacf034 Switch to adjacent output when hitting output edge.
(Currently, after switching output the relative position of the mouse
stays the same.)
2015-10-22 01:18:51 +02:00
Drew DeVault 3e2579b22c Merge pull request #197 from sce/configure_outputs_during_reload_
Configure outputs during reload
2015-10-21 18:24:07 -04:00
S. Christoffer Eliesen 9b271573a9 commands: Allow changing resolution outside config load. 2015-10-22 00:16:10 +02:00
S. Christoffer Eliesen 4fea92ef0c config: Don't try to apply bad output resolution. 2015-10-21 23:59:01 +02:00
S. Christoffer Eliesen ca862a5bd4 config: Apply output config also during config reload. 2015-10-21 23:24:06 +02:00
S. Christoffer Eliesen 6eb8da0e14 commands,container: Tweak debug output to better reflect reality. 2015-10-21 22:22:01 +02:00
Drew DeVault aef3191022 Merge pull request #196 from sce/catch_empty_command
commands: Gracefully handle empty commands.
2015-10-19 13:52:49 -04:00
S. Christoffer Eliesen e3837ba634 commands: Gracefully handle empty commands.
Before this patch sway would proceed into find_handler which would cause
a crash trying to parse a NULL string.

This could be triggered via e.g. `i3-msg -s $(sway --get-socketpath)`.
2015-10-19 19:45:35 +02:00
Drew DeVault 83c23f274c Merge pull request #195 from sce/get_socketpath
main: Implement --get-socketpath switch.
2015-10-18 14:25:57 -04:00
Drew DeVault ee9b9414b9 Merge pull request #194 from sce/ignore_no_startup_id
Ignore exec switch "--no-startup-id".
2015-10-18 14:03:48 -04:00
S. Christoffer Eliesen 3be11a08e6 main: Implement --get-socketpath switch. 2015-10-18 19:53:56 +02:00
S. Christoffer Eliesen 71ebe8c36b commands: Catch empty exec with --no-startup-id cases. 2015-10-18 19:14:49 +02:00
S. Christoffer Eliesen 71bcee4f96 commands: Ignore exec switch "--no-startup-id".
When using an i3 config verbatim in sway this switch to exec or
exec_always might appear.

Before this patch the switch would be passed to /bin/sh, causing
an error, and the command would not be run.
2015-10-17 14:28:38 +02:00
Drew DeVault 16e904634c Merge pull request #193 from sce/multi_user
Multi user
2015-10-16 07:32:49 -04:00
S. Christoffer Eliesen 783290e81a sway/ipc: Use sway_abort instead of returning NULL. 2015-10-16 13:23:08 +02:00
S. Christoffer Eliesen 7cb0732030 sway/ipc: ipc_user_sockaddr: Use sway_assert instead of assert. 2015-10-16 13:07:50 +02:00
S. Christoffer Eliesen 382b4e425a sway/ipc: Fix whitespace. 2015-10-16 13:06:30 +02:00
S. Christoffer Eliesen 26beb66eb5 sway/ipc: Free ipc_sockaddr upon termination. 2015-10-16 12:16:18 +02:00
S. Christoffer Eliesen f94f8fde7e sway/ipc: Support multiple users. 2015-10-16 12:16:16 +02:00
S. Christoffer Eliesen ae93c6e6fe sway/ipc: Dynamically assign ipc_sockaddr. 2015-10-16 12:15:11 +02:00
Drew DeVault 219c4848a7 Merge pull request #192 from sleep-walker/master
tell where openSUSE packages lives as well
2015-10-15 14:29:44 -04:00
Tomáš Čech 3d89571cf9 tell where openSUSE packages lives as well 2015-10-15 20:15:34 +02:00
Drew DeVault fe54bf0af0 Merge pull request #191 from zetok/readme
README.md: Add link to unofficial ebuild for Gentoo
2015-10-15 09:22:03 -04:00
Zetok Zalbavar 878ac3d7f6
README.md: Add link to unofficial ebuild for Gentoo 2015-10-15 14:21:06 +01:00
Drew DeVault 73af58152b Merge pull request #190 from taiyu-len/master
#187, let init handle child processes
2015-10-08 11:24:37 -04:00
taiyu 18f4905e62 #187, let init handle child processes 2015-10-08 08:12:31 -07:00
Drew DeVault d2680ac8fe Merge pull request #189 from SirCmpwn/revert-188-master
Revert "#187 cleanup zombies properly"
2015-10-08 06:24:41 -04:00
Drew DeVault 5bcecbb751 Revert "#187 cleanup zombies properly" 2015-10-08 06:24:35 -04:00
Drew DeVault 05c86f7f99 Merge pull request #188 from taiyu-len/master
#187 cleanup zombies properly
2015-10-07 19:39:51 -04:00
taiyu 5539fd89be #187 cleanup zombies properly using default 2015-10-07 16:18:57 -07:00
Drew DeVault 3ca1fa7844 Merge pull request #185 from sleep-walker/master
Use location of XKBcommon headers, don't expect build in source direc…
2015-09-30 08:30:43 -04:00
Tomáš Čech c57499d29c Use location of XKBcommon headers, don't expect build in source directory 2015-09-30 14:21:01 +02:00
taiyu c963aa7ced return after disconnect ipc client and minor checks 2015-09-29 07:19:10 -07:00
Drew DeVault fe3b85d65f Merge pull request #181 from taiyu-len/master
multi command keybinds
2015-09-29 07:43:50 -04:00
taiyu 4944996170 Merge branch 'master' of https://github.com/taiyu-len/sway
merge
2015-09-22 09:41:32 -07:00
taiyu 6c33f8122a #184 2015-09-22 09:41:01 -07:00
Drew DeVault d7f8bbd353 Merge pull request #183 from mikkeloscar/wlc-dep
Add missing wlc dependency
2015-09-20 20:08:29 -04:00
Mikkel Oscar Lyderik 10d5ea0d87 Add missing wlc dependency 2015-09-21 01:57:47 +02:00
taiyu 72aaffcf5b fix config search paths 2015-09-20 10:56:22 -07:00
taiyu 9fd2d635a1 container_move check 2015-09-18 11:34:57 -07:00
taiyu 7672886cb5 dont log empty config lines 2015-09-18 08:33:28 -07:00
taiyu 0d51f62224 merge + no c_extensions 2015-09-18 07:23:04 -07:00
taiyu d2e2b04bfd minor fix 2015-09-18 06:52:04 -07:00
Drew DeVault 318e1be240 Fix warnings introduced by prior commit 2015-09-18 07:27:35 -04:00
Drew DeVault 8e25ce4e57 Fix build for debian stretch
Fixes #182
2015-09-18 07:16:20 -04:00
taiyu a04f645d7c style, safer fork 2015-09-15 06:56:51 -07:00
taiyu a18caf6706 nomacro 2015-09-15 06:39:24 -07:00
taiyu 0bea2e2122 multi command keybinds 2015-09-14 19:59:25 -07:00
Drew DeVault e505abfe75 Revert "new_workspace null behavior + testmap functions + regex"
This reverts commit e1d18e42a8.

Fixes #180

cc @taiyu-len
2015-09-13 19:46:16 -04:00
Drew DeVault 9c8f1fb964 Merge pull request #179 from taiyu-len/master
new_workspace null behavior + testmap functions + regex
2015-09-12 10:29:11 -04:00