xpra icon
Bug tracker and wiki

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


Changes between Initial Version and Version 1 of Ticket #252, comment 33


Ignore:
Timestamp:
04/24/13 07:06:43 (8 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #252, comment 33

    initial v1  
    5252--- src/xpra/server.py  (revision 3132)
    5353+++ src/xpra/server.py  (working copy)
    54 @@ -86,6 +86,9 @@
     54@@ -86,6 +86,10 @@
    5555             model.ownership_election()
    5656         self._models[model].geom = [x, y, w, h]
     
    5858+        aw, ah = model.get_property("actual-size")
    5959+        if aw!=w or ah!=h:
     60+            log.warn("DesktopManager: updating model with new size: %sx%s", aw, ah)
    6061+            self._models[model].geom = [x, y, aw, ah]
    6162 
     
    6364         if not model.get_property("iconic"):
    6465}}}
     66This is what I see with this patch:
     67{{{
     68Uh-oh, our size doesn't fit window sizing constraints: 487x276 vs 562x276
     69Uh-oh, our size doesn't fit window sizing constraints: 487x276 vs 562x276
     70DesktopManager: updating model with new size: 562x276
     71Uh-oh, our size doesn't fit window sizing constraints: 487x276 vs 562x276
     72DesktopManager: updating model with new size: 562x276
     73Uh-oh, our size doesn't fit window sizing constraints: 487x276 vs 562x276
     74DesktopManager: updating model with new size: 562x276
     75}}}