mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-25 11:45:59 +01:00
csgo-vulkan-fix: fix for hyprland@7f35f33
This commit is contained in:
parent
48be13fcb9
commit
add116cb3c
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ void hkSetWindowSize(wlr_xwayland_surface* surface, int16_t x, int16_t y, uint16
|
||||||
if (PWINDOW && PWINDOW->m_szInitialClass == "cs2") {
|
if (PWINDOW && PWINDOW->m_szInitialClass == "cs2") {
|
||||||
width = *RESX;
|
width = *RESX;
|
||||||
height = *RESY;
|
height = *RESY;
|
||||||
|
|
||||||
|
CWLSurface::surfaceFromWlr(SURF)->m_bFillIgnoreSmall = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
(*(origSurfaceSize)g_pSurfaceSizeHook->m_pOriginal)(surface, x, y, width, height);
|
(*(origSurfaceSize)g_pSurfaceSizeHook->m_pOriginal)(surface, x, y, width, height);
|
||||||
|
|
Loading…
Reference in a new issue