xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #532: handbrake-ugly-workaround.patch

File handbrake-ugly-workaround.patch, 839 bytes (added by Antoine Martin, 7 years ago)

fix for handbrake only (sigh)

  • xpra/x11/gtk_x11/window.py

     
    10211021            minw,minh = mins
    10221022            maxw,maxh = maxs
    10231023            if maxw<minw or maxh<minh:
    1024                 size_hints.min_size = min(minw, maxw), min(minh, maxh)
    1025                 size_hints.max_size = max(minw, maxw), max(minh, maxh)
     1024                #handbrake ugly workaround:
     1025                size_hints.min_size = size_hints.max_size   #min(minw, maxw), min(minh, maxh)
     1026                #size_hints.max_size = max(minw, maxw), max(minh, maxh)
    10261027                log.warn("invalid min_size=%s / max_size=%s changed to: %s / %s",
    10271028                         mins, maxs, size_hints.min_size, size_hints.max_size)
    10281029