window: Do not try to focus O-R windows in focus-follow-mouse

Doing so would raise a critical warning.

https://bugzilla.gnome.org/show_bug.cgi?id=767997
This commit is contained in:
Olivier Fourdan 2016-06-24 11:14:39 +02:00
parent c325a0bebf
commit 492854e14d

View File

@ -7502,6 +7502,9 @@ mouse_mode_focus (MetaWindow *window,
{
MetaDisplay *display = window->display;
if (window->override_redirect)
return;
if (window->type != META_WINDOW_DESKTOP)
{
meta_topic (META_DEBUG_FOCUS,