unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36250: Allow Emacs to be resized arbitrarily
@ 2019-06-16 17:59 Konstantin Kharlamov
  2019-06-16 18:01 ` bug#36250: [PATCH] " Konstantin Kharlamov
                   ` (6 more replies)
  0 siblings, 7 replies; 42+ messages in thread
From: Konstantin Kharlamov @ 2019-06-16 17:59 UTC (permalink / raw)
  To: 36250

For a long time Emacs was setting PResizeInc flag for WM_SIZE_HINTS, 
thus causing problems to users of standard-compliant window managers, 
such as not being able to open Emacs in fullscreen¹ or not being able 
to resize Emacs to fill all free space on the screen².

I investigated reasons why these variables were set in the first place, 
and found the first occurrence of `size_hints.width_inc` in `xterm.c`, 
commit `Initial revision` in 1991 year, function `x_wm_set_size_hint`. 
First occurrence in GTK related file is at `gtkutil.c`, commit `GTK 
files gtkutil.c and .h` in 2003. Both commits lack any description, and 
no comments on the resize matter provided.

This patch fixes the problem, the property "program specified resize 
increment" in `xprop` output is no longer set.

Unconstrained resize of Emacs is widely tested, e.g. I've been using 
for years Emacs on i3wm, which just ignores the property, thus resizes 
Emacs arbitrarily. Also: I don't touch in this patch 
`frame_resize_pixelwise` variable, because it's used for something 
else; in particular, setting this variable had no influence on the 
problem.

1: https://bugs.kde.org/show_bug.cgi?id=408746#c8
2: https://github.com/kwin-scripts/kwin-tiling/issues/161








^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2020-08-26 10:26 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-16 17:59 bug#36250: Allow Emacs to be resized arbitrarily Konstantin Kharlamov
2019-06-16 18:01 ` bug#36250: [PATCH] " Konstantin Kharlamov
2019-06-16 18:24   ` Eli Zaretskii
2019-06-16 18:34     ` Eli Zaretskii
2019-06-17  8:22       ` martin rudalics
2019-06-17  8:41         ` Konstantin Kharlamov
2019-06-17  8:46           ` martin rudalics
2019-06-17  8:58           ` Juanma Barranquero
2019-06-16 18:42     ` Konstantin Kharlamov
2019-06-16 18:53       ` Eli Zaretskii
2019-06-16 18:59         ` Konstantin Kharlamov
2019-06-16 19:07           ` Eli Zaretskii
2019-06-16 19:15             ` Eli Zaretskii
2019-06-16 18:22 ` bug#36250: " Konstantin Kharlamov
2019-06-16 18:22 ` bug#36250: [PATCH v2] " Konstantin Kharlamov
2019-06-16 18:55 ` bug#36250: [PATCH v3] " Konstantin Kharlamov
2019-06-16 19:10   ` Eli Zaretskii
2019-06-17 12:32     ` Konstantin Kharlamov
2019-06-17 14:56       ` Eli Zaretskii
2019-06-18 20:34         ` Konstantin Kharlamov
2019-06-19 16:13           ` Eli Zaretskii
2020-08-26 10:26       ` Lars Ingebrigtsen
     [not found] ` <mailman.222.1560709505.10840.bug-gnu-emacs@gnu.org>
2019-06-17  7:54   ` bug#36250: [PATCH] " Alan Mackenzie
2019-06-17  8:43     ` martin rudalics
2019-06-17 14:38       ` Eli Zaretskii
2019-06-18  8:17         ` martin rudalics
2019-06-18 15:49           ` Eli Zaretskii
2019-06-17  8:21 ` bug#36250: " martin rudalics
2019-06-17  8:27   ` Konstantin Kharlamov
2019-06-17  8:44     ` martin rudalics
2019-06-17  9:14       ` Konstantin Kharlamov
2019-06-17  9:46         ` martin rudalics
2019-06-17 14:41         ` Eli Zaretskii
2019-06-18 20:35 ` bug#36250: [PATCH] Improve a bit frame-resize-pixelwise documentation Konstantin Kharlamov
2019-06-18 20:38   ` Andreas Schwab
2019-06-19 16:16   ` Eli Zaretskii
2019-06-28 11:27     ` Konstantin Kharlamov
2019-06-28 13:16       ` Eli Zaretskii
2019-06-28 13:59         ` Konstantin Kharlamov
2019-06-28 14:22           ` Eli Zaretskii
2019-06-28 14:34             ` Konstantin Kharlamov
2019-06-28 14:49               ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).