The coordinates of the cairo_t in GtkWidget::draw() is always based on the origin of the widget, i.e. the allocation, even for drawing on subwindows or whatnot. So, we can delete all the user_to_device() code. This also fixed input when the new Gtk+ drawing model changes, as that will change the device coordinates reported (but not the user coordinates). |
||
---|---|---|
.. | ||
icons | ||
cc-display-panel.c | ||
cc-display-panel.h | ||
cc-rr-labeler.c | ||
cc-rr-labeler.h | ||
display-capplet.ui | ||
display.gresource.xml | ||
gnome-display-panel.desktop.in.in | ||
Makefile.am | ||
scrollarea.c | ||
scrollarea.h | ||
TODO |