Francesco Mazzoli
16c8832a7b
better docs for the focus workspace ipc event
2012-11-13 09:40:29 +01:00
Francesco Mazzoli
1055973f66
refactor, name changes
...
We need to send the workspace event earlier, because otherwise 'old'
might already be destroyed (if it was empty).
2012-11-13 09:40:06 +01:00
Francesco Mazzoli
464d387044
take care of non-existant old workspaces
2012-11-13 09:33:03 +01:00
Francesco Mazzoli
74d596e0fc
more informative `workspace' events
...
Add a `current' and `old' properties to the `focus' change type,
containing the current and old workspace respectively. These additions
are not necessary anywhere else because `focus' is always triggered when
changing ws.
2012-11-13 09:33:00 +01:00
Francesco Mazzoli
b67eedf71a
simplify yajl related code
...
Specifically, put the version dependent code in some macros, and put
that plus the `y' and `ystr' macros in a separate file, `yajl_utils.h'.
2012-11-13 09:32:55 +01:00
Michael Stapelberg
dece12bf18
Merge branch 'master' into next
2012-11-10 09:01:24 +01:00
Michael Stapelberg
17674de5a6
Merge branch 'fix-baf-after-scratchpad'
2012-11-10 09:01:24 +01:00
Michael Stapelberg
81393c93c2
bugfix: fix workspace back_and_forth after displaying a scratchpad window
...
fixes #868
2012-11-10 09:01:04 +01:00
Quentin Glidic
f0d2d84b1c
libi3/font: Use "pango:" prefix to avoid confusion
...
Also add a user-friendly font description syntax to userguide
2012-11-07 21:23:21 +01:00
Quentin Glidic
783fd66b58
complete-run: Unset I3SOCK
2012-11-07 13:40:51 +01:00
Michael Walle
ae14fe9141
introduce new command to rename focused workspace
...
The corresponding command is 'rename workspace to <name>'. As a side-effect
this fixes the command 'rename workspace 1 to to'.
Signed-off-by: Michael Walle <michael@walle.cc>
2012-10-31 09:09:56 +01:00
Michael Stapelberg
2f90321d16
docs/testsuite: add "Installing the dependencies" section (Thanks bitonic)
...
fixes #863
2012-10-30 19:14:11 +01:00
Michael Stapelberg
71ccb4bef2
Merge branch 'master' into next
2012-10-29 16:42:11 +01:00
Michael Stapelberg
eb8c21a5b8
Merge branch 'fix-split-indicator'
2012-10-29 16:42:01 +01:00
Michael Stapelberg
e7a4580c5f
Bugfix: force rendering when the parent’s orientation changed
...
Otherwise, the split indicator might not be refreshed even though it
should be.
fixes #858
2012-10-29 16:41:16 +01:00
Conley Moorhous
7c94e32819
docs/userguide: s/alt/Alt/
2012-10-25 17:08:20 +02:00
Michael Stapelberg
9b87b2c8ec
Implement smart popup_during_fullscreen mode
...
With this commit, the default behavior is to display popups while there
is a fullscreen application only if the popup belongs to that
application (as determined by the WM_TRANSIENT_FOR hint which
applications have to set properly).
fixes #663
2012-10-24 20:54:28 +02:00
Michael Stapelberg
29b19a7468
spelling error: s/implementaiton/implementation/g
2012-10-24 07:58:03 +02:00
Michael Stapelberg
f500f9d82c
keycode default config: s/bindcode/bindsym (Thanks Tim)
2012-10-19 19:26:05 +02:00
Michael Stapelberg
19fef3b4b8
docs/userguide: use $mod consistently (Thanks Conley)
2012-10-16 23:02:04 +02:00
Deiz
aefcb0b668
Skip floating windows in the focus stack when moving through the tree
...
Includes a test for the new behaviour
2012-10-16 20:03:40 +02:00
Deiz
fdfbc53c0b
Focus windows when middle-clicking (X paste)
...
As with most click-based focusing, this only has an effect when
focus_follows_mouse is disabled.
2012-10-16 20:03:08 +02:00
Deiz
c406b4c2fe
Skip floating cons in focus (child|parent) and stop them from being split
...
Focusing child from a workspace should now skip over the floating con and
go directly to its child. Focusing parent from that grandchild should leave
the workspace focused again.
2012-10-16 20:01:36 +02:00
Michael Stapelberg
b9885ff21e
bugfix: don’t send workspace command when at beginning/end of workspaces (Thanks whitequark)
...
fixes #843
2012-10-14 21:05:44 +02:00
Michael Stapelberg
34a5bbb7e9
exit with a proper error message when there are no outputs available (Thanks flo)
...
fixes #842
2012-10-14 20:56:13 +02:00
Michael Stapelberg
e964e7b6cd
config parser: make newlines okay before opening braces (Thanks aksr)
2012-10-10 08:18:33 +02:00
Michael Stapelberg
39ba955919
Bugfix: Actually set border width in config_directives.c (Thanks strcat)
2012-10-09 22:06:36 +02:00
Deiz
47de7375dd
Allow 'focus $dir' to move out of non-global fullscreen containers
2012-10-09 21:26:49 +02:00
Deiz
ca77c12dde
Allow workspace contents to be moved if there are only floating children
2012-10-09 21:25:13 +02:00
Deiz
e07803999f
Fix fullscreen focus bug and corresponding test flaw
...
As the workspace might be reached via recursion (e.g. moving from the edge
of a fullscreen split container), it's necessary to check for a fullscreen
container whenever a workspace is reached.
2012-10-09 21:24:04 +02:00
Deiz
7a280f5691
Grab keys with all permutations of lock and numlock
...
This should prevent all cases of caps lock (or shift lock, on some
keyboards) from interfering with i3 key bindings.
2012-10-09 21:15:06 +02:00
Michael Stapelberg
a06bf27c24
tests: fix error messages, add 'bind' as synonym to mode blocks
2012-10-09 14:11:35 +02:00
Michael Stapelberg
3528d99175
Fix warning: exclude NULL parameters from format string (Thanks knopwob)
2012-10-09 14:09:12 +02:00
Michael Stapelberg
00ac2c4c9c
accept ctrl as synonym of control (Thanks SardemFF7)
2012-10-09 14:09:12 +02:00
Michael Stapelberg
80492c8304
error out instead of accepting invalid key bindings (Thanks SardemFF7)
2012-10-09 14:09:08 +02:00
Michael Stapelberg
94d95f2b8c
add missing include/config_parser.h (Thanks slowpoke)
2012-10-08 16:28:32 +02:00
Michael Stapelberg
ee36c8507e
bugfix: config-parser: bind is a synonym for bindcode
2012-10-08 13:40:44 +02:00
Michael Stapelberg
040a441101
fix warning about printf() field length
2012-10-08 13:30:14 +02:00
Michael Stapelberg
44c16063ed
add test.config_parser to .gitignore
2012-10-08 13:27:42 +02:00
Michael Stapelberg
20c0fa7cfb
use the new parser by default
...
you can force the old parser with the command line flag
--force-old-config-parser-v4.4-only (which will be present in v4.4 only,
as the name suggests)
2012-10-08 13:26:42 +02:00
Michael Stapelberg
2738f13798
move owindow definition into the command parser
2012-10-08 13:26:24 +02:00
Michael Stapelberg
68e3e58232
link the parser test binaries with -g
2012-10-08 13:25:57 +02:00
Michael Stapelberg
c2b699f3dc
change the commands_parser prefix to 'command' for consistency
2012-10-08 13:25:32 +02:00
Michael Stapelberg
587b92b7a3
t/201-config-parser: test more directives, test error handling
2012-10-08 13:24:47 +02:00
Michael Stapelberg
40c624e1c4
port the entire old config parser to the new one
2012-10-08 13:23:48 +02:00
Michael Stapelberg
6f9e6c16c8
config_parser: implement <number>s, proper error handling
2012-10-08 13:23:06 +02:00
Michael Stapelberg
a635945f85
tests: use new assign syntax, drop legacy test
2012-10-08 13:22:17 +02:00
Michael Stapelberg
85018de433
generate-command-parser: support <number>s, state ID replacing and…
...
…determining the next state within a function like cfg_criteria_pop() by
passing next_state in the ConfigResult (or CommandResult) and using it
after calling.
2012-10-08 13:20:24 +02:00
Michael Stapelberg
00fca2dabd
add first bits of a (custom) config parser
2012-10-08 13:17:46 +02:00
Michael Stapelberg
d36264e403
generate-command-parser: make input/output configurable
2012-10-07 16:31:35 +02:00