Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3bb49aaf
Commit
3bb49aaf
authored
Apr 20, 2010
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gtkutils.c (xg_event_is_for_scrollbar): Check if grabbed widget is a scrollbar.
parent
1f2f0b28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/gtkutil.c
src/gtkutil.c
+2
-2
No files found.
src/ChangeLog
View file @
3bb49aaf
2010-04-20 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_event_is_for_scrollbar): Check if grabbed
widget is a scrollbar.
2010-04-20 Kenichi Handa <handa@m17n.org>
2010-04-20 Kenichi Handa <handa@m17n.org>
* charset.c (char_charset): Consider Vcharset_non_preferred_head
* charset.c (char_charset): Consider Vcharset_non_preferred_head
...
...
src/gtkutil.c
View file @
3bb49aaf
...
@@ -3371,8 +3371,8 @@ xg_event_is_for_scrollbar (f, event)
...
@@ -3371,8 +3371,8 @@ xg_event_is_for_scrollbar (f, event)
||
event
->
type
==
MotionNotify
))
||
event
->
type
==
MotionNotify
))
{
{
/* If we are releasing or moving the scroll bar, it has the grab. */
/* If we are releasing or moving the scroll bar, it has the grab. */
retval
=
gtk_grab_get_current
()
!=
0
GtkWidget
*
w
=
gtk_grab_get_current
()
;
&&
gtk_grab_get_current
()
!=
f
->
output_data
.
x
->
edit_widget
;
retval
=
w
!=
0
&&
GTK_IS_SCROLLBAR
(
w
)
;
}
}
return
retval
;
return
retval
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment