mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
bell: Fallback to fullscreen flash if no window was passed
We allow to flash without providing a window. In this case we should flash the whole screen, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=763858
This commit is contained in:
parent
8b1195be1a
commit
92c8a51ba6
@ -152,8 +152,10 @@ bell_flash_frame (MetaDisplay *display,
|
||||
{
|
||||
if (window && window->frame)
|
||||
bell_flash_window_frame (window);
|
||||
else
|
||||
else if (window)
|
||||
bell_flash_window (window);
|
||||
else
|
||||
bell_flash_fullscreen (display);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user