aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-19 22:44:42 (GMT)
committerfluxgen <fluxgen>2004-04-19 22:44:42 (GMT)
commit94100534be4d09a999ff6d7065e5fcf5364b8e99 (patch)
treef5419205f1c06f3a5e207419af1de36ae0760e71 /src/Screen.hh
parent2bef72c390eb0bc968382bc66ce5176e22417ea9 (diff)
downloadfluxbox-94100534be4d09a999ff6d7065e5fcf5364b8e99.zip
fluxbox-94100534be4d09a999ff6d7065e5fcf5364b8e99.tar.bz2
kde dockapps in systray and moved resource templates to ScreenResource.cc
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 6731d14..cb08d06 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.hh,v 1.138 2004/04/12 23:05:10 fluxgen Exp $ 25// $Id: Screen.hh,v 1.139 2004/04/19 22:44:42 fluxgen Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -88,6 +88,7 @@ public:
88 int scrn, int number_of_layers); 88 int scrn, int number_of_layers);
89 ~BScreen(); 89 ~BScreen();
90 90
91 void initWindows();
91 inline bool isSloppyFocus() const { return (*resource.focus_model == SLOPPYFOCUS); } 92 inline bool isSloppyFocus() const { return (*resource.focus_model == SLOPPYFOCUS); }
92 inline bool isSemiSloppyFocus() const { return (*resource.focus_model == SEMISLOPPYFOCUS); } 93 inline bool isSemiSloppyFocus() const { return (*resource.focus_model == SEMISLOPPYFOCUS); }
93 inline bool isRootColormapInstalled() const { return root_colormap_installed; } 94 inline bool isRootColormapInstalled() const { return root_colormap_installed; }
@@ -134,6 +135,11 @@ public:
134 unsigned int maxRight(int head) const; 135 unsigned int maxRight(int head) const;
135 unsigned int maxTop(int head) const; 136 unsigned int maxTop(int head) const;
136 unsigned int maxBottom(int head) const; 137 unsigned int maxBottom(int head) const;
138 /// @return true if window is kde dock app
139 bool isKdeDockapp(Window win) const;
140 /// @return true if dock app was added, else false
141 bool addKdeDockapp(Window win);
142 void setupKdeDockapps();
137 143
138 inline unsigned int width() const { return rootWindow().width(); } 144 inline unsigned int width() const { return rootWindow().width(); }
139 inline unsigned int height() const { return rootWindow().height(); } 145 inline unsigned int height() const { return rootWindow().height(); }