diff options
author | fluxgen <fluxgen> | 2003-05-12 04:29:50 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-12 04:29:50 (GMT) |
commit | cf8811f3a930198e85d4bb6b76ff604c95a56535 (patch) | |
tree | b208228ae43845968f743491a218a322ff4edb15 | |
parent | fd9a18daa4f1f4a673c6bf92ad318c9d835f01f1 (diff) | |
download | fluxbox-cf8811f3a930198e85d4bb6b76ff604c95a56535.zip fluxbox-cf8811f3a930198e85d4bb6b76ff604c95a56535.tar.bz2 |
added updateGeometry to force an update
-rw-r--r-- | src/FbRootWindow.cc | 6 | ||||
-rw-r--r-- | src/FbRootWindow.hh | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/FbRootWindow.cc b/src/FbRootWindow.cc index d555f7f..aa03d1c 100644 --- a/src/FbRootWindow.cc +++ b/src/FbRootWindow.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbRootWindow.cc,v 1.1 2003/05/10 22:50:19 fluxgen Exp $ | 22 | // $Id: FbRootWindow.cc,v 1.2 2003/05/12 04:29:50 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbRootWindow.hh" | 24 | #include "FbRootWindow.hh" |
25 | #include "App.hh" | 25 | #include "App.hh" |
@@ -61,3 +61,7 @@ FbRootWindow::FbRootWindow(int screen_num): | |||
61 | m_colormap = DefaultColormap(disp, screen_num); | 61 | m_colormap = DefaultColormap(disp, screen_num); |
62 | } | 62 | } |
63 | } | 63 | } |
64 | |||
65 | void FbRootWindow::updateGeometry() { | ||
66 | FbWindow::updateGeometry(); | ||
67 | } | ||
diff --git a/src/FbRootWindow.hh b/src/FbRootWindow.hh index 687c234..b55d427 100644 --- a/src/FbRootWindow.hh +++ b/src/FbRootWindow.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbRootWindow.hh,v 1.1 2003/05/10 22:50:19 fluxgen Exp $ | 22 | // $Id: FbRootWindow.hh,v 1.2 2003/05/12 04:29:23 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBROOTWINDOW_HH | 24 | #ifndef FBROOTWINDOW_HH |
25 | #define FBROOTWINDOW_HH | 25 | #define FBROOTWINDOW_HH |
@@ -37,7 +37,7 @@ public: | |||
37 | void hide() { } | 37 | void hide() { } |
38 | // we should not assign a new window to this | 38 | // we should not assign a new window to this |
39 | FbTk::FbWindow &operator = (Window win) { return *this; } | 39 | FbTk::FbWindow &operator = (Window win) { return *this; } |
40 | 40 | void updateGeometry(); | |
41 | inline Visual *visual() const { return m_visual; } | 41 | inline Visual *visual() const { return m_visual; } |
42 | inline Colormap colormap() const { return m_colormap; } | 42 | inline Colormap colormap() const { return m_colormap; } |
43 | 43 | ||