Jasper St. Pierre
86368e7e07
backend: Add grab_device / ungrab_device
...
This makes sure that we take active grabs on the correct connection.
Passive grabs are still broken.
2014-04-23 12:15:12 -04:00
Jasper St. Pierre
f42184ded8
display: Pull the grab cursor from the cursor tracker
...
This might look silly, but just wait...
2014-04-23 12:15:12 -04:00
Jasper St. Pierre
98a1573bee
cursor: Save the original MetaCursor a cursor came from
...
So we can recreate it as a server-side cursor
2014-04-23 12:15:12 -04:00
Jasper St. Pierre
c6296aa17f
cursor: Make load_cursor_on_server public
2014-04-23 12:15:12 -04:00
Jasper St. Pierre
b501ca5a24
cursor: Remove cursor tracker from API
2014-04-23 12:15:11 -04:00
Jasper St. Pierre
10ac86b950
backend: Clean up slightly
2014-04-23 12:15:11 -04:00
Jasper St. Pierre
def097359c
cursor-renderer: Remove bogus assert
2014-04-23 10:24:26 -04:00
Jasper St. Pierre
6c743dad88
xrandr: Rewrite to be based on the X11 display connection
2014-04-23 10:24:26 -04:00
Jasper St. Pierre
274047c3f8
backend-native: Make sure to chain up to the parent post_init
2014-04-23 10:24:26 -04:00
Jasper St. Pierre
5752079cbb
launcher: Finish the rename
...
Not sure how I missed this one...
2014-04-22 18:25:22 -04:00
Jasper St. Pierre
7014dc5368
launcher: Rename methods a bit
2014-04-22 17:42:25 -04:00
Jasper St. Pierre
fdaeb0cf9c
launcher: Fix indentation
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
59415bf49f
launcher: Unconditionally set the FD
...
We only open weston-launch if we're in the native backend,
so we don't need to check here.
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
3c3b94921f
launcher: Move activate_session abstraction into the launcher code
...
login1 has a separate ActivateSession request, so put it here so
that we don't have to modify any backend code.
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
0d9fa24be4
launcher: Fix up includes
2014-04-22 17:42:13 -04:00
Jasper St. Pierre
9a98ec81d7
Rename meta-weston-launch to meta-launcher
...
We're going to replace this with a login1 implementation soon enough.
2014-04-22 17:41:48 -04:00
Jasper St. Pierre
d0142d6ab6
backend: Remove unnecessary include
2014-04-22 17:00:53 -04:00
Jasper St. Pierre
dd440e64da
backends: Add a native cursor renderer
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
a1ba480c8a
cursor-renderer: Rewrite HW cursors to be cleaner
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
93600d6166
cursor-renderer: Fix HW cursors
...
We need to make sure that we update the HW cursor if we disable
it for some reason.
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
33f3ca7fba
weston-launch: Go through the MetaBackend to force-update the cursor
2014-04-22 16:56:02 -04:00
Jasper St. Pierre
d27e267382
cursor: Retrieve the GBM device from the MetaBackend
...
Not the MetaCursorTracker.
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
e21677c782
cursor-renderer: Kill a warning
...
This can happen during early initialization. We should have a
better initialization plan.
2014-04-22 16:56:01 -04:00
Jasper St. Pierre
326740e00f
Move the cursor renderer to the backend
2014-04-22 16:56:01 -04:00
Jasper St. Pierre
eac6e9ed41
cursor-tracker: Improve symmetry between two paths
2014-04-22 16:56:01 -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
28666da6a1
backend-x11: Simplify XSync initialization handling a bit
2014-04-22 14:17:08 -04:00
Jasper St. Pierre
a17b86dfbe
native: Install our pointer constrainment hook after Clutter initializes
...
Otherwise, the evdev device manager won't be around.
2014-04-22 12:44:33 -04:00
Jasper St. Pierre
d9450c46b9
cursor: Always use names for cursors
...
Rather than sometimes using names and sometimes using glyphs.
2014-04-22 12:44:33 -04:00
Jasper St. Pierre
e80c37f857
cursor: Don't require an xdisplay to load cursors on the client
2014-04-22 12:44:33 -04:00
Jasper St. Pierre
ef44cc5a53
cursor-tracker: Have one global cursor tracker
...
Now that we have a global MetaScreen, we can simply have a global
MetaCursorTracker as well. Keep the get_for_screen() API around for
compatibility, though.
2014-04-22 12:44:33 -04:00
Jasper St. Pierre
ee812e3fe0
cursor-tracker: Split a simple method out
2014-04-22 12:44:27 -04:00
Jasper St. Pierre
3d091e514d
backend: Poll events from the host X11 server ourselves
...
I was accidentally pulling events from the Xwayland server under
nested for the idle monitor, which is wrong. Whoops.
2014-04-22 10:26:03 -04:00
Jasper St. Pierre
b6a80934d6
backend: Move pointer constrainment code to native backend
2014-04-21 21:05:23 -04:00
Jasper St. Pierre
75b5d15598
backend: Clarify comment
2014-04-21 21:05:23 -04:00
Jasper St. Pierre
c44b1d730d
backends: Move MonitorManager creation to MetaBackend as well
2014-04-21 20:25:21 -04:00
Jasper St. Pierre
48dc544bef
backends: Move most of the code from meta_backend_init into the subclasses
2014-04-21 20:25:21 -04:00
Jasper St. Pierre
31d744195d
backends: Build MetaBackend subclasses for each backend
2014-04-21 20:25:21 -04:00
Jasper St. Pierre
00ea9bf14b
backends: Start on an initial MetaBackend object
...
This isn't great so far -- all we did is put the idle monitors here
instead. We'll soon have separate backend subclasses for the two
backends.
2014-04-21 20:25:21 -04:00
Jasper St. Pierre
f3ee9be4cb
idle-monitor: Use the XSync idle monitor under X11 nested
2014-04-21 20:25:20 -04:00
Jasper St. Pierre
2d6bcf3885
monitor-manager: Remove debugging META_DEBUG_MULTIMONITOR hook
...
It's outdated and incorrect: META_TYPE_MONITOR_MANAGER is now an
abstract class.
2014-04-21 20:25:20 -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
Jasper St. Pierre
18770aaa63
cursor: Add an explicit getter for the gbm device
...
We want to move this to a new MetaCursorRenderer class.
2014-04-21 20:25:20 -04:00
Jasper St. Pierre
2748661f63
pointer: Remove our own position tracking
...
Use the coords inside ClutterInputDevice instead.
2014-04-18 12:26:31 -04:00
Jasper St. Pierre
ae0853ed86
seat: Move cursor storage to MetaWaylandPointer
2014-04-17 19:15:52 -04:00
Jasper St. Pierre
57cc68096b
cursor-tracker: Kill unused variable
2014-04-17 16:23:37 -04:00
Jasper St. Pierre
d7ee5cf33d
cursor: Remove the theme_cursor cache
...
It's unused.
2014-04-17 13:03:27 -04:00
Bastien Nocera
d53e04f4c8
Name all timeouts and idles
...
Better names can be used once we make more use of them.
https://bugzilla.gnome.org/show_bug.cgi?id=727979
2014-04-10 18:59:46 +02:00
Colin Guthrie
c2b9155979
MonitorXrandr: Mask a BadValue error on VirtualBox.
...
https://bugzilla.gnome.org/show_bug.cgi?id=707563
2014-04-09 12:19:11 -07:00