Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
63def6b6
Commit
63def6b6
authored
Jun 23, 2012
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xmenu.c (x_menu_wait_for_event): Adapt GTK3 to new xg_select.
parent
388cdec0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
src/ChangeLog
src/ChangeLog
+4
-0
src/xmenu.c
src/xmenu.c
+4
-5
No files found.
src/ChangeLog
View file @
63def6b6
2012-06-23 Chong Yidong <cyd@gnu.org>
* xmenu.c (x_menu_wait_for_event): Adapt GTK3 to new xg_select.
2012-06-23 Eli Zaretskii <eliz@gnu.org>
Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
...
...
src/xmenu.c
View file @
63def6b6
...
...
@@ -411,11 +411,10 @@ x_menu_wait_for_event (void *data)
ntp
=
&
next_time
;
#ifdef HAVE_GTK3
/* Gtk3 have arrows on menus when they don't fit. When the pointer is
over an arrow, a timeout scrolls it a bit. Use xg_select so that
timeout gets triggered. */
xg_select
(
n
+
1
,
&
read_fds
,
NULL
,
NULL
,
ntp
);
/* Gtk3 have arrows on menus when they don't fit. When the
pointer is over an arrow, a timeout scrolls it a bit. Use
xg_select so that timeout gets triggered. */
xg_select
(
n
+
1
,
&
read_fds
,
NULL
,
NULL
,
ntp
,
NULL
);
#else
pselect
(
n
+
1
,
&
read_fds
,
NULL
,
NULL
,
ntp
,
NULL
);
#endif
...
...
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