]> source.dussan.org Git - tigervnc.git/commit
Fix Viewport initial sizing issue on OS X
authorBrian P. Hinz <bphinz@users.sf.net>
Mon, 14 Sep 2015 01:29:31 +0000 (21:29 -0400)
committerBrian P. Hinz <bphinz@users.sf.net>
Mon, 14 Sep 2015 01:32:18 +0000 (21:32 -0400)
commit6262bac01e7d7f5a535cbac0cc6e879cec1cc829
tree1d62f5de20328be08a70baec0cf1bfb09d832a44
parent3ee966ed4e2334368c40f4f3e28de1d1c6bb4159
Fix Viewport initial sizing issue on OS X

The layout manager on OS X sometimes sets the preferredSize to 0,
so only call pack if that's not the case.
java/com/tigervnc/vncviewer/Viewport.java