bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16430: 24.3.50; When fullscreen is triggered from the window manager


From: martin rudalics
Subject: bug#16430: 24.3.50; When fullscreen is triggered from the window manager, I can't resize window (via M-x org-export RET)
Date: Tue, 14 Jan 2014 19:09:21 +0100

> With WM fullscreen
>
> delta: 306
> (window-resizable ...): 300
>
> With M-x toggle-frame-fullscreen
>
> delta: 288
> (window-resizable ...): 288
>
> In the first case, 306>300 so window--resizable-p returns nil
> in the second call (with PIXELWISE set to t), while 288=288.

This is strange indeed.  Why would delta ever depend on the frame size?

Could you try stepping through `fit-window-to-buffer' with both of your
fullscreens and find out why these result in different arguments?
Please start with the return value of `window-text-pixel-size', that is
here

          (setq height (+ (cdr (window-text-pixel-size
                                nil nil t nil (frame-pixel-height) t))
                          (window-bottom-divider-width)))

martin





reply via email to

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