X-Git-Url: https://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/3d8536642e0a252737588654a9142962348302d6..b6cf4847cedfc09ccad10db651e2e97d7ac89184:/xmenu.h diff --git a/xmenu.h b/xmenu.h index 2405a8b..bf5cb80 100644 --- a/xmenu.h +++ b/xmenu.h @@ -36,10 +36,12 @@ 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 */ }; /* draw context structure */ @@ -70,6 +72,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 */