X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.h;h=069759721e0c0b8a437156d2afe9dc69f3d10464;hb=01a60706be14d7bd20ec527935ee005e90de9bf2;hp=75e03da451ad73fd57351b04309370679095fde3;hpb=a112ffa1706d87983e20debde0e811fed93c7ff4;p=chaz%2Fopenbox diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 75e03da4..06975972 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -73,6 +73,11 @@ struct _ObMenuFrame RrAppearance *a_title; RrAppearance *a_items; + + gboolean got_press; /* don't allow a KeyRelease event to run things in the + menu until it has seen a KeyPress. this is to + avoid having the keybinding used to show the menu + end up running something inside the menu */ }; struct _ObMenuEntryFrame @@ -141,6 +146,6 @@ ObMenuEntryFrame* menu_entry_frame_under(gint x, gint y); void menu_entry_frame_show_submenu(ObMenuEntryFrame *self); -void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state, Time time); +void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state); #endif