diff options
author | Elijah Newren <newren@src.gnome.org> | 2005-11-21 18:19:58 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2005-11-21 18:19:58 +0000 |
commit | a3902fb922e9f6c3705f8f0b5526a2c9773a21d4 (patch) | |
tree | 20022a29cb7f5bdee2ca0552195c8d26efb9b6d3 /doc | |
parent | 0fdbdbd236b3398f0f1588c37225c4470137bdf9 (diff) | |
download | mutter-a3902fb922e9f6c3705f8f0b5526a2c9773a21d4.tar.gz |
Oops, missed a couple cleanups in this documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/strut-and-related-updating.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/strut-and-related-updating.txt b/doc/strut-and-related-updating.txt index 2f4ba128d..a00cee4b2 100644 --- a/doc/strut-and-related-updating.txt +++ b/doc/strut-and-related-updating.txt @@ -1,8 +1,8 @@ -How updates happen for struts, workareas, and screen/xinerama regions/edges +How updates happen for struts, workareas, and screen/xinerama regions/edges: One of three things causes meta_window_update_struts to be called (a) initial window map (window.c:meta_window_new_with_attrs()) (b) update of _net_wm_strut* properties (window.c:process_property_notify()) - (c) screen.c (meta_screen_resize_func()) + (c) screen resizes (e.g. via xrandr; from screen.c:meta_screen_resize_func()) meta_window_update_struts (MetaWindow *window) - Gets new list of struts from window properties - Makes sure window doesn't single-handedly fill the screen @@ -13,7 +13,7 @@ How updates happen for struts, workareas, and screen/xinerama regions/edges - Cleans out all strut lists - queues all windows for resizing - Calls meta_screen_queue_workarea_recalc (workspace->screen); - meta_screen_queue_workarea_recalc () + meta_screen_queue_workarea_recalc() - Adds set_work_area_idle_func() as an idle handler set_work_area_idle_func() @@ -34,6 +34,7 @@ How updates happen for struts, workareas, and screen/xinerama regions/edges - Make sure there's a non-empty screen workarea - Record the screen workarea - Cache the spanning rects for the screen and xinerama regions + - Cache the screen and xinerama edges Alternatively to all the above, if the idle function for the screen has not yet fired, constraints.c:setup_constraint_info() can call |