1291 |
output_cursor.vpos, |
output_cursor.vpos, |
1292 |
output_cursor.x, output_cursor.y); |
output_cursor.x, output_cursor.y); |
1293 |
|
|
1294 |
x_draw_vertical_border (w); |
if (draw_window_fringes (w, 1)) |
1295 |
|
x_draw_vertical_border (w); |
|
draw_window_fringes (w); |
|
1296 |
|
|
1297 |
UNBLOCK_INPUT; |
UNBLOCK_INPUT; |
1298 |
} |
} |
5049 |
GetWindowBounds (FRAME_MAC_WINDOW (f), kWindowStructureRgn, outer); |
GetWindowBounds (FRAME_MAC_WINDOW (f), kWindowStructureRgn, outer); |
5050 |
#else /* not TARGET_API_MAC_CARBON */ |
#else /* not TARGET_API_MAC_CARBON */ |
5051 |
RgnHandle region = NewRgn (); |
RgnHandle region = NewRgn (); |
5052 |
|
|
5053 |
GetWindowRegion (FRAME_MAC_WINDOW (f), kWindowContentRgn, region); |
GetWindowRegion (FRAME_MAC_WINDOW (f), kWindowContentRgn, region); |
5054 |
*inner = (*region)->rgnBBox; |
*inner = (*region)->rgnBBox; |
5055 |
GetWindowRegion (FRAME_MAC_WINDOW (f), kWindowStructureRgn, region); |
GetWindowRegion (FRAME_MAC_WINDOW (f), kWindowStructureRgn, region); |
5142 |
{ |
{ |
5143 |
Rect inner, outer, screen_rect, dummy; |
Rect inner, outer, screen_rect, dummy; |
5144 |
RgnHandle region = NewRgn (); |
RgnHandle region = NewRgn (); |
5145 |
|
|
5146 |
mac_get_window_bounds (f, &inner, &outer); |
mac_get_window_bounds (f, &inner, &outer); |
5147 |
f->x_pixels_diff = inner.left - outer.left; |
f->x_pixels_diff = inner.left - outer.left; |
5148 |
f->y_pixels_diff = inner.top - outer.top; |
f->y_pixels_diff = inner.top - outer.top; |
8113 |
switch (GetEventClass (eventRef)) |
switch (GetEventClass (eventRef)) |
8114 |
{ |
{ |
8115 |
case kEventClassWindow: |
case kEventClassWindow: |
8116 |
if (GetEventKind (eventRef) == kEventWindowBoundsChanged) |
if (GetEventKind (eventRef) == kEventWindowBoundsChanged) |
8117 |
{ |
{ |
8118 |
WindowPtr window_ptr; |
WindowPtr window_ptr; |
8119 |
GetEventParameter(eventRef, kEventParamDirectObject, |
GetEventParameter(eventRef, kEventParamDirectObject, |
8430 |
|
|
8431 |
if (!is_emacs_window (window_ptr)) |
if (!is_emacs_window (window_ptr)) |
8432 |
break; |
break; |
8433 |
|
|
8434 |
f = mac_window_to_frame (window_ptr); |
f = mac_window_to_frame (window_ptr); |
8435 |
|
|
8436 |
if ((er.modifiers & activeFlag) != 0) |
if ((er.modifiers & activeFlag) != 0) |