Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3e7600a6
Commit
3e7600a6
authored
Sep 19, 2008
by
Eli Zaretskii
Browse files
(x_wm_set_size_hint): Use x_display_pixel_width and x_display_pixel_height.
parent
05eb7cdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
src/ChangeLog
src/ChangeLog
+5
-0
src/xterm.c
src/xterm.c
+4
-4
No files found.
src/ChangeLog
View file @
3e7600a6
2008-09-19 Eli Zaretskii <eliz@gnu.org>
* xterm.c (x_wm_set_size_hint): Use x_display_pixel_width and
x_display_pixel_height.
2008-09-19 Juanma Barranquero <lekktu@gmail.com>
* frame.c (x_fullscreen_adjust): Declare var as Display_Info.
...
...
src/xterm.c
View file @
3e7600a6
...
...
@@ -9619,10 +9619,10 @@ x_wm_set_size_hint (f, flags, user_position)
size_hints.width_inc = FRAME_COLUMN_WIDTH (f);
size_hints.height_inc = FRAME_LINE_HEIGHT (f);
size_hints.max_width
= FRAME_X_DISPLAY_INFO (f)->width
- FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0);
size_hints.max_height
= FRAME_X_DISPLAY_INFO (f)->height
- FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0);
size_hints.max_width
= x_display_pixel_width (FRAME_X_DISPLAY_INFO (f))
- FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0);
size_hints.max_height
= x_display_pixel_height (FRAME_X_DISPLAY_INFO (f))
- FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0);
/* Calculate the base and minimum sizes.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment