Merge branch 'Plasma/5.16'
This commit is contained in:
commit
3e428d3388
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ Shadow *Shadow::createShadowFromWayland(Toplevel *toplevel)
|
||||||
QVector< uint32_t > Shadow::readX11ShadowProperty(xcb_window_t id)
|
QVector< uint32_t > Shadow::readX11ShadowProperty(xcb_window_t id)
|
||||||
{
|
{
|
||||||
QVector<uint32_t> ret;
|
QVector<uint32_t> ret;
|
||||||
if (id != XCB_WINDOW) {
|
if (id != XCB_WINDOW_NONE) {
|
||||||
Xcb::Property property(false, id, atoms->kde_net_wm_shadow, XCB_ATOM_CARDINAL, 0, 12);
|
Xcb::Property property(false, id, atoms->kde_net_wm_shadow, XCB_ATOM_CARDINAL, 0, 12);
|
||||||
uint32_t *shadow = property.value<uint32_t*>();
|
uint32_t *shadow = property.value<uint32_t*>();
|
||||||
if (shadow) {
|
if (shadow) {
|
||||||
|
|
Loading…
Reference in a new issue