pkgsrc/wm/olvwm/patches/patch-ai
2013-03-28 21:40:10 +00:00

35 lines
1.1 KiB
Text

$NetBSD: patch-ai,v 1.2 2013/03/28 21:40:11 joerg Exp $
--- winframe.c.orig 2000-03-02 21:41:53.000000000 +0000
+++ winframe.c
@@ -51,6 +51,7 @@ extern Atom AtomRightIMStatus;
extern int Resize_height, Resize_width;
extern Time TimeFresh();
+void PaintVirtualWindow(WinGenericFrame *win);
/***************************************************************************
* private data
@@ -84,6 +85,7 @@ void FrameUpdateShape();
static void setIMStatusText();
#endif
static void updateResizePositions();
+static int headerHeight();
/***************************************************************************
* sizing and decoration positioning functions
@@ -484,12 +486,8 @@ WinPaneFrame *frameInfo;
* the focus. Also, unset the warp-back flag if the pointer has gone outside
* the frame.
*/
-static int
-/* ARGSUSED */
-eventLeaveNotify(dpy, event, frameInfo)
-Display *dpy;
-XEvent *event;
-WinPaneFrame *frameInfo;
+static void
+eventLeaveNotify(Display *dpy, XEvent *event, WinPaneFrame *frameInfo)
{
/* ignore events caused by grabs */
if (event->xcrossing.mode != NotifyNormal)