summaryrefslogtreecommitdiff
path: root/src/Screen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-12 01:23:48 +0000
committerDana Jansens <danakj@orodu.net>2002-05-12 01:23:48 +0000
commita0dbb0e13f19ac4cc2dddf3d94723174971df6d2 (patch)
treed7bdf020048925d67a697fbd1d3efdb720cc9cc0 /src/Screen.h
parentf804f86c3eacc11091cbff2fa287799f925c2635 (diff)
couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
Diffstat (limited to 'src/Screen.h')
-rw-r--r--src/Screen.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Screen.h b/src/Screen.h
index 8d5b09b8..d496914b 100644
--- a/src/Screen.h
+++ b/src/Screen.h
@@ -53,6 +53,10 @@
#include "Image.h"
#include "Resource.h"
+#include <list>
+typedef std::list<Rootmenu *> menuList;
+typedef std::list<Netizen *> netList;
+
// forward declaration
class BScreen;
@@ -109,8 +113,8 @@ private:
Iconmenu *iconmenu;
Rootmenu *rootmenu;
- LinkedList<Rootmenu> *rootmenuList;
- LinkedList<Netizen> *netizenList;
+ menuList rootmenuList;
+ netList netizenList;
LinkedList<OpenboxWindow> *iconList;
#ifdef SLIT