entire virtualpad window should not be a mouse input receiver
This commit is contained in:
parent
bf33ba0575
commit
501a23af24
|
@ -30,18 +30,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
TopMost = Global.Config.VirtualPadSettings.TopMost;
|
TopMost = Global.Config.VirtualPadSettings.TopMost;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnActivated(EventArgs e)
|
|
||||||
{
|
|
||||||
base.OnActivated(e);
|
|
||||||
Input.Instance.ControlInputFocus(this, Input.InputFocus.Mouse, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnDeactivate(EventArgs e)
|
|
||||||
{
|
|
||||||
base.OnDeactivate(e);
|
|
||||||
Input.Instance.ControlInputFocus(this, Input.InputFocus.Mouse, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void VirtualpadTool_Load(object sender, EventArgs e)
|
private void VirtualpadTool_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
_defaultWidth = Size.Width;
|
_defaultWidth = Size.Width;
|
||||||
|
|
Loading…
Reference in New Issue