]> git.tdb.fi Git - geometrycompositor.git/commit
Add an early return to reorder_window master
authorMikko Rasa <tdb@tdb.fi>
Wed, 23 Dec 2015 06:49:34 +0000 (08:49 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 23 Dec 2015 06:49:34 +0000 (08:49 +0200)
commit669baf827bd49a7420253a5d1afdfc14683c2f6d
treea2794be0a502b42a0eb9d85c3793bd2f23ad018b
parent239a061af633e1f0ab7d0c23b5dac88248742708
Add an early return to reorder_window

This avoids a linear search in case the window is already at the right
position.
source/main.c