Commit 8bd72533 authored by Michael Catanzaro's avatar Michael Catanzaro

Fix window size increasing with GTK+ 3.20

parent b7a620f8
...@@ -253,8 +253,7 @@ public class Nibbles : Gtk.Application ...@@ -253,8 +253,7 @@ public class Nibbles : Gtk.Application
{ {
if (is_maximized || is_tiled) if (is_maximized || is_tiled)
return; return;
window_width = allocation.width; window.get_size (out window_width, out window_height);
window_height = allocation.height;
} }
private bool window_state_event_cb (Gdk.EventWindowState event) private bool window_state_event_cb (Gdk.EventWindowState event)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment