all repos — fluxbox @ ab8b21d18c16d9956b34bbbd7be8858aa048e500

custom fork of the fluxbox windowmanager

Merge branch 'master' of fluxbox@git.fluxbox.org:fluxbox

Conflicts:

	ChangeLog
Henrik Kinnunen fluxgen@fluxbox.org
commit

ab8b21d18c16d9956b34bbbd7be8858aa048e500

parent

2f4db57898920a3f17eaaa2586a39dad76d5c7e8

2 files changed, 9 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,5 @@

(Format: Year/Month/Day) -Changes for 1.1.2: +Changes for 1.1.2 *08/09/18: * Changed workspace count signal in BScreen to use the new signal system. (Henrik)

@@ -7,6 +7,9 @@ Screen.cc/hh, SendToMenu.cc/hh, fluxbox.hh/cc, WorkspaceMenu.cc/hh

* Added new Signal/Slot system to FbTk (Henrik) This is suppose to replace the obsolete Subject/Observer classes. FbTk/Signal.hh, FbTk/Slot.hh, FbTk/MemFun.hh, tests/testSignals.cc + * Fix crash when using SetTitleDialog on a window that's been closed (Mark) + CurrentWindowCmd.cc +----------------------------- Changes for 1.1.1 *08/09/14: * Fixed a minor pixmap resource leak (Henrik)
M src/CurrentWindowCmd.ccsrc/CurrentWindowCmd.cc

@@ -467,12 +467,16 @@ fbwindow().moveToLayer(m_layer);

} namespace { -class SetTitleDialog: public TextDialog { +class SetTitleDialog: public TextDialog, public FbTk::Observer { public: SetTitleDialog(FluxboxWindow &win, const string &title): TextDialog(win.screen(), title), window(win) { + win.dieSig().attach(this); setText(win.title()); } + + // only attached signal is window destruction + void update(FbTk::Subject *subj) { delete this; } private: void exec(const std::string &text) {