X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;fp=openbox%2Fmenuframe.c;h=ac033f4b44756a4432741fde0046fbd3561fa0bd;hb=08269cefbce2fe600269c989f9a6a22a98641ba1;hp=b80bac9123e6722acb21d18a5535bb24c080b265;hpb=62f8a5c49b852047bf6cc199d2d0c9add41d35a9;p=chaz%2Fopenbox diff --git a/openbox/menuframe.c b/openbox/menuframe.c index b80bac91..ac033f4b 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -155,6 +155,13 @@ void menu_frame_free(ObMenuFrame *self) } } +ObtIC* menu_frame_ic(ObMenuFrame *self) +{ + /* menus are always used through a grab right now, so they can always use + the grab input context */ + return grab_input_context(); +} + static ObMenuEntryFrame* menu_entry_frame_new(ObMenuEntry *entry, ObMenuFrame *frame) {