Commit Graph

5741 Commits

Author SHA1 Message Date
Kristian Høgsberg 41a106815b Track drm modesetting api changes (grr). 2009-02-15 22:37:03 -05:00
Kristian Høgsberg 7b6907f678 Don't forget to transform coordinates for the grab surface. 2009-02-15 22:33:59 -05:00
Kristian Høgsberg bb8cd938b5 Re-init link when removing animation. 2009-02-10 19:48:47 -05:00
Kristian Høgsberg 1febe01084 Don't crash when there's no primary surface. 2009-02-10 18:30:14 -05:00
Kristian Høgsberg 6c9c8f8923 Fix surface coordinate transformation. 2009-02-10 18:29:24 -05:00
Kristian Høgsberg 1a208d58cb Add surface animation framework, implement fullscreen surface switcher. 2009-02-10 14:20:26 -05:00
Kristian Høgsberg 03fd86b042 Read connection events in screenshot.c 2009-02-10 14:15:44 -05:00
Kristian Høgsberg 5c8c3286ea Add a per-surface matrix. 2009-02-09 15:17:46 -05:00
Kristian Høgsberg 57b751b0c3 Fix flower client. 2001-01-01 23:44:10 -05:00
Kristian Høgsberg ab909aedac Quit compositor on eject key press. 2001-01-01 22:24:24 -05:00
Kristian Høgsberg fdec236609 Switch to using a projective transformation. 2001-01-01 22:23:51 -05:00
Kristian Høgsberg f75f0e80b7 Add a crazy rambling style TODO file. 2009-02-05 23:01:00 -05:00
Kristian Høgsberg 43c28eee32 Add a toy-display object that caches state.
This will be GdkDisplay for GTK+ on Wayland etc.  This restores
the terminal fullscreen mode.
2009-01-26 23:42:55 -05:00
Kristian Høgsberg 8e438625ae Finish egl_* to wlsc_* rename. 2009-01-26 23:07:00 -05:00
Kristian Høgsberg c0b44328d2 Use glReadPixels() for the screen shooter
"Those who don't understand OpenGL are bound to reimplement it badly..."
2009-01-26 22:54:40 -05:00
Kristian Høgsberg f13eb14711 Depend on udev 136 and clean up some code. 2009-01-26 21:38:14 -05:00
Kristian Høgsberg b14852d7a2 Only tag the card0 device with seat info for now. 2009-01-26 21:37:29 -05:00
Kristian Høgsberg 8012f32978 Drop libdrm CFLAGS where no longer necessary. 2009-01-16 08:13:00 -05:00
Kristian Høgsberg 0ac16f056d Switch to cairo-drm, drop struct buffer hacks. 2009-01-16 07:49:07 -05:00
Kristian Høgsberg 32692d2f48 Fix udev rules install rule. 2009-01-16 07:47:28 -05:00
Kristian Høgsberg e68d24c559 Initialize output position properly. 2009-01-16 06:39:15 -05:00
Kristian Høgsberg 3b94998f6a Randomize flower offset again. 2009-01-16 06:38:25 -05:00
Kristian Høgsberg aa68fe346a Update to track udev API change in eagle. 2009-01-16 06:38:14 -05:00
Kristian Høgsberg ff52fbaaf8 Add wayland udev rules file. 2008-12-31 16:24:16 -05:00
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.
2008-12-31 16:18:42 -05:00
Kristian Høgsberg 890bc05763 Use libudev for enumerating input devices. 2008-12-30 14:31:33 -05:00
Kristian Høgsberg 94448c0ad7 Add listener interfaces for output and input_device objects. 2008-12-30 11:03:33 -05:00
Kristian Høgsberg e787bc60e5 Use a more generic glob for input devices. 2008-12-30 10:53:20 -05:00
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.
2008-12-24 19:31:58 -05:00
Kristian Høgsberg fabd4395ba Track objects client side using a hash too.
This leads up to using the demarshal machinery for decoding events
in the client library.
2008-12-22 18:06:49 -05:00
Kristian Høgsberg 12ea62e211 Add a proxy for the server side output object. 2008-12-22 16:37:07 -05:00
Kristian Høgsberg 0395f30e65 Add a fullscreen mode to the terminal. 2008-12-22 12:14:50 -05:00
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.
2008-12-21 23:37:12 -05:00
Kristian Høgsberg 8049cbb88a Also check for interface version wl_display_get_object_id(). 2008-12-21 23:33:10 -05:00
Kristian Høgsberg 97079ad52c Send client id range as an event.
This also makes the server send the event again when the client is
about to exhaust its current client range.
2008-12-21 22:45:33 -05:00
Kristian Høgsberg fb6d68ddbe Represent event and method metadata with struct wl_message. 2008-12-21 21:57:45 -05:00
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.
2008-12-21 21:50:36 -05:00
Kristian Høgsberg bf967b469f Advertise globals using a new display event. 2008-12-21 20:25:16 -05:00
Kristian Høgsberg 0ab262421a Consolidate tty setup and fix a few spacing issues. 2008-12-21 19:33:09 -05:00
Kristian Høgsberg e3ef3e59f8 Oops, fix compilation. 2008-12-21 19:30:01 -05:00
Kristian Høgsberg 7e972a5b18 Move coordinate transformation to pick_surface(). 2008-12-21 17:26:00 -05:00
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.
2008-12-20 02:00:49 -05:00
Kristian Høgsberg 33500890b3 Handle more control characters in terminal. 2008-12-19 17:38:55 -05:00
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.
2008-12-19 17:38:55 -05:00
Kristian Høgsberg 2c0e56b2d5 Drop the silly overlay hack. 2008-12-19 13:54:40 -05:00
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.
2008-12-19 13:47:53 -05:00
Kristian Høgsberg 15d0f8b236 Use the new eagle config chooser for picking the config. 2008-12-19 12:13:42 -05:00
Kristian Høgsberg 112c0bee18 Remove visual debug prints. 2008-12-19 11:17:38 -05:00
Kristian Høgsberg 2c875bd31e Cache modesetting data and just do drmModeSetCrtc on vt enter. 2008-12-19 11:13:44 -05:00
Kristian Høgsberg 38ccd3a23e Do vt ioctl on the right fd. 2008-12-19 10:15:35 -05:00