mirror of
https://github.com/brl/mutter.git
synced 2025-08-04 23:54:40 +00:00
Add multi-screen support. Also add patch by Erwann Chenede to make
2002-05-08 Anders Carlsson <andersca@gnu.org> * configure.in: * src/display.c: (meta_display_open): * src/fixedtip.c: (meta_fixed_tip_show): * src/fixedtip.h: * src/frames.c: (meta_frames_new), (show_tip_now): * src/frames.h: * src/menu.c: (meta_window_menu_new): * src/ui.c: (meta_ui_new): Add multi-screen support. Also add patch by Erwann Chenede to make tooltips appear on the correct screen.
This commit is contained in:

committed by
Anders Carlsson

parent
3f7203a3a4
commit
0494b044d5
4
src/ui.c
4
src/ui.c
@@ -141,8 +141,8 @@ meta_ui_new (Display *xdisplay,
|
||||
ui->xdisplay = xdisplay;
|
||||
ui->xscreen = screen;
|
||||
|
||||
/* FIXME when gtk has multihead use it here */
|
||||
ui->frames = meta_frames_new ();
|
||||
g_assert (xdisplay == gdk_display);
|
||||
ui->frames = meta_frames_new (XScreenNumberOfScreen (screen));
|
||||
gtk_widget_realize (GTK_WIDGET (ui->frames));
|
||||
|
||||
return ui;
|
||||
|
Reference in New Issue
Block a user