mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
make the warning about strange property contents blame the application and
2002-12-15 Havoc Pennington <hp@pobox.com> * src/xprops.c (validate_or_free_results): make the warning about strange property contents blame the application and explain how to use xprop to diagnose which app is causing the problem.
This commit is contained in:
parent
07296490b4
commit
4ad2d1a048
@ -1,3 +1,9 @@
|
||||
2002-12-15 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/xprops.c (validate_or_free_results): make the warning about
|
||||
strange property contents blame the application and explain how to
|
||||
use xprop to diagnose which app is causing the problem.
|
||||
|
||||
2002-12-15 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/prefs.c (meta_prefs_change_workspace_name): don't pass NULL
|
||||
|
@ -121,13 +121,14 @@ validate_or_free_results (GetPropertyResults *results,
|
||||
prop_name = XGetAtomName (results->display->xdisplay, results->xatom);
|
||||
meta_error_trap_pop (results->display, TRUE);
|
||||
|
||||
meta_warning (_("Window 0x%lx has property %s that was expected to have type %s format %d and actually has type %s format %d n_items %d\n"),
|
||||
meta_warning (_("Window 0x%lx has property %s\nthat was expected to have type %s format %d\nand actually has type %s format %d n_items %d.\nThis is most likely an application bug.\nUse \"xprop -id 0x%lx\" to print all properties on the problematic window.\nThe _NET_WM_NAME or WM_NAME or WM_CLASS properties should identify the application.\n"),
|
||||
results->xwindow,
|
||||
prop_name ? prop_name : "(bad atom)",
|
||||
expected_name ? expected_name : "(bad atom)",
|
||||
expected_format,
|
||||
type_name ? type_name : "(bad atom)",
|
||||
results->format, (int) results->n_items);
|
||||
results->format, (int) results->n_items,
|
||||
results->xwindow);
|
||||
|
||||
if (type_name)
|
||||
XFree (type_name);
|
||||
|
Loading…
Reference in New Issue
Block a user