Comment 34 for bug 124315

"That's not a reason to make this bug invalid then, is it?"
Not really (and it wasn't me who did that). It's a good solution that we force every application to set WM_WINDOW_ROLE properly and handle the saving and restoring of position in the window manager.

Btw. there needs to be a maximum number of window types remembered (like 500) or the database would grow forever due to applications that set WM_WINDOW_ROLE to include random numbers (I'm looking at you, gnome-terminal) and similar unexpected things.