pkgsrc/wm/fluxbox/patches/patch-bf
wiz d54142eba3 Updated fluxbox to 1.3.7.
Set LICENSE.

Version 1.3.7 is a bug fix release.

Critical Bugfixes:
    * Segfault on startup (mostly *BSD)
    * Segfault on shutdown
    * Segfault on clicking the Remember menu
    * Menu crops on TypeAhead

Minor Bugfixes:
    * _NET_REQUEST_FRAME_EXTENTS
    * Working autorepeat keys
    * Working vertical rotated Tabs and Toolbar
    * Proper size of titlebar buttons on restart / detaching tabs
    * Missing windowmenu works again
    * Several glitches in the menu
    * Correct handling of 'maximized' statement in the apps file

Features:
    * The improved TypeAhead sytem is not limited to matches on beginning
      of menu items anymore, the behavior is configurable:
      - Nowhere - disables TypeAhead support
      - ItemStart - matches typed text only at the start of a menu item
      - Somewhere - matches typed text somewhere in a menu item
      (Currently this is a configfile-only option)
    * Minor tweaks to the i18n system
    * Updated turkish translations

End User unrelated:
    * Code refactoring and cleanup, assisted by Coverity and
      clang static code analysis
2017-02-22 12:20:51 +00:00

24 lines
1.2 KiB
Text

$NetBSD: patch-bf,v 1.4 2017/02/22 12:20:51 wiz Exp $
Adding "const" to a primitive type is useless. Sunpro doesn't like it.
--- src/CurrentWindowCmd.cc.orig 2015-02-08 10:44:45.000000000 +0000
+++ src/CurrentWindowCmd.cc
@@ -485,7 +485,7 @@ REGISTER_COMMAND_PARSER(moveleft, MoveCm
REGISTER_COMMAND_PARSER(moveup, MoveCmd::parse, void);
REGISTER_COMMAND_PARSER(movedown, MoveCmd::parse, void);
-MoveCmd::MoveCmd(const int step_size_x, const int step_size_y) :
+MoveCmd::MoveCmd(int step_size_x, int step_size_y) :
m_step_size_x(step_size_x), m_step_size_y(step_size_y) { }
void MoveCmd::real_execute() {
@@ -558,7 +558,7 @@ REGISTER_COMMAND_PARSER(resizeto, Resize
REGISTER_COMMAND_PARSER(resizehorizontal, ResizeCmd::parse, void);
REGISTER_COMMAND_PARSER(resizevertical, ResizeCmd::parse, void);
-ResizeCmd::ResizeCmd(const int step_size_x, const int step_size_y, bool is_relative_x, bool is_relative_y) :
+ResizeCmd::ResizeCmd(int step_size_x, int step_size_y, bool is_relative_x, bool is_relative_y) :
m_step_size_x(step_size_x), m_step_size_y(step_size_y), m_is_relative_x(is_relative_x), m_is_relative_y(is_relative_y) { }
void ResizeCmd::real_execute() {