diff options
author | lukefromdc <[email protected]> | 2016-03-16 16:46:23 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2016-03-16 16:46:23 -0400 |
commit | 92607629fc6b2503f28e79dcc73e3ac9ed72bffa (patch) | |
tree | a8a752075b12780588c70743eb4f3815a51a22ea /libcaja-private/caja-file-utilities.h | |
parent | c988bad5f4604b67e20c880ca6bef57aeed13304 (diff) | |
download | caja-92607629fc6b2503f28e79dcc73e3ac9ed72bffa.tar.bz2 caja-92607629fc6b2503f28e79dcc73e3ac9ed72bffa.tar.xz |
GTK 3.20-fix wrong desktop size right
Reset default size of desktop window to -1 in GTK 3.19/20 only. The combination of a non-resizable
window with a default size is what causes the desktop to open wrong size.
based on https://github.com/GNOME/nautilus/commit/cf79068dc70c87e963e217e2e8ae149ee5ed1872
"desktop-window: avoid wrong size"
"gtk+ recently changed and unresizable windows now take into account
the default size set. We set the default size for normal resizable
windows in nautilus."
"However the desktop window is a no resizable window. What happens now
when setting a default size is that that size is used instead of the
widget request size, since window sizing now takes precedence over
widget sizing."
"To fix it, set the default size to -1 to override what the nautilus
window does by default, so we can avoid this misbehaviour."
Diffstat (limited to 'libcaja-private/caja-file-utilities.h')
0 files changed, 0 insertions, 0 deletions