X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.h;h=a33322805a912f43524f17f0557f9310466744f3;hb=ffba11aeb059bef0b4876eb6aad2a8a24e2db6f1;hp=66390e7565847db9000a455f2a11928603709f87;hpb=615cbd96075905d75533f9b615c4ee6a75f4f9a4;p=chaz%2Fopenbox diff --git a/openbox/menu.h b/openbox/menu.h index 66390e75..a3332280 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -47,6 +47,9 @@ typedef enum struct _ObNormalMenuEntry { gchar *label; + /* state */ + gboolean enabled; + /* List of ObActions */ GSList *actions; }; @@ -66,9 +69,6 @@ struct _ObMenuEntry gint id; - /* state */ - gboolean enabled; - union u { ObNormalMenuEntry normal; ObSubmenuMenuEntry submenu;