From bcd5e93d511ea3e8fe6c992be527818f48672d7b Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Wed, 30 Jan 2002 16:48:59 +0000 Subject: Add 2 bugfix patches from author which fixes '~' in config files and problems with some apps. PR: 34440 Submitted by: maintainer --- x11-wm/fluxbox/files/patch-src::Window.cc | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 x11-wm/fluxbox/files/patch-src::Window.cc (limited to 'x11-wm/fluxbox/files/patch-src::Window.cc') diff --git a/x11-wm/fluxbox/files/patch-src::Window.cc b/x11-wm/fluxbox/files/patch-src::Window.cc new file mode 100644 index 000000000000..10ca1f863d8f --- /dev/null +++ b/x11-wm/fluxbox/files/patch-src::Window.cc @@ -0,0 +1,33 @@ +--- src/Window.cc.orig Fri Jan 11 13:21:59 2002 ++++ src/Window.cc Wed Jan 30 06:54:54 2002 +@@ -22,7 +22,7 @@ + // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + // DEALINGS IN THE SOFTWARE. + +-// $Id: Window.cc,v 1.18 2002/01/11 10:04:32 fluxgen Exp $ ++// $Id: Window.cc,v 1.19.2.1 2002/01/12 16:36:18 fluxgen Exp $ + + // stupid macros needed to access some functions in version 2 of the GNU C + // library +@@ -441,7 +441,9 @@ FluxboxWindow::FluxboxWindow(Window w, B + + FluxboxWindow::~FluxboxWindow(void) { + Fluxbox *fluxbox = Fluxbox::instance(); +- ++ //TODO: Move this to Workspace::removeWindow ++ if (client.transient_for) ++ fluxbox->setFocusedWindow(client.transient_for); + + if (moving || resizing) { + screen->hideGeometry(); +@@ -556,9 +558,7 @@ FluxboxWindow::~FluxboxWindow(void) { + fluxbox->removeWindowSearch(client.window); + screen->removeNetizen(client.window); + } +- //TODO: Move this to Workspace::removeWindow +- if (client.transient_for) +- fluxbox->setFocusedWindow(client.transient_for); ++ + #ifdef DEBUG + fprintf(stderr, "%s(%d): ~FluxboxWindow(this=%p) done\n", __FILE__, __LINE__, this); + #endif -- cgit v1.2.3