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
Added patch to fix calculation of listbox size when horizontal scrollbar is present.
This commit is contained in:
@@ -271,6 +271,7 @@ patch_enable_all ()
|
||||
enable_user32_DrawTextExW="$1"
|
||||
enable_user32_GetSystemMetrics="$1"
|
||||
enable_user32_Invalidate_Key_State="$1"
|
||||
enable_user32_ListBox_Size="$1"
|
||||
enable_user32_Mouse_Message_Hwnd="$1"
|
||||
enable_user32_Painting="$1"
|
||||
enable_user32_ScrollWindowEx="$1"
|
||||
@@ -908,6 +909,9 @@ patch_enable ()
|
||||
user32-Invalidate_Key_State)
|
||||
enable_user32_Invalidate_Key_State="$2"
|
||||
;;
|
||||
user32-ListBox_Size)
|
||||
enable_user32_ListBox_Size="$2"
|
||||
;;
|
||||
user32-Mouse_Message_Hwnd)
|
||||
enable_user32_Mouse_Message_Hwnd="$2"
|
||||
;;
|
||||
@@ -5323,6 +5327,21 @@ if test "$enable_user32_Invalidate_Key_State" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset user32-ListBox_Size
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#38142] Fix calculation of listbox size when horizontal scrollbar is present
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/user32/listbox.c
|
||||
# |
|
||||
if test "$enable_user32_ListBox_Size" -eq 1; then
|
||||
patch_apply user32-ListBox_Size/0001-user32-Fix-calculation-of-listbox-size-when-horizont.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "user32: Fix calculation of listbox size when horizontal scrollbar is present.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset user32-Mouse_Message_Hwnd
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
1
patches/user32-ListBox_Size/definition
Normal file
1
patches/user32-ListBox_Size/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [38142] Fix calculation of listbox size when horizontal scrollbar is present
|
Reference in New Issue
Block a user