summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-10-16 20:12:24 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-10-16 20:12:24 +0000
commit337812d51dd50ce7bae0cf5fd7abbab07eb856ec (patch)
tree6d8e4104a483ace10540be4d1938d7c7a60f8052 /src/run-metacity.sh
parent17ac646f705d1de1b12b346658924dfe44e955c2 (diff)
downloadmetacity-337812d51dd50ce7bae0cf5fd7abbab07eb856ec.tar.gz
metacity-337812d51dd50ce7bae0cf5fd7abbab07eb856ec.tar.bz2
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/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index 4d885df..a1fd82b 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -56,7 +56,9 @@ if test -z "$ONLY_WM"; then
echo "Launching clients"
if test -n "$TEST_CLIENT"; then
- DISPLAY=$CLIENT_DISPLAY $TEST_CLIENT &
+ for I in `seq 0 $SCREENS`; do
+ DISPLAY=$CLIENT_DISPLAY.$I $TEST_CLIENT &
+ done
fi
if test $CLIENTS != 0; then
@@ -79,7 +81,9 @@ if test -z "$ONLY_WM"; then
usleep 50000
- DISPLAY=$CLIENT_DISPLAY xsetroot -solid royalblue3
+ for I in `seq 0 $SCREENS`; do
+ DISPLAY=$CLIENT_DISPLAY.$I xsetroot -solid royalblue3
+ done
fi
if test -z "$ONLY_SETUP"; then