summaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-05-05 05:41:13 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-05 05:41:13 +0000
commit41120f2a7931821391115c69da0239c08f022f60 (patch)
treeabfc25b03939cb1c7fb6299a6151883c9c5eb256 /src/screen.h
parent6f8a7f18702beb2fb8128eea25b532cb0b15ebbb (diff)
downloadmetacity-41120f2a7931821391115c69da0239c08f022f60.tar.gz
on unminimize, queue calc_showing on all transients
2002-05-05 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_unminimize): on unminimize, queue calc_showing on all transients (meta_window_activate): on activate, unminimize all a window's ancestors, not just the window itself. * src/workspace.c (set_work_area_hint): don't increment "tmp" by 16 unsigned long, increment by 4 * src/window.c (meta_window_free): if a window isn't minimized, restore its WM_STATE to NormalState instead of IconicState, since IconicState on initial window map means that the window should be minimized. * src/workspace.c (meta_workspace_invalidate_work_area): queue an idle to recompute the work area hint. (set_work_area_hint): we need 4*num_workspaces ints, not just num_workspaces. * src/screen.c (meta_screen_new): add work_area_idle field, handle it on screen shutdown * src/common.h (META_PRIORITY_PREFS_NOTIFY, META_PRIORITY_WORK_AREA_HINT): define some idle priorities * src/window.c (meta_window_calc_showing): hide windows if their parent window is minimized (meta_window_minimize): also queue_calc_showing on all transients of the window being minimized * src/place.c (constrain_placement): function to apply placement-time-only constraints, such as "not off the left of the screen" (meta_window_place): put dialogs down a bit over their parent, not right at the top. (meta_window_place): when centering a dialog, center it on the current xinerama screen, rather than the entire screen. * src/screen.c (meta_screen_get_current_xinerama): new function, but not implemented
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h
index 12915e7b..bc85d873 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -63,6 +63,8 @@ struct _MetaScreen
MetaXineramaScreenInfo *xinerama_infos;
int n_xinerama_infos;
+ guint work_area_idle;
+
guint keys_grabbed : 1;
};
@@ -88,6 +90,8 @@ void meta_screen_ensure_tab_popup (MetaScreen *scree
void meta_screen_focus_top_window (MetaScreen *screen,
MetaWindow *not_this_one);
+const MetaXineramaScreenInfo* meta_screen_get_current_xinerama (MetaScreen *screen);
+
#endif