all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <yuri.delia@eurac.edu>
To: Jan D. <jan.h.d@swipnet.se>
Cc: 19990@debbugs.gnu.org
Subject: bug#19990: 24.4; Bad resizing interaction when WM ignores size hints
Date: Fri, 6 Mar 2015 18:19:23 +0100	[thread overview]
Message-ID: <54F9E19B.8040304@eurac.edu> (raw)
In-Reply-To: <2C962D9B-843A-44B2-9FFB-1CF60F30D962@swipnet.se>

On 03/06/2015 06:05 PM, Jan D. wrote:
>> Since we receive the first ConfigureNotify event with the unhinted
>> width/height, we *can* detect that the size hints have been ignored.
>> Couldn't we disable them at that point?
> 
> At what point would we re-enable them?

...

>> hints, but *without* having Gtk+ do it's mess? This would mean that we
>> would need to set the hints back on when the resize request has been
>> fully settled. Tricky. Setting them back-on on a further repaint/focus
>> in/out event is either too late or not enough.

Re-enabling them once at the first repaint (out of the resize handler)
*might* work, depending on how Gtk keeps its state. If the WM is
ignoring hits, we would be disabling/re-enabling Gtk hints at each event
when "live" resizing, though.

I would need to try or read Gtk sources to be sure. Maybe Gtk has some
synthetic events that we could use.

If not, leaving them disabled would still be a better option.






  reply	other threads:[~2015-03-06 17:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 11:38 bug#19990: 24.4; Bad resizing interaction when WM ignores size hints Yuri D'Elia
2015-03-03 17:47 ` martin rudalics
2015-03-03 18:41   ` Yuri D'Elia
2015-03-04 18:45     ` martin rudalics
2015-03-04 18:53       ` Yuri D'Elia
2015-03-04 19:22         ` Jan D.
2015-03-04 19:30           ` Yuri D'Elia
2015-03-04 19:38             ` Yuri D'Elia
2015-03-04 21:18             ` Jan D.
2015-03-05  8:04           ` martin rudalics
2015-03-05 16:36             ` Jan D.
2015-03-05 18:15               ` martin rudalics
2015-03-06  6:03                 ` Jan D.
2015-03-06  9:21                   ` martin rudalics
2015-03-06 10:53                     ` Yuri D'Elia
2015-03-06 17:05                       ` Jan D.
2015-03-06 17:19                         ` Yuri D'Elia [this message]
2015-03-06 18:54                       ` martin rudalics
2015-03-06 17:00                     ` Jan D.
2015-03-06 18:54                       ` martin rudalics
2015-03-07  8:00                         ` Jan D.
2015-03-05  8:04         ` martin rudalics
2020-02-29 18:05 ` Stefan Kangas
2020-03-01 21:24   ` Yuri D'Elia
2020-03-02  8:00     ` Stefan Kangas
2020-03-02  9:53       ` Yuri D'Elia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F9E19B.8040304@eurac.edu \
    --to=yuri.delia@eurac.edu \
    --cc=19990@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.