]> Dogcows Code - chaz/openbox/blob - HACKING
make fullscreen decorations and functions be calculated by the setup_decor_and_functi...
[chaz/openbox] / HACKING
1 Woop, a HACKING document for openbox at last!
2
3 dirs:
4 kernel - core of the WM
5 render - librender, rendering routines for the WM and for apps
6 cwmcc - client-wm-client communication. netwm/icccm helper routines
7 for the WM and apps
8 obcf - openbox config format, generic parser for config files
9 plugins - various plugins
10
11 Beware the Client.transient_for. It can be set to a !NULL value of TRAN_GROUP,
12 which is not a valid pointer. You must ALWAYS check for TRAN_GROUP before
13 following transient_for. When TRAN_GROUP is found, Client.group will always
14 be !NULL. Some smart action should be taken using all members of the group in
15 this case.
16
17 When using coordinates/sizes of windows, make sure you use the right area. The
18 Client.area rect is the reference point and size of the *CLIENT* window. This
19 value is not what you see in any shape or form, and gravity is applied to it to
20 translate it into what you see. The Client.frame.area is the actual position
21 and size of the entire frame. This is usually the value you want to use, unless
22 you are in client.c (probably) and adjusting/using the position or size from
23 the client's perspective.
This page took 0.03821 seconds and 4 git commands to generate.