gnome-shell/src/st
Dan Winship 4f1f226828 StButton: fix hover and grab tracking
Use StWidget:track-hover rather than doing it ourselves. Don't assume
that hover is always TRUE after an enter_event or FALSE after a
leave_event, since we have a pointer grab and will be getting other
actors' events.

Don't ungrab the pointer when it leaves the button, since that
destroys the whole point of getting a grab in the first place.

Only consider the button to have been clicked when it has both grab
(meaning the mouse was pressed over the button) and hover (meaning the
mouse was released over the button).

Also remove the virtual pressed/released methods, which weren't being
used anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=633853
2010-11-08 13:06:41 -05:00
..
st-adjustment.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-adjustment.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-bin.c St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-bin.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-border-image.c introspection: Fix annotations 2010-09-15 03:02:26 +02:00
st-border-image.h Notice style transitions that don't change how StThemeNode paints 2010-08-30 13:40:12 -04:00
st-box-layout-child.c Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-box-layout-child.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-box-layout.c StThemeNode: simplify use of get_color/get_double/get_length 2010-10-21 15:02:33 -04:00
st-box-layout.h Move shared container methods from st-private to a common base class 2010-05-10 19:00:07 +02:00
st-button.c StButton: fix hover and grab tracking 2010-11-08 13:06:41 -05:00
st-button.h StButton: fix hover and grab tracking 2010-11-08 13:06:41 -05:00
st-clickable.c [St] Remove _st_actor_contains() 2010-08-10 15:03:13 +02:00
st-clickable.h Import ShellButtonBox as StClickable 2009-11-23 14:33:48 -05:00
st-clipboard.c introspection: Build with --warn-all --warn-error 2010-09-07 13:07:52 -04:00
st-clipboard.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-container.c St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-container.h St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-drawing-area.c st-drawing-area: Avoid unnecessary repaints 2010-10-15 12:31:34 +02:00
st-drawing-area.h Rework StDrawingArea not to use ClutterCairoTexture 2010-03-11 15:08:48 -05:00
st-entry.c St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-entry.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-enum-types.c.in Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-enum-types.h.in Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-focus-manager.c St: add StFocusManager, to handle keyboard navigation 2010-10-29 08:38:05 -04:00
st-focus-manager.h St: add StFocusManager, to handle keyboard navigation 2010-10-29 08:38:05 -04:00
st-group.c [StGroup] Respect CSS sizing in size requests 2010-05-25 23:03:14 +02:00
st-group.h Add StGroup container 2010-05-10 19:59:28 +02:00
st-im-text.c Fix build with recent gtk3 2010-09-09 18:34:09 +04:00
st-im-text.h Use GtkIMContext instead of ClutterIMContext 2009-10-06 14:48:32 -04:00
st-label.c [StLabel] Implement text-shadow property 2010-09-02 21:49:59 +02:00
st-label.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-marshal.list Import Mx core as ST 2009-10-01 14:41:16 -04:00
st-overflow-box.c St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-overflow-box.h Move shared container methods from st-private to a common base class 2010-05-10 19:00:07 +02:00
st-private.c st-theme-node-drawing: Don't create lots of one-shot materials 2010-10-28 20:02:41 +01:00
st-private.h st-theme-node-drawing: Don't create lots of one-shot materials 2010-10-28 20:02:41 +01:00
st-scroll-bar.c StThemeNode: simplify use of get_color/get_double/get_length 2010-10-21 15:02:33 -04:00
st-scroll-bar.h change parent class of StScrollBar from StBin to StWidget 2010-09-10 05:56:07 +04:00
st-scroll-view.c remove scrollbar-[width/height] 2010-09-10 05:57:36 +04:00
st-scroll-view.h Add top and bottom shadows to app browser 2010-02-23 01:12:13 +03:00
st-scrollable.c Simplify handling of adjustments 2010-03-11 15:08:48 -05:00
st-scrollable.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-shadow.c [StShadow] Add reference counting 2010-09-02 21:49:59 +02:00
st-shadow.h [StShadow] Add reference counting 2010-09-02 21:49:59 +02:00
st-subtexture.c Support and require Clutter 1.2 2010-03-11 15:08:48 -05:00
st-subtexture.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-table-child.c St: minor gtk-doc fixage (%NULL, %TRUE, %FALSE, not #) 2010-03-23 19:56:10 -04:00
st-table-child.h [StTable] fix x-align/y-align properties to be StAlign, not double 2010-02-16 14:06:39 -05:00
st-table-private.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
st-table.c StThemeNode: simplify use of get_color/get_double/get_length 2010-10-21 15:02:33 -04:00
st-table.h Move shared container methods from st-private to a common base class 2010-05-10 19:00:07 +02:00
st-texture-cache.c Add symbolic icons to TextureCache's load_icon_name() 2010-09-24 10:57:27 -04:00
st-texture-cache.h Add symbolic icons to TextureCache's load_icon_name() 2010-09-24 10:57:27 -04:00
st-theme-context.c Pick up system settings for font rendering 2010-05-04 01:08:20 +02:00
st-theme-context.h Pick up system settings for font rendering 2010-05-04 01:08:20 +02:00
st-theme-node-drawing.c StThemeNode: Fix the confusion between border and background 2010-10-28 21:51:13 +01:00
st-theme-node-private.h StThemeNode: Fix the confusion between border and background 2010-10-28 21:51:13 +01:00
st-theme-node-transition.c Revert "StThemeNodeTransition: work around Cogl bug" 2010-09-24 17:31:41 +02:00
st-theme-node-transition.h [St] Add StThemeNodeTransition 2010-06-08 17:55:50 +02:00
st-theme-node.c StThemeNode: simplify use of get_color/get_double/get_length 2010-10-21 15:02:33 -04:00
st-theme-node.h StThemeNode: simplify use of get_color/get_double/get_length 2010-10-21 15:02:33 -04:00
st-theme-private.h Work around libcroco < 0.6.2 parsing bug for 'rgba' 2009-10-05 16:25:38 -04:00
st-theme.c st-theme: ref items in custom stylesheets list 2010-10-18 15:52:38 -04:00
st-theme.h Add functions to dynamically load/unload stylesheets 2009-12-01 15:00:56 -05:00
st-tooltip.c Move Tweener.slowDownFactor into St 2010-06-21 16:19:25 +02:00
st-tooltip.h Add emacs mode-lines to ST sources 2009-10-01 14:41:18 -04:00
st-types.h [StScrollView] Add support for GtkPolicyType for scrollbars 2010-02-19 15:37:40 -05:00
st-widget.c St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
st-widget.h St: add keyboard focus navigation support 2010-10-29 08:38:05 -04:00
test-theme.c [StWidget] add list-like methods for style_class and pseudo_class 2010-03-24 09:40:37 -04:00
test-theme.css [StWidget] add list-like methods for style_class and pseudo_class 2010-03-24 09:40:37 -04:00