mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
If you pass width or height == 0 to gdk_window_clear_area they should be
2000-11-29 Alexander Larsson <alexl@redhat.com> * gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area): If you pass width or height == 0 to gdk_window_clear_area they should be calculated from the window size.
This commit is contained in:
parent
57356cfe07
commit
92bc6d4175
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkwindow-fb.c (_gdk_windowing_window_clear_area):
|
||||
If you pass width or height == 0 to gdk_window_clear_area they
|
||||
should be calculated from the window size.
|
||||
|
||||
2000-11-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkinput-ps2.c (move_pointer): If there is
|
||||
|
@ -1012,6 +1012,12 @@ _gdk_windowing_window_clear_area (GdkWindow *window,
|
||||
|
||||
bgpm = GDK_WINDOW_P (window)->bg_pixmap;
|
||||
|
||||
if (width == 0)
|
||||
width = GDK_DRAWABLE_IMPL_FBDATA (window)->width - x;
|
||||
|
||||
if (height == 0)
|
||||
height = GDK_DRAWABLE_IMPL_FBDATA (window)->height - y;
|
||||
|
||||
#if 0
|
||||
for (relto = window; bgpm == GDK_PARENT_RELATIVE_BG && relto; relto = (GdkWindow *)GDK_WINDOW_P(relto)->parent)
|
||||
bgpm = GDK_WINDOW_P (relto)->bg_pixmap;
|
||||
|
Loading…
Reference in New Issue
Block a user