mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
rootmenu header file updated
The contents of the rootmenu.h file are not used and can be removed, but the prototypes of rootmenu.c are in funcs.h and should be moved to the correct (rootmenu.h) file.
This commit is contained in:
committed by
Carlos R. Mafra
parent
254c00ba6f
commit
da4e4128b3
@@ -66,6 +66,7 @@
|
|||||||
#include "balloon.h"
|
#include "balloon.h"
|
||||||
#include "xinerama.h"
|
#include "xinerama.h"
|
||||||
#include "wmspec.h"
|
#include "wmspec.h"
|
||||||
|
#include "rootmenu.h"
|
||||||
|
|
||||||
/******** Global Variables **********/
|
/******** Global Variables **********/
|
||||||
extern XContext wWinContext;
|
extern XContext wWinContext;
|
||||||
|
|||||||
@@ -37,8 +37,6 @@ void Restart(char *manager, Bool abortOnFailure);
|
|||||||
void SetupEnvironment(WScreen *scr);
|
void SetupEnvironment(WScreen *scr);
|
||||||
void DispatchEvent(XEvent *event);
|
void DispatchEvent(XEvent *event);
|
||||||
void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action);
|
void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action);
|
||||||
void wRootMenuBindShortcuts(Window window);
|
|
||||||
void OpenRootMenu(WScreen *scr, int x, int y, int keyboard);
|
|
||||||
void OpenSwitchMenu(WScreen *scr, int x, int y, int keyboard);
|
void OpenSwitchMenu(WScreen *scr, int x, int y, int keyboard);
|
||||||
void InitializeSwitchMenu(void);
|
void InitializeSwitchMenu(void);
|
||||||
void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard);
|
void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard);
|
||||||
@@ -86,7 +84,6 @@ char * FindImage(char *paths, char *file);
|
|||||||
char * GetShortcutString(char *text);
|
char * GetShortcutString(char *text);
|
||||||
char * EscapeWM_CLASS(char *name, char *class);
|
char * EscapeWM_CLASS(char *name, char *class);
|
||||||
|
|
||||||
Bool wRootMenuPerformShortcut(XEvent *event);
|
|
||||||
Bool RelaunchWindow(WWindow *wwin);
|
Bool RelaunchWindow(WWindow *wwin);
|
||||||
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
Bool IsDoubleClick(WScreen *scr, XEvent *event);
|
||||||
Bool UpdateDomainFile(WDDomain *domain);
|
Bool UpdateDomainFile(WDDomain *domain);
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
#include "xinerama.h"
|
#include "xinerama.h"
|
||||||
#include "workspace.h"
|
#include "workspace.h"
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
#include "rootmenu.h"
|
||||||
|
|
||||||
/****** Global Variables ******/
|
/****** Global Variables ******/
|
||||||
|
|
||||||
|
|||||||
@@ -22,23 +22,8 @@
|
|||||||
#ifndef WMROOTMENU_H
|
#ifndef WMROOTMENU_H
|
||||||
#define WMROOTMENU_H
|
#define WMROOTMENU_H
|
||||||
|
|
||||||
#include "WindowMaker.h"
|
Bool wRootMenuPerformShortcut(XEvent * event);
|
||||||
|
void wRootMenuBindShortcuts(Window window);
|
||||||
|
void OpenRootMenu(WScreen * scr, int x, int y, int keyboard);
|
||||||
typedef void *WRootMenuData;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _WRootMenuReader {
|
|
||||||
Bool (*checkMenuChange)(char *path, time_t lastAccessTime);
|
|
||||||
|
|
||||||
WRootMenuData (*openMenuFile)(char *path);
|
|
||||||
Bool (*hasMoreData)(WRootMenuData *data);
|
|
||||||
Bool (*nextCommand)(WRootMenuData *data,
|
|
||||||
char **title,
|
|
||||||
char **command,
|
|
||||||
char **parameter,
|
|
||||||
char **shortcut);
|
|
||||||
void (*closeMenuFile)(WRootMenuData *data);
|
|
||||||
} WRootMenuReader;
|
|
||||||
|
|
||||||
#endif /* WMROOTMENU_H */
|
#endif /* WMROOTMENU_H */
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
#include "balloon.h"
|
#include "balloon.h"
|
||||||
#include "geomview.h"
|
#include "geomview.h"
|
||||||
#include "wmspec.h"
|
#include "wmspec.h"
|
||||||
|
#include "rootmenu.h"
|
||||||
|
|
||||||
#include "xinerama.h"
|
#include "xinerama.h"
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,7 @@
|
|||||||
#include "appmenu.h"
|
#include "appmenu.h"
|
||||||
#include "appicon.h"
|
#include "appicon.h"
|
||||||
#include "superfluous.h"
|
#include "superfluous.h"
|
||||||
|
#include "rootmenu.h"
|
||||||
|
|
||||||
#ifdef MWM_HINTS
|
#ifdef MWM_HINTS
|
||||||
# include "motif.h"
|
# include "motif.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user