[gtk+/client-side-decorations: 43/50] only update mouse cursor to non-arrow if window is resizable
- From: Cody Russell <bratsche src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-decorations: 43/50] only update mouse cursor to non-arrow if window is resizable
- Date: Wed, 8 Jul 2009 15:31:46 +0000 (UTC)
commit 1e7a2055f1f1776cfc1fc37061b3786d3e56294a
Author: Cody Russell <crussell canonical com>
Date: Sat Jul 4 23:31:26 2009 +0100
only update mouse cursor to non-arrow if window is resizable
gtk/gtkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 90c0513..1add24f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5694,7 +5694,8 @@ update_cursor_at_position (GtkWidget *widget, gint x, gint y)
if (region == GTK_WINDOW_REGION_TITLE ||
region == GTK_WINDOW_REGION_INNER ||
- (state & GDK_WINDOW_STATE_MAXIMIZED))
+ (state & GDK_WINDOW_STATE_MAXIMIZED) ||
+ !GTK_WINDOW (widget)->allow_grow)
{
cursor_type = GDK_ARROW;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]