GNU bug report logs - #25542
25.1; Restoring the frame from fullscreen to maximized

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 26 Jan 2017 08:16:02 UTC

Severity: normal

Found in version 25.1

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #86 received at 25542 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Dani Moncayo <dmoncayo <at> gmail.com>, 25542 <at> debbugs.gnu.org,
 Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: bug#25542: 25.1; Restoring the frame from fullscreen to maximized
Date: Fri, 04 Sep 2020 14:32:59 +0200
martin rudalics <rudalics <at> gmx.at> writes:

>> With the taskbar on top it's the same except x = -8, y = 22 (when
>> taskbar is on the right or botton both x and y are -8 and the the
>> second f11 produces the same message as maximizing).
>
> Thank you very much for checking.  I suppose that replacing
>
> 		  if (EQ (fullscreen, Qfullwidth) || EQ (fullscreen, Qfullheight)
> 		      || NILP (fullscreen))
> 		      {
> 			int x, y;
>
> 			x_real_positions (f, &x, &y);
> 			if (x < 0 && y < 0)
> 			  store_frame_param (f, Qfullscreen, Qmaximized);
> 		      }
>
> with
>
> 			  store_frame_param (f, Qfullscreen, Qmaximized);
>
> should work because I doubt that "Windows can send us a SIZE_MAXIMIZED
> message even when fullscreen is fullboth" can happen but who knows ...

Reading this thread, it seems like the problem was analysed thoroughly,
but this was the final message in the thread.  Did anybody try this
solution to see whether it fixes the problem, or has the problem been
fixed in a different way over the years?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.