mirror of
https://github.com/elementary/gala.git
synced 2024-10-05 19:27:25 +03:00
WindowCloneContainer: When no window is active, select active window based on direction during keyboard nav (#1849)
Co-authored-by: Leo <lenemter@gmail.com>
This commit is contained in:
parent
1315f87340
commit
13018e4f5c
@ -50,7 +50,6 @@ public class Gala.WindowClone : Clutter.Actor {
|
||||
active_shape.set_easing_duration (wm.enable_animations ? FADE_ANIMATION_DURATION : 0);
|
||||
active_shape.opacity = value ? 255 : 0;
|
||||
active_shape.restore_easing_state ();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -213,7 +213,6 @@ namespace Gala {
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
}
|
||||
|
||||
|
||||
switch (event.get_key_symbol ()) {
|
||||
case Clutter.Key.Escape:
|
||||
requested_close ();
|
||||
@ -326,6 +325,10 @@ namespace Gala {
|
||||
}
|
||||
|
||||
if (closest == null) {
|
||||
if (current_window != null) {
|
||||
Clutter.get_default_backend ().get_default_seat ().bell_notify ();
|
||||
current_window.active = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user