Changeset 4197
- Timestamp:
- 2007年04月04日 20時46分45秒 (1 year ago)
- Files:
-
- trunk/src/ChangeLog.Meadow (modified) (1 diff)
- trunk/src/mw32fns.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/ChangeLog.Meadow
r4196 r4197 1 2007-04-04 MIYOSHI Masanori <miyoshi@meadowy.org> 2 3 * mw32fns.c (compute_tip_xy): Sync up with Emacs CVS HEAD. 4 1 5 2007-03-21 MIYOSHI Masanori <miyoshi@meadowy.org> 2 6 trunk/src/mw32fns.c
r4192 r4197 4271 4271 if (INTEGERP (top)) 4272 4272 *root_y = XINT (top); 4273 else if (*root_y + XINT (dy) - height < 0) 4274 *root_y -= XINT (dy); 4273 else if (*root_y + XINT (dy) <= 0) 4274 *root_y = 0; /* Can happen for negative dy */ 4275 else if (*root_y + XINT (dy) + height <= FRAME_MW32_DISPLAY_INFO (f)->height) 4276 /* It fits below the pointer */ 4277 *root_y += XINT (dy); 4278 else if (height + XINT (dy) <= *root_y) 4279 /* It fits above the pointer. */ 4280 *root_y -= height + XINT (dy); 4275 4281 else 4276 { 4277 *root_y -= height; 4278 *root_y += XINT (dy); 4279 } 4282 /* Put it on the top. */ 4283 *root_y = 0; 4280 4284 4281 4285 if (INTEGERP (left)) 4282 4286 *root_x = XINT (left); 4287 else if (*root_x + XINT (dx) <= 0) 4288 *root_x = 0; /* Can happen for negative dx */ 4283 4289 else if (*root_x + XINT (dx) + width <= FRAME_MW32_DISPLAY_INFO (f)->width) 4284 4290 /* It fits to the right of the pointer. */
