epilepsy warning resolved
parent
f37db6d38d
commit
2d247df1bb
|
|
@ -208,7 +208,7 @@ pub fn focus_in(
|
|||
window.set_type_hint(gdk::WindowTypeHint::Dock);
|
||||
if let Some((_x, _y, width, height)) = window.get_window().and_then(|x| Some(x.get_geometry()))
|
||||
{
|
||||
if (height != s.1 || width != s.0) && w_state.get_full() != Full {
|
||||
if (height != s.1 || width != s.0) && w_state.get_full() != Full && !window.is_maximized() {
|
||||
window.hide();
|
||||
window.resize(s.0, s.1);
|
||||
window.show();
|
||||
|
|
|
|||
Loading…
Reference in New Issue