summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-05-26 15:54:38 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-26 15:54:38 +0000
commita40a9eccf41afe2d5e3464a928fb6502dacc0fde (patch)
tree3b53112c337e91846bd20c4fda2503c6b382ff8d /src/window.h
parente19d4c048a918345d1e7231c6fc2a16f9354088e (diff)
downloadmetacity-a40a9eccf41afe2d5e3464a928fb6502dacc0fde.tar.gz
metacity-a40a9eccf41afe2d5e3464a928fb6502dacc0fde.tar.bz2
Patch from Gaute Lindkvist so you can't move the panel or desktop to only
2002-05-26 Havoc Pennington <hp@pobox.com> Patch from Gaute Lindkvist so you can't move the panel or desktop to only one workspace. * src/keybindings.c (handle_move_to_workspace): don't allow moving window to another space if the window is always_sticky * src/window.c (recalc_window_features): set the always_sticky field for desktop/dock windows. (meta_window_show_menu): disable unsticking always sticky windows via the menus * src/menu.c (meta_window_menu_new): disable workspace items if requested
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 2c886c8..7cbafd1 100644
--- a/src/window.h
+++ b/src/window.h
@@ -139,6 +139,7 @@ struct _MetaWindow
/* Computed features of window */
guint decorated : 1;
+ guint always_sticky : 1;
guint has_close_func : 1;
guint has_minimize_func : 1;
guint has_maximize_func : 1;