openbsd-ports/x11/xview/config/patches/p-libxview-menu-om_render_c
espie f3cbb56810 Xview's return.
Cleaned up so that lib depends on config:build, and lndir it
instead of mucking with the source dir.

All patches put into config/patches, separated and renamed
(yes, this is a LARGE fucker).

Fake

xview/clients to come.

Currently installs under /usr/X11R6, some more patches to X needed to fix
that.
2000-04-02 15:25:13 +00:00

15 lines
608 B
Plaintext

--- ./lib/libxview/menu/om_render.c.orig Tue Jun 29 07:16:26 1993
+++ ./lib/libxview/menu/om_render.c Sat Apr 1 18:25:24 2000
@@ -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));