[gtk+] Handle geometry change correctly



commit 45d6752a3cd5b6c4caaf6bb2b404d012a19ba63e
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 31 19:41:09 2009 -0400

    Handle geometry change correctly
    
    This makes sure that the button is properly prelighted when rotating it
    underneath the pointer by using keynav on the scale.

 demos/gtk-demo/offscreen_window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/offscreen_window.c b/demos/gtk-demo/offscreen_window.c
index b07db50..0295fe8 100644
--- a/demos/gtk-demo/offscreen_window.c
+++ b/demos/gtk-demo/offscreen_window.c
@@ -366,7 +366,7 @@ gtk_rotated_bin_set_angle (GtkRotatedBin *bin,
   bin->angle = angle;
   gtk_widget_queue_resize (GTK_WIDGET (bin));
 
-  /* TODO: Really needs to resent pointer events if over the rotated window */
+  gdk_window_geometry_changed (bin->offscreen_window);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]