Browse Source

libobs: Remove obs_hotkey_enable_strict_modifiers()

Deprecated in 28.0.
derrod 1 year ago
parent
commit
84d462c31c
2 changed files with 0 additions and 11 deletions
  1. 0 9
      libobs/obs-hotkey.c
  2. 0 2
      libobs/obs-hotkey.h

+ 0 - 9
libobs/obs-hotkey.c

@@ -1188,15 +1188,6 @@ void obs_hotkey_enable_background_press(bool enable)
 	unlock();
 }
 
-void obs_hotkey_enable_strict_modifiers(bool enable)
-{
-	if (!lock())
-		return;
-
-	obs->hotkeys.strict_modifiers = enable;
-	unlock();
-}
-
 struct obs_query_hotkeys_helper {
 	uint32_t modifiers;
 	bool no_press;

+ 0 - 2
libobs/obs-hotkey.h

@@ -277,8 +277,6 @@ EXPORT void obs_hotkey_inject_event(obs_key_combination_t hotkey, bool pressed);
 
 EXPORT void obs_hotkey_enable_background_press(bool enable);
 
-OBS_DEPRECATED EXPORT void obs_hotkey_enable_strict_modifiers(bool enable);
-
 /* hotkey callback routing (trigger callbacks through e.g. a UI thread) */
 
 typedef void (*obs_hotkey_callback_router_func)(void *data, obs_hotkey_id id,