Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: compositor will always be bypassed on fullscreen apps #252

Open
wants to merge 1 commit into
base: bleeding-edge
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dlls/winex11.drv/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,9 +1328,9 @@ void update_net_wm_states( struct x11drv_win_data *data )
{
if (!wm_is_steamcompmgr( data->display ) || !fs_hack_enabled( monitor ))
{
net_wm_bypass_compositor = 1;

/* when fs hack is enabled, we don't want steamcompmgr to resize the window to be fullscreened */
if (is_window_rect_full_virtual_screen( &data->whole_rect ))
net_wm_bypass_compositor = 1;
new_state |= (1 << NET_WM_STATE_FULLSCREEN);
}
}
Expand Down