Skip to content

Commit

Permalink
made VST-GUI work with recent WINE-versions where no X-windows are be…
Browse files Browse the repository at this point in the history
…ing created until a ShowWindow()-request is issued and thus we get a XID for embedding GUI

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.3@786 0778d3d1-df1d-0410-868b-ea421aaaa00d
  • Loading branch information
tobydox committed Mar 9, 2008
1 parent 4037f98 commit c536dcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/vst_base/lvsl_server.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* lvsl_server.cpp - LMMS VST Support Layer Server
*
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
Expand Down Expand Up @@ -1081,6 +1081,8 @@ DWORD WINAPI VSTPlugin::guiEventLoop( LPVOID _param )
pthread_cond_signal( &_this->m_windowStatusChange );
return( 1 );
}
ShowWindow( _this->m_window, SW_SHOWMINIMIZED );
ShowWindow( _this->m_window, SW_HIDE );

_this->m_windowXID = (Sint32) GetPropA( _this->m_window,
"__wine_x11_whole_window" );
Expand Down

0 comments on commit c536dcd

Please sign in to comment.