|
CTWM
|
#include "ctwm.h"#include <stdio.h>#include "event_handlers.h"#include "event_internal.h"#include "events.h"#include "list.h"#include "otp.h"#include "screen.h"#include "vscreen.h"#include "win_iconify.h"#include "workspace_manager.h"Go to the source code of this file.
Functions | |
| static ScreenInfo * | FindScreenInfo (Window w) |
| void | AutoRaiseWindow (TwmWindow *tmp) |
| void | SetRaiseWindow (TwmWindow *tmp) |
| void | AutoPopupMaybe (TwmWindow *tmp) |
| void | AutoLowerWindow (TwmWindow *tmp) |
| Window | WindowOfEvent (XEvent *e) |
| void | FixRootEvent (XEvent *e) |
| ScreenInfo * | GetTwmScreen (XEvent *event) |
| void | SynthesiseFocusOut (Window w) |
| void | SynthesiseFocusIn (Window w) |
| void | SimulateMapRequest (Window w) |
| void AutoLowerWindow | ( | TwmWindow * | tmp | ) |
Definition at line 71 of file event_utils.c.
References ActiveMenu, AutoLowerWindow(), dpy, enter_flag, enter_win, leave_flag, leave_win, lower_win, OtpLower(), raise_win, MenuRoot::w, WinWin, and WMapLower().
Referenced by AutoLowerWindow(), HandleEvents(), and HandleLeaveNotify().
| void AutoPopupMaybe | ( | TwmWindow * | tmp | ) |
Definition at line 54 of file event_utils.c.
References AutoPopupMaybe(), TwmWindow::class, DeIconify(), LookInList(), TwmWindow::mapped, TwmWindow::name, OCCUPY, Scr, and SetRaiseWindow().
Referenced by apply_window_icon_name(), apply_window_name(), AutoPopupMaybe(), and HandlePropertyNotify().
| void AutoRaiseWindow | ( | TwmWindow * | tmp | ) |
Definition at line 27 of file event_utils.c.
References ActiveMenu, AutoRaiseWindow(), dpy, enter_flag, enter_win, OtpRaise(), raise_win, MenuRoot::w, WinWin, and WMapRaise().
Referenced by AutoRaiseWindow(), EwmhClientMessage_NET_ACTIVE_WINDOW(), HandleEnterNotify(), HandleEvents(), and WarpToWindow().
|
static |
Definition at line 236 of file event_utils.c.
References dpy, FindScreenInfo(), NumScreens, ScreenInfo::screen, and ScreenList.
Referenced by FindScreenInfo(), and GetTwmScreen().
| void FixRootEvent | ( | XEvent * | e | ) |
Definition at line 171 of file event_utils.c.
References FixRootEvent(), and Scr.
Referenced by AddWindow(), DispatchEvent(), DispatchEvent2(), f_movetitlebar_impl(), FixRootEvent(), HandleMotionNotify(), and movewindow().
| ScreenInfo * GetTwmScreen | ( | XEvent * | event | ) |
Definition at line 209 of file event_utils.c.
References dpy, FindScreenInfo(), GetTwmScreen(), ScreenContext, and WindowOfEvent().
Referenced by DispatchEvent(), DispatchEvent2(), and GetTwmScreen().
| void SetRaiseWindow | ( | TwmWindow * | tmp | ) |
Definition at line 42 of file event_utils.c.
References dpy, enter_flag, enter_win, leave_flag, leave_win, lower_win, raise_win, and SetRaiseWindow().
Referenced by AutoPopupMaybe(), HandleMapRequest(), and SetRaiseWindow().
| void SimulateMapRequest | ( | Window | w | ) |
Definition at line 298 of file event_utils.c.
References Event, HandleMapRequest(), and SimulateMapRequest().
Referenced by AdoptWindow(), ctwm_main(), and SimulateMapRequest().
| void SynthesiseFocusIn | ( | Window | w | ) |
Definition at line 275 of file event_utils.c.
References dpy, and SynthesiseFocusIn().
Referenced by HandleEnterNotify(), and SynthesiseFocusIn().
| void SynthesiseFocusOut | ( | Window | w | ) |
Definition at line 257 of file event_utils.c.
References dpy, and SynthesiseFocusOut().
Referenced by HandleLeaveNotify(), and SynthesiseFocusOut().
| Window WindowOfEvent | ( | XEvent * | e | ) |
Definition at line 95 of file event_utils.c.
References WindowOfEvent().
Referenced by GetTwmScreen(), and WindowOfEvent().