summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-26 03:54:55 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-26 03:54:55 +0000
commit3e92e3b1dffeeab6dcf0255325c2396d9c264302 (patch)
treeab7e9d8a43f3a676db5873de4ed7266d07abfdc9
parentd080f816b6f693871ab69ad2f5f50cba25135bc9 (diff)
downloadmetacity-3e92e3b1dffeeab6dcf0255325c2396d9c264302.tar.gz
metacity-3e92e3b1dffeeab6dcf0255325c2396d9c264302.tar.bz2
set the current workspace hint
2001-10-25 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_new): set the current workspace hint
-rw-r--r--ChangeLog4
-rw-r--r--src/window.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f53a44..1743c1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-25 Havoc Pennington <hp@redhat.com>
+
+ * src/window.c (meta_window_new): set the current workspace hint
+
2001-10-25 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_visible_on_workspace):
diff --git a/src/window.c b/src/window.c
index f89f61f..2bf6367 100644
--- a/src/window.c
+++ b/src/window.c
@@ -476,7 +476,7 @@ meta_window_new (MetaDisplay *display, Window xwindow,
meta_workspace_add_window (space, window);
}
-
+
/* Only accept USPosition on normal windows because the app is full
* of shit claiming the user set -geometry for a dialog or dock
*/
@@ -510,6 +510,9 @@ meta_window_new (MetaDisplay *display, Window xwindow,
*/
window->on_all_workspaces = TRUE;
}
+
+ /* for the various on_all_workspaces = TRUE possible above */
+ meta_window_set_current_workspace_hint (window);
/* Put our state back where it should be,
* passing TRUE for is_configure_request, ICCCM says