diff options
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 9 |
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 | ||
457 | void FbWindow::unsetCursor() { | ||
458 | XUndefineCursor(display(), window()); | ||
459 | } | ||
460 | #endif | ||
461 | |||
462 | void FbWindow::reparent(const FbWindow &parent, int x, int y, bool continuing) { | 457 | void 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; |