13#include <X11/extensions/shape.h>
15#include "ctwm_atoms.h"
27#define MAXANIMATIONSPEED 20
200 if(
t->icon_on &&
t->icon &&
t->icon->bm_w &&
t->icon->image &&
201 t->icon->image->next) {
205 else if(
t->mapped &&
t->titlebuttons) {
207 for(i = 0,
tbw =
t->titlebuttons; i <
nb; i++,
tbw++) {
208 if(
tbw->image &&
tbw->image->next) {
217 if(
t->mapped &&
t->titlehighlight &&
t->title_height &&
218 t->HiliteImage &&
t->HiliteImage->next) {
247 attr.background_pixmap = image->
pixmap;
260 image =
t->HiliteImage;
261 attr.background_pixmap = image->
pixmap;
270 t->HiliteImage = image->
next;
284 attr.background_pixmap = image->
pixmap;
static void Animate(void)
static bool AnimateRoot(void)
static void AnimateButton(TBWindow *tbw)
#define MAXANIMATIONSPEED
void StartAnimation(void)
static void AnimateHighlight(TwmWindow *t)
static void AnimateIcons(ScreenInfo *scr, Icon *icon)
void SetAnimationSpeed(int speed)
void ModifyAnimationSpeed(int incr)
struct timeval AnimateTimeout
int NumScreens
How many Screens are on our display.
ScreenInfo ** ScreenList
List of ScreenInfo structs for each Screen.
MyFont IconFont
IconFont config var.
Window ShapeWindow
Utility window for animated icons.
Window Root
Root window for the current vscreen.
VirtualScreen * vScreenList
Linked list of per-VS info.
VirtualScreen * currentvs
Currently active VS.
int GetIconOffset(Icon *icon)
int nleft
numbers of buttons on left side
int nright
numbers of buttons on right side
Info and control for each X Screen we control.
TwmWindow * Focus
The twm window that has focus.
bool DontPaintRootWindow
DontPaintRootWindow config var.
WorkSpaceMgr workSpaceMgr
Info about the WorkSpaceManager (and Occupy window) for the screen.
bool workSpaceManagerActive
Whether the WSM is being shown.
struct ScreenInfo::_TBInfo TBInfo
Various titlebar buttons that will be put in the window decorations for the screen....
TwmWindow * FirstWindow
The head of the screen's twm window list.
Info and control for every X Window we take over.
struct VirtualScreen * next
struct WorkSpaceWindow * wsw
struct WorkSpace * workSpaceList
void send_clientmessage(Window w, Atom a, Time timestamp)
bool visible(const TwmWindow *tmp_win)