mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
put in the HAVE_GTK_MULTIHEAD conditionals so we build with GTK 2.0
2003-01-05 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_apply_shapes): put in the HAVE_GTK_MULTIHEAD conditionals so we build with GTK 2.0
This commit is contained in:
parent
b799630ba5
commit
aad72e575d
@ -1,3 +1,8 @@
|
||||
2003-01-05 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/frames.c (meta_frames_apply_shapes): put in the
|
||||
HAVE_GTK_MULTIHEAD conditionals so we build with GTK 2.0
|
||||
|
||||
2003-01-05 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (meta_window_show): focus new windows even in
|
||||
|
@ -835,15 +835,21 @@ meta_frames_apply_shapes (MetaFrames *frames,
|
||||
Window shape_window;
|
||||
Window client_window;
|
||||
Region client_xregion;
|
||||
#ifdef HAVE_GTK_MULTIHEAD
|
||||
GdkScreen *screen;
|
||||
#endif
|
||||
int screen_number;
|
||||
|
||||
meta_topic (META_DEBUG_SHAPES,
|
||||
"Frame 0x%lx needs to incorporate client shape\n",
|
||||
frame->xwindow);
|
||||
|
||||
#ifdef HAVE_GTK_MULTIHEAD
|
||||
screen = gtk_widget_get_screen (GTK_WIDGET (frames));
|
||||
screen_number = gdk_x11_screen_get_screen_number (screen);
|
||||
#else
|
||||
screen_number = DefaultScreen (gdk_display);
|
||||
#endif
|
||||
|
||||
attrs.override_redirect = True;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user