aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 5d64728..09c75d1 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.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: FbWindow.cc,v 1.23 2003/08/04 12:44:43 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.24 2003/08/15 13:52:06 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25 25
@@ -319,6 +319,11 @@ void FbWindow::unsetCursor() {
319 XUndefineCursor(s_display, window()); 319 XUndefineCursor(s_display, window());
320} 320}
321 321
322void FbWindow::reparent(const FbWindow &parent, int x, int y) {
323 XReparentWindow(s_display, window(), parent.window(), x, y);
324 m_parent = &parent;
325 updateGeometry();
326}
322 327
323bool FbWindow::property(Atom property, 328bool FbWindow::property(Atom property,
324 long long_offset, long long_length, 329 long long_offset, long long_length,