Commit graph

7215 commits

Author SHA1 Message Date
Drew DeVault b16dbf6d64 Fix crash closing fullscreen windows in container 2017-10-16 21:07:55 -04:00
Drew DeVault 67f9b7fe5b Merge pull request #1402 from johalun/event-codes-include-fix
Fix include path to input-event-codes.h for FreeBSD.
2017-10-15 09:30:27 -04:00
Johannes Lundberg 44e72573cb Fix include path to input-event-codes.h for FreeBSD. 2017-10-15 10:54:47 +02:00
Drew DeVault ea0f1f3a7e Merge pull request #1401 from sideshowdave7/config/add_scale_to_merge_output_config
Fixes to changing scale factor with output command
2017-10-14 21:39:39 -04:00
David Hurst ee15068a8f Add scale to merge_output_config 2017-10-14 17:50:31 -07:00
Drew DeVault 2216e830be Merge pull request #1398 from johalun/freebsd-fix
Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.
2017-10-14 16:32:50 -04:00
Drew DeVault e91058509e Merge pull request #1400 from madblobfish/manpages
Various manpage edits
2017-10-14 15:50:35 -04:00
madblobfish 93fe8ae705 Various manpage edits
Fix some spelling mistakes, missing punctuation and made some paragraphs more clear.
2017-10-14 21:41:49 +02:00
Drew DeVault 55d8a77dd8 Merge branch 'master' into freebsd-fix 2017-10-14 15:16:15 -04:00
Johannes Lundberg 5a63f0f57b Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration. 2017-10-14 20:38:33 +02:00
Drew DeVault d1e7ac89c4 Merge pull request #1397 from johalun/manpages
Change install folder for man pages
2017-10-14 14:30:20 -04:00
Johannes Lundberg 2588dede77 Change install folder for man pages 2017-10-14 19:09:48 +02:00
Drew DeVault 45ec4de36a Merge pull request #1395 from Zer0-One/master
Update man 5 page
2017-10-13 23:42:02 -04:00
David Zero 03f8a8ae05 Update man 5 page
Changes 'orientation' to 'default_orientation' to match commands.c
2017-10-13 18:53:03 -07:00
Drew DeVault 6f794131eb Merge pull request #1394 from madblobfish/patch-1
Interlink swaymsg to sway(5) and hint that command is interchargeable
2017-10-12 19:12:12 -04:00
madblobfish 758c60e836 fintune swaymsg manpage
Added a hint where to find the commands.
Also indicate that command is itself not a command,
2017-10-13 01:10:32 +02:00
Drew DeVault a82aa2a20d Fix use-after free introduced by cbe7364 2017-10-09 12:04:06 -04:00
Drew DeVault 6271abd644 Fix #1291 2017-10-08 11:26:45 -04:00
Drew DeVault eb7b920303 Document new criteria
Via #1387
2017-10-08 11:09:24 -04:00
Drew DeVault a6d5cad309 Document swaylock -f, scratchpad show 2017-10-08 11:09:24 -04:00
Drew DeVault 6d83a59b46 Merge pull request #1263 from nyorain/master
Implement get_clipboard ipc message
2017-10-08 11:05:54 -04:00
Drew DeVault 5ecedc7199 Remove destroyed views from scratchpad
Fixes #1363
2017-10-08 10:57:41 -04:00
Drew DeVault 46e5aeac50 Fix crash on swaygrab with scratchpad populated
Fixes #1217
2017-10-08 10:48:33 -04:00
Drew DeVault 43161a7e17 Merge pull request #1387 from lbonn/ipc-work
ipc: various fixes for i3 compat
2017-10-08 10:02:52 -04:00
lbonn 61005c3bda ipc/window-event: fill "container" on close events
Also use the recursive description to include children as well

Careful: send the event before deleting the parent
2017-10-08 11:54:46 +02:00
lbonn b2d4caf6c3 commands: fail when criteria match nothing
For whatever command, this probably was not intended by the user
2017-10-08 11:54:46 +02:00
lbonn 514eed7e4b commands: allow criterion values to be unquoted
Sometimes it doesn't really make sense to quote them (numeric values for
example)

In that case, the value is parsed until the next space or the end of the
whole criteria expression
2017-10-08 11:54:46 +02:00
lbonn d879e5b15d commands: implement 3 missing criteria from i3
* con_id
* floating
* tiling
2017-10-08 11:51:03 +02:00
lbonn fd7c4bacbd ipc/tree: populate focus fields
Ids of children, by order of focus
2017-10-08 11:51:03 +02:00
lbonn 661625b29e ipc/tree: output mandatory fields for all nodes
Still missing: focus
2017-10-08 11:51:03 +02:00
Drew DeVault 97daffea58 Merge pull request #1385 from lbonn/sec-no-hidden
Security config: skip hidden files
2017-10-06 12:42:38 -04:00
lbonn e7df811f10 Security config: skip hidden files
Also: fix a small memory leak
2017-10-06 16:23:59 +02:00
Drew DeVault fff684b98e Merge pull request #1384 from lbonn/move-workspace-fullname
Fix two issues with spaces in workspace names
2017-10-06 08:58:29 -04:00
lbonn a7e1a0eea9 Make workspace_next_name work with spaces
`workspace_next_name` parses workspace commands to find the default
workspace names. It handled " " as a separator, which prevents the use
of workspace names with spaces.
2017-10-06 14:37:35 +02:00
lbonn 6197fff0b4 Fix move to named workspaces
The command parsing did not handle workspaces with spaces in their name
(like it's done in `cmd_workspace`)
2017-10-06 14:16:24 +02:00
Drew DeVault c850d433a7 Merge pull request #1383 from kasicka/macarena
Fix github links in doc
2017-10-05 23:18:39 -04:00
Zuzana Svetlikova ef0c51b2f3 Fix github links in doc 2017-10-06 05:13:42 +02:00
Drew DeVault 9ffac1f319 Merge pull request #1382 from 4e554c4c/buggy_outputs
Clean up output command
2017-10-05 23:04:20 -04:00
Calvin Lee 419a1087ac Clean up output command
Plugs memory leaks during failure of the output command and in other
circumstances and fixes `bg` option.

Fixes #1381
2017-10-05 20:46:31 -06:00
Drew DeVault 839064d278 Merge pull request #1379 from karjonas/variable_matching
Fix issue #1287
2017-10-03 16:04:53 -04:00
Jonas Karlsson 05aeccfca0 Fix issue #1287
All variables without a $ prefix lost their last character due to off by one error
2017-10-03 21:51:02 +02:00
Drew DeVault d50e2429d7 Update README et al with new links 2017-10-02 22:26:37 -04:00
Drew DeVault a4e3b4fd7b Merge pull request #1368 from johnae/swaybar-handle-scroll-events
swaybar protocol: handle button 4 and 5
2017-09-23 09:52:33 -04:00
John Axel Eriksson feb8bb96ee
swaybar protocol: handle button 4 and 5
i3 bar handles scroll events as button 4 and 5. An example use
case would be volume up/down.
2017-09-23 15:22:40 +02:00
Drew DeVault a865f723a3 Merge pull request #1360 from sporken/japanese-translate
Fix Japanese translate in README.ja.md #1337
2017-09-20 06:44:21 -04:00
Atnanasi 724e475236 Fix some text 2017-09-20 17:32:57 +09:00
Atnanasi c16ec4f9e1 Fix japanese-translate in README.ja.md 2017-09-20 17:29:28 +09:00
Drew DeVault ba27600bec Update setcap commands in README
Ref #1346
2017-09-14 06:36:30 -04:00
Drew DeVault ec9a977fbb Merge pull request #1351 from Ongy/swaygrab-forking
fixes a hanging swaygrab
2017-09-12 21:26:34 +09:00
Markus Ongyerth 22656ae1e4 fixes a hanging swaygrab
https://github.com/SirCmpwn/sway/issues/1350 is fixed with this.
The commit that change swaygrab to use fork instead of Popen tried to
write to the read end of the pipe in the child branch and exec in the
parent branch.
This commit fixes both of those and closes the write fd after writing,
so convert actually exits.
2017-09-11 22:32:00 +02:00