[mutter/meego-1.0: 20/30] Fix crash with --sync option
- From: Tomas Frydrych <tomasf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/meego-1.0: 20/30] Fix crash with --sync option
- Date: Fri, 14 May 2010 15:51:26 +0000 (UTC)
commit c36c9a7b317dcd6a61be54759dc40a73e5ecf8e2
Author: Tomas Frydrych <tf linux intel com>
Date: Tue Apr 20 11:57:05 2010 +0100
Fix crash with --sync option
meta_set_syncing() can only be called after meta_display_open() has been
called.
src/core/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/main.c b/src/core/main.c
index 1638c33..c01b9e9 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -609,8 +609,6 @@ main (int argc, char **argv)
}
#endif
- meta_set_syncing (meta_args.sync || (g_getenv ("MUTTER_SYNC") != NULL));
-
if (meta_args.print_version)
version ();
@@ -763,6 +761,8 @@ main (int argc, char **argv)
if (!meta_display_open ())
meta_exit (META_EXIT_ERROR);
+ meta_set_syncing (meta_args.sync || (g_getenv ("MUTTER_SYNC") != NULL));
+
/*
* This seems the first time we can set up the cursor properly. The display
* seems to set up the theme at the point it opens, but the cursor size
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]