12 lines
491 B
Text
12 lines
491 B
Text
Index: src/Ewmh.cc
|
|
--- src/Ewmh.cc.orig
|
|
+++ 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,
|