11126 |
|
|
11127 |
if (INTEGERP (left)) |
if (INTEGERP (left)) |
11128 |
*root_x = XINT (left); |
*root_x = XINT (left); |
11129 |
else if (*root_x + XINT (dx) + width > FRAME_X_DISPLAY_INFO (f)->width) |
else if (*root_x + XINT (dx) + width <= FRAME_X_DISPLAY_INFO (f)->width) |
11130 |
|
/* It fits to the right of the pointer. */ |
11131 |
|
*root_x += XINT (dx); |
11132 |
|
else if (width + XINT (dx) <= *root_x) |
11133 |
|
/* It fits to the left of the pointer. */ |
11134 |
*root_x -= width + XINT (dx); |
*root_x -= width + XINT (dx); |
11135 |
else |
else |
11136 |
*root_x += XINT (dx); |
/* Put it left-justified on the screen--it ought to fit that way. */ |
11137 |
|
*root_x = 0; |
11138 |
} |
} |
11139 |
|
|
11140 |
|
|