]> Dogcows Code - chaz/openbox/commit
make undecorated windows place according to their undecorated state (bug #5179)
authorDana Jansens <danakj@orodu.net>
Fri, 14 Oct 2011 22:54:32 +0000 (18:54 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:51:51 +0000 (18:51 -0400)
commita0d14c7d4468b6348d906a68bb5dfe3acce0ad64
tree6725e467dd4b30bb2ffd9dacf37f1c7fa813a0da
parent332280daf9a4bc410544ae7d267092a11ab8c945
make undecorated windows place according to their undecorated state (bug #5179)

splits client_setup_decor_and_functions() into 3 functions.

1. add client_setup_default_decor_and_functions()
- called from client_get_all() to get the maximum decor/functions that will
  be available for use by the client.
2. add client_setup_decor_undecorated()
- sets up the client's undecorarted decor if the flag is set by the per-app
  settings or session state.
- we do this before setting up the frame so the frame reflects the window as it
  should be when getting placed.
3. client_setup_decor_and_functions()
- calls the above 2 to perform the same functions as before.
- added to client_apply_startup_state() so that we can ensure it was run fully
  at least once in the mapping process, since it is not called in
  client_get_all() anymore.
openbox/client.c
This page took 0.027231 seconds and 4 git commands to generate.