epilepsy warning resolved
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user