mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-23 03:25:06 -05:00
restore editor window position when open
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -1617,10 +1617,10 @@ INT_PTR CALLBACK EditorProc (
|
||||
// initialize layout
|
||||
_r_layout_initializemanager (&context->layout_manager, hwnd);
|
||||
|
||||
_r_window_restoreposition (hwnd, L"editor");
|
||||
|
||||
_r_wnd_center (hwnd, GetParent (hwnd));
|
||||
|
||||
_r_window_restoreposition (hwnd, L"editor");
|
||||
|
||||
// set window title
|
||||
SetWindowText (hwnd, title);
|
||||
|
||||
|
||||
Reference in new issue
Block a user