diff options
Diffstat (limited to 'src/dialogs/object-properties.cpp')
| -rw-r--r-- | src/dialogs/object-properties.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dialogs/object-properties.cpp b/src/dialogs/object-properties.cpp index f571c75eb..f4a40cd28 100644 --- a/src/dialogs/object-properties.cpp +++ b/src/dialogs/object-properties.cpp @@ -122,6 +122,10 @@ sp_object_properties_dialog (void) w = prefs_get_int_attribute (prefs_path, "w", 0); h = prefs_get_int_attribute (prefs_path, "h", 0); } + + if (x<0) x=0; + if (y<0) y=0; + if (x != 0 || y != 0) gtk_window_move ((GtkWindow *) dlg, x, y); else |
