diff options
| author | Jan Djärv | 2012-09-09 10:44:22 +0200 |
|---|---|---|
| committer | Jan Djärv | 2012-09-09 10:44:22 +0200 |
| commit | c2cbbdd1656a20cf979a11cbdd1d0a74e570772f (patch) | |
| tree | 619cc92766d23ed7443826223b9a2cfda8de5a6e /src | |
| parent | bfabf70a86dc3506011566d9e06f6251328fa05e (diff) | |
| download | emacs-c2cbbdd1656a20cf979a11cbdd1d0a74e570772f.tar.gz emacs-c2cbbdd1656a20cf979a11cbdd1d0a74e570772f.zip | |
Remove debug prints
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 01303829d2f..74a3d858710 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -650,7 +650,6 @@ ns_update_window_begin (struct window *w) | |||
| 650 | struct frame *f = XFRAME (WINDOW_FRAME (w)); | 650 | struct frame *f = XFRAME (WINDOW_FRAME (w)); |
| 651 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); | 651 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); |
| 652 | NSTRACE (ns_update_window_begin); | 652 | NSTRACE (ns_update_window_begin); |
| 653 | fprintf(stderr, "%s\n", __func__); | ||
| 654 | updated_window = w; | 653 | updated_window = w; |
| 655 | set_output_cursor (&w->cursor); | 654 | set_output_cursor (&w->cursor); |
| 656 | 655 | ||
| @@ -683,7 +682,6 @@ ns_update_window_end (struct window *w, int cursor_on_p, | |||
| 683 | { | 682 | { |
| 684 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (XFRAME (w->frame)); | 683 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (XFRAME (w->frame)); |
| 685 | 684 | ||
| 686 | fprintf(stderr, "%s\n", __func__); | ||
| 687 | /* note: this fn is nearly identical in all terms */ | 685 | /* note: this fn is nearly identical in all terms */ |
| 688 | if (!w->pseudo_window_p) | 686 | if (!w->pseudo_window_p) |
| 689 | { | 687 | { |
| @@ -1267,7 +1265,6 @@ x_set_window_size (struct frame *f, int change_grav, int cols, int rows) | |||
| 1267 | wr.origin.y += FRAME_PIXEL_HEIGHT (f) - pixelheight; | 1265 | wr.origin.y += FRAME_PIXEL_HEIGHT (f) - pixelheight; |
| 1268 | 1266 | ||
| 1269 | [view setRows: rows andColumns: cols]; | 1267 | [view setRows: rows andColumns: cols]; |
| 1270 | fprintf(stderr, "%s %d %d\n", __func__, cols, (int)wr.origin.x); | ||
| 1271 | [window setFrame: wr display: YES]; | 1268 | [window setFrame: wr display: YES]; |
| 1272 | 1269 | ||
| 1273 | /*fprintf (stderr, "\tx_set_window_size %d, %d\t%d, %d\n", cols, rows, pixelwidth, pixelheight); */ | 1270 | /*fprintf (stderr, "\tx_set_window_size %d, %d\t%d, %d\n", cols, rows, pixelwidth, pixelheight); */ |
| @@ -1285,7 +1282,6 @@ x_set_window_size (struct frame *f, int change_grav, int cols, int rows) | |||
| 1285 | - NS_SCROLL_BAR_WIDTH (f), 0) | 1282 | - NS_SCROLL_BAR_WIDTH (f), 0) |
| 1286 | : NSMakePoint (0, 0); | 1283 | : NSMakePoint (0, 0); |
| 1287 | [view setFrame: NSMakeRect (0, 0, pixelwidth, pixelheight)]; | 1284 | [view setFrame: NSMakeRect (0, 0, pixelwidth, pixelheight)]; |
| 1288 | fprintf(stderr, "%s origin %d\n", __func__, (int)origin.x); | ||
| 1289 | [view setBoundsOrigin: origin]; | 1285 | [view setBoundsOrigin: origin]; |
| 1290 | } | 1286 | } |
| 1291 | 1287 | ||
| @@ -5398,7 +5394,6 @@ not_in_argv (NSString *arg) | |||
| 5398 | change_frame_size (emacsframe, rows, cols, 0, 0, 1); | 5394 | change_frame_size (emacsframe, rows, cols, 0, 0, 1); |
| 5399 | SET_FRAME_GARBAGED (emacsframe); | 5395 | SET_FRAME_GARBAGED (emacsframe); |
| 5400 | cancel_mouse_face (emacsframe); | 5396 | cancel_mouse_face (emacsframe); |
| 5401 | fprintf(stderr, "%s %d %d\n", __func__, cols, neww); | ||
| 5402 | [view setFrame: NSMakeRect (0, 0, neww, newh)]; | 5397 | [view setFrame: NSMakeRect (0, 0, neww, newh)]; |
| 5403 | } | 5398 | } |
| 5404 | } | 5399 | } |
| @@ -6217,15 +6212,6 @@ not_in_argv (NSString *arg) | |||
| 6217 | if (nr_screens == 1) | 6212 | if (nr_screens == 1) |
| 6218 | { | 6213 | { |
| 6219 | NSRect r = [super constrainFrameRect:frameRect toScreen:screen]; | 6214 | NSRect r = [super constrainFrameRect:frameRect toScreen:screen]; |
| 6220 | fprintf(stderr, "%s %d/%d %d/%d => %d/%d %d/%d\n", __func__, | ||
| 6221 | (int)frameRect.origin.x, | ||
| 6222 | (int)frameRect.origin.y, | ||
| 6223 | (int)frameRect.size.width, | ||
| 6224 | (int)frameRect.size.height, | ||
| 6225 | (int)r.origin.x, | ||
| 6226 | (int)r.origin.y, | ||
| 6227 | (int)r.size.width, | ||
| 6228 | (int)r.size.height); | ||
| 6229 | return r; | 6215 | return r; |
| 6230 | } | 6216 | } |
| 6231 | 6217 | ||