removed insert window after last focused, temporary fix
This commit is contained in:
parent
66b1894bf2
commit
304d3e4fd5
1 changed files with 6 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Workspace.cc,v 1.20 2002/05/17 11:03:36 fluxgen Exp $
|
// $Id: Workspace.cc,v 1.21 2002/06/02 22:57:52 fluxgen Exp $
|
||||||
|
|
||||||
// use GNU extensions
|
// use GNU extensions
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
|
@ -93,6 +93,7 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
|
||||||
FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow();
|
FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow();
|
||||||
|
|
||||||
//if there isn't any window that's focused, just add it to the end of the list
|
//if there isn't any window that's focused, just add it to the end of the list
|
||||||
|
/*
|
||||||
if (focused == 0) {
|
if (focused == 0) {
|
||||||
windowList.push_back(w);
|
windowList.push_back(w);
|
||||||
//Add client to clientmenu
|
//Add client to clientmenu
|
||||||
|
@ -113,8 +114,10 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
//add to list
|
||||||
|
m_clientmenu.insert(w->getTitle().c_str());
|
||||||
|
windowList.push_back(w);
|
||||||
|
|
||||||
//update menugraphics
|
//update menugraphics
|
||||||
m_clientmenu.update();
|
m_clientmenu.update();
|
||||||
|
|
Loading…
Reference in a new issue