Bug 36328 - XSetWMTitle attempts to modify the property
Summary: XSetWMTitle attempts to modify the property
Status: RESOLVED MOVED
Alias: None
Product: XStandards
Classification: Unclassified
Component: XLib (show other bugs)
Version: X11R6.6
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Jim Gettys
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-17 08:08 UTC by Christopher Yeleighton
Modified: 2019-02-21 10:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Yeleighton 2011-04-17 08:08:33 UTC
XSetWMTitle requires a pointer to a modifiable XTextProperty.  Data like XTextProperty are amenable to storing in ROM; the library specification requires the property to be copied first, for no reason.


At: section "Setting and Reading the WM_NAME Property"

Is: 
void XSetWMName(   *display,    
      w,    
      *text_prop);   
  Display *display;
Window w;
XTextProperty *text_prop;

Let:
void XSetWMName(   *display,    
      w,    
      *text_prop);   
  Display *display;
Window w;
XTextProperty const *text_prop;
Comment 1 GitLab Migration User 2019-02-21 10:29:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/87.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.