Remove some redundant code regarding focusing the default window (#152117)

2004-09-15  Elijah Newren  <newren@math.utah.edu>

	* src/display.c (event_callback): Remove some redundant code
	regarding focusing the default window (#152117)
This commit is contained in:
Elijah Newren 2004-09-16 03:10:11 +00:00 committed by Elijah Newren
parent 63e1624bd7
commit 9d9c744490
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2004-09-15 Elijah Newren <newren@math.utah.edu>
* src/display.c (event_callback): Remove some redundant code
regarding focusing the default window (#152117)
2004-09-15 Elijah Newren <newren@math.utah.edu> 2004-09-15 Elijah Newren <newren@math.utah.edu>
Patch from Ken Harris in #135786 to focus a new default window Patch from Ken Harris in #135786 to focus a new default window

View File

@ -2097,15 +2097,7 @@ event_callback (XEvent *event,
space); space);
if (workspace) if (workspace)
{ meta_workspace_activate (workspace);
if (workspace != screen->active_workspace)
{
meta_workspace_activate (workspace);
meta_workspace_focus_default_window (workspace, NULL);
}
else
meta_verbose ("Workspace %d already active.\n", space);
}
else else
meta_verbose ("Don't know about workspace %d\n", space); meta_verbose ("Don't know about workspace %d\n", space);
} }