Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Franzke
3b288afd1a compositor-x11: Use x11 egl platform 2011-03-01 11:14:03 +01:00
Kristian Høgsberg
2dfe626f4e compositor-x11: Don't send enter/leave notify if we have an implicit grab 2011-02-08 12:00:55 -05:00
Kristian Høgsberg
3ba4858c4b compositor-x11: Handle keyboard focus correctly so we avoid stuck modifiers 2011-01-27 11:57:19 -05:00
Kristian Høgsberg
93331ff40a compositor: Forward pointer focus notification from compostor backend
This lets the compositor place the pointer sprite correctly when it receives
pointer focus and allows it to send pointer focus to any client that might
receive pointer focus as the compositor receives it.
2011-01-26 20:35:09 -05:00
Kristian Høgsberg
f58d8ca1bd compositor-x11: Set window icon 2011-01-26 14:37:07 -05:00
Kristian Høgsberg
24ed621388 Set WM_CLASS for X11 compositor window
Don't want to be 'Unknown' in GNOME Shell.
2011-01-26 14:02:31 -05:00
Kristian Høgsberg
8525a50362 Move buffer creation and buffer details into drm.c and shm.c 2011-01-14 16:20:21 -05:00
Kristian Høgsberg
8f66a57b4d Ignore surface.map_toplevel() if already mapped 2011-01-07 08:38:56 -05:00
Kristian Høgsberg
175e6cec39 Pass EGL_NO_CONTEXT to eglCreateImageKHR for EGL_DRM_BUFFER_MESA target 2011-01-06 15:45:19 -05:00
Kristian Høgsberg
9c3e8d734e Move grab state to struct wl_input_device 2010-12-08 09:48:52 -05:00
Kristian Høgsberg
caa6442556 compositor: Use a virtual destructor when shutting down
Backend can now rely on their destroy function getting called on shutdown,
so reset tty etc there instead of handling SIGTERM twice.
2010-12-01 16:53:15 -05:00
Kristian Høgsberg
50dc6989b8 compositor: Shut down properly so we remove the socket 2010-12-01 16:53:15 -05:00
Darxus
55973f2f5a Some additional return value checking 2010-11-22 21:54:15 -05:00
Yuval Fledel
91b5999ce4 add newlines for error printfs 2010-11-22 15:19:26 -05:00
Tiago Vignatti
997ce64302 compositor: add safety check when EGL fails to initialize
offending message:

    Program received signal SIGSEGV, Segmentation fault.
    create_pointer_images (ec=0x619f10) at compositor.c:240
    240         glEGLImageTargetTexture2DOES(GL_TEXTURE_2D,

Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-11-09 20:47:04 -05:00
Chia-I Wu
1b6c0ed95a Workaround an xcb-dri2 bug.
xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.  It
only works when the length of the driver name is a multiple of 4.
2010-10-29 12:52:28 -04:00
Kristian Høgsberg
61a8251360 Add a geometry option for x11 compositor 2010-10-27 11:21:29 -04:00
Kristian Høgsberg
76b43326a5 Move example compositor to subdirectory 2010-09-14 10:56:25 -04:00