Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2a692ba4
Commit
2a692ba4
authored
Apr 30, 2001
by
Gerd Moellmann
Browse files
(xlwmenu_window_p): New function.
parent
22cd6fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
lwlib/xlwmenu.c
lwlib/xlwmenu.c
+17
-0
No files found.
lwlib/xlwmenu.c
View file @
2a692ba4
...
...
@@ -1195,6 +1195,23 @@ make_windows_if_needed (mw, n)
}
}
/* Value is non-zero if WINDOW is part of menu bar widget W. */
int
xlwmenu_window_p
(
w
,
window
)
Widget
w
;
Window
window
;
{
XlwMenuWidget
mw
=
(
XlwMenuWidget
)
w
;
int
i
;
for
(
i
=
0
;
i
<
mw
->
menu
.
windows_length
;
++
i
)
if
(
window
==
mw
->
menu
.
windows
[
i
].
window
)
break
;
return
i
<
mw
->
menu
.
windows_length
;
}
/* Make the window fit in the screen */
static
void
fit_to_screen
(
mw
,
ws
,
previous_ws
,
horizontal_p
)
...
...
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