Merge pull request #328 from pikers/windows_tiling_fix
fix windows snap problem by removing maximum window sizeflexxin
commit
4ddf04f68b
|
@ -287,7 +287,6 @@ class MainWindow(QtGui.QMainWindow):
|
||||||
app = QtGui.QApplication.instance()
|
app = QtGui.QApplication.instance()
|
||||||
geo = self.current_screen().geometry()
|
geo = self.current_screen().geometry()
|
||||||
h, w = geo.height(), geo.width()
|
h, w = geo.height(), geo.width()
|
||||||
self.setMaximumSize(w, h)
|
|
||||||
# use approx 1/3 of the area of the screen by default
|
# use approx 1/3 of the area of the screen by default
|
||||||
self._size = round(w * .666), round(h * .666)
|
self._size = round(w * .666), round(h * .666)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue