Commit graph

2594 commits

Author SHA1 Message Date
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
Drew DeVault 5e8f83fbd6 Merge pull request #1342 from DarkReef/master
Translate README to russian
2017-09-04 18:46:12 +09:00
Dark Rift b8fecef717 Added link to README.ru.md 2017-09-04 09:44:21 +00:00
Dark Rift 4b59272110 Minor edits, added reference to guidelines 2017-09-04 09:33:31 +00:00
Dark Rift 62b079ede9 Added subsection for translators 2017-09-04 09:02:17 +00:00
Dark Rift 43b466c111 Merge branch 'master' into master 2017-09-04 14:51:46 +06:00
Drew DeVault c690d41552 Merge pull request #1343 from Hummer12007/patch-6
Translated missing header
2017-09-04 15:52:53 +09:00
Hummer12007 08091943e0 Translated missing header 2017-09-04 07:48:13 +03:00
Dark Rift 9ba85e216b Added russian translation 2017-09-03 12:46:39 +00:00
Drew DeVault 713ffee459 Merge pull request #1340 from nuskorpios/master
Translate README to Portuguese
2017-09-01 17:30:17 -05:00
Emerson Ferreira 7c4e77d95b Add link to portuguese README 2017-09-01 14:40:54 +00:00
Emerson Ferreira 051ee31e8e Better translation for "bounty" 2017-09-01 14:40:00 +00:00
Emerson Ferreira 53375e179a Move lang status section + clarify WIP status
The WIP status was referring only to README file; Now it also extends to
man files.
2017-09-01 00:07:41 +00:00
Emerson Ferreira 013df6a8a5 Merge branch 'master' into master 2017-08-31 20:35:03 +00:00
Emerson Ferreira bbfe55f36d Translate README to portuguese 2017-08-31 18:57:44 +00:00
Drew DeVault 82d6afc91d Merge pull request #1336 from akokshar/master
click_events
2017-08-30 17:45:43 -05:00
akokshar@redhat.com 2b927685ca styling fixes 2017-08-30 08:16:17 +02:00
akokshar@redhat.com 39df3aed82 styling fixes 2017-08-29 17:33:06 +02:00
akokshar@redhat.com d873d09f23 style fixes 2017-08-29 15:55:30 +02:00
akokshar@redhat.com 65022e1cbf click_events as documented at https://i3wm.org/docs/i3bar-protocol.html 2017-08-29 11:19:43 +02:00
Drew DeVault 7553103e34 Merge pull request #1247 from clarcharr/master
Convert a popen into a fork.
2017-08-27 17:36:38 -05:00
Clar Charr fab5720576 Use fork in swaygrab instead of popen. 2017-08-27 14:12:52 -04:00