windowoverview: fix regression where windows could no longer be selected

This commit is contained in:
Tom Beckmann 2015-03-12 06:16:50 +01:00
parent 12afcc8437
commit 4f148d0503
2 changed files with 7 additions and 1 deletions

View File

@ -146,6 +146,11 @@ namespace Gala
load_clone ();
}
public override bool button_press_event (Clutter.ButtonEvent event)
{
return true;
}
~WindowClone ()
{
window.unmanaged.disconnect (unmanaged);

View File

@ -80,7 +80,8 @@ namespace Gala
public override void key_focus_out ()
{
close ();
if (!contains (get_stage ().key_focus))
close ();
}
public override bool button_press_event (Clutter.ButtonEvent event)