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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
27e3b1a1
Commit
27e3b1a1
authored
Dec 07, 2000
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(xm_arm_callback): Fix last change.
parent
31446945
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
lwlib/lwlib-Xm.c
lwlib/lwlib-Xm.c
+12
-15
No files found.
lwlib/lwlib-Xm.c
View file @
27e3b1a1
...
...
@@ -265,26 +265,23 @@ xm_arm_callback (w, client_data, call_data)
widget_value
*
wv
=
(
widget_value
*
)
client_data
;
widget_instance
*
instance
;
/* During the pretest of 21.1, there was a case where this callback
was called with a null widget on hpux 10.2. I think that's
likely a bug in the Motif lib there. */
if
(
w
!=
None
)
/* Get the id of the menu bar or popup menu this widget is in. */
while
(
w
!=
None
)
{
/* Get the id of the menu bar or popup menu this widget is in. */
while
(
1
)
if
(
XmIsRowColumn
(
w
))
{
if
(
XmIsRowColumn
(
w
))
{
unsigned
char
type
=
0xff
;
XtVaGetValues
(
w
,
XmNrowColumnType
,
&
type
,
NULL
);
if
(
type
==
XmMENU_BAR
||
type
==
XmMENU_POPUP
)
break
;
}
unsigned
char
type
=
0xff
;
w
=
XtParent
(
w
);
XtVaGetValues
(
w
,
XmNrowColumnType
,
&
type
,
NULL
);
if
(
type
==
XmMENU_BAR
||
type
==
XmMENU_POPUP
)
break
;
}
w
=
XtParent
(
w
);
}
if
(
w
!=
None
)
{
instance
=
lw_get_widget_instance
(
w
);
if
(
instance
&&
instance
->
info
->
highlight_cb
)
{
...
...
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