- 27 Sep, 2023 20 commits
-
-
Alexandros Frantzis authored
A request for the maximized state has two potential origins: 1. The compositor, through an xdg_toplevel configure event. In this case we update the window state and size accordingly. 2. The application or Wine itself, by changing the window style. When we detect such a style, we make a request to the compositor to set the maximized state. The compositor will then eventually reply with a configure event, and we continue with case (1). Note that the compositor may deny our request, in which case we will also sync the window style accordingly. An acknowledged maximized state imposes very strict constraints on the size of surface content we can present. We are careful to not violate these constraints, since otherwise the compositor will disconnect us.
-
Alexandros Frantzis authored
Use the size hint provided by the compositor to resize the window associated with a Wayland toplevel surface. A surface config moves through the following stages (each stage may hold a different event): 1. Pending: In the process of being populated from separate Wayland events. 2. Requested: A fully formed config which hasn't been handled yet. A new finalized Pending event will always be promoted to a Requested event (so we will skip previous events if new ones arrive quickly enough). 3. Processing: A config that is being processed. When processing is done, we mark it with `wayland_surface_config.processed = TRUE`. 4. Current: The config has been acknowledged, i.e., we are promising to respect any implied content constraints.
-
Alexandros Frantzis authored
-
Alexandros Frantzis authored
Ignoring the possibility of HWND recycling allows us to use a simpler scheme to ensure valid access to the wayland_surface associated with an xdg_surface during event handling. The scheme involves setting HWND as the xdg_surface user data and using that to get to the wayland_surface. The prerequisite for this code to be correct is that the wayland surface destruction for a HWND must be performed under the wayland_win_data mutex.
-
Alistair Leslie-Hughes authored
-
Alistair Leslie-Hughes authored
-
Alistair Leslie-Hughes authored
-
Joel Holdsworth authored
Test failures were introduced in 67479f8c, and affect Windows 10 1607 and older. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55631Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
-
Joel Holdsworth authored
Test failures were introduced in 67479f8c, and affect Windows 10 1607 and older. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55631Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
-
Esme Povirk authored
-
Zhiyi Zhang authored
user32: Enable IsDialogMessageA() ASCII to Unicode mapping only when the user default lang ID is CJK. Using GetSystemMetrics(SM_DBCSENABLED) may incorrectly enable ASCII to Unicode mapping in mixed locale environments. For example, when UserDefaultLCID is French(040c) but SystemDefaultLCID is Japanese(0411). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55655
-
Zhiyi Zhang authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55656
-
Hans Leidekker authored
-
Hans Leidekker authored
-
Hans Leidekker authored
-
Hans Leidekker authored
-
Nikolay Sivov authored
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Alistair Leslie-Hughes authored
-
Alex Henrie authored
-
Biswapriyo Nath authored
-
- 26 Sep, 2023 20 commits
-
-
Zebediah Figura authored
-
Zebediah Figura authored
-
Zebediah Figura authored
-
Akihiro Sagawa authored
-
Akihiro Sagawa authored
-
Akihiro Sagawa authored
-
Brendan Shanks authored
-
Bartosz Kosiorek authored
-
Andrew Brobston authored
Needed by PowerFritz 18.
-
Nikolay Sivov authored
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55182Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Yuxuan Shui authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-
Biswapriyo Nath authored
-