emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116154: Fix bug #16517 with display change on MS-Wi


From: Eli Zaretskii
Subject: [Emacs-diffs] trunk r116154: Fix bug #16517 with display change on MS-Windows while in full-screen mode.
Date: Sat, 25 Jan 2014 13:05:49 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116154
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16517
author: Fabrice Popineau <address@hidden>
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2014-01-25 15:04:48 +0200
message:
  Fix bug #16517 with display change on MS-Windows while in full-screen mode.
  
   src/w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message
   arrives, call x_check_fullscreen, in case the new display has a
   different resolution.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32term.c                  w32term.c-20091113204419-o5vbwnq5f7feedwu-950
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-01-25 08:25:51 +0000
+++ b/src/ChangeLog     2014-01-25 13:04:48 +0000
@@ -1,3 +1,9 @@
+2014-01-25  Fabrice Popineau  <address@hidden>
+
+       * w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message
+       arrives, call x_check_fullscreen, in case the new display has a
+       different resolution.  (Bug#16517)
+
 2014-01-25  Eli Zaretskii  <address@hidden>
 
        * term.c (read_menu_input): If the selected frame changes, exit

=== modified file 'src/w32term.c'
--- a/src/w32term.c     2014-01-04 09:31:30 +0000
+++ b/src/w32term.c     2014-01-25 13:04:48 +0000
@@ -4841,6 +4841,10 @@
          if (f)
            {
              dpyinfo->n_cbits = msg.msg.wParam;
+             /* The new display could have a different resolution, in
+                which case we must reconsider what fullscreen
+                means.  */
+             x_check_fullscreen (f);
              DebPrint (("display change: %d %d\n",
                         (short) LOWORD (msg.msg.lParam),
                         (short) HIWORD (msg.msg.lParam)));


reply via email to

[Prev in Thread] Current Thread [Next in Thread]