CTWM
Loading...
Searching...
No Matches
Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/mwmhints.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include "ctwm_atoms.h"
#include "list.h"
#include "mwmhints.h"
#include "screen.h"
Include dependency graph for mwmhints.c:

Go to the source code of this file.

Functions

bool GetMWMHints (Window w, MotifWmHints *mwmHints)
 
static bool mwm_sets_decorations (MotifWmHints *hints)
 
int mwm_has_border (MotifWmHints *hints)
 
bool mwm_sets_title (MotifWmHints *hints)
 
bool mwm_has_title (MotifWmHints *hints)
 

Function Documentation

◆ GetMWMHints()

bool GetMWMHints ( Window w,
MotifWmHints * mwmHints )

Definition at line 25 of file mwmhints.c.

References dpy, MWM_DECOR_ALL, MWM_FUNC_ALL, MWM_HINTS_DECORATIONS, MWM_HINTS_FUNCTIONS, and PlaceX.

Referenced by AddWindow().

◆ mwm_has_border()

int mwm_has_border ( MotifWmHints * hints)

Definition at line 104 of file mwmhints.c.

References MotifWmHints::decorations, LookInNameList(), MWM_DECOR_BORDER, mwm_sets_decorations(), and Scr.

Referenced by AddWindow().

◆ mwm_has_title()

bool mwm_has_title ( MotifWmHints * hints)

Definition at line 145 of file mwmhints.c.

References MotifWmHints::decorations, MWM_DECOR_TITLE, and mwm_sets_decorations().

Referenced by AddWindow().

◆ mwm_sets_decorations()

static bool mwm_sets_decorations ( MotifWmHints * hints)
static

Definition at line 96 of file mwmhints.c.

References MotifWmHints::flags, MWM_HINTS_DECORATIONS, and PlaceX.

Referenced by mwm_has_border(), mwm_has_title(), and mwm_sets_title().

◆ mwm_sets_title()

bool mwm_sets_title ( MotifWmHints * hints)

Definition at line 127 of file mwmhints.c.

References LookInNameList(), mwm_sets_decorations(), and Scr.

Referenced by AddWindow().