diff options
author | fluxgen <fluxgen> | 2003-05-12 04:20:25 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-12 04:20:25 (GMT) |
commit | a084e737f84b8c0840efdbac13e1af6010f279d9 (patch) | |
tree | 739a80eeeccb71124f8dae92fe3ec38405a83703 | |
parent | 99b6dc4e5df2b9a8344de7cf1da102c9245cb014 (diff) | |
download | fluxbox-a084e737f84b8c0840efdbac13e1af6010f279d9.zip fluxbox-a084e737f84b8c0840efdbac13e1af6010f279d9.tar.bz2 |
minor fix so we can force update on geometry in subclasses
-rw-r--r-- | src/FbTk/FbWindow.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 68732e8..eeb4250 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.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: FbWindow.hh,v 1.14 2003/05/10 23:11:08 fluxgen Exp $ | 22 | // $Id: FbWindow.hh,v 1.15 2003/05/12 04:20:25 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_FBWINDOW_HH | 24 | #ifndef FBTK_FBWINDOW_HH |
25 | #define FBTK_FBWINDOW_HH | 25 | #define FBTK_FBWINDOW_HH |
@@ -108,12 +108,12 @@ public: | |||
108 | protected: | 108 | protected: |
109 | /// creates a window with x window client (m_window = client) | 109 | /// creates a window with x window client (m_window = client) |
110 | explicit FbWindow(Window client); | 110 | explicit FbWindow(Window client); |
111 | 111 | /// updates x,y, width, height and screen num from X window | |
112 | void updateGeometry(); | ||
112 | private: | 113 | private: |
113 | // sets new window and destroys old | 114 | /// sets new X window and destroys old |
114 | void setNew(Window win); | 115 | void setNew(Window win); |
115 | 116 | /// creates a new X window | |
116 | void updateGeometry(); | ||
117 | void create(Window parent, int x, int y, unsigned int width, unsigned int height, | 117 | void create(Window parent, int x, int y, unsigned int width, unsigned int height, |
118 | long eventmask, | 118 | long eventmask, |
119 | bool override_redirect, | 119 | bool override_redirect, |