Michael Stapelberg
02dfb8e891
use memmem and strndup from FreeBSD on Darwin (Thanks Marcus)
2011-07-17 15:18:45 +02:00
Michael Stapelberg
fc583adb99
makefile: link -liconv on Darwin (Thanks Marcus)
2011-07-17 15:18:30 +02:00
Michael Stapelberg
7512f633a7
makefile: add i3-config-wizard to {dist,}clean, dist
2011-07-15 19:21:39 +02:00
Michael Stapelberg
12d3a349de
makefile: add i3-migrate-config-to-v4.pl
2011-07-15 19:14:28 +02:00
Michael Stapelberg
b0b62b4664
add release notes for tree-pr4
2011-07-15 19:08:41 +02:00
Michael Stapelberg
2de5cb06c8
makefile: add i3-nagbar to {dist,}clean target, include i3-nagbar in dist
2011-07-15 19:08:21 +02:00
Michael Stapelberg
feaa161d2c
testcases: explicitly mark the (short) config files as v4
...
i3 won’t call i3-migrate-config and thus won’t add a call to i3bar this way.
It’s not necessary and can interfere with some tests sometimes.
2011-07-15 01:37:54 +02:00
Michael Stapelberg
e117a8a77f
migrate-config: mode foo → mode "foo" (+test) (Thanks cradle)
2011-07-15 00:22:26 +02:00
Michael Stapelberg
2d71102796
Bugfix: Switch to appropriate workspace when using 'focus' (+test) (Thanks rogutes)
...
Fixes #432
2011-07-14 23:45:36 +02:00
Michael Stapelberg
26d63fffc2
testcases: fix config-migrate test case after latest change
2011-07-14 23:07:10 +02:00
Michael Stapelberg
6b4c65e04d
i3-nagbar: Fix -h / --help output (Thanks ktosiek)
2011-07-14 13:26:59 +02:00
Michael Stapelberg
8c1a242f5f
reload the config after editing it through i3-nagbar
2011-07-13 18:47:08 +02:00
Michael Stapelberg
32af9d4106
i3-nagbar: implement -m, set default prompt to "Pleaso do not run this program"
...
It gets run by i3 automatically.
2011-07-13 18:36:21 +02:00
Michael Stapelberg
5c276be3d5
i3-msg: concatenate all arguments. now you can use i3-msg mark foo
2011-07-13 18:01:24 +02:00
Michael Stapelberg
ba7e82fc94
i3-msg: re-indent main.c
2011-07-13 17:53:07 +02:00
Michael Stapelberg
806ad77399
Makefile: use $(MAKE) instead of make
2011-07-13 13:29:39 +02:00
Michael Stapelberg
3749ed2fbe
Makefile: respect and use LIBS (Thanks Kacper)
2011-07-13 13:28:31 +02:00
Michael Stapelberg
93f906308d
makefiles: respect and use the CPPFLAGS variable (Thanks Kacper)
...
See also: http://stackoverflow.com/questions/2754966/cflags-vs-cppflags
2011-07-13 13:25:15 +02:00
Michael Stapelberg
f1190bef44
migrate-config: t → floating toggle (Thanks eeemsi)
2011-07-12 21:29:30 +02:00
Claudio Marforio
cc24a96e96
patch to allow exec_always in configure file
...
fixed indentation, updated docs
2011-07-12 18:23:14 +02:00
Michael Stapelberg
5555c0fd3b
Bugfix: Don’t raise the stacked/tabbed decoration when border != BS_NONE and children == 1 (Thanks smartass)
...
Otherwise a black area would cover the top of the child window.
2011-07-11 23:17:56 +02:00
Michael Stapelberg
036ecba1d1
makefile: don’t pick up autogenerated files
2011-07-11 20:18:38 +02:00
Michael Stapelberg
f9da0d5ded
Makefile: properly make 'clean'
2011-07-11 20:14:25 +02:00
Michael Stapelberg
ac4f14e134
Bugfix: linking error (Thanks smartass)
2011-07-11 20:14:17 +02:00
Michael Stapelberg
7bb9949e23
default config: start i3-config-wizard
2011-07-11 20:02:25 +02:00
Michael Stapelberg
3e3c6f85a1
add v4 comment to i3.config.keycodes, remove userguide comment from i3-config-wizard
2011-07-11 19:48:51 +02:00
Michael Stapelberg
868c804cb8
makefile: install i3-config-wizard
2011-07-11 19:45:22 +02:00
Michael Stapelberg
4693d5f91a
default config: put bindings in the right order (left/down/up/right)
2011-07-11 19:42:30 +02:00
Michael Stapelberg
e79e07104c
config-wizard: write config to ~/.i3/config, create ~/.i3 if necessary
2011-07-11 19:42:10 +02:00
Michael Stapelberg
81340523be
config-wizard: read config from SYSCONFDIR/i3/config.keycodes
2011-07-11 19:41:49 +02:00
Michael Stapelberg
85289636a6
config-wizard: correctly handle shift-only bindings
2011-07-11 19:41:15 +02:00
Michael Stapelberg
2897a761c8
makefile: bugfix: filter out auto-generated files
2011-07-11 19:30:26 +02:00
Michael Stapelberg
29e2e696ed
makefile: install ${SYSCONFDIR}/i3/config.keycodes
2011-07-11 19:24:04 +02:00
Michael Stapelberg
06054642fe
debug.c: remove handle_event
2011-07-11 18:21:25 +02:00
Michael Stapelberg
05f7a50d44
makefile: use src/*.c again, we no longer have files which should not be compiled
2011-07-11 18:21:13 +02:00
Michael Stapelberg
6fb186c77c
common.mk: correctly determine git branch for subfolders
2011-07-11 18:12:57 +02:00
Michael Stapelberg
7584ef4879
add i3.config.keycodes, default config, but using bindcode (template for i3-config-wizard)
2011-07-11 17:40:18 +02:00
Michael Stapelberg
6fb4d91daf
default config: convert to QWERTY, add comments
2011-07-11 17:23:28 +02:00
Michael Stapelberg
675785005d
default config: add resize mode
2011-07-11 17:11:13 +02:00
Michael Stapelberg
fa0c8e4140
default config: add binding to change focus between tiling / floating windows
2011-07-11 16:57:16 +02:00
Michael Stapelberg
897b53f1c2
Bugfix: run nagbar commands through sh(1) (Thanks Tucos)
2011-07-11 16:51:57 +02:00
Michael Stapelberg
429d310011
nagbar: use less / vi as fallbacks for PAGER / EDITOR
2011-07-11 16:40:10 +02:00
Michael Stapelberg
05e39c1c48
Ignore X11 errors caused by ReparentWindow / ChangeProperty on already destroyed windows
...
These errors can happen because a DestroyWindow request by a client will
trigger an UnmapNotify, then a DestroyNotify. We cannot distinguish this
UnmapNotify from an UnmapNotify not followed by a DestroyNotify, so we just try
to send the ReparentWindow / ChangeProperty and ignore the errors, if any.
2011-07-10 23:44:13 +02:00
Michael Stapelberg
48f5166daf
log: display time in microseconds when DEBUG_TIMING is set
2011-07-10 23:11:21 +02:00
Michael Stapelberg
937a80511a
x: only configure window coordinates when height > 0
...
Fixes some X11 errors
2011-07-10 22:59:04 +02:00
Michael Stapelberg
d9038cdb80
x: Only render / copy pixmap when the pixmap was actually created
...
Fixes some X11 errors
2011-07-10 22:58:49 +02:00
Michael Stapelberg
85d851de5f
x: disable GraphicsExposure events on our pixmap graphics contexts
...
Gets rid of GraphicsExposure and NoExpose events, which we don’t use anyways.
2011-07-10 22:27:51 +02:00
Michael Stapelberg
78d25c4cd9
expose event handler: use x_deco_recurse
2011-07-10 22:06:16 +02:00
Michael Stapelberg
7d9ba707b3
x: Don’t pre-render the decoration for windows inside a stack which are not visible
...
Saves n-1 decoration renderings for n windows in a stack whenever a new window
gets added or removed.
2011-07-10 21:55:29 +02:00
Michael Stapelberg
d7f9700ba4
x: use PolySegment instead of two PolyLine requests
2011-07-10 21:19:31 +02:00