X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmodkeys.h;h=8f2223697d2845ed7dbb1e23d2546b85edbab60c;hb=0f677834e253dfd18a246c8811bf4a4e364d5e0e;hp=cfa95b045f667e6eefa00ab536c2b09fdde9c8ef;hpb=7e946f68d9f8ec7c880664b437edbbaa5d49ac10;p=chaz%2Fopenbox diff --git a/openbox/modkeys.h b/openbox/modkeys.h index cfa95b04..8f222369 100644 --- a/openbox/modkeys.h +++ b/openbox/modkeys.h @@ -20,6 +20,7 @@ #define ob__modkeys_h #include +#include /*! These keys are bound to the modifier masks in any fashion */ typedef enum { @@ -51,4 +52,8 @@ guint modkeys_only_modifier_masks(guint mask); right keys when there are both. */ guint modkeys_key_to_mask(ObModkeysKey key); +/*! Convert a KeySym to a KeyCode, because the X function is terrible - says + valgrind. */ +KeyCode modkeys_sym_to_code(KeySym sym); + #endif