Commit Graph

70 Commits

Author SHA1 Message Date
Michael Stapelberg 0dc11b5d22 i3-config-wizard: Bugfix: Check the modifier mapping to decide whether to use Mod1 or Mod4
Fixes #491

Before, we assumed XK_Alt_L was in Mod1 and XK_Super_L was in Mod4 (which is
true on most systems). Now we just check if the keycode is in Mod1 or Mod4 and
write the config accordingly.
2011-08-28 16:16:53 +02:00
Michael Stapelberg 3fda67f5e5 i3-config-wizard: handle mouse button clicks on <win> and <alt> 2011-08-26 01:19:46 +02:00
Michael Stapelberg ec88f6501d i3-config-wizard: use a managed, floating (dialog) window. fixes focus problems
Probably only when another window is already opened, but people can do that
(start i3 from within a terminal in their X session)
2011-07-27 13:28:32 +02:00
Michael Stapelberg 2a43a49595 i3-config-wizard: correctly check for errors when connecting to X11 2011-07-27 13:05:40 +02:00
Michael Stapelberg 6a07e08320 makefiles: build subdirs (Thanks Kacper) 2011-07-25 00:31:35 +02:00
Michael Stapelberg 4fe870c927 define prototype for xcb_get_numlock_mask (fixes warning) 2011-07-24 22:16:40 +02:00
Michael Stapelberg 4099b4302b i3-config-wizard: fix keypresses with numlock on, also accept keypad enter (Thanks mxf) 2011-07-24 22:14:12 +02:00
Michael Stapelberg 3da3a69106 i3-config-wizard: use fgetln on Darwin, use strndup from FreeBSD on Darwin (Thanks Marcus) 2011-07-17 15:21:57 +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 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 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 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 43ec3ddbaf wizard: actually write the output config 2011-05-01 13:56:35 +02:00
Michael Stapelberg 9101f4cce2 wizard: check if the config file does not already exist and if we can create it 2011-05-01 12:50:18 +02:00
Michael Stapelberg 2491a155ee initial commit of the i3-config-wizard (GUI working, functionality incomplete) 2011-05-01 00:27:23 +02:00