d44b1bc68c
PR: 226389 Submitted by: mikael.urankar Approved by: maintainer timeout (2 weeks)
12 lines
496 B
C++
12 lines
496 B
C++
--- src/Ewmh.cc.orig 2018-02-17 12:06:58 UTC
|
|
+++ src/Ewmh.cc
|
|
@@ -914,7 +914,7 @@ void Ewmh::updateGeometry(BScreen &screen) {
|
|
* Window Manager.
|
|
*
|
|
*/
|
|
- long value[2] = {screen.width(), screen.height()};
|
|
+ long value[2] = {static_cast<long>(screen.width()), static_cast<long>(screen.height())};
|
|
screen.rootWindow().changeProperty(m_net->desktop_geometry,
|
|
XA_CARDINAL, 32,
|
|
PropModeReplace,
|