1
0
Fork 0

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:
Colin Walters 2011-04-13 10:18:49 -04:00
parent a3c96c12d6
commit 4ff4ebebb6

View file

@ -10094,7 +10094,9 @@ meta_window_is_remote (MetaWindow *window)
{
g_return_val_if_fail (META_IS_WINDOW (window), FALSE);
if (window->wm_client_machine != NULL)
return g_strcmp0 (window->wm_client_machine, window->display->hostname) != 0;
return FALSE;
}
/**