Skip to content

Commit 2e151fb

Browse files
committed
nvm, allow child windows
1 parent b19ac2c commit 2e151fb

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

FlashpointSecurePlayer/WebBrowserMode.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@ public bool Fullscreen {
105105
return;
106106
}
107107

108-
109-
if (GetWindow(Handle, GW.GW_CHILD) != IntPtr.Zero) {
110-
value = false;
111-
}
112-
113108
if (fullscreen == value) {
114109
return;
115110
}
@@ -560,12 +555,6 @@ private void WebBrowserMode_Deactivate(object sender, EventArgs e) {
560555
Application.RemoveMessageFilter(messageFilter);
561556

562557
if (Fullscreen) {
563-
// disallow child windows in fullscreen
564-
if (GetWindow(Handle, GW.GW_CHILD) != IntPtr.Zero) {
565-
Fullscreen = false;
566-
return;
567-
}
568-
569558
IntPtr foregroundWindow = GetForegroundWindow();
570559

571560
// we are the active window, because we are only now deactivating

0 commit comments

Comments
 (0)