fix: ignore configure requests from fullscreen windows
Fixes steam big picture mode full screen not taking the whole screen
This commit is contained in:
parent
200074e580
commit
451b8319d6
1 changed files with 5 additions and 1 deletions
|
|
@ -916,7 +916,11 @@ impl XwmHandler for State {
|
||||||
// We only allow floating X11 windows to resize themselves. Nothing else
|
// We only allow floating X11 windows to resize themselves. Nothing else
|
||||||
let shell = self.common.shell.read();
|
let shell = self.common.shell.read();
|
||||||
|
|
||||||
// TODO: Fullscreen
|
if window.is_fullscreen() {
|
||||||
|
let _ = window.configure(None);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if let Some(mapped) = shell
|
if let Some(mapped) = shell
|
||||||
.element_for_surface(&window)
|
.element_for_surface(&window)
|
||||||
.filter(|mapped| !mapped.is_minimized())
|
.filter(|mapped| !mapped.is_minimized())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue