aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 12:54:07 (GMT)
commit38654bae459716409ad2ee7975671fc2f131c869 (patch)
tree6f2f3c662f8317f47a422db02d17bff378266817 /src/FbTk/FbWindow.cc
parent06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff)
downloadfluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip
fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2
some cleanup
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index fb68eb9..56f354b 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -283,7 +283,8 @@ void FbWindow::updateTransparent(int the_x, int the_y, unsigned int the_width, u
283 if (width() == 0 || height() == 0) 283 if (width() == 0 || height() == 0)
284 return; 284 return;
285 285
286 if (!dest_override && (the_width == 0 && the_height == 0 || the_width == width() && the_height == height()) && 286 if (!dest_override && ((the_width == 0 && the_height == 0) ||
287 (the_width == width() && the_height == height())) &&
287 the_x <= 0 && the_y <= 0) { 288 the_x <= 0 && the_y <= 0) {
288 // do the whole thing 289 // do the whole thing
289 updateBackground(true); 290 updateBackground(true);
@@ -453,12 +454,6 @@ void FbWindow::setCursor(Cursor cur) {
453 XDefineCursor(display(), window(), cur); 454 XDefineCursor(display(), window(), cur);
454} 455}
455 456
456#ifdef NOT_USED
457void FbWindow::unsetCursor() {
458 XUndefineCursor(display(), window());
459}
460#endif
461
462void FbWindow::reparent(const FbWindow &parent, int x, int y, bool continuing) { 457void FbWindow::reparent(const FbWindow &parent, int x, int y, bool continuing) {
463 XReparentWindow(display(), window(), parent.window(), x, y); 458 XReparentWindow(display(), window(), parent.window(), x, y);
464 m_parent = &parent; 459 m_parent = &parent;