diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 61b3082b4..dc66f4aeb 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2010,6 +2010,8 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset) do_it = (XQueryTree(fl_display, fl_window, &root, &parent, &children, &n) != 0 && XTranslateCoordinates(fl_display, fl_window, parent, 0, 0, &bx, &bt, &child_win) == True); if (n) XFree(children); + // hack to bypass STR #2648: when compiz is used, bt is assigned a very high, misleading value + if (do_it && bt > 30) do_it = 0; if (!do_it) { this->set_current(); this->print_widget(win, x_offset, y_offset); |
