Commit 9d9c7444 authored by Elijah Newren's avatar Elijah Newren Committed by Elijah Newren
Browse files

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)
parent 63e1624b
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>
Patch from Ken Harris in #135786 to focus a new default window
......
......@@ -2097,15 +2097,7 @@ event_callback (XEvent *event,
space);
if (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);
}
meta_workspace_activate (workspace);
else
meta_verbose ("Don't know about workspace %d\n", space);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment