Kristian Høgsberg
f59da399d8
compositor: Don't crash when receiving kb focus with no surface
13 years ago
Kristian Høgsberg
109a00700e
compositor: Drop built-in background support
...
There should always be a background client (file manager, home screen,
animated wallpaper or just a plain static image).
13 years ago
Kristian Høgsberg
4eaa830381
compositor: Repick surface when grab ends
...
We were doing it manually in a few places and forgetting it in the
implicit grab case.
13 years ago
Kristian Høgsberg
9ebcf94b83
Use wl_resource_* error functions
13 years ago
Matt Roper
11568a73ba
Turn off hardware cursor when screen fade begins.
...
The compositor was never actually calling the output backend to turn off
the hardware cursor when the screen begins fading. This would result in
a stuck hardware cursor and movable software cursor for the duration of
the fade/unfade.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
13 years ago
Benjamin Franzke
b826302efb
Remove return type from wlsc_compositor_shutdown
...
Fixes "control reaches end of non-void function" warning
and is not needed (yet).
13 years ago
Kristian Høgsberg
f389cacc20
Move away from visuals and just use EGLConfigs or shm format tokens
13 years ago
Kristian Høgsberg
4ebf3a0c2e
Fix cursor visibility bug
13 years ago
Kristian Høgsberg
6f7179c652
compositor: Discard surface.frame if the surface isn't visible
13 years ago
Kristian Høgsberg
8e6d71247e
compositor: Track bound resources for input device
13 years ago
Kristian Høgsberg
57295ebf20
compositor: Handle NULL buffer in input_device.attach correctly
13 years ago
Kristian Høgsberg
fd07fb76bc
Create resource for wl_output
13 years ago
Kristian Høgsberg
97d44aa58b
Pass resources to functions that take object references
13 years ago
Kristian Høgsberg
f790c79ec7
Use wl_display_bind() for binding to globals
13 years ago
Kristian Høgsberg
d9551a3377
compositor: drop wl_display_add_object()
13 years ago
Kristian Høgsberg
904055a652
compositor: Make all exported objects wl_resources
13 years ago
Kristian Høgsberg
334182062f
Use the new wl_callback interface
13 years ago
Matt Roper
361d2ade02
Update compositor shutdown code
...
Adds a general wlsc_compositor_shutdown() function that all output
backends call when shutting down. wlsc_compositor_shutdown() will call
a new 'destroy' method of each output to perform backend-specific
cleanup (e.g., turning off the hardware cursor in the DRM compositor).
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
13 years ago
Tiago Vignatti
2cc8b87310
compositor: fix pitch initialization
...
texture_region was getting a trash value for computing. I don't
understand how we couldn't see any artifact on surface output in such
case.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
6bded3fd95
Don't pass NULL pointer as user data to signal handler
13 years ago
Tiago Vignatti
2116b89156
compositor: Move signal handler initialization before module loading
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
9ffb6b9866
compositor: Only configure surface when it changes geometry
14 years ago
Kristian Høgsberg
4f0df049bb
compositor: Pick output for surface based on amount of overlap
14 years ago
Kristian Høgsberg
3cad436a91
xserver: Clean up X server socket on exit
14 years ago
Kristian Høgsberg
7341e9b6d9
compositor: Fix damage tracking for multi-head compositors
14 years ago
Benjamin Franzke
a8bdeae1b6
compositor: Fix cursor damaging on multi head
...
Removing cursors from the surface list,
for usage as hardware cursor needs lower damaging.
Also damge when re-adding to the surface list.
14 years ago
Kristian Høgsberg
5ec0a93a98
compositor: Add a simple WM to the xserver launcher
14 years ago
Kristian Høgsberg
cd0d10b752
compositor: Damage surface when raising
14 years ago
Kristian Høgsberg
a691aeefd7
compositor: Track opaque region of a surface
14 years ago
Kristian Høgsberg
aee7f84347
compositor: Stop repainting below opaque surfaces
14 years ago
Kristian Høgsberg
53df1d8a6b
compositor: Fix a couple of region leaks
14 years ago
Kristian Høgsberg
b8a983395d
compositor: Add helper to damage surface below
14 years ago
Kristian Høgsberg
8b72f60478
compositor: Clip away obscured damage
14 years ago
Kristian Høgsberg
20300ba112
compositor: Accumulate damage in per-surface regions
14 years ago
Benjamin Franzke
b7c00a4376
Send keyboard_focus only to client surfaces
14 years ago
Kristian Høgsberg
758dd3ea55
compsitor: Put background surface in the big surface list
14 years ago
Kristian Høgsberg
8244b44524
compositor: Put cursor surfaces into the big surface list
14 years ago
Kristian Høgsberg
751b5bcdd2
compositor: Change default background to be a png
14 years ago
Kristian Høgsberg
27da538ab5
compositor: Add socket based activation for X server
14 years ago
Kristian Høgsberg
487213defd
Damage surface before attaching new buffer
...
This reverts cde9bfc805
. We need to damage the
area covered by the old surface when attaching a new buffer. The new surface
area will be damaged by the client.
14 years ago
Kristian Høgsberg
fd94bf0fd0
compositor: Fix region leak
14 years ago
Kristian Høgsberg
e75cb7f64b
compositor: Store the output rectangle in a region
14 years ago
Kristian Høgsberg
ef04414f39
compositor: Repaint immediately after pageflip finishes
14 years ago
Benjamin Franzke
6f5fc69b67
compositor: Decrement buffers busy_count in post_release
14 years ago
Benjamin Franzke
0628626d55
Implement buffer.release event
14 years ago
Kristian Høgsberg
8f0ce05f52
compositor: Send out more detailed output events
14 years ago
Benjamin Franzke
d72037cc78
compositor: Send frame event after redraw
14 years ago
Benjamin Franzke
fb4b5a293a
compositor: Do not leak old client buffers
14 years ago
Kristian Høgsberg
40caded030
compositor: Only use GL_LINEAR when surface is transformed
14 years ago
Kristian Høgsberg
cde9bfc805
compositor: Damage after setting surface width and height
14 years ago