summaryrefslogtreecommitdiff
path: root/eel/eel-canvas-util.h
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-03-16 16:46:23 -0400
committerlukefromdc <[email protected]>2016-03-16 16:46:23 -0400
commit92607629fc6b2503f28e79dcc73e3ac9ed72bffa (patch)
treea8a752075b12780588c70743eb4f3815a51a22ea /eel/eel-canvas-util.h
parentc988bad5f4604b67e20c880ca6bef57aeed13304 (diff)
downloadcaja-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 'eel/eel-canvas-util.h')
0 files changed, 0 insertions, 0 deletions