1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Add function prototypes in action.h and include it in superfluous.c

This commit is contained in:
Carlos R. Mafra
2009-10-10 19:13:02 +02:00
parent b014ef2770
commit cda27758bc
3 changed files with 8 additions and 5 deletions

View File

@@ -61,6 +61,10 @@ extern Atom _XA_WM_TAKE_FOCUS;
extern void ProcessPendingEvents();
extern int calcIntersectionLength(int p1, int l1, int p2, int l2);
static void find_Maximus_geometry(WWindow *wwin, WArea usableArea, int *new_x, int *new_y,
unsigned int *new_width, unsigned int *new_height);
static void save_old_geometry(WWindow *wwin);
/******* Local Variables *******/
static struct {
int steps;

View File

@@ -69,9 +69,8 @@ void wMakeWindowVisible(WWindow *wwin);
void wFullscreenWindow(WWindow *wwin);
void wUnfullscreenWindow(WWindow *wwin);
static void save_old_geometry(WWindow *wwin);
static void find_Maximus_geometry(WWindow *wwin, WArea usableArea, int *new_x,
int *new_y, unsigned int *new_width,
unsigned int *new_height);
void animateResize(WScreen *scr, int x, int y, int w, int h, int fx, int fy, int fw, int fh);
#endif

View File

@@ -41,6 +41,7 @@
#include "window.h"
#include "icon.h"
#include "appicon.h"
#include "actions.h"
extern WPreferences wPreferences;
@@ -352,7 +353,6 @@ Pixmap MakeGhostIcon(WScreen * scr, Drawable drawable)
}
#ifdef WINDOW_BIRTH_ZOOM
extern void animateResize();
void DoWindowBirth(WWindow *wwin)
{