CTWM
Loading...
Searching...
No Matches
Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/event_utils.c File Reference
#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"
Include dependency graph for event_utils.c:

Go to the source code of this file.

Functions

static ScreenInfoFindScreenInfo (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)
 
ScreenInfoGetTwmScreen (XEvent *event)
 
void SynthesiseFocusOut (Window w)
 
void SynthesiseFocusIn (Window w)
 
void SimulateMapRequest (Window w)
 

Function Documentation

◆ AutoLowerWindow()

void AutoLowerWindow ( TwmWindow * tmp)

◆ AutoPopupMaybe()

void AutoPopupMaybe ( TwmWindow * tmp)

◆ AutoRaiseWindow()

void AutoRaiseWindow ( TwmWindow * tmp)

◆ FindScreenInfo()

static ScreenInfo * FindScreenInfo ( Window w)
static

Definition at line 236 of file event_utils.c.

References dpy, NumScreens, PlaceX, ScreenInfo::screen, and ScreenList.

Referenced by GetTwmScreen().

◆ FixRootEvent()

void FixRootEvent ( XEvent * e)

Definition at line 171 of file event_utils.c.

References PlaceX, and Scr.

Referenced by AddWindow(), DispatchEvent(), DispatchEvent2(), f_movetitlebar_impl(), HandleMotionNotify(), and movewindow().

◆ GetTwmScreen()

ScreenInfo * GetTwmScreen ( XEvent * event)

Definition at line 209 of file event_utils.c.

References dpy, FindScreenInfo(), PlaceX, ScreenContext, and WindowOfEvent().

Referenced by DispatchEvent(), and DispatchEvent2().

◆ SetRaiseWindow()

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, PlaceX, and raise_win.

Referenced by AutoPopupMaybe(), and HandleMapRequest().

◆ SimulateMapRequest()

void SimulateMapRequest ( Window w)

Definition at line 298 of file event_utils.c.

References Event, and HandleMapRequest().

Referenced by AdoptWindow(), and ctwm_main().

◆ SynthesiseFocusIn()

void SynthesiseFocusIn ( Window w)

Definition at line 275 of file event_utils.c.

References dpy, and PlaceX.

Referenced by HandleEnterNotify().

◆ SynthesiseFocusOut()

void SynthesiseFocusOut ( Window w)

Definition at line 257 of file event_utils.c.

References dpy, and PlaceX.

Referenced by HandleLeaveNotify().

◆ WindowOfEvent()

Window WindowOfEvent ( XEvent * e)

Definition at line 95 of file event_utils.c.

References PlaceX.

Referenced by GetTwmScreen().