summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-ai
blob: fb3c7c4bf6837a848a81cbd6b6e88715a5f0b603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$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)