Rui Matos
dd05918a40
display: Fix deprecated API usage
...
https://bugzilla.gnome.org/show_bug.cgi?id=740986
2014-12-05 16:13:29 +01:00
Daniel Mustieles
2c5951819d
Updated FSF's address
2014-01-29 11:27:38 +01:00
Alexander Larsson
79371feec6
display: Fix input for new gtk+ drawing model
...
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).
2013-05-07 16:06:47 +02:00
Bastien Nocera
2a6b12d540
display: Remove 2 unused variables
2012-12-11 17:09:05 +01:00
Bastien Nocera
c6ee7e0b95
display: Remove custom marshallers
2012-12-11 17:09:05 +01:00
Benjamin Berg
a61f0654b9
display: Fix coordinate calculations
...
https://bugzilla.gnome.org/show_bug.cgi?id=681475
2012-09-16 17:09:45 -04:00
Benjamin Berg
c1857b0f9c
display: Fix mouse events not working in preview
...
We need to save event areas with the correct transformation.
The following things need to be take into account:
* Current cairo matrix (translations)
* Widget allocation because it is painting on the parents widgets window
* Cairo device offset, which GTK+ sets (but not for a full window redraw)
https://bugzilla.gnome.org/show_bug.cgi?id=681475
2012-09-06 14:16:27 +01:00
Bastien Nocera
f3e41a5ec3
display: Add vscroll/hscroll policy properties
...
To kill the startup critical warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=648620
2011-04-26 13:17:31 +01:00
Kjartan Maraas
e24394daff
Remove unused variables
2011-03-02 20:06:19 +01:00
Thomas Wood
2c2b9d9fde
display: don't use -1 as the minimum width
...
A valid minimum width must be more than or equal to zero.
2010-12-21 14:25:15 +00:00
Bastien Nocera
affc2ca923
display: Fix run-time warning
...
If the viewport changed before we're realised, don't care too much.
2010-11-29 14:43:07 +00:00
William Jon McCann
7e5aecdf98
display: allow dragging top bar to set primary display
2010-11-20 20:38:04 -05:00
William Jon McCann
88df7df3a9
display: use consistent indentation and spacing
2010-11-20 18:30:40 -05:00
William Jon McCann
e9804b5adc
display: Just say no to tabs and trailing whitespace
2010-11-20 18:28:55 -05:00
William Jon McCann
e3367c92f0
Don't assume that get_preferred_* arguments can't be NULL
...
Fixes a crash introduced by f5f5aac5c0
2010-11-20 13:33:19 -05:00
Matthias Clasen
f5f5aac5c0
Prepare for size_request removal in GTK3
...
https://bugzilla.gnome.org/show_bug.cgi?id=633321
2010-11-08 14:07:47 +01:00
Bastien Nocera
a5f8ef0dc8
display: Port FooScrollArea to GtkScrollable iface
2010-10-22 14:42:23 +01:00
William Jon McCann
81065b9b74
Update for new GTK3 drawing APIs
...
https://bugzilla.gnome.org/show_bug.cgi?id=631051
2010-10-01 11:04:43 -04:00
Benjamin Otte
c1b95ff43f
display: Copy background setter code from mutter
...
This code uses the new GDK API to set the window background.
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-21 04:07:22 +02:00
Benjamin Otte
7ea3249a4a
Replace Gdk drawing with Cairo
...
https://bugzilla.gnome.org/show_bug.cgi?id=626870
2010-08-20 21:38:00 +02:00
Thomas Wood
59920f88a0
display: replace the use of GdkRegion with cairo_region_t
...
GdkRegion has been removed in Gtk+ 3 and replaced with cairo_region_t.
2010-07-05 17:57:24 +01:00
Javier Jardón
a5b092326d
Use single GDK includes
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=615292
2010-07-05 15:03:32 +01:00
Jonh Wendell
91c5e26bcf
Make build works with GSEAL
2010-06-30 14:01:39 +01:00
Thomas Wood
8836316161
display: convert display capplet to a settings panel
...
Add CcPanel and module implmenetation for the display settings.
2010-06-07 17:05:02 +01:00