summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-10-14 22:13:53 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-14 22:13:53 +0000
commit842eb3fa9312d21402e61133f1d29bfc7a653ed1 (patch)
tree6f2c91cf723c40bac3fb1b5d5c91e9cdf12b990c /src/session.c
parentbbd6396f405d8e1a547007e7317df81069e4c0f4 (diff)
downloadmetacity-842eb3fa9312d21402e61133f1d29bfc7a653ed1.tar.gz
metacity-842eb3fa9312d21402e61133f1d29bfc7a653ed1.tar.bz2
take a window mapped at fullscreen size/pos to desire maximization; once I
2001-10-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_new): take a window mapped at fullscreen size/pos to desire maximization; once I add a fullscreen state, will change to copy kwin and take this mapping as a desire for fullscreen, but for now testing with maximization. * src/window.h: remove fullscreen window type, now proposing it as a window state instead. 2001-10-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_maximize): always raise windows on maximize (meta_window_client_message): when activating a window, move it to current workspace, instead of moving user to the window's workspace.
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/session.c b/src/session.c
index 92a0247..c27208d 100644
--- a/src/session.c
+++ b/src/session.c
@@ -574,9 +574,6 @@ window_type_to_string (MetaWindowType type)
case META_WINDOW_MENU:
return "menu";
break;
- case META_WINDOW_FULLSCREEN:
- return "fullscreen";
- break;
}
return "";
@@ -599,8 +596,6 @@ window_type_from_string (const char *str)
return META_WINDOW_TOOLBAR;
else if (strcmp (str, "menu") == 0)
return META_WINDOW_MENU;
- else if (strcmp (str, "fullscreen") == 0)
- return META_WINDOW_FULLSCREEN;
else
return META_WINDOW_NORMAL;
}