mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Add function prototypes in action.h and include it in superfluous.c
This commit is contained in:
@@ -61,6 +61,10 @@ extern Atom _XA_WM_TAKE_FOCUS;
|
|||||||
extern void ProcessPendingEvents();
|
extern void ProcessPendingEvents();
|
||||||
extern int calcIntersectionLength(int p1, int l1, int p2, int l2);
|
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 *******/
|
/******* Local Variables *******/
|
||||||
static struct {
|
static struct {
|
||||||
int steps;
|
int steps;
|
||||||
|
|||||||
@@ -69,9 +69,8 @@ void wMakeWindowVisible(WWindow *wwin);
|
|||||||
|
|
||||||
void wFullscreenWindow(WWindow *wwin);
|
void wFullscreenWindow(WWindow *wwin);
|
||||||
void wUnfullscreenWindow(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,
|
void animateResize(WScreen *scr, int x, int y, int w, int h, int fx, int fy, int fw, int fh);
|
||||||
int *new_y, unsigned int *new_width,
|
|
||||||
unsigned int *new_height);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "appicon.h"
|
#include "appicon.h"
|
||||||
|
#include "actions.h"
|
||||||
|
|
||||||
extern WPreferences wPreferences;
|
extern WPreferences wPreferences;
|
||||||
|
|
||||||
@@ -352,7 +353,6 @@ Pixmap MakeGhostIcon(WScreen * scr, Drawable drawable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WINDOW_BIRTH_ZOOM
|
#ifdef WINDOW_BIRTH_ZOOM
|
||||||
extern void animateResize();
|
|
||||||
|
|
||||||
void DoWindowBirth(WWindow *wwin)
|
void DoWindowBirth(WWindow *wwin)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user