changeset: 4535:35f0af76503d232536f7c0f5312fa57767869f15
tag: tip
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Fri Aug 22 19:21:53 2008 +0200
files: src/ChangeLog.carbon2 src/frame-carbon.c
description:
Carbon: Make FRAME_PIXHEIGHT, FRAME_HEIGHT identical, ditto width.
2008-08-22 Aidan Kehoe <kehoea(a)parhasard.net>
* frame-carbon.c (carbon_set_initial_frame_size):
Make FRAME_PIXWIDTH and FRAME_WIDTH, FRAME_PIXHEIGHT and
FRAME_HEIGHT, correspond, since that's what we tell the rest of
the code about them.
diff -r 4655218af377af2f9b8d6e36e110e77dbd836d48 -r
35f0af76503d232536f7c0f5312fa57767869f15 src/ChangeLog.carbon2
--- a/src/ChangeLog.carbon2 Thu Aug 21 23:25:38 2008 +0200
+++ b/src/ChangeLog.carbon2 Fri Aug 22 19:21:53 2008 +0200
@@ -1,3 +1,10 @@ 2008-04-05 Aidan Kehoe <kehoea@parhasa
+2008-08-22 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * frame-carbon.c (carbon_set_initial_frame_size):
+ Make FRAME_PIXWIDTH and FRAME_WIDTH, FRAME_PIXHEIGHT and
+ FRAME_HEIGHT, correspond, since that's what we tell the rest of
+ the code about them.
+
2008-04-05 Aidan Kehoe <kehoea(a)parhasard.net>
* depend:
diff -r 4655218af377af2f9b8d6e36e110e77dbd836d48 -r
35f0af76503d232536f7c0f5312fa57767869f15 src/frame-carbon.c
--- a/src/frame-carbon.c Thu Aug 21 23:25:38 2008 +0200
+++ b/src/frame-carbon.c Fri Aug 22 19:21:53 2008 +0200
@@ -390,14 +390,11 @@ carbon_set_initial_frame_size (struct fr
if (w > 0 || h > 0)
{
default_face_height_and_width (wrap_frame (f), &dh, &dw);
-
- FRAME_HEIGHT (f) = h;
- FRAME_WIDTH (f) = w;
-
- /* change_frame_size (f, h, w, 0); */
-
- FRAME_PIXWIDTH (f) = w * dw;
- FRAME_PIXHEIGHT (f) = h * dh;
+
+ /* We set XDEVIMPF_PIXEL_GEOMETRY in our console method flags --> the
+ pixel dimensions and general dimensions should be identical. */
+ FRAME_PIXWIDTH (f) = FRAME_WIDTH (f) = w * dw;
+ FRAME_PIXHEIGHT (f) = FRAME_HEIGHT (f) = h * dh;
SizeWindow (win, w * dw, h * dh, 0);
}
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches