[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112048: Match the effect of FULLSCRE
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112048: Match the effect of FULLSCREEN_BOTH and FULLSCREEN_MAXIMIZED to docs on Windows. |
Date: |
Fri, 15 Mar 2013 12:07:29 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 112048
fixes bug: http://debbugs.gnu.org/13935
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2013-03-15 12:07:29 +0200
message:
Match the effect of FULLSCREEN_BOTH and FULLSCREEN_MAXIMIZED to docs on
Windows.
src/w32term.c (w32fullscreen_hook): Swap FULLSCREEN_BOTH and
FULLSCREEN_MAXIMIZED.
modified:
doc/lispref/frames.texi
src/ChangeLog
src/w32term.c
=== modified file 'doc/lispref/frames.texi'
--- a/doc/lispref/frames.texi 2013-01-01 09:11:05 +0000
+++ b/doc/lispref/frames.texi 2013-03-15 10:07:29 +0000
@@ -632,8 +632,9 @@
the height shall be set to the size of the screen. The value
@code{maximized} specifies that the frame shall be maximized. The
difference between @code{maximized} and @code{fullboth} is that the
-former still has window manager decorations while the latter really
-covers the whole screen.
+former can still be resized by dragging window manager decorations
+with the mouse, while the latter really covers the whole screen and
+does not allow resizing by mouse dragging.
@end table
@node Layout Parameters
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-03-15 07:32:28 +0000
+++ b/src/ChangeLog 2013-03-15 10:07:29 +0000
@@ -1,3 +1,8 @@
+2013-03-15 Eli Zaretskii <address@hidden>
+
+ * w32term.c (w32fullscreen_hook): Swap FULLSCREEN_BOTH and
+ FULLSCREEN_MAXIMIZED. (Bug#13935)
+
2013-03-15 Dmitry Antipov <address@hidden>
* region-cache.c (find_cache_boundary, move_cache_gap)
=== modified file 'src/w32term.c'
--- a/src/w32term.c 2013-03-14 17:37:51 +0000
+++ b/src/w32term.c 2013-03-15 10:07:29 +0000
@@ -5682,10 +5682,10 @@
switch (f->want_fullscreen)
{
+ case FULLSCREEN_BOTH:
+ PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MAXIMIZE, 0);
+ break;
case FULLSCREEN_MAXIMIZED:
- PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MAXIMIZE, 0);
- break;
- case FULLSCREEN_BOTH:
height =
FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, pixel_height)
- XINT (Ftool_bar_lines_needed (selected_frame))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112048: Match the effect of FULLSCREEN_BOTH and FULLSCREEN_MAXIMIZED to docs on Windows.,
Eli Zaretskii <=