| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |/
|
|
|
|
|
| |
Ensures consistent behavior with previous versions, i.e. before the
switch was introduced in d69b5fe84fd438a218e6198af585f8532f0d8e70.
Try to improve help string.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
| |
This replaces empty constructors and destructors with the default
keyword.
|
| |
|
|
|
| |
This replaces all NULL or 0 with nullptr when assigned to or returned as
a pointer.
|
| | |
|
|
|
A lot of header clean-up.
|