mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Add my copyright notice to a number of files on which it should already
2004-02-23 Rob Adams <readams@readams.net> Add my copyright notice to a number of files on which it should already exist. * src/window.c (meta_window_notify_focus): modify code to move to front of MRU list so that we can have an assert that it was there in the first place. This code may be causing some crashes. See #131196.
This commit is contained in:
parent
5a28c4c423
commit
db108c1fc3
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2004-02-23 Rob Adams <readams@readams.net>
|
||||
|
||||
Add my copyright notice to a number of files on which it should
|
||||
already exist.
|
||||
|
||||
* src/window.c (meta_window_notify_focus): modify code to move to
|
||||
front of MRU list so that we can have an assert that it was there
|
||||
in the first place. This code may be causing some crashes. See
|
||||
#131196.
|
||||
|
||||
2004-02-22 Christian Rose <menthos@menthos.com>
|
||||
|
||||
* configure.in: Added "en_CA" to ALL_LINGUAS.
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2002, 2003 Red Hat, Inc.
|
||||
* Copyright (C) 2003, 2004 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2003 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -3,6 +3,7 @@
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2002, 2003 Red Hat, Inc.
|
||||
* Copyright (C) 2003, 2004 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -3,6 +3,7 @@
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2002 Red Hat, Inc.
|
||||
* Copyright (C) 2003 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2002 Red Hat Inc.
|
||||
* Copyright (C) 2003 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -1,7 +1,9 @@
|
||||
/* Metacity Keybindings */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington, 2002 Red Hat Inc.
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2002 Red Hat Inc.
|
||||
* Copyright (C) 2003 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2004 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
19
src/window.c
19
src/window.c
@ -4126,15 +4126,22 @@ meta_window_notify_focus (MetaWindow *window,
|
||||
window->display->focus_window = window;
|
||||
window->has_focus = TRUE;
|
||||
|
||||
/* Move to the front of the focusing workspace's MRU list
|
||||
* FIXME is the active workspace guaranteed to be the
|
||||
* focusing workspace?
|
||||
/* Move to the front of the focusing workspace's MRU list We
|
||||
* should only be "removing" it from the MRU list if it's
|
||||
* not already there.
|
||||
*/
|
||||
if (window->screen->active_workspace)
|
||||
{
|
||||
window->screen->active_workspace->mru_list =
|
||||
g_list_remove (window->screen->active_workspace->mru_list,
|
||||
window);
|
||||
GList* link;
|
||||
link = g_list_find (window->screen->active_workspace->mru_list,
|
||||
window);
|
||||
g_assert (link);
|
||||
|
||||
window->screen->active_workspace->mru_list =
|
||||
g_list_remove_link (window->screen->active_workspace->mru_list,
|
||||
link);
|
||||
g_list_free (link);
|
||||
|
||||
window->screen->active_workspace->mru_list =
|
||||
g_list_prepend (window->screen->active_workspace->mru_list,
|
||||
window);
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) 2001 Havoc Pennington
|
||||
* Copyright (C) 2003 Rob Adams
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
|
Loading…
Reference in New Issue
Block a user