X11: Fix incorrect DPI factor when waking from suspend (#1303)
This commit is contained in:
parent
2888d5c6cf
commit
1a514dff38
4 changed files with 14 additions and 6 deletions
|
|
@ -651,7 +651,7 @@ impl UnownedWindow {
|
|||
};
|
||||
|
||||
// Don't set fullscreen on an invalid dummy monitor handle
|
||||
if monitor.id == 0 {
|
||||
if monitor.is_dummy() {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue