diff options
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Window.hh b/src/Window.hh index 7c59371..9ad9594 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -316,8 +316,8 @@ public: | |||
316 | inline const BScreen &screen() const { return m_screen; } | 316 | inline const BScreen &screen() const { return m_screen; } |
317 | inline BScreen &screen() { return m_screen; } | 317 | inline BScreen &screen() { return m_screen; } |
318 | 318 | ||
319 | inline const FbTk::XLayerItem &layerItem() const { return m_layeritem; } | 319 | inline const FbTk::XLayerItem &layerItem() const { return m_frame.layerItem(); } |
320 | inline FbTk::XLayerItem &layerItem() { return m_layeritem; } | 320 | inline FbTk::XLayerItem &layerItem() { return m_frame.layerItem(); } |
321 | 321 | ||
322 | Window clientWindow() const; | 322 | Window clientWindow() const; |
323 | 323 | ||
@@ -337,6 +337,11 @@ public: | |||
337 | inline unsigned int width() const { return frame().width(); } | 337 | inline unsigned int width() const { return frame().width(); } |
338 | inline unsigned int height() const { return frame().height(); } | 338 | inline unsigned int height() const { return frame().height(); } |
339 | 339 | ||
340 | inline int xOffset() const { return frame().xOffset(); } | ||
341 | inline int yOffset() const { return frame().yOffset(); } | ||
342 | inline int widthOffset() const { return frame().widthOffset(); } | ||
343 | inline int heightOffset() const { return frame().heightOffset(); } | ||
344 | |||
340 | unsigned int workspaceNumber() const { return m_workspace_number; } | 345 | unsigned int workspaceNumber() const { return m_workspace_number; } |
341 | 346 | ||
342 | int layerNum() const { return m_layernum; } | 347 | int layerNum() const { return m_layernum; } |
@@ -504,7 +509,6 @@ private: | |||
504 | m_last_button_y; ///< last known y position of the mouse button | 509 | m_last_button_y; ///< last known y position of the mouse button |
505 | FbWinFrame m_frame; | 510 | FbWinFrame m_frame; |
506 | 511 | ||
507 | FbTk::XLayerItem m_layeritem; | ||
508 | int m_layernum; | 512 | int m_layernum; |
509 | int m_old_layernum; | 513 | int m_old_layernum; |
510 | 514 | ||