X11: Fix windows not getting restored to correct workspace
Due to the way workspace data is stored for the session [1], it is necessary not to optimize the case where "workspace_ == workspace_str" because the SessionCommand to set the workspace would not get created on browser start (only when windows are created or moved between workspaces). [1] https://cs.chromium.org/chromium/src/components/sessions/core/session_service_commands.cc?rcl=34077ec24a99e50f6211585b0ae652fe97ced33c&l=756 R=sky Change-Id: I6021c8ce0a5ff38529b88bff067188378e5739b0 Reviewed-on: https://chromium-review.googlesource.com/1044946Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#556472}
Showing
Please register or sign in to comment