mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
fixed bug in positioning of window list menu when opened by kbd
internal code clean-up with notifications for window state change and other stuff, also cleaned kde and gnome support in preparation for wm-spec support..
This commit is contained in:
21
src/funcs.h
21
src/funcs.h
@@ -43,7 +43,10 @@ void SetupEnvironment(WScreen *scr);
|
||||
|
||||
void DispatchEvent(XEvent *event);
|
||||
|
||||
#ifndef LITE
|
||||
#ifdef LITE
|
||||
#define UpdateSwitchMenu(a,b,c)
|
||||
#else
|
||||
void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action);
|
||||
|
||||
Bool wRootMenuPerformShortcut(XEvent *event);
|
||||
|
||||
@@ -55,6 +58,8 @@ void OpenSwitchMenu(WScreen *scr, int x, int y, int keyboard);
|
||||
|
||||
#endif /* !LITE */
|
||||
|
||||
|
||||
|
||||
void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard);
|
||||
|
||||
void OpenMiniwindowMenu(WWindow *wwin, int x, int y);
|
||||
@@ -63,20 +68,6 @@ void OpenWorkspaceMenu(WScreen *scr, int x, int y);
|
||||
|
||||
void CloseWindowMenu(WScreen *scr);
|
||||
|
||||
#ifdef LITE
|
||||
|
||||
#define UpdateSwitchMenu(a, b, c)
|
||||
|
||||
#define UpdateSwitchMenuWorkspace(a, b)
|
||||
|
||||
#else /*! LITE */
|
||||
|
||||
void UpdateSwitchMenu(WScreen *scr, WWindow *wwin, int action);
|
||||
|
||||
void UpdateSwitchMenuWorkspace(WScreen *scr, int workspace);
|
||||
|
||||
#endif /* !LITE */
|
||||
|
||||
WMagicNumber wAddDeathHandler(pid_t pid, WDeathHandler *callback, void *cdata);
|
||||
|
||||
void wColormapInstallForWindow(WScreen *scr, WWindow *wwin);
|
||||
|
||||
Reference in New Issue
Block a user