From e8f92c8a476c35f76212ccaccbbb55901a49058e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Feb 2012 19:42:02 +0300 Subject: Add "no frame" option to hide window frame. Disabled by default. --- src/client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 5c9dfdaa1..6c93adbdf 100644 --- a/src/client.h +++ b/src/client.h @@ -258,8 +258,8 @@ public: static std::string getServerName() { return instance()->mServerName; } - static void resize(int width, int height) - { instance()->resizeVideo(width, height); } + static void resize(int width, int height, bool always = false) + { instance()->resizeVideo(width, height, always); } static void setGuiAlpha(float n); @@ -285,7 +285,7 @@ public: void writePacketLimits(std::string packetLimitsName); - void resizeVideo(int width, int height); + void resizeVideo(int width, int height, bool always); static bool limitPackets(int type); -- cgit v1.2.3-60-g2f50