Jonas Ådahl
4b667d1e09
Rename MetaCursorReference to MetaCursorSprite
...
It isn't really a reference to a MetaCursor enum, but a reference
counted cursor sprite, and enum value.
https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-28 09:52:30 +08:00
Jonas Ådahl
975feb9202
MetaCursorRenderer: Use G_DECLARE_DERIVABLE_TYPE to declare the type
...
https://bugzilla.gnome.org/show_bug.cgi?id=744932
2015-08-19 16:43:44 +08:00
Carlos Garnacho
74ca936a00
backend: Add meta_cursor_renderer_force_update()
...
There will be times where additional updates will be needed, such
as animated cursors. We should update the texture and redraw in
that case.
https://bugzilla.gnome.org/show_bug.cgi?id=752342
2015-07-20 22:06:44 +02:00
Ting-Wei Lan
aeef98fd19
Add a missing #ifdef and remove a left-over include to make gbm optional
...
https://bugzilla.gnome.org/show_bug.cgi?id=741829
2014-12-21 17:44:12 +08:00
Jasper St. Pierre
4c08d9a53b
configure: Don't conditionalize gbm
...
Let's just say it's required for now.
2014-08-27 12:05:00 -04:00
Jasper St. Pierre
9063e4568c
configure: Conditionalize libinput and gbm too
2014-08-27 09:57:43 -04:00
Jasper St. Pierre
3a0de6a4f1
cursor: Correct switching between fallback and backend cursors
...
When switching from the stage cursor to the native cursor, we
forgot to repaint the stage to get rid of the old cursor. Fix
this by having the abstract cursor renderer class track whether
we're using the backend, rather than doing chain-up shenanigans.
2014-05-17 13:27:15 -04:00
Jasper St. Pierre
dd440e64da
backends: Add a native cursor renderer
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
91784d87b6
Move the painting of the cursor on the stage out of the cursor renderer
...
This logic is now well-contained the stage. This is the start of us
moving to backend-specific cursor renderers.
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
4ea9a28eee
cursor-renderer: Remove the MetaScreen
...
It's unused.
2014-04-22 16:56:01 -04:00
Jasper St. Pierre
d189ddcc86
Split out the code that renders the code into a MetaCursorRenderer
...
Right now, this is the same exact same mess it's always been, but
it will be fixed up soon with backend-specific renderers.
2014-04-21 20:25:20 -04:00