mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
meta_window_is_remote: If WM_CLIENT_MACHINE not set, don't assume remote
Apparently the "fox" toolkit doesn't set WM_CLIENT_MACHINE; while we could do gymnastics to attempt to figure this out (talk to the X server?), better to just default to FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=647662
This commit is contained in:
parent
a3c96c12d6
commit
4ff4ebebb6
@ -10094,7 +10094,9 @@ meta_window_is_remote (MetaWindow *window)
|
||||
{
|
||||
g_return_val_if_fail (META_IS_WINDOW (window), FALSE);
|
||||
|
||||
return g_strcmp0 (window->wm_client_machine, window->display->hostname) != 0;
|
||||
if (window->wm_client_machine != NULL)
|
||||
return g_strcmp0 (window->wm_client_machine, window->display->hostname) != 0;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user