mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
63e1624bd7
commit
9d9c744490
@ -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>
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user