[vlc-commits] skins2(x11): fix maximizing a window on Linux

Erwan Tulou git at videolan.org
Sun Sep 22 12:24:33 CEST 2019


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Sep 22 10:27:25 2019 +0200| [530f104f52943f5979bf8c9d5fa1e6030761ae21] | committer: Erwan Tulou

skins2(x11): fix maximizing a window on Linux

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=530f104f52943f5979bf8c9d5fa1e6030761ae21
---

 modules/gui/skins2/x11/x11_factory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/skins2/x11/x11_factory.cpp b/modules/gui/skins2/x11/x11_factory.cpp
index 1d1c2a812a..837db02bed 100644
--- a/modules/gui/skins2/x11/x11_factory.cpp
+++ b/modules/gui/skins2/x11/x11_factory.cpp
@@ -354,7 +354,7 @@ SkinsRect X11Factory::getWorkArea() const
         }
     }
     msg_Dbg( getIntf(),"WorkArea: %ix%i at +%i+%i", w, h, x, y );
-    return SkinsRect( x, y, w, h );
+    return SkinsRect( x, y, x + w, y + h );
 }
 
 



More information about the vlc-commits mailing list