On 12/12/06, Mike Dransfield <[EMAIL PROTECTED]> wrote:
I seem to be having problems with the latest dbus code. Here is a backtrace. This is happening at startup.
[snip] I believe the attached patch should fix this. -- Travis Watkins http://www.realistanew.com
--- dbus.c.old 2006-12-12 03:23:28.000000000 -0600 +++ dbus.c 2006-12-12 03:25:00.000000000 -0600 @@ -652,7 +652,7 @@ dbusAppendOptionValue (CompDisplay * CompAction *a = &value->action; char *key = "Disabled"; char *button = "Disabled"; - char edge[256]; + char *edge = "Disabled"; int edgeButton = 0; if (a->type & CompBindingTypeKey) @@ -661,11 +661,9 @@ dbusAppendOptionValue (CompDisplay * if (a->type & CompBindingTypeButton) button = buttonBindingToString (d, &a->button); - *edge = '\0'; - for (i = 0; i < SCREEN_EDGE_NUM; i++) if (a->edgeMask & (1 << i)) - strcpy (edge + strlen (edge), edgeToString (i)); + edge = edgeToString (i); if (a->type & CompBindingTypeEdgeButton) edgeButton = a->edgeButton;
_______________________________________________ compiz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/compiz
