Changeset 3971 for pjproject/trunk


Ignore:
Timestamp:
Mar 9, 2012 3:03:10 AM (13 years ago)
Author:
nanang
Message:

Misc (re #1446): Minor fixes arrange_window() in pjsua app:

  • calculate visible windows only (with 2 calls, there was already an out-of-screen window)
  • re-arrange windows on format changed event
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3925 r3971  
    28262826 
    28272827    pos.x = 0; 
    2828     pos.y = 0; 
     2828    pos.y = 10; 
    28292829    last = (wid == PJSUA_INVALID_ID) ? PJSUA_MAX_VID_WINS : wid; 
    28302830 
     
    28402840            pjsua_vid_win_set_pos(i, &pos); 
    28412841 
    2842         pos.y += wi.size.h; 
     2842        if (wi.show) 
     2843            pos.y += wi.size.h; 
    28432844    } 
    28442845 
     
    32883289            pjsua_vid_win_set_size(wid, &size); 
    32893290        } 
     3291 
     3292        /* Re-arrange video windows */ 
     3293        arrange_window(PJSUA_INVALID_ID); 
    32903294    } 
    32913295#endif 
Note: See TracChangeset for help on using the changeset viewer.