Skip to content
Commit c3042852 authored by Owen W. Taylor's avatar Owen W. Taylor
Browse files

Make geometry parsing more robust

Instead of counting on terminal_window_set_size() not being called
between gtk_window_parse_geometry(), find out the grid size that
gtk_window_parse_geometry() determined and set that on the active
terminal. Then if terminal_window_set_size() is called, it will get
the correct new size instead of the old one.

terminal_window_parse_geometry() is added to encapsulate this logic.

This replaces the fix in commit 549e45a7

http://bugzilla.gnome.org/show_bug.cgi?id=592435
parent 019b850d
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