xpra icon
Bug tracker and wiki

Opened 6 weeks ago

Last modified 100 minutes ago

#1969 assigned defect

honour client min window size

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.5
Component: server Version: 2.3.x
Keywords: Cc:


windows with a title bar have a minimum size on win32, we should tell the server to honour it so that when an application requests a size smaller than that we will send the configure-notify event with the min-size applied to it.

Change History (3)

comment:1 Changed 2 weeks ago by Antoine Martin

Status: newassigned

Mostly done in r20851, minor fixups in r20854. Test in r20855.

max-size and the new min-size switch can be used on either the client or server (previously max-size was only used by the client)

Still TODO:

  • also apply it for OR windows? (force XConfigureWindow?)
  • use it with the desktop server to restrict randr resizing
  • man page
Last edited 6 hours ago by Antoine Martin (previous) (diff)

comment:2 Changed 10 days ago by Antoine Martin

As of r20949, the min-size only applies to decorated windows, undecorated windows don't have any min-size restrictions.
r20950: max-size applies to all windows.

comment:3 Changed 100 minutes ago by Antoine Martin


  • r20991 improve test
  • r20992 remove unused code
  • r20993 + r20994: decorations flag may not be set, in which case the window IS decorated

More to come, including a fix for size constraints validation (done on the values after we already copied them... doh)

Note: See TracTickets for help on using tickets.