Bug 2154201 - fbb: Attempts to call obsolete _XmGrabTheFocus function
Summary: fbb: Attempts to call obsolete _XmGrabTheFocus function
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fbb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2022-12-16 09:38 UTC by Florian Weimer
Modified: 2022-12-16 10:58 UTC (History)
1 user (show)

Fixed In Version: fbb-7.0.11-1.fc38.3
Clone Of:
Environment:
Last Closed: 2022-12-16 10:58:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2022-12-16 09:38:40 UTC
The function is an internal Motif function provided for backwards compatibility with historic binaries. Newly built applications are not supposed to call it. This presently works by accident because the Fedora GCC compiler accepts implicit function declarations (while printing a warning). Future compilers will reject that coal.

I'm going to push a change that just removes the call, under the assumption that that changing the focus is optional in this context.

Upstream has deprecated the X11 component, so I assume there is no interest there to fix this properly.


Note You need to log in before you can comment on or make changes to this bug.