xpra icon
Bug tracker and wiki

Opened 2 years ago

Closed 22 months ago

#1969 closed defect (fixed)

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 (5)

comment:1 Changed 23 months 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 22 months ago by Antoine Martin (previous) (diff)

comment:2 Changed 23 months 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 22 months 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)

comment:4 Changed 22 months ago by Antoine Martin

Implementation complete in r20996 (+ man page in r20997).

Still TODO: backport fix.

comment:5 Changed 22 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Backport in r21001.

Not doing the desktop server randr limitation or applying it to OR windows.

Note: See TracTickets for help on using tickets.