Kristian Høgsberg
db6c2f3f0e
Add keyboard and pointer focus events.
16 years ago
Kristian Høgsberg
ce5a9c1096
Remove spurious unused local variable.
16 years ago
Kristian Høgsberg
0555d8e6fc
Rename pointer_surface to sprite in wlsc_surface.
16 years ago
Kristian Høgsberg
41a106815b
Track drm modesetting api changes (grr).
16 years ago
Kristian Høgsberg
7b6907f678
Don't forget to transform coordinates for the grab surface.
16 years ago
Kristian Høgsberg
bb8cd938b5
Re-init link when removing animation.
16 years ago
Kristian Høgsberg
1febe01084
Don't crash when there's no primary surface.
16 years ago
Kristian Høgsberg
6c9c8f8923
Fix surface coordinate transformation.
16 years ago
Kristian Høgsberg
1a208d58cb
Add surface animation framework, implement fullscreen surface switcher.
16 years ago
Kristian Høgsberg
5c8c3286ea
Add a per-surface matrix.
16 years ago
Kristian Høgsberg
ab909aedac
Quit compositor on eject key press.
24 years ago
Kristian Høgsberg
fdec236609
Switch to using a projective transformation.
24 years ago
Kristian Høgsberg
8e438625ae
Finish egl_* to wlsc_* rename.
16 years ago
Kristian Høgsberg
c0b44328d2
Use glReadPixels() for the screen shooter
...
"Those who don't understand OpenGL are bound to reimplement it badly..."
16 years ago
Kristian Høgsberg
f13eb14711
Depend on udev 136 and clean up some code.
16 years ago
Kristian Høgsberg
e68d24c559
Initialize output position properly.
16 years ago
Kristian Høgsberg
aa68fe346a
Update to track udev API change in eagle.
16 years ago
Kristian Høgsberg
81ce09a6c4
Split out per-output state, use libudev for enumerating hardware.
...
This paves the way for proper multi-head support and removes more
hardcoded i965 defaults by using udev to discover output devices
and their PCI IDs.
16 years ago
Kristian Høgsberg
890bc05763
Use libudev for enumerating input devices.
16 years ago
Kristian Høgsberg
e787bc60e5
Use a more generic glob for input devices.
16 years ago
Kristian Høgsberg
b3131d9268
Add client side demarshalling for events.
...
This also consolidates the marshalling code in connection.c and
uses the same functions in the server and client for marshalling.
16 years ago
Kristian Høgsberg
12ea62e211
Add a proxy for the server side output object.
16 years ago
Kristian Høgsberg
ee02ca6fa4
Add hook to allow globals to send cold-plug events to new clients.
...
This lets us boot strap the client side state cache. This commit also adds the first user
of this feature, an output object that represents the current output. Very simple
at this point, but will grow to something more like RandR 1.2.
16 years ago
Kristian Høgsberg
fb6d68ddbe
Represent event and method metadata with struct wl_message.
16 years ago
Kristian Høgsberg
fe831a7494
Move protocol metadata to wayland-protocol.[ch].
...
This lets us share the metadata between server and client and we
can now use a va_arg marshalling function for sending client
requets.
16 years ago
Kristian Høgsberg
0ab262421a
Consolidate tty setup and fix a few spacing issues.
16 years ago
Kristian Høgsberg
e3ef3e59f8
Oops, fix compilation.
16 years ago
Kristian Høgsberg
7e972a5b18
Move coordinate transformation to pick_surface().
16 years ago
Ray Strode
e96dcb8f93
Only forward events to compositor if on active VT
...
Previously, we'd send things like the user's password
to the active irc window when they logged into a getty
running on a different tty.
16 years ago
Ray Strode
966aa112e7
Ignore tty input
...
Previously, ctrl-c would kill wayland and input like
passwords and commands would get typed into the terminal
under the scenes.
16 years ago
Kristian Høgsberg
2c0e56b2d5
Drop the silly overlay hack.
16 years ago
Kristian Høgsberg
82f6e8a2ef
Rename egl-compositor to wayland-system-compositor.
...
The wayland-system-compositor is the top-level compositor. X sessions
or nested Wayland sessions will run as clients of the system compositor.
The system compositor is licensed under the GPL.
16 years ago
Kristian Høgsberg
15d0f8b236
Use the new eagle config chooser for picking the config.
16 years ago
Kristian Høgsberg
2c875bd31e
Cache modesetting data and just do drmModeSetCrtc on vt enter.
16 years ago
Kristian Høgsberg
38ccd3a23e
Do vt ioctl on the right fd.
16 years ago
Ray Strode
19ad6a9db3
Restore framebuffer when switching back to VT
...
The kernel currently automatically redirects
output to the kernel framebuffer when switching
VTs away from wayland. It doesn't restore
output back to wayland's fb when coming back
to the VT. This patch works around that issue.
16 years ago
Ray Strode
90e701df08
Force pointer to stay on screen.
...
Without this change it's really easy to
accidentally send the pointer flying and not
be able to get it back.
16 years ago
Kristian Høgsberg
2d4219e542
Scale background pixbuf when loading.
...
This lets us avoid hitting the texture limit for some backgrounds.
16 years ago
Ray Strode
18fd33c9bb
Fix rgb byte order for GdkPixbuf backgrounds.
16 years ago
Kristian Høgsberg
e10b828562
Remember to handle rgb_visual case in surface_attach.
16 years ago
Kristian Høgsberg
de31d5ca6f
Add preliminary visual support.
16 years ago
Kristian Høgsberg
b7037a02f0
Don't pin front buffer, kernel modesetting takes care of that now.
16 years ago
Kristian Høgsberg
5b7f832eab
Fall back to solid color background if not image is found.
16 years ago
Kristian Høgsberg
d2412e2c2e
Redesign the compositor / server interface.
...
This lets the compositor directly provide the implementation of the RMI
objects for the surface object and a new compositor object. We avoid the
manual forwarding of requests into the compositor and the clumsy compositor
interface struct.
16 years ago
Kristian Høgsberg
0ea4710b3d
Use gdk-pixbuf for saving the screenshot.
16 years ago
Kristian Høgsberg
64949978f4
Fix default input device path.
16 years ago
Kristian Høgsberg
a7700c8ff1
Handle per-device keyboard focus.
16 years ago
Kristian Høgsberg
c492b482d0
Make multi-pointer work.
...
This also add command line parsing as a way to specify the input
device files to use.
16 years ago
Kristian Høgsberg
d6531261de
Add option parsing using GOption.
16 years ago
Kristian Høgsberg
997e71eb1e
Use the screen size for sizing the background.
16 years ago