summaryrefslogtreecommitdiffstats
path: root/src/object/sp-namedview.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace IS_NAN with std::isnan (exists since C++11)Patrick Storz2019-04-021-3/+3
|
* Merge in Rescue code for restoring last used window geometry MR !534Martin Owens2019-03-061-11/+32
|\
| * Fix query for monitor dimensionsPatrick Storz2019-02-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The call to Gdk::Display::get_monitor_at_window() in Inkscape::UI::get_monitor_geometry_at_window() requires the underlying GdkWindow to be fully initialized. This is achieved by calling "realize()" before attempting to read that information. Previously we used to show the window first (which implies realizing it) which worked around the issue. However it required us to hide and show it once again later if we wanted to move it in order for the window manager's routines to sanitize the position to kick in.
| * Rescue code for restoring last used window geometryPatrick Storz2019-02-201-7/+32
| | | | | | | | | | | | | | | | | | It was accidentally dropped in 8b1840f9507f10911f63fc00b9885354ead99d53 Also show window *after* setting position/size. This gives the window manager the chance to move an off-screen window back into the visible desktop bounds (e.g. after a monitor was disconnected).
* | Enable global snapping preference by defaultPatrick Storz2019-03-031-1/+1
|/ | | | | | | Ensures consistent behavior with previous versions, i.e. before the switch was introduced in d69b5fe84fd438a218e6198af585f8532f0d8e70. Try to improve help string.
* modernize loopsMarc Jeanmougin2019-01-021-10/+10
|
* Prevent reverting a drawing from closing Inkscape when only one window is open.Tavmjong Bah2019-01-021-2/+4
|
* Clarify licensesMax Gaukler2018-11-081-1/+2
| | | | | | - add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
* SPAttributeEnum typed function argumentsThomas Holder2018-10-061-1/+1
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-011-1/+1
| | | | | | | | The former is guaranteed to be set for any compiler targeting win32, the latter is implementation dependent (but works for gcc) See also http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
* Add preference for default global snapping and make it falseMartin Owens2018-09-271-1/+3
|
* Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot2018-06-181-2/+1
| | | | | This replaces empty constructors and destructors with the default keyword.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-38/+38
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Add global guide controls to guides panelGeoff Lankow2018-05-041-0/+7
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-0/+1188
A lot of header clean-up.