forked from AuroraMiddleware/gtk
fix build without xfixes
This commit is contained in:
parent
4ce475bd07
commit
059292a765
@ -1,3 +1,8 @@
|
||||
2006-04-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
|
||||
Use XFixes only if it is available. (#339839, Marko Anastasov)
|
||||
|
||||
2006-04-26 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-04-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
|
||||
Use XFixes only if it is available. (#339839, Marko Anastasov)
|
||||
|
||||
2006-04-26 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* gtk/gtkdialog.c (gtk_dialog_close): Don't make this conditional
|
||||
|
@ -770,6 +770,7 @@ void
|
||||
_gdk_x11_screen_process_owner_change (GdkScreen *screen,
|
||||
XEvent *event)
|
||||
{
|
||||
#ifdef HAVE_XFIXES
|
||||
XFixesSelectionNotifyEvent *selection_event = (XFixesSelectionNotifyEvent *)event;
|
||||
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
|
||||
Atom xcm_selection_atom = gdk_x11_atom_to_xatom_for_display (screen_x11->display,
|
||||
@ -786,6 +787,7 @@ _gdk_x11_screen_process_owner_change (GdkScreen *screen,
|
||||
g_signal_emit_by_name (screen, "composited_changed");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user