[Commits] [wesnoth/wesnoth] 67476a: SDL2: Set a minimum window size

GitHub noreply at github.com
Tue Dec 29 22:17:27 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 67476a26bb4438d60328b2650d075564876b3eb6
      https://github.com/wesnoth/wesnoth/commit/67476a26bb4438d60328b2650d075564876b3eb6
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-12-30 (Wed, 30 Dec 2015)

  Changed paths:
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/video.cpp

  Log Message:
  -----------
  SDL2: Set a minimum window size

This sets the minimum window size properly, allowing SDL to hint to
the window manager that the window should not be allowed to be changed
into a size smaller than the set size. This removes the need to
programatically try set the window size on a resize event if the new
size is smaller than the minimum size.





More information about the Commits mailing list