mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
New header file winmenu.h
The file winmenu.h includes the function prototypes for winmenu.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
20a695f70f
commit
9ededf6cb2
@@ -101,6 +101,7 @@ wmaker_SOURCES = \
|
||||
window.c \
|
||||
window.h \
|
||||
winmenu.c \
|
||||
winmenu.h \
|
||||
winspector.h \
|
||||
winspector.c \
|
||||
wmspec.h \
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
#include "properties.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
#include "winmenu.h"
|
||||
|
||||
#define MAX_SHORTCUT_LENGTH 32
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@
|
||||
#include "shutdown.h"
|
||||
#include "misc.h"
|
||||
#include "event.h"
|
||||
#include "winmenu.h"
|
||||
|
||||
/******** Global Variables **********/
|
||||
extern XContext wWinContext;
|
||||
|
||||
@@ -43,13 +43,4 @@ void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action);
|
||||
void OpenSwitchMenu(WScreen *scr, int x, int y, int keyboard);
|
||||
void InitializeSwitchMenu(void);
|
||||
|
||||
|
||||
/* ---[ winmenu.c ]------------------------------------------------------- */
|
||||
|
||||
void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard);
|
||||
void OpenWindowMenu2(WWindow *wwin, int x, int y, int keyboard);
|
||||
void OpenMiniwindowMenu(WWindow *wwin, int x, int y);
|
||||
void CloseWindowMenu(WScreen *scr);
|
||||
void DestroyWindowMenu(WScreen *scr);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "misc.h"
|
||||
#include "startup.h"
|
||||
#include "event.h"
|
||||
#include "winmenu.h"
|
||||
|
||||
/**** Global varianebles ****/
|
||||
extern WPreferences wPreferences;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "framewin.h"
|
||||
#include "menu.h"
|
||||
#include "actions.h"
|
||||
#include "funcs.h"
|
||||
#include "winmenu.h"
|
||||
#include "stacking.h"
|
||||
#include "xinerama.h"
|
||||
#include "workspace.h"
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
#include "placement.h"
|
||||
#include "misc.h"
|
||||
#include "startup.h"
|
||||
#include "winmenu.h"
|
||||
|
||||
#ifdef MWM_HINTS
|
||||
# include "motif.h"
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "stacking.h"
|
||||
#include "icon.h"
|
||||
#include "xinerama.h"
|
||||
#include "winmenu.h"
|
||||
|
||||
#define MC_MAXIMIZE 0
|
||||
#define MC_MINIATURIZE 1
|
||||
|
||||
31
src/winmenu.h
Normal file
31
src/winmenu.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 WMWINMENU_H
|
||||
#define WMWINMENU_H
|
||||
|
||||
void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard);
|
||||
void OpenWindowMenu2(WWindow *wwin, int x, int y, int keyboard);
|
||||
void OpenMiniwindowMenu(WWindow *wwin, int x, int y);
|
||||
void CloseWindowMenu(WScreen *scr);
|
||||
void DestroyWindowMenu(WScreen *scr);
|
||||
|
||||
#endif /* WMWINMENU_H */
|
||||
Reference in New Issue
Block a user