# I just want to see viewport, with playing in editor, without moving or minimizing the other window

**URL:** <https://forums.unrealengine.com/t/i-just-want-to-see-viewport-with-playing-in-editor-without-moving-or-minimizing-the-other-window/459451>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, editor, UE4, question\
**Created:** [December 14, 2019, 10:31pm UTC](https://forums.unrealengine.com/t/i-just-want-to-see-viewport-with-playing-in-editor-without-moving-or-minimizing-the-other-window/459451 "2019-12-14T22:31:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Hyaniner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyaniner/32/1194580_2.png) [@Hyaniner](https://forums.unrealengine.com/u/Hyaniner)\
**Post date:** [December 16, 2019, 5:27pm UTC](https://forums.unrealengine.com/t/i-just-want-to-see-viewport-with-playing-in-editor-without-moving-or-minimizing-the-other-window/459451/6 "2019-12-16T17:27:12Z")

</div>

![294050-01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/6/1766b8d4d5ddb53e675c9754cf1909f47ba364aa.jpeg)

 ![294071-02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/1/2d13c15c311486f6b9176aee1a2aeed5ecc75aa1.jpeg)

I did it!

What I modified is this: (UE version is 4.23)

From TabManager.cpp ( \Engine\Source\Runtime\Slate\Private\Framework\Docking\TabManager.cpp )

in TSharedRef FTabManager::RestoreArea\_Helper()

I found below source,

```
			// Any windows that were "pulled out" of a dock area should be children of the window in which the parent dock area resides.
			if (bIsChildWindow)
			{				
				FSlateApplication::Get().AddWindowAsNativeChild( NewWindow, ParentWindow.ToSharedRef() )->SetContent(
					SAssignNew( NewDockAreaWidget, SDockingArea, SharedThis(this), NodeAsArea.ToSharedRef() ) .ParentWindow( NewWindow )
				);				
			}
			else
			{
				FSlateApplication::Get().AddWindow( NewWindow )->SetContent(
					SAssignNew( NewDockAreaWidget, SDockingArea, SharedThis(this), NodeAsArea.ToSharedRef() ) .ParentWindow( NewWindow )
				);
			}

```

And I modified like this: (just copy and past from line under else{ )

```
			// Any windows that were "pulled out" of a dock area should be children of the window in which the parent dock area resides.
			if (bIsChildWindow)
			{				
				//FSlateApplication::Get().AddWindowAsNativeChild( NewWindow, ParentWindow.ToSharedRef() )->SetContent(
				//	SAssignNew( NewDockAreaWidget, SDockingArea, SharedThis(this), NodeAsArea.ToSharedRef() ) .ParentWindow( NewWindow )
				//);
				FSlateApplication::Get().AddWindow(NewWindow)->SetContent(
					SAssignNew(NewDockAreaWidget, SDockingArea, SharedThis(this), NodeAsArea.ToSharedRef()).ParentWindow(NewWindow)
				);
			}
			else
			{
				FSlateApplication::Get().AddWindow( NewWindow )->SetContent(
					SAssignNew( NewDockAreaWidget, SDockingArea, SharedThis(this), NodeAsArea.ToSharedRef() ) .ParentWindow( NewWindow )
				);
			}

```

Then it works! How sweet!!! Thank you!

---

_[View the full topic](https://forums.unrealengine.com/t/i-just-want-to-see-viewport-with-playing-in-editor-without-moving-or-minimizing-the-other-window/459451)._
