openbsd-ports/x11/tint/patches/patch-src_panel_c

16 lines
625 B
Plaintext

$OpenBSD: patch-src_panel_c,v 1.1 2010/07/19 15:17:45 edd Exp $
Patch from svn. Fixes tint2 on sparc64.
--- src/panel.c.orig Mon Jul 19 12:39:41 2010
+++ src/panel.c Mon Jul 19 12:39:55 2010
@@ -493,7 +493,7 @@ void set_panel_properties(Panel *p)
XChangeProperty(server.dsp, p->main_win, server.atom._MOTIF_WM_HINTS, server.atom._MOTIF_WM_HINTS, 32, PropModeReplace, (unsigned char *) prop, 5);
// XdndAware - Register for Xdnd events
- int version=5;
+ long version=5;
XChangeProperty(server.dsp, p->main_win, server.atom.XdndAware, XA_ATOM, 32, PropModeReplace, (unsigned char*)&version, 1);
update_strut(p);