projects
/
xmenu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changing the computation of the text y position
[xmenu]
/
xmenu.h
diff --git
a/xmenu.h
b/xmenu.h
index
2405a8b
..
04a4ddf
100644
(file)
--- a/
xmenu.h
+++ b/
xmenu.h
@@
-36,10
+36,13
@@
struct Config {
int iconpadding;
int horzpadding;
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 iconsize;
- int posx, posy; /* cursor position */
- int screenw, screenh; /* screen width and height */
+ int screenw, screenh; /* screen width and height */
};
/* draw context structure */
};
/* draw context structure */
@@
-70,6
+73,11
@@
struct Item {
Imlib_Image icon;
};
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 */
/* menu structure */
struct Menu {
struct Menu *parent; /* parent menu */