openbsd-ports/x11/xview/config/patches/p-libxview-menu-om_render_c

15 lines
626 B
Plaintext

--- lib/libxview/menu/om_render.c.orig 1993-06-29 07:16:26.000000000 +0200
+++ lib/libxview/menu/om_render.c 2003-12-30 01:31:12.000000000 +0100
@@ -470,9 +470,9 @@ menu_render(menu, group, parent)
* Define the menu and shadow window dimensions. Note: shadow rect width &
* height = menu rect width & height
*/
- xv_set(m->window, XV_RECT, m->fs_menurect, 0);
+ xv_set(m->window, XV_RECT, &m->fs_menurect, 0);
if (!m->group_info->three_d)
- xv_set(m->shadow_window, XV_RECT, shadowrect, 0);
+ xv_set(m->shadow_window, XV_RECT, &shadowrect, 0);
XFlush(XV_DISPLAY_FROM_WINDOW(m->window));