Commit eac32fb1 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

frame: disallow frame operations if the popup is open

If some device has a popped up menu, meta_frame_get_flags()
returns 0 to indicate other devices cannot trigger any
actions on the frame.
parent b93c7231
......@@ -247,6 +247,12 @@ meta_frame_get_flags (MetaFrame *frame)
flags = 0;
/* Disallow frame operations
* while the popup menu is open.
if (frame->window->menu)
return flags;
if (frame->window->border_only)
; /* FIXME this may disable the _function_ as well as decor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment