diff options
| author | Martin Rudalics | 2014-02-18 11:52:00 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-02-18 11:52:00 +0100 |
| commit | 5185f8ed16a8ec076b2517fb8bf50c56e12d76af (patch) | |
| tree | 37de933bf3d9b4a13ab89b514b3a5e0d71189f7b /src | |
| parent | a73fae1ffa16e60f5ddc3a5536d322edc10a8a83 (diff) | |
| download | emacs-5185f8ed16a8ec076b2517fb8bf50c56e12d76af.tar.gz emacs-5185f8ed16a8ec076b2517fb8bf50c56e12d76af.zip | |
Don't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH in update_various_frame_slots (Bug#16736).
* widget.c (update_various_frame_slots): Don't set
FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/widget.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1db4d4ac375..0fc12fce809 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-02-18 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * widget.c (update_various_frame_slots): Don't set | ||
| 4 | FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736). | ||
| 5 | |||
| 1 | 2014-02-18 Michael Albinus <michael.albinus@gmx.de> | 6 | 2014-02-18 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * dbusbind.c (xd_close_bus): Apply proper check on busobj. | 8 | * dbusbind.c (xd_close_bus): Apply proper check on busobj. |
diff --git a/src/widget.c b/src/widget.c index ecd42b35719..838e775f918 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -599,8 +599,13 @@ update_various_frame_slots (EmacsFrame ew) | |||
| 599 | { | 599 | { |
| 600 | struct frame *f = ew->emacs_frame.frame; | 600 | struct frame *f = ew->emacs_frame.frame; |
| 601 | struct x_output *x = f->output_data.x; | 601 | struct x_output *x = f->output_data.x; |
| 602 | /* Don't do that: It confuses the check in change_frame_size_1 whether | ||
| 603 | the pixel size of the frame changed due to a change of the internal | ||
| 604 | border width. Bug#16736. */ | ||
| 605 | #if 0 | ||
| 602 | FRAME_PIXEL_HEIGHT (f) = ew->core.height + x->menubar_height; | 606 | FRAME_PIXEL_HEIGHT (f) = ew->core.height + x->menubar_height; |
| 603 | FRAME_PIXEL_WIDTH (f) = ew->core.width; | 607 | FRAME_PIXEL_WIDTH (f) = ew->core.width; |
| 608 | #endif | ||
| 604 | f->internal_border_width = ew->emacs_frame.internal_border_width; | 609 | f->internal_border_width = ew->emacs_frame.internal_border_width; |
| 605 | 610 | ||
| 606 | } | 611 | } |