diff options
Diffstat (limited to 'platform/uwp/os_uwp.cpp')
| -rw-r--r-- | platform/uwp/os_uwp.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/uwp/os_uwp.cpp b/platform/uwp/os_uwp.cpp index f37759c66f..494f5ec4b9 100644 --- a/platform/uwp/os_uwp.cpp +++ b/platform/uwp/os_uwp.cpp @@ -275,7 +275,7 @@ Error OS_UWP::initialize(const VideoMode &p_desired, int p_video_driver, int p_a  		display_request->RequestActive();  	} -	set_keep_screen_on(GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true)); +	set_keep_screen_on(GLOBAL_GET("display/window/energy_saving/keep_screen_on"));  	return OK;  } @@ -716,7 +716,7 @@ bool OS_UWP::has_virtual_keyboard() const {  	return UIViewSettings::GetForCurrentView()->UserInteractionMode == UserInteractionMode::Touch;  } -void OS_UWP::show_virtual_keyboard(const String &p_existing_text, const Rect2 &p_screen_rect, bool p_multiline, int p_max_input_length, int p_cursor_start, int p_cursor_end) { +void OS_UWP::show_virtual_keyboard(const String &p_existing_text, const Rect2 &p_screen_rect, VirtualKeyboardType p_type, int p_max_input_length, int p_cursor_start, int p_cursor_end) {  	InputPane ^ pane = InputPane::GetForCurrentView();  	pane->TryShow();  } @@ -781,7 +781,7 @@ void OS_UWP::run() {  	int frames = 0;  	uint64_t frame = 0; -	while (!force_quit) { +	while (true) {  		CoreWindow::GetForCurrentThread()->Dispatcher->ProcessEvents(CoreProcessEventsOption::ProcessAllIfPresent);  		if (managed_object->alert_close_handle) {  			continue; @@ -811,7 +811,6 @@ bool OS_UWP::_check_internal_feature_support(const String &p_feature) {  OS_UWP::OS_UWP() {  	key_event_pos = 0; -	force_quit = false;  	alt_mem = false;  	gr_mem = false;  	shift_mem = false;  |