summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-07-06 19:05:37 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-07-06 19:05:37 +0000
commita62b3c8b29b09665c5589b168f3bbb9302354f32 (patch)
treedaa792b9bc49fffa7277cfc26cfd71783b1c8ad9 /src/window.h
parent8c3437fd2754c9aec761545a1a1e668ed6d07ea1 (diff)
downloadmetacity-a62b3c8b29b09665c5589b168f3bbb9302354f32.tar.gz
metacity-a62b3c8b29b09665c5589b168f3bbb9302354f32.tar.bz2
Apply blackc@speakeasy.net patch, bug #83940, to do mini-workspaces
2002-07-06 Havoc Pennington <hp@pobox.com> Apply blackc@speakeasy.net patch, bug #83940, to do mini-workspaces similar to the pager, when switching spaces. * src/window.c (update_net_wm_state): actually fill in wm_state_skip_taskbar, wm_state_skip_pager flags * src/tabpopup.c: support drawing a mini-workspace similar to the one the pager draws. * src/stack.c (meta_stack_list_windows): new function to list the windows in stacking order * src/screen.c (meta_screen_ensure_workspace_popup): don't pass in the ugly default app icon for workspaces * src/display.c (event_callback): fix from blackc@speakeasy.net to avoid dereferencing a NULL grab window.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/window.h b/src/window.h
index a3e8df5..c7e187f 100644
--- a/src/window.h
+++ b/src/window.h
@@ -152,12 +152,14 @@ struct _MetaWindow
/* Weird "_NET_WM_STATE_MODAL" flag */
guint wm_state_modal : 1;
- /* If these are TRUE, it just means a client explicitly
- * toggled them on; we compute actual _NET_WM_STATE from
- * window type usually
- */
+
+ /* TRUE if the client forced these on */
guint wm_state_skip_taskbar : 1;
guint wm_state_skip_pager : 1;
+
+ /* Computed whether to skip taskbar or not */
+ guint skip_taskbar : 1;
+ guint skip_pager : 1;
/* this flag tracks receipt of focus_in focus_out and
* determines whether we draw the focus