X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;h=ac033f4b44756a4432741fde0046fbd3561fa0bd;hb=096dad0c6c027100494ede811b33cb8558d32e25;hp=b80bac9123e6722acb21d18a5535bb24c080b265;hpb=43d62990e407f409f76f60a405c529f9b15d33f6;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) {