mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
This is basicall linux code cleanup. We don not need to pass the X display handle from the video plugin anymore. The wiimote plugins now open their own display handles, and the GUI uses the display handle of the main window frame. Only the window handle from the video plugin is needed. The pWindowHandle variable now passes this instead of the display handle.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5884 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -358,7 +358,7 @@ bool IsKey(int Key)
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
if (Key == EWM_SHAKE || Key == EWM_A || Key == EWM_B)
|
||||
{
|
||||
Window GLWin = *(Window *)g_WiimoteInitialize.pXWindow;
|
||||
Window GLWin = (Window)g_WiimoteInitialize.hWnd;
|
||||
int root_x, root_y, win_x, win_y;
|
||||
Window rootDummy, childWin;
|
||||
unsigned int mask;
|
||||
|
Reference in New Issue
Block a user