Commit Graph

241 Commits

Author SHA1 Message Date
Kristian Høgsberg 6a1b20102c window: factor out surface attachment code 2009-12-16 14:43:37 -05:00
Kristian Høgsberg e4bf8844f6 Use new page flip API 2009-12-16 13:18:12 -05:00
Kristian Høgsberg d2311cfba7 Set an drop drm master on enter and leave vt
This way we can vt switch between wayland and X.
2009-10-01 16:43:54 -04:00
Kristian Høgsberg beed22b9a3 Update TODO 2009-09-30 23:14:25 -04:00
Kristian Høgsberg 12308a4997 Add color scheme support 2009-09-28 13:08:50 -04:00
Kristian Høgsberg 1b8b66f938 Light up multiple outputs when possible
Multihead is still a little confused, but this is a first step.
2009-09-21 16:00:17 -04:00
Kristian Høgsberg e000d8cd23 Make connector option actually work 2009-09-21 15:10:24 -04:00
Kristian Høgsberg 9ae561d5bd Make gears track focus 2009-09-21 13:47:53 -04:00
Kristian Høgsberg 8f2f773846 Add a simple PDF viewer 2009-09-21 13:47:35 -04:00
Kristian Høgsberg 7d7b5dbf4d Tweak theme a bit 2009-09-21 13:43:46 -04:00
Kristian Høgsberg 2cbedd1874 Terminate on Ctrl-Alt-Backspace
So that 10 years from now we can have a huge flamewar about it.
2009-09-18 17:29:49 -04:00
Kristian Høgsberg 3f8f39c019 Remove surfaces when destroyed, refocus pointer 2009-09-18 17:05:50 -04:00
Kristian Høgsberg dd73dd5c81 Select the right fb on enter_vt 2009-09-18 17:05:50 -04:00
Kristian Høgsberg ffbc607123 Only raise surface on click, not release 2009-09-18 17:05:50 -04:00
Kristian Høgsberg f5878facf3 Support running on a specified KMS connector 2009-09-18 17:05:50 -04:00
Kristian Høgsberg b559fcbf72 Add function to remove surfaces from client 2009-09-18 17:05:50 -04:00
Kristian Høgsberg f15ce9f400 Add a hash remove implementation 2009-09-18 17:05:50 -04:00
Kristian Høgsberg ecf65fe041 Implement user_data for surface
Not sure if we need more than one piece of user_data per surface.
And this should be a general feature of any proxy object.
2009-09-18 17:05:50 -04:00
Kristian Høgsberg 59fa346ac9 Export list implementation 2009-09-18 17:05:42 -04:00
Kristian Høgsberg 9db4efaefa Drop sessions for now 2009-09-12 21:09:02 -04:00
Kristian Høgsberg 75b70cef55 Fix gears rotation for high timestamp values 2009-09-12 21:08:48 -04:00
Kristian Høgsberg 5d312db56e Tweak repaint timeout to 5ms after vblank
Reduces risk of flicker, but we need something better here.
2009-09-12 16:57:02 -04:00
Kristian Høgsberg 4adaf5c6bc Fix surface copy by using FBOs 2009-09-12 16:42:07 -04:00
Kristian Høgsberg 5fc96ff6e2 Dont use an image surface for the tmp
It may have a incompatible stride and there's no point
in using a cairo surface for this.
2009-09-12 15:58:48 -04:00
Kristian Høgsberg b0a167cdc9 Always repaint out of vsync callback. 2009-08-14 11:15:18 -04:00
Kristian Høgsberg 45b7a3a645 Terminate on Super-Backspace.
It's almost like Ctrl-Alt-Backspace!
2009-08-14 05:53:50 -04:00
Kristian Høgsberg 2644910241 Update to track the cairo_drm_device_t rename 2009-05-28 20:23:31 -04:00
Kristian Høgsberg cda0e0db98 Update gears example to latest eagle API changes 2009-05-27 20:07:38 -04:00
Kristian Høgsberg 01f941bfda Update to use new eagle API and drm page flipping 2009-05-27 17:47:15 -04:00
Kristian Høgsberg 8da19acab7 Factor out session switching stuff to struct wlsc_session. 2009-03-17 16:12:51 -04:00
Kristian Høgsberg b22382bfdc Create front buffer with eagle.
This removes the intel dependencies from the system compositor.
2009-03-10 23:54:36 -04:00
Kristian Høgsberg 820a877428 Trim include list. 2009-03-10 23:43:24 -04:00
Kristian Høgsberg 4fa4873928 Dont crash when surfaces and clients disappear
Set up a notification system, so we get a callback when a client and its
surfaces disappear and can drop references the lost surface.
2009-03-10 23:43:23 -04:00
Kristian Høgsberg 786ca0d572 Send key array when losing focus too.
The compositor tracks this anyway, and the client will typically need
this to post key release events and adjust modifier status.
2009-03-06 21:27:04 -05:00
Kristian Høgsberg da1f30a8f0 Allocate GL front buffer through eagle instead of cairo. 2009-03-06 21:24:01 -05:00
Kristian Høgsberg 0acc6c426c Renable blurred dropshadows and fix call to blur_surface(). 2009-03-05 07:49:42 -05:00
Kristian Høgsberg 99f090db3e Update modifier state on focus in and out. 2009-02-23 22:37:14 -05:00
Kristian Høgsberg 3c38fa0c3e Include the currently pressed keys in keyboard focus event. 2009-02-23 22:30:29 -05:00
Kristian Høgsberg 7e3e860031 terminal: trim unused headers. 2009-02-23 21:06:05 -05:00
Kristian Høgsberg 3c248cc9b6 Paint terminal cursor hollow when focus is lost. 2009-02-22 23:01:35 -05:00
Kristian Høgsberg 0208ed4c79 Don't close the pty master in forkpty child. 2009-02-22 22:30:10 -05:00
Kristian Høgsberg db6c2f3f0e Add keyboard and pointer focus events. 2009-02-22 21:51:24 -05:00
Kristian Høgsberg ce5a9c1096 Remove spurious unused local variable. 2009-02-22 20:59:44 -05:00
Kristian Høgsberg 2c837483ec Add new surfaces to client hash table. 2009-02-22 20:58:29 -05:00
Kristian Høgsberg 4a35fc2563 Handle marshalling NULL objects. 2009-02-22 20:57:57 -05:00
Kristian Høgsberg 0555d8e6fc Rename pointer_surface to sprite in wlsc_surface. 2009-02-22 19:19:47 -05:00
Kristian Høgsberg b0b82e2eeb Draw terminal cursor. 2009-02-21 15:48:54 -05:00
Chris Wilson 0de19eb688 Add an image viewer client 2009-02-21 15:48:35 -05:00
Kristian Høgsberg 5544491240 Move keymap to window.c 2009-02-21 14:31:09 -05:00
Kristian Høgsberg 1eff73c758 Use chooser instead of hardcoded fbconfig in gears.c. 2009-02-16 00:26:22 -05:00