]> git.sur5r.net Git - i3/i3/commit
Handle WM_CLASS changes
authorTony Crisci <tony@dubstepdish.com>
Sat, 12 Jul 2014 02:23:23 +0000 (22:23 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 15 Jul 2014 07:18:40 +0000 (09:18 +0200)
commit344f6be84a9babf6b7ef06567372fd4caae25f02
tree53a15013e587c12f8616b614bf9dc06d0a4e124b
parentc937f768f92b74dfa662b174cf6e6fc6f4871234
Handle WM_CLASS changes

http://tronche.com/gui/x/icccm/sec-4.html

> The WM_CLASS property (of type STRING without control characters)
> contains two consecutive null-terminated strings. These specify the
> Instance and Class names to be used by both the client and the window
> manager for looking up resources for the application or as identifying
> information.

i3 processes changes to WM_CLASS by updating the cached property and
running assignments. This allows the property to be used in criteria
selection.

fixes #1052
src/handlers.c
testcases/t/235-wm-class-change-handler.t [new file with mode: 0644]