summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 9901c2d69..d628d964d 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -185,8 +185,6 @@ sp_create_window(SPViewWidget *vw, gboolean editable)
if (w>0 && h>0) {
x = MIN(gdk_screen_width() - w, x);
y = MIN(gdk_screen_height() - h, y);
- }
- if (w>0 && h>0) {
desktop->setWindowSize(w, h);
}