Hello community, here is the log from the commit of package openbox for openSUSE:Factory checked in at 2012-08-16 14:08:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openbox (Old) and /work/SRC/openSUSE:Factory/.openbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openbox", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/openbox/openbox.changes 2011-11-24 11:36:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.openbox.new/openbox.changes 2012-08-16 14:08:24.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 15 12:32:14 CST 2012 - [email protected] + +- add openbox-3.5.0-moveresize.patch to fix crash on unexpected + NET_WM_MOVERESIZE_CANCEL messages bio#5460 + +------------------------------------------------------------------- New: ---- openbox-3.5.0-moveresize.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openbox.spec ++++++ --- /var/tmp/diff_new_pack.winAAJ/_old 2012-08-16 14:08:25.000000000 +0200 +++ /var/tmp/diff_new_pack.winAAJ/_new 2012-08-16 14:08:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package openbox # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,13 @@ # - Name: openbox -License: GPL-2.0+ -Group: System/GUI/Other Provides: windowmanager Version: 3.5.0 -Release: 1 +Release: 0 Summary: ICCCM and EWMH Compliant Window Manager with Very Few Dependencies +License: GPL-2.0+ +Group: System/GUI/Other Url: http://openbox.org/ Source: %name-%version.tar.bz2 Source1: %name-README.SuSE @@ -33,11 +32,22 @@ Source5: xcompmgr-autostart Patch0: %name-no_nb.patch Patch1: %name-3.5.0-return.diff +# PATCH-FIX-UPSTREAM openbox-3.5.0-moveresize.patch [bio#5460] +Patch2: %name-3.5.0-moveresize.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: freetype2-devel gcc-c++ glib2-devel libxml2-devel pango-devel -BuildRequires: startup-notification-devel update-desktop-files -BuildRequires: fdupes libtool xorg-x11 xorg-x11-devel -Requires: xdg-menu libxslt +BuildRequires: fdupes +BuildRequires: freetype2-devel +BuildRequires: gcc-c++ +BuildRequires: glib2-devel +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pango-devel +BuildRequires: startup-notification-devel +BuildRequires: update-desktop-files +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-devel +Requires: libxslt +Requires: xdg-menu Recommends: obconf %description @@ -60,7 +70,6 @@ Mikael Magnusson <[email protected]> %package gnome -License: GPL-2.0+ Summary: Openbox GNOME integration Group: System/GUI/Other Requires: %{name} = %{version} @@ -76,7 +85,6 @@ Mikael Magnusson <[email protected]> %package kde -License: GPL-2.0+ Summary: Openbox KDE integration Group: System/GUI/Other Requires: %{name} = %{version} @@ -93,11 +101,13 @@ %package devel -License: GPL-2.0+ Summary: Includes and static libraries for openbox Group: Development/Libraries/X11 Requires: %{name} = %{version} -Requires: libxml2-devel glib2-devel xorg-x11-devel pango-devel +Requires: glib2-devel +Requires: libxml2-devel +Requires: pango-devel +Requires: xorg-x11-devel %description devel Development Includes and static libraries for openbox. @@ -114,6 +124,7 @@ cp %{S:1} ./README.SuSE %patch0 %patch1 -p1 +%patch2 -p1 mv po/no.po po/nb.po mv po/no.gmo po/nb.gmo ++++++ openbox-3.5.0-moveresize.patch ++++++ >From 339c19d1b3a7a5139aed8b59bad755ddd0e518ff Mon Sep 17 00:00:00 2001 From: Mikael Magnusson <[email protected]> Date: Sun, 3 Jun 2012 20:18:48 +0200 Subject: [PATCH 1/1] Fix crash on unexpected NET_WM_MOVERESIZE_CANCEL messages gtk+ 3.4 apparently sends these randomly when you select text in a GtkEntry. This also fixes bug #5460. --- openbox/event.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index b9ec1c5..4d091bf 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1495,7 +1495,8 @@ static void event_handle_client(ObClient *client, XEvent *e) } else if ((Atom)e->xclient.data.l[2] == OBT_PROP_ATOM(NET_WM_MOVERESIZE_CANCEL)) - moveresize_end(TRUE); + if (moveresize_client) + moveresize_end(TRUE); } else if (msgtype == OBT_PROP_ATOM(NET_MOVERESIZE_WINDOW)) { gint ograv, x, y, w, h; -- 1.7.7.4 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
