Revision 8
| src/menu.c (revision 8) | ||
|---|---|---|
| 214 | 214 |
if (xpos + width > scr_width) |
| 215 | 215 |
xpos -= (xpos + width) - scr_width; |
| 216 | 216 |
if (ypos + height > scr_height) |
| 217 |
ypos = button->requisition.height + height; |
|
| 217 |
ypos -= button->requisition.height + height;
|
|
| 218 | 218 |
if (xpos < 0) |
| 219 | 219 |
xpos = 0; |
| 220 | 220 |
if (ypos < 0) |
Also available in: Unified diff