diff options
author | Havoc Pennington <hp@redhat.com> | 2002-10-16 20:12:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-10-16 20:12:24 +0000 |
commit | 337812d51dd50ce7bae0cf5fd7abbab07eb856ec (patch) | |
tree | 6d8e4104a483ace10540be4d1938d7c7a60f8052 /src/session.c | |
parent | 17ac646f705d1de1b12b346658924dfe44e955c2 (diff) | |
download | metacity-337812d51dd50ce7bae0cf5fd7abbab07eb856ec.tar.gz |
workspaces are all per-screen now, fix accordingly
2002-10-16 Havoc Pennington <hp@redhat.com>
* src/workspace.c: workspaces are all per-screen now, fix
accordingly
* src/core.c: fix multihead workspace stuff
* src/keybindings.c: multihead-rama
* src/screen.c (meta_screen_show_desktop): new functions to
replace display equivalents
* src/display.c (meta_display_get_workspace_by_screen_index): get
rid of this
(meta_display_get_workspace_by_index): get rid of this
(event_callback): handle _NET_SHOWING_DESKTOP message per-screen
* src/screen.c (meta_screen_get_workspace_by_index): new function
* src/screen.h (struct _MetaScreen): move workspace list, and
showing_desktop flag, to be per-screen
* src/window.c (window_query_root_pointer): return whether pointer
is on window's screen
(meta_window_handle_mouse_grab_op_event): don't use coordinates
from other screens when updating a window operation on the current
screen. I can't believe no one has reported this...
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c index 44f12359..b3053e46 100644 --- a/src/session.c +++ b/src/session.c @@ -1008,7 +1008,7 @@ save_state (void) while (w != NULL) { int n; - n = meta_workspace_screen_index (w->data); + n = meta_workspace_index (w->data); fprintf (outfile, " <workspace index=\"%d\"/>\n", n); |