Allow i3-input to be set a name with -n option.
Patch status: rejected
Patch by Harri Montonen
i3-input prompt has hardcoded geometrical position. It may be inconvenient for some multimonitor systems. On the other hand, prompt window can't be easily moved, as it doesn't have a name, nor does it have any option for one. This patch is an effort to somewhat fix that issue. Potential problems, as I'm not qualified C programmer nor have sufficient knowledge of X11 internals: - WM_NAME has been used as name, although I'm not sure if it should be WM_CLASS or _NET_WM_NAME. - I'm not sure about validation practises regarding kind as the argument of option -n. - I'm not sure whether xcb_change_property -call should have some kind of assurance of succesful call (well, probably should), nor how it should be done. This commit message has way more characters than actual patch, though, so may be this is not a problem. :)
To apply this patch, use:
curl http://cr.i3wm.org/patch/570/raw.patch | git am