Added sameWindowClass().
commit6fb2b13ec708b74d24377c96703793c1360d7659
authorIain Patterson <wm@iain.cx>
Mon, 22 Apr 2013 12:46:22 +0000 (22 13:46 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 2 May 2013 19:41:07 +0000 (2 20:41 +0100)
tree2384bfa411537377f7ec0182bf5a05e7c2462468
parent90675a6f048fef9663e28f74022c2ca4f7da0c9e
Added sameWindowClass().

Avoid code duplication by moving check for windows of the same WM_CLASS
to the new function sameWindowClass().
src/switchpanel.c