diff options
| author | Karoly Lorentey | 2005-10-19 14:06:17 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-10-19 14:06:17 +0000 |
| commit | 1072671b5b0f1fda9f91ea99da4bf0bd275ce6eb (patch) | |
| tree | f1b05485825e65d7c0ca06cb273be4fe16a44a3f /src/macfns.c | |
| parent | 6d8cf83040cdb54a0b1d72bd6a021f9815bd4af2 (diff) | |
| parent | 8b1b64617b37243f75c4052653761d2e2a3943f3 (diff) | |
| download | emacs-1072671b5b0f1fda9f91ea99da4bf0bd275ce6eb.tar.gz emacs-1072671b5b0f1fda9f91ea99da4bf0bd275ce6eb.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 133-141, 596-609)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-596
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-597
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-598
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-599
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-600
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-601
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-602
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-603
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-604
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-605
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-606
Remove lisp/toolbar directory
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-607
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-608
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-609
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-133
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-134
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-135
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-136
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-137
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-138
Update from CVS: texi/gnus.texi (RSS): Fix key description.
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-139
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-140
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-141
Update from CVS: texi/gnus.texi (Document Server Internals): Addition.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-426
Diffstat (limited to 'src/macfns.c')
| -rw-r--r-- | src/macfns.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/macfns.c b/src/macfns.c index f0d07a9fe55..64e20af4a47 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -1745,8 +1745,7 @@ x_set_tool_bar_lines (f, value, oldval) | |||
| 1745 | int y = nlines * FRAME_LINE_HEIGHT (f); | 1745 | int y = nlines * FRAME_LINE_HEIGHT (f); |
| 1746 | 1746 | ||
| 1747 | BLOCK_INPUT; | 1747 | BLOCK_INPUT; |
| 1748 | XClearArea (FRAME_MAC_DISPLAY (f), FRAME_MAC_WINDOW (f), | 1748 | mac_clear_area (f, 0, y, width, height); |
| 1749 | 0, y, width, height, 0); | ||
| 1750 | UNBLOCK_INPUT; | 1749 | UNBLOCK_INPUT; |
| 1751 | 1750 | ||
| 1752 | if (WINDOWP (f->tool_bar_window)) | 1751 | if (WINDOWP (f->tool_bar_window)) |
| @@ -2439,7 +2438,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2439 | frame = Qnil; | 2438 | frame = Qnil; |
| 2440 | GCPRO4 (parms, parent, name, frame); | 2439 | GCPRO4 (parms, parent, name, frame); |
| 2441 | tem = mac_get_arg (parms, Qminibuffer, "minibuffer", "Minibuffer", | 2440 | tem = mac_get_arg (parms, Qminibuffer, "minibuffer", "Minibuffer", |
| 2442 | RES_TYPE_SYMBOL); | 2441 | RES_TYPE_SYMBOL); |
| 2443 | if (EQ (tem, Qnone) || NILP (tem)) | 2442 | if (EQ (tem, Qnone) || NILP (tem)) |
| 2444 | f = make_frame_without_minibuffer (Qnil, kb, display); | 2443 | f = make_frame_without_minibuffer (Qnil, kb, display); |
| 2445 | else if (EQ (tem, Qonly)) | 2444 | else if (EQ (tem, Qonly)) |
| @@ -2480,7 +2479,11 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2480 | if (! STRINGP (f->icon_name)) | 2479 | if (! STRINGP (f->icon_name)) |
| 2481 | f->icon_name = Qnil; | 2480 | f->icon_name = Qnil; |
| 2482 | 2481 | ||
| 2483 | /* FRAME_W32_DISPLAY_INFO (f) = dpyinfo; */ | 2482 | /* FRAME_MAC_DISPLAY_INFO (f) = dpyinfo; */ |
| 2483 | #if GLYPH_DEBUG | ||
| 2484 | image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; | ||
| 2485 | dpyinfo_refcount = dpyinfo->reference_count; | ||
| 2486 | #endif /* GLYPH_DEBUG */ | ||
| 2484 | #ifdef MULTI_KBOARD | 2487 | #ifdef MULTI_KBOARD |
| 2485 | FRAME_KBOARD (f) = kb; | 2488 | FRAME_KBOARD (f) = kb; |
| 2486 | #endif | 2489 | #endif |
| @@ -2606,9 +2609,10 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2606 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), | 2609 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), |
| 2607 | "menuBar", "MenuBar", RES_TYPE_NUMBER); | 2610 | "menuBar", "MenuBar", RES_TYPE_NUMBER); |
| 2608 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), | 2611 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), |
| 2609 | "toolBar", "ToolBar", RES_TYPE_NUMBER); | 2612 | "toolBar", "ToolBar", RES_TYPE_NUMBER); |
| 2610 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, | 2613 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, |
| 2611 | "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL); | 2614 | "bufferPredicate", "BufferPredicate", |
| 2615 | RES_TYPE_SYMBOL); | ||
| 2612 | x_default_parameter (f, parms, Qtitle, Qnil, | 2616 | x_default_parameter (f, parms, Qtitle, Qnil, |
| 2613 | "title", "Title", RES_TYPE_STRING); | 2617 | "title", "Title", RES_TYPE_STRING); |
| 2614 | x_default_parameter (f, parms, Qfullscreen, Qnil, | 2618 | x_default_parameter (f, parms, Qfullscreen, Qnil, |
| @@ -3593,7 +3597,7 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 3593 | 3597 | ||
| 3594 | FRAME_FONTSET (f) = -1; | 3598 | FRAME_FONTSET (f) = -1; |
| 3595 | f->icon_name = Qnil; | 3599 | f->icon_name = Qnil; |
| 3596 | 3600 | /* FRAME_X_DISPLAY_INFO (f) = dpyinfo; */ | |
| 3597 | #if GLYPH_DEBUG | 3601 | #if GLYPH_DEBUG |
| 3598 | image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; | 3602 | image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; |
| 3599 | dpyinfo_refcount = dpyinfo->reference_count; | 3603 | dpyinfo_refcount = dpyinfo->reference_count; |
| @@ -4047,6 +4051,9 @@ Text larger than the specified size is clipped. */) | |||
| 4047 | BringToFront (FRAME_MAC_WINDOW (f)); | 4051 | BringToFront (FRAME_MAC_WINDOW (f)); |
| 4048 | UNBLOCK_INPUT; | 4052 | UNBLOCK_INPUT; |
| 4049 | 4053 | ||
| 4054 | FRAME_PIXEL_WIDTH (f) = width; | ||
| 4055 | FRAME_PIXEL_HEIGHT (f) = height; | ||
| 4056 | |||
| 4050 | /* Draw into the window. */ | 4057 | /* Draw into the window. */ |
| 4051 | w->must_be_updated_p = 1; | 4058 | w->must_be_updated_p = 1; |
| 4052 | update_single_window (w, 1); | 4059 | update_single_window (w, 1); |