git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3738 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v0.0.90
@@ -325,6 +325,8 @@ void VNCServerST::setScreenLayout(const ScreenSet& layout) | |||
if (!layout.validate(pb->width(), pb->height())) | |||
throw Exception("setScreenLayout: invalid screen layout"); | |||
screenLayout = layout; | |||
std::list<VNCSConnectionST*>::iterator ci, ci_next; | |||
for (ci=clients.begin();ci!=clients.end();ci=ci_next) { | |||
ci_next = ci; ci_next++; |