You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 5fd9826b8cdcb9130b0bf6943a2a5cd7c7499370.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 3d27835e97b472ed46ffbfd48bc1e16a30d1ff61 Mon Sep 17 00:00:00 2001
|
||||
From 3f06b0580aaffb924233ca92bfd0c663ef9e4561 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
|
||||
Date: Fri, 6 Jan 2023 08:09:11 +0100
|
||||
Subject: [PATCH] winex11: Write supported keyboard layout list in registry.
|
||||
@@ -12,10 +12,10 @@ Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45605
|
||||
3 files changed, 42 insertions(+)
|
||||
|
||||
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
|
||||
index 5c7f6c37276..1846bd923a5 100644
|
||||
index 25836fe835d..5b0f27536dd 100644
|
||||
--- a/dlls/winex11.drv/keyboard.c
|
||||
+++ b/dlls/winex11.drv/keyboard.c
|
||||
@@ -1084,6 +1084,27 @@ static const WORD xfree86_vendor_key_vkey[256] =
|
||||
@@ -1093,6 +1093,27 @@ static const WORD xfree86_vendor_key_vkey[256] =
|
||||
0, 0, 0, 0, 0, 0, 0, 0 /* 1008FFF8 */
|
||||
};
|
||||
|
||||
@@ -44,12 +44,12 @@ index 5c7f6c37276..1846bd923a5 100644
|
||||
/* kbd_section must be held */
|
||||
static WORD EVENT_event_to_vkey( XIC xic, XKeyEvent *e)
|
||||
diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h
|
||||
index 2917579927c..da501ad4618 100644
|
||||
index c69c83e5dd9..1b6df2b48a5 100644
|
||||
--- a/dlls/winex11.drv/x11drv.h
|
||||
+++ b/dlls/winex11.drv/x11drv.h
|
||||
@@ -701,6 +701,10 @@ extern BOOL xinerama_get_fullscreen_monitors( const RECT *rect, long *indices );
|
||||
extern void xinerama_init( unsigned int width, unsigned int height );
|
||||
@@ -747,6 +747,10 @@ extern void xinerama_init( unsigned int width, unsigned int height );
|
||||
extern void init_recursive_mutex( pthread_mutex_t *mutex );
|
||||
extern void init_icm_profile(void);
|
||||
|
||||
+/* keyboard.c */
|
||||
+
|
||||
@@ -59,10 +59,10 @@ index 2917579927c..da501ad4618 100644
|
||||
extern const unsigned int *depths;
|
||||
|
||||
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
|
||||
index 70212a067b0..73b2237778b 100644
|
||||
index 67ba9eaf614..70f169adcb3 100644
|
||||
--- a/dlls/winex11.drv/x11drv_main.c
|
||||
+++ b/dlls/winex11.drv/x11drv_main.c
|
||||
@@ -446,6 +446,19 @@ static HKEY create_hkcu_key( const char *name )
|
||||
@@ -421,6 +421,19 @@ static HKEY create_hkcu_key( const char *name )
|
||||
return reg_open_hkcu_key( name, TRUE );
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ index 70212a067b0..73b2237778b 100644
|
||||
|
||||
ULONG query_reg_value( HKEY hkey, const WCHAR *name, KEY_VALUE_PARTIAL_INFORMATION *info, ULONG size )
|
||||
{
|
||||
@@ -561,6 +574,10 @@ static void setup_options(void)
|
||||
@@ -533,6 +546,10 @@ static void setup_options(void)
|
||||
if (!get_config_key( hkey, appkey, "GrabFullscreen", buffer, sizeof(buffer) ))
|
||||
grab_fullscreen = IS_OPTION_TRUE( buffer[0] );
|
||||
|
||||
@@ -94,5 +94,5 @@ index 70212a067b0..73b2237778b 100644
|
||||
default_visual.depth = wcstol( buffer, NULL, 0 );
|
||||
|
||||
--
|
||||
2.42.0
|
||||
2.50.1
|
||||
|
||||
|
Reference in New Issue
Block a user