summaryrefslogtreecommitdiff
path: root/libview/ev-view-cursor.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-03-21 21:03:17 +0100
committerraveit65 <[email protected]>2018-03-22 21:24:30 +0100
commit1d90b700c7bf5036e9f1e7ddd0adb09bd39467ce (patch)
tree564d016e3cae8c41720779814bd6eb78d9c10624 /libview/ev-view-cursor.h
parent1b1f2c58617b72efb9aad7ebc98fe390138d733f (diff)
downloadatril-1d90b700c7bf5036e9f1e7ddd0adb09bd39467ce.tar.bz2
atril-1d90b700c7bf5036e9f1e7ddd0adb09bd39467ce.tar.xz
libview: use css to draw the background of presentations
With the recent changes in gtk+, widgets have to draw themselves, causing the current use of gdk_window_set_background_rgba to fail. https://bugzilla.gnome.org/show_bug.cgi?id=765557 view: Redraw ev-view-presentation when setting normal and black mode. The black and normal mode are the same from the CSS point of view. The difference is that in the draw function the page is not drawn in black mode. Hence, we need to explicitly queue a redraw in these cases. Since setting the white mode add a CSS class, this queues the redraw for us. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=772390. origin commits: https://git.gnome.org/browse/evince/commit/?id=2b352b3 https://git.gnome.org/browse/evince/commit/?id=b3f49f4 Fixes https://github.com/mate-desktop/atril/issues/232
Diffstat (limited to 'libview/ev-view-cursor.h')
0 files changed, 0 insertions, 0 deletions