Commit f37f7299 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: High-Priority will not work in MetroMode

parent 25057a57
...@@ -80,6 +80,7 @@ typedef struct ...@@ -80,6 +80,7 @@ typedef struct
void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_argv[] ) void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_argv[] )
{ {
#if !defined(WINAPI_FAMILY_APP)
/* Raise default priority of the current process */ /* Raise default priority of the current process */
#ifndef ABOVE_NORMAL_PRIORITY_CLASS #ifndef ABOVE_NORMAL_PRIORITY_CLASS
# define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000 # define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
...@@ -97,7 +98,6 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_ ...@@ -97,7 +98,6 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
} }
} }
#if !defined(WINAPI_FAMILY_APP)
if( var_InheritBool( p_this, "one-instance" ) if( var_InheritBool( p_this, "one-instance" )
|| ( var_InheritBool( p_this, "one-instance-when-started-from-file" ) || ( var_InheritBool( p_this, "one-instance-when-started-from-file" )
&& var_InheritBool( p_this, "started-from-file" ) ) ) && var_InheritBool( p_this, "started-from-file" ) ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment