forked from AuroraMiddleware/gtk
Fix root window size changes
This commit is contained in:
parent
4e9aa186f3
commit
862e96f9bf
@ -1,4 +1,10 @@
|
||||
2006-06-26 Matthias Clasen <mclasen@redhat.com>
|
||||
2006-06-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the
|
||||
size of the drawable for the root window when the screen size
|
||||
changes. (#346102, Sven Herzberg)
|
||||
|
||||
2006-06-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
|
@ -1,4 +1,10 @@
|
||||
2006-06-26 Matthias Clasen <mclasen@redhat.com>
|
||||
2006-06-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the
|
||||
size of the drawable for the root window when the screen size
|
||||
changes. (#346102, Sven Herzberg)
|
||||
|
||||
2006-06-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
|
@ -1819,7 +1819,13 @@ gdk_event_translate (GdkDisplay *display,
|
||||
? " (discarding substructure)"
|
||||
: ""));
|
||||
if (window && GDK_WINDOW_TYPE (window) == GDK_WINDOW_ROOT)
|
||||
_gdk_x11_screen_size_changed (screen, xevent);
|
||||
{
|
||||
window_impl->width = xevent->xconfigure.width;
|
||||
window_impl->height = xevent->xconfigure.height;
|
||||
|
||||
_gdk_x11_drawable_update_size (window_private->impl);
|
||||
_gdk_x11_screen_size_changed (screen, xevent);
|
||||
}
|
||||
|
||||
if (window &&
|
||||
xevent->xconfigure.event == xevent->xconfigure.window &&
|
||||
|
Loading…
Reference in New Issue
Block a user