all repos — fluxbox @ f741534401e18b6a77481537e9c265d4c002dde7

custom fork of the fluxbox windowmanager

minor indent fix
fluxgen fluxgen
commit

f741534401e18b6a77481537e9c265d4c002dde7

parent

23d0b998883bdd25254a3accc49cd515908e6fbe

1 files changed, 6 insertions(+), 5 deletions(-)

jump to
M src/WinClient.ccsrc/WinClient.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WinClient.cc,v 1.16 2003/06/27 15:05:19 rathnor Exp $ +// $Id: WinClient.cc,v 1.17 2003/07/10 11:58:13 fluxgen Exp $ #include "WinClient.hh"

@@ -325,11 +325,12 @@ m_blackbox_hint = 0;

} if (property(atoms->getFluxboxHintsAtom(), 0, - PropBlackboxHintsElements, False, - atoms->getFluxboxHintsAtom(), &atom_return, - &format, &num, &len, - (unsigned char **) &m_blackbox_hint) && + PropBlackboxHintsElements, False, + atoms->getFluxboxHintsAtom(), &atom_return, + &format, &num, &len, + (unsigned char **) &m_blackbox_hint) && m_blackbox_hint) { + if (num != (unsigned)PropBlackboxHintsElements) { XFree(m_blackbox_hint); m_blackbox_hint = 0;