X-Git-Url: https://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/3d8536642e0a252737588654a9142962348302d6..237da9824c6ed299058589519e9f7a1003d5f145:/xmenu.h diff --git a/xmenu.h b/xmenu.h index 2405a8b..04a4ddf 100644 --- a/xmenu.h +++ b/xmenu.h @@ -36,10 +36,13 @@ struct Config { int iconpadding; int horzpadding; - /* the values below are computed by xmenu */ + /* the values below are set by options */ + int monitor; + int posx, posy; /* rootmenu position */ + + /* the value below is computed by xmenu */ int iconsize; - int posx, posy; /* cursor position */ - int screenw, screenh; /* screen width and height */ + int screenw, screenh; /* screen width and height */ }; /* draw context structure */ @@ -70,6 +73,11 @@ struct Item { Imlib_Image icon; }; +/* monitor and cursor geometry structure */ +struct Monitor { + int x, y, w, h; /* monitor geometry */ +}; + /* menu structure */ struct Menu { struct Menu *parent; /* parent menu */