mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
Patch from Alexey Rusakov to prevent a crash on logout with metacity
2007-09-15 Elijah Newren <newren gmail com> * src/session.c (warn_about_lame_clients_and_finish_interact): Patch from Alexey Rusakov to prevent a crash on logout with metacity subsequently not being restored in future sessions. Fixes #433253. svn path=/trunk/; revision=3340
This commit is contained in:
parent
976968e07e
commit
dc7e1007b0
@ -1,3 +1,10 @@
|
||||
2007-09-15 Elijah Newren <newren gmail com>
|
||||
|
||||
* src/session.c (warn_about_lame_clients_and_finish_interact):
|
||||
Patch from Alexey Rusakov to prevent a crash on logout with
|
||||
metacity subsequently not being restored in future sessions.
|
||||
Fixes #433253.
|
||||
|
||||
2007-09-01 Elijah Newren <newren gmail com>
|
||||
|
||||
* HACKING: update; cvs->svn & mention GConf needed
|
||||
|
@ -1804,9 +1804,6 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
|
||||
|
||||
display_iter = display_iter->next;
|
||||
}
|
||||
/* don't need to free displays */
|
||||
displays = NULL;
|
||||
|
||||
if (lame == NULL)
|
||||
{
|
||||
/* No lame apps. */
|
||||
@ -1819,6 +1816,9 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
|
||||
timestamp = meta_display_get_current_time_roundtrip (displays->data);
|
||||
sprintf (timestampbuf, "%u", timestamp);
|
||||
|
||||
/* don't need to free displays */
|
||||
displays = NULL;
|
||||
|
||||
len = g_slist_length (lame);
|
||||
len *= 2; /* titles and also classes */
|
||||
len += 2; /* --timestamp flag and actual timestamp */
|
||||
|
Loading…
Reference in New Issue
Block a user