Skip to content
Draft
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
9 changes: 2 additions & 7 deletions moonshine-core/src/session/compositor/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ impl MoonshineCompositor {
let Some(meta) = self.window_metadata.get(window) else {
return;
};
if !meta.has_game_id() || !meta.is_fullscreen() {
if !meta.is_fullscreen() {
return;
}

Expand Down Expand Up @@ -1884,17 +1884,12 @@ impl XwmHandler for MoonshineCompositor {
target: "focus",
title = ?window.title(),
class = ?window.class(),
geometry = ?window.geometry(),
override_redirect = window.is_override_redirect(),
wl_surface = ?window.wl_surface(),
"X11 window map request"
);

// Configure the X11 window to fill the output.
let geo = self.output_rect();
if let Err(e) = window.configure(geo) {
tracing::warn!("Failed to configure X11 window geometry: {e}");
}

// Grant the map request.
if let Err(e) = window.set_mapped(true) {
tracing::error!("Failed to set X11 window mapped: {e}");
Expand Down