call setlocale ourselves because due to a GLib bug that sticks us in ASCII

2002-04-22  Havoc Pennington  <hp@redhat.com>

	* src/main.c (main): call setlocale ourselves because due to a
	GLib bug that sticks us in ASCII if you call g_print or anything
	prior to setlocale, and print a warning if we don't set the locale
	successfully. #79280

	* src/workspace.c (meta_workspace_get_work_area): be more verbose
	about how the work area was computed, to help find bugs here.

	* src/main.c (main): put locale and codeset in the log file
This commit is contained in:
Havoc Pennington
2002-04-22 18:18:38 +00:00
committed by Havoc Pennington
parent 1d818b7b7c
commit 5fd4fb96f7
4 changed files with 43 additions and 7 deletions

View File

@ -64,7 +64,10 @@ meta_window_ensure_frame (MetaWindow *window)
XVisualIDFromVisual (window->screen->default_xvisual) ?
"is" : "is not",
window->depth, window->screen->default_depth);
meta_verbose ("Frame geometry %d,%d %dx%d\n",
frame->rect.x, frame->rect.y,
frame->rect.width, frame->rect.height);
/* Default depth/visual handles clients with weird visuals; they can
* always be children of the root depth/visual obviously, but
* e.g. DRI games can't be children of a parent that has the same