client: Ignore "fake" string property changes
commita0e45e878e450d890a0ab541d48d8dd6c1ede943
authorUli Schlachter <psychon@znc.in>
Thu, 1 Aug 2013 09:48:03 +0000 (1 11:48 +0200)
committerUli Schlachter <psychon@znc.in>
Thu, 1 Aug 2013 09:48:03 +0000 (1 11:48 +0200)
treefcc87baee71fece65a1990b01b33a4a8df7b5a7e
parent14722aa6e43f7108eddceb1306c3d5f91cb538e9
client: Ignore "fake" string property changes

I noticed high CPU usage while using asunder. The reason was that asunder
re-sets its window name every 0.1 seconds (and awesome's drawing code is way too
slow).

A semi-fix for this is to ignore string property changes if the old and new
value for the property are equal.

Signed-off-by: Uli Schlachter <psychon@znc.in>
objects/client.c