|
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, dpy, enter_flag, enter_win, leave_flag, leave_win, lower_win, OtpLower(), raise_win, WinWin, and WMapLower().
Referenced by HandleEvents(), and HandleLeaveNotify().
| void AutoPopupMaybe | ( | TwmWindow * | tmp | ) |
Definition at line 54 of file event_utils.c.
References TwmWindow::class, DeIconify(), LookInList(), TwmWindow::mapped, TwmWindow::name, OCCUPY, Scr, and SetRaiseWindow().
Referenced by apply_window_icon_name(), apply_window_name(), and HandlePropertyNotify().
| void AutoRaiseWindow | ( | TwmWindow * | tmp | ) |
Definition at line 27 of file event_utils.c.
References ActiveMenu, dpy, enter_flag, enter_win, OtpRaise(), raise_win, WinWin, and WMapRaise().
Referenced by EwmhClientMessage_NET_ACTIVE_WINDOW(), HandleEnterNotify(), HandleEvents(), and WarpToWindow().
|
static |
Definition at line 236 of file event_utils.c.
References dpy, NumScreens, ScreenInfo::screen, and ScreenList.
Referenced by GetTwmScreen().
| void FixRootEvent | ( | XEvent * | e | ) |
Definition at line 171 of file event_utils.c.
References Scr.
Referenced by AddWindow(), DispatchEvent(), DispatchEvent2(), f_movetitlebar_impl(), HandleMotionNotify(), and movewindow().
| ScreenInfo * GetTwmScreen | ( | XEvent * | event | ) |
Definition at line 209 of file event_utils.c.
References dpy, FindScreenInfo(), ScreenContext, and WindowOfEvent().
Referenced by DispatchEvent(), and DispatchEvent2().
| 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, and raise_win.
Referenced by AutoPopupMaybe(), and HandleMapRequest().
| void SimulateMapRequest | ( | Window | w | ) |
Definition at line 298 of file event_utils.c.
References Event, and HandleMapRequest().
Referenced by AdoptWindow(), and ctwm_main().
| void SynthesiseFocusIn | ( | Window | w | ) |
| void SynthesiseFocusOut | ( | Window | w | ) |
| Window WindowOfEvent | ( | XEvent * | e | ) |
Definition at line 95 of file event_utils.c.
Referenced by GetTwmScreen().