screen: Remove a bunch of screen checks

Now that we only manage one screen, this isn't necessary anymore.
This commit is contained in:
Jasper St. Pierre
2014-08-15 19:43:08 -04:00
parent 320f38de47
commit 06d55bf019
3 changed files with 13 additions and 25 deletions

View File

@ -1488,8 +1488,7 @@ gboolean
meta_window_located_on_workspace (MetaWindow *window,
MetaWorkspace *workspace)
{
return (window->on_all_workspaces && window->screen == workspace->screen) ||
(window->workspace == workspace);
return (window->on_all_workspaces) || (window->workspace == workspace);
}
static gboolean