diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-04-10 12:05:34 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-04-10 12:05:34 +0200 |
commit | e54e012500ecf2ebd35bbfef669f3971fb199bad (patch) | |
tree | b6dea9aecbe38249641042f9f1906533d7918018 /include/x11-helper.h | |
parent | c3b236db28538d5f53dd085c3d52092f3d3e7fcf (diff) |
Issue: #381: Try to handle X11 input and UTF-8 better.
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
Diffstat (limited to 'include/x11-helper.h')
-rw-r--r-- | include/x11-helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h index a1435c3f..730724bc 100644 --- a/include/x11-helper.h +++ b/include/x11-helper.h @@ -36,6 +36,8 @@ void window_set_atom_prop ( xcb_window_t w, xcb_atom_t prop, xcb_atom_t *atoms, #define EWMH_ATOMS( X ) \ X ( _NET_WM_WINDOW_OPACITY ), \ X ( I3_SOCKET_PATH ), \ + X ( UTF8_STRING ), \ + X ( STRING ), \ X ( WM_WINDOW_ROLE ) enum { EWMH_ATOMS ( ATOM_ENUM ), NUM_NETATOMS }; |