diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-11 16:30:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-11 16:42:33 +0000 |
commit | e786d60ceee3e32eff8bd77b13a9d1b3d00e78b9 (patch) | |
tree | 8b24911726608a21a452faa0bac1abdbc861876f /vcl | |
parent | 082f7a97f40f1ebacf64b7a1b9fdee2bbde60a07 (diff) |
drop -1 +2 hack unless someone can show a need for it again
Change-Id: Ib6ac83dfe9e187cdbb40ebb539552b4cef824e48
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 3a84f9865830..f3a43531d386 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -3391,15 +3391,11 @@ void GtkSalFrame::damaged (const basegfx::B2IBox& rDamageRect) cairo_surface_write_to_png(cairo_get_target(getCairoContext()), tmp.getStr()); } - /* FIXME: this is a dirty hack, to render buttons correctly, we - * should of course remove the -1 and +2, but the whole area - * won't be rendered then. - */ - gtk_widget_queue_draw_area( m_pWindow, - rDamageRect.getMinX() - 1, - rDamageRect.getMinY() - 1, - rDamageRect.getWidth() + 2, - rDamageRect.getHeight() + 2 ); + gtk_widget_queue_draw_area(m_pWindow, + rDamageRect.getMinX(), + rDamageRect.getMinY(), + rDamageRect.getWidth(), + rDamageRect.getHeight()); } // blit our backing basebmp buffer to the target cairo context cr |