I don't think this should be limited to just cases where WM_WINDOW_ROLE is set. As someone else commented, virtually no applications have WM_WINDOW_ROLE set, and so only remembering window positions for apps that do set it would not really address the problem.
Also, from the docs that someone linked to on how to set the role: http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--set-role It says: "If a window already has a unique title, you don't need to set the role, since the WM can use the title to identify the window when restoring the session." So I'll adjust the title of this feature request to check for WM_WINDOW_ROLE or a window title. ** Summary changed: - Remember+restore window position of applications if WM_WINDOW_ROLE set + Remember+restore window position of applications with WM_WINDOW_ROLE or window title set -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to metacity in ubuntu. https://bugs.launchpad.net/bugs/124315 Title: Remember+restore window position of applications with WM_WINDOW_ROLE or window title set -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs