JWM Source Documentation

clientlist.h File Reference

Functions to manage lists of clients. More...

#include "hint.h"

Go to the source code of this file.

Functions

int ShouldFocus (const struct ClientNode *np)
 Determine if a client is allowed focus.
void StartWindowStackWalk ()
 Start walking the window stack.
void WalkWindowStack (int forward)
 Move to the next/previous window in the window stack.
void StopWindowStackWalk ()
 Stop walking the window stack.
void FocusNextStacked (struct ClientNode *np)
 Set the keyboard focus to the next client.

Variables

struct ClientNodenodes [LAYER_COUNT]
 Client windows in linked lists for each layer.
struct ClientNodenodeTail [LAYER_COUNT]
 Client windows in linked lists for each layer (pointer to the tail).

Detailed Description

Functions to manage lists of clients.

Author:
Joe Wingbermuehle
Date:
2007

Definition in file clientlist.h.


Function Documentation

void FocusNextStacked ( struct ClientNode np)

Set the keyboard focus to the next client.

This is used to focus the next client in the stacking order.

Parameters:
npThe client before the client to focus.
int ShouldFocus ( const struct ClientNode np)

Determine if a client is allowed focus.

Parameters:
npThe client.
Returns:
1 if focus is allowed, 0 otherwise.
void StartWindowStackWalk ( )

Start walking the window stack.

void StopWindowStackWalk ( )

Stop walking the window stack.

void WalkWindowStack ( int  forward)

Move to the next/previous window in the window stack.


Variable Documentation

struct ClientNode* nodes[LAYER_COUNT]

Client windows in linked lists for each layer.

struct ClientNode* nodeTail[LAYER_COUNT]

Client windows in linked lists for each layer (pointer to the tail).