s/atomar/atomic
This commit is contained in:
parent
cefc1dabac
commit
4f8e704017
|
@ -494,7 +494,7 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
|
||||||
if (client == NULL)
|
if (client == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* Save the old pointer to make the update atomar */
|
/* Save the old pointer to make the update atomic */
|
||||||
char *old_name = client->name;
|
char *old_name = client->name;
|
||||||
asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop));
|
asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop));
|
||||||
if (old_name != NULL)
|
if (old_name != NULL)
|
||||||
|
|
Loading…
Reference in New Issue