mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
New header file event.h
The file event.h includes the function prototypes for event.c. The prototypes included were moved from funcs.h. Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
583235bb36
commit
157209a035
@@ -35,6 +35,7 @@ wmaker_SOURCES = \
|
||||
dockedapp.h \
|
||||
dock.h \
|
||||
event.c \
|
||||
event.h \
|
||||
extend_pixmaps.h \
|
||||
framewin.c \
|
||||
framewin.h \
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "usermenu.h"
|
||||
#include "placement.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
|
||||
/****** Global Variables ******/
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
#include "client.h"
|
||||
#include "placement.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
#ifdef XDND
|
||||
#include "xdnd.h"
|
||||
#endif
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
#include "workspace.h"
|
||||
#include "properties.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
|
||||
#define MAX_SHORTCUT_LENGTH 32
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
#include "xinerama.h"
|
||||
#include "placement.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
|
||||
/**** Local variables ****/
|
||||
#define CLIP_REWIND 1
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
#include "screen.h"
|
||||
#include "shutdown.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
|
||||
/******** Global Variables **********/
|
||||
extern XContext wWinContext;
|
||||
|
||||
31
src/event.h
Normal file
31
src/event.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Window Maker window manager
|
||||
*
|
||||
* Copyright (c) 1997-2003 Alfredo K. Kojima
|
||||
* Copyright (c) 2013 Window Maker Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef WMEVENT_H
|
||||
#define WMEVENT_H
|
||||
|
||||
void EventLoop(void);
|
||||
void DispatchEvent(XEvent *event);
|
||||
void ProcessPendingEvents(void);
|
||||
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
||||
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
||||
|
||||
#endif /* WMEVENT_H */
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "framewin.h"
|
||||
#include "stacking.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
|
||||
#define DBLCLICK_TIME wPreferences.dblclick_time
|
||||
|
||||
|
||||
@@ -32,15 +32,6 @@ typedef void (WCallBack)(void *cdata);
|
||||
typedef void (WDeathHandler)(pid_t pid, unsigned int status, void *cdata);
|
||||
|
||||
|
||||
/* ---[ event.c ]--------------------------------------------------------- */
|
||||
|
||||
void EventLoop(void);
|
||||
void DispatchEvent(XEvent *event);
|
||||
void ProcessPendingEvents(void);
|
||||
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
||||
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
||||
|
||||
|
||||
/* ---[ main.c ]---------------------------------------------------------- */
|
||||
|
||||
int getWVisualID(int screen);
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "wmspec.h"
|
||||
#include "misc.h"
|
||||
#include "startup.h"
|
||||
#include "event.h"
|
||||
|
||||
/**** Global varianebles ****/
|
||||
extern WPreferences wPreferences;
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "WindowMaker.h"
|
||||
#include "window.h"
|
||||
#include "funcs.h"
|
||||
#include "event.h"
|
||||
#include "startup.h"
|
||||
#include "menu.h"
|
||||
#include "keybind.h"
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
#include "properties.h"
|
||||
#include "dialog.h"
|
||||
#include "wmspec.h"
|
||||
#include "event.h"
|
||||
#ifdef XDND
|
||||
#include "xdnd.h"
|
||||
#endif
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "appicon.h"
|
||||
#include "wmspec.h"
|
||||
#include "xinerama.h"
|
||||
#include "event.h"
|
||||
|
||||
#define MC_NEW 0
|
||||
#define MC_DESTROY_LAST 1
|
||||
|
||||
Reference in New Issue
Block a user