mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: fix build issue caused by recent X11 changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
ee20ecfac8
commit
496090d3fa
1 changed files with 1 additions and 1 deletions
|
@ -4270,7 +4270,7 @@ void NETWinInfo::update(const unsigned long dirty_props[]) {
|
||||||
if (XGetWindowProperty(p->display, p->window, kde_net_wm_block_compositing, 0l,
|
if (XGetWindowProperty(p->display, p->window, kde_net_wm_block_compositing, 0l,
|
||||||
1, False, XA_STRING, &type_ret,
|
1, False, XA_STRING, &type_ret,
|
||||||
&format_ret, &nitems_ret, &unused, &data_ret) == Success) {
|
&format_ret, &nitems_ret, &unused, &data_ret) == Success) {
|
||||||
p->blockCompositing = (data_ret != None);
|
p->blockCompositing = (data_ret != NULL);
|
||||||
if (data_ret) // stupid question to everyone - since the result is "Success", is this check required?
|
if (data_ret) // stupid question to everyone - since the result is "Success", is this check required?
|
||||||
XFree(data_ret);
|
XFree(data_ret);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue