i3-config-wizard: Mark the currently selected modifier with an arrow (Thanks jjfoerch)

Boldface seems to be unrecognizable on some systems.

Fixes #607
This commit is contained in:
Michael Stapelberg 2012-01-21 14:32:35 +00:00
parent fc27c19761
commit 53f19576d6
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* vim:ts=4:sw=4:expandtab * vim:ts=4:sw=4:expandtab
* *
* i3 - an improved dynamic tiling window manager * i3 - an improved dynamic tiling window manager
* © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
* *
* i3-config-wizard: Program to convert configs using keycodes to configs using * i3-config-wizard: Program to convert configs using keycodes to configs using
* keysyms. * keysyms.
@ -155,8 +155,8 @@ static int handle_expose() {
set_font(&bold_font); set_font(&bold_font);
set_font_colors(pixmap_gc, get_colorpixel("#FFFFFF"), get_colorpixel("#000000")); set_font_colors(pixmap_gc, get_colorpixel("#FFFFFF"), get_colorpixel("#000000"));
if (modifier == MOD_Mod4) if (modifier == MOD_Mod4)
txt(31, 4, "<Win>"); txt(10, 4, "-> <Win>");
else txt(31, 5, "<Alt>"); else txt(10, 5, "-> <Alt>");
/* green */ /* green */
set_font(&font); set_font(&font);