This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 72a7c33a47ef12a5cba2496185fa7d85950668bd Author: Tobias Hansen <[email protected]> Date: Sat Mar 14 15:35:49 2015 +0100 Always write window size to config file when closing. --- debian/patches/resizing_from_options_gui.patch | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/patches/resizing_from_options_gui.patch b/debian/patches/resizing_from_options_gui.patch index d5952a9..49b64f0 100644 --- a/debian/patches/resizing_from_options_gui.patch +++ b/debian/patches/resizing_from_options_gui.patch @@ -69,12 +69,14 @@ --- a/src/app/modules/gui.cpp +++ b/src/app/modules/gui.cpp -@@ -264,13 +264,41 @@ +@@ -264,13 +264,43 @@ she::Display* display = Manager::getDefault()->getDisplay(); if (display) { set_config_bool("GfxMode", "Maximized", display->isMaximized()); - set_config_int("GfxMode", "Width", display->originalWidth()); - set_config_int("GfxMode", "Height", display->originalHeight()); ++ set_config_int("GfxMode", "Width", get_window_width()); ++ set_config_int("GfxMode", "Height", get_window_height()); set_config_int("GfxMode", "Depth", bitmap_color_depth(screen)); } set_config_int("GfxMode", "ScreenScale", screen_scaling); @@ -82,7 +84,7 @@ +int get_window_width() +{ -+ int fallback = 0; ++ int fallback = 1024; + she::Display* display = Manager::getDefault()->getDisplay(); + if (display) { + fallback = display->originalWidth(); @@ -97,7 +99,7 @@ + +int get_window_height() +{ -+ int fallback = 0; ++ int fallback = 768; + she::Display* display = Manager::getDefault()->getDisplay(); + if (display) { + fallback = display->originalHeight(); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

