aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2007-10-15 02:07:53 +0000
committerMiles Bader2007-10-15 02:07:53 +0000
commitb2529d56b5126319a1659dc1530d6fc102cc21d6 (patch)
treed538297f4ddc6c9200bfed9a1a67ddb479dcc7da /src
parentdecb374a426c8d095d144829791305d91a26b7b7 (diff)
parent69779ec883ae09f0187aa961930e7b308a71eebb (diff)
downloademacs-b2529d56b5126319a1659dc1530d6fc102cc21d6.tar.gz
emacs-b2529d56b5126319a1659dc1530d6fc102cc21d6.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
Diffstat (limited to 'src')
-rw-r--r--src/frame.c4
-rw-r--r--src/macfns.c10
-rw-r--r--src/w32fns.c10
-rw-r--r--src/w32term.c18
-rw-r--r--src/xdisp.c4
-rw-r--r--src/xfns.c10
6 files changed, 28 insertions, 28 deletions
diff --git a/src/frame.c b/src/frame.c
index 927f448dd0b..ff860d83509 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -103,6 +103,7 @@ Lisp_Object Qouter_window_id;
103#endif 103#endif
104Lisp_Object Qparent_id; 104Lisp_Object Qparent_id;
105Lisp_Object Qtitle, Qname; 105Lisp_Object Qtitle, Qname;
106Lisp_Object Qexplicit_name;
106Lisp_Object Qunsplittable; 107Lisp_Object Qunsplittable;
107Lisp_Object Qmenu_bar_lines, Qtool_bar_lines; 108Lisp_Object Qmenu_bar_lines, Qtool_bar_lines;
108Lisp_Object Qleft_fringe, Qright_fringe; 109Lisp_Object Qleft_fringe, Qright_fringe;
@@ -3268,6 +3269,7 @@ x_report_frame_params (f, alistptr)
3268 tem = Qnil; 3269 tem = Qnil;
3269 else 3270 else
3270 XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); 3271 XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc);
3272 store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil));
3271 store_in_alist (alistptr, Qparent_id, tem); 3273 store_in_alist (alistptr, Qparent_id, tem);
3272} 3274}
3273 3275
@@ -4229,6 +4231,8 @@ syms_of_frame ()
4229 staticpro (&Qframep); 4231 staticpro (&Qframep);
4230 Qframe_live_p = intern ("frame-live-p"); 4232 Qframe_live_p = intern ("frame-live-p");
4231 staticpro (&Qframe_live_p); 4233 staticpro (&Qframe_live_p);
4234 Qexplicit_name = intern ("explicit-name");
4235 staticpro (&Qexplicit_name);
4232 Qheight = intern ("height"); 4236 Qheight = intern ("height");
4233 staticpro (&Qheight); 4237 staticpro (&Qheight);
4234 Qicon = intern ("icon"); 4238 Qicon = intern ("icon");
diff --git a/src/macfns.c b/src/macfns.c
index fdc5c7e5920..6a12c071cee 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -1868,15 +1868,7 @@ x_implicitly_set_name (f, arg, oldval)
1868} 1868}
1869 1869
1870/* Change the title of frame F to NAME. 1870/* Change the title of frame F to NAME.
1871 If NAME is nil, use the frame name as the title. 1871 If NAME is nil, use the frame name as the title. */
1872
1873 If EXPLICIT is non-zero, that indicates that lisp code is setting the
1874 name; if NAME is a string, set F's name to NAME and set
1875 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
1876
1877 If EXPLICIT is zero, that indicates that Emacs redisplay code is
1878 suggesting a new name, which lisp code should override; if
1879 F->explicit_name is set, ignore the new name; otherwise, set it. */
1880 1872
1881void 1873void
1882x_set_title (f, name, old_name) 1874x_set_title (f, name, old_name)
diff --git a/src/w32fns.c b/src/w32fns.c
index 56d894ec5bd..8af99a2d0b9 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1935,15 +1935,7 @@ x_implicitly_set_name (f, arg, oldval)
1935} 1935}
1936 1936
1937/* Change the title of frame F to NAME. 1937/* Change the title of frame F to NAME.
1938 If NAME is nil, use the frame name as the title. 1938 If NAME is nil, use the frame name as the title. */
1939
1940 If EXPLICIT is non-zero, that indicates that lisp code is setting the
1941 name; if NAME is a string, set F's name to NAME and set
1942 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
1943
1944 If EXPLICIT is zero, that indicates that Emacs redisplay code is
1945 suggesting a new name, which lisp code should override; if
1946 F->explicit_name is set, ignore the new name; otherwise, set it. */
1947 1939
1948void 1940void
1949x_set_title (f, name, old_name) 1941x_set_title (f, name, old_name)
diff --git a/src/w32term.c b/src/w32term.c
index a5189cd9c8d..80ea9983cef 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -5564,7 +5564,22 @@ x_set_window_size (f, change_gravity, cols, rows)
5564 SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE); 5564 SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE);
5565 } 5565 }
5566 5566
5567 /* Now, strictly speaking, we can't be sure that this is accurate, 5567#if 0
5568 /* The following mirrors what is done in xterm.c. It appears to be
5569 for informing lisp of the new size immediately, while the actual
5570 resize will happen asynchronously. But on Windows, the menu bar
5571 automatically wraps when the frame is too narrow to contain it,
5572 and that causes any calculations made here to come out wrong. The
5573 end is some nasty buggy behaviour, including the potential loss
5574 of the minibuffer.
5575
5576 Disabling this code is either not sufficient to fix the problems
5577 completely, or it causes fresh problems, but at least it removes
5578 the most problematic symptom of the minibuffer becoming unusable.
5579
5580 -----------------------------------------------------------------
5581
5582 Now, strictly speaking, we can't be sure that this is accurate,
5568 but the window manager will get around to dealing with the size 5583 but the window manager will get around to dealing with the size
5569 change request eventually, and we'll hear how it went when the 5584 change request eventually, and we'll hear how it went when the
5570 ConfigureNotify event gets here. 5585 ConfigureNotify event gets here.
@@ -5595,6 +5610,7 @@ x_set_window_size (f, change_gravity, cols, rows)
5595 Actually checking whether it is outside is a pain in the neck, 5610 Actually checking whether it is outside is a pain in the neck,
5596 so don't try--just let the highlighting be done afresh with new size. */ 5611 so don't try--just let the highlighting be done afresh with new size. */
5597 cancel_mouse_face (f); 5612 cancel_mouse_face (f);
5613#endif
5598 5614
5599 UNBLOCK_INPUT; 5615 UNBLOCK_INPUT;
5600} 5616}
diff --git a/src/xdisp.c b/src/xdisp.c
index 7cba8338bb3..b907ea516d6 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3707,6 +3707,10 @@ handle_invisible_prop (it)
3707 it->position.bytepos = CHAR_TO_BYTE (it->position.charpos); 3707 it->position.bytepos = CHAR_TO_BYTE (it->position.charpos);
3708 } 3708 }
3709 setup_for_ellipsis (it, 0); 3709 setup_for_ellipsis (it, 0);
3710 /* Let the ellipsis display before
3711 considering any properties of the following char.
3712 Fixes jasonr@gnu.org 01 Oct 07 bug. */
3713 handled = HANDLED_RETURN;
3710 } 3714 }
3711 } 3715 }
3712 } 3716 }
diff --git a/src/xfns.c b/src/xfns.c
index fd59953fe73..fe4d1c8335f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1778,15 +1778,7 @@ x_implicitly_set_name (f, arg, oldval)
1778} 1778}
1779 1779
1780/* Change the title of frame F to NAME. 1780/* Change the title of frame F to NAME.
1781 If NAME is nil, use the frame name as the title. 1781 If NAME is nil, use the frame name as the title. */
1782
1783 If EXPLICIT is non-zero, that indicates that lisp code is setting the
1784 name; if NAME is a string, set F's name to NAME and set
1785 F->explicit_name; if NAME is Qnil, then clear F->explicit_name.
1786
1787 If EXPLICIT is zero, that indicates that Emacs redisplay code is
1788 suggesting a new name, which lisp code should override; if
1789 F->explicit_name is set, ignore the new name; otherwise, set it. */
1790 1782
1791void 1783void
1792x_set_title (f, name, old_name) 1784x_set_title (f, name, old_name)