Commit 8e3b4f58 authored by Martin Rudalics's avatar Martin Rudalics

In adjust_frame_size use FRAME_WINDOW_P instead of FRAME_X_WINDOW (Bug#18138).

* frame.c (adjust_frame_size): Use FRAME_WINDOW_P instead of
FRAME_X_WINDOW when calling x_set_window_size (Bug#18138).
parent 6628be85
2014-07-29 Martin Rudalics <rudalics@gmx.at>
* frame.c (adjust_frame_size): Use FRAME_WINDOW_P instead of
FRAME_X_WINDOW when calling x_set_window_size (Bug#18138).
2014-07-28 Martin Rudalics <rudalics@gmx.at>
* frame.c (x_set_frame_parameters): Revert part of 2014-07-24
......
......@@ -484,7 +484,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
new_lines = new_text_height / unit_height;
#ifdef HAVE_WINDOW_SYSTEM
if (FRAME_X_WINDOW (f)
if (FRAME_WINDOW_P (f)
&& f->official
&& ((!inhibit_horizontal
&& (new_pixel_width != old_pixel_width
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment