Handle legacy window titles by rendering them not unicode-compatible.
This commit is contained in:
@ -223,6 +223,10 @@ struct Client {
|
||||
|
||||
/* Name (= window title) */
|
||||
char *name;
|
||||
/* name_len stores the real string length (glyphs) of the window title if the client uses
|
||||
_NET_WM_NAME. Otherwise, it is set to -1 to indicate that name should be just passed
|
||||
to X as 8-bit string and therefore will not be rendered correctly. This behaviour is
|
||||
to support legacy applications which do not set _NET_WM_NAME */
|
||||
int name_len;
|
||||
|
||||
/* fullscreen is pretty obvious */
|
||||
|
@ -21,6 +21,8 @@ int handle_configure_request(void *prophs, xcb_connection_t *conn, xcb_configure
|
||||
int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_notify_event_t *event);
|
||||
int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
|
||||
xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
|
||||
int handle_windowname_change_legacy(void *data, xcb_connection_t *conn, uint8_t state,
|
||||
xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
|
||||
int handle_expose_event(void *data, xcb_connection_t *conn, xcb_expose_event_t *event);
|
||||
int handle_client_message(void *data, xcb_connection_t *conn, xcb_client_message_event_t *event);
|
||||
int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window,
|
||||
|
Reference in New Issue
Block a user