]> Pileus Git - ~andy/gtk/commit
Clamp max window width/height to 32767, not 32768 since we have to be able
authorOwen Taylor <otaylor@redhat.com>
Mon, 5 Nov 2001 15:56:50 +0000 (15:56 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 5 Nov 2001 15:56:50 +0000 (15:56 +0000)
commit8a31888a046a56fb05f7b409537122d72e671ff7
treef86fb00937dabbd074500f96ce30e4ffd8d9ae0f
parent064ed1e4a371a27c3e27c5934818d7a83d1cb828
Clamp max window width/height to 32767, not 32768 since we have to be able

Mon Nov  5 10:01:49 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position):
Clamp max window width/height to 32767, not 32768 since
we have to be able to deal with a dx/y of -32768 without
getting a width of 65536 when guffaw scrolling.

* gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll()
for the guffaw scrolling case, fixing some problems with
copy-area case as well. Fix BadValue bug with moving windows
by large amounts.

* gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update
clip in window structue before calling gdk_window_invalidate_region
since that trims new invalidations to the window's visible
region.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities):
Really set the static window gravity on the children, not
repeatedly on the window.

* gtk/testgtk.c: Add a torture test for big windows and
gdk_window_scroll().
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkwindow-x11.c
tests/testgtk.c