Tiago Vignatti
0a26641626
clients: fix spelling
...
Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-02-13 11:52:24 +02:00
Kristian Høgsberg
009ac0a965
window: Dont take width and height in window constructor
...
Always set this by scheduling an initial resize.
2012-01-31 15:24:48 -05:00
Kristian Høgsberg
5f5324e098
gears: Make window transparent
...
We need this for the window decorations.
2012-01-19 14:05:21 -05:00
Kristian Høgsberg
29af3ebce6
window: Make decorations just a widget
...
Woohoo, only took 25 commits of refactoring to get to this point.
2012-01-10 22:41:55 -05:00
Kristian Høgsberg
bb97700474
window: Get rid of the window child allocation concept
2012-01-10 19:11:42 -05:00
Kristian Høgsberg
b67e94b170
window: Make resize and redraw handlers widget vfuncs
2012-01-10 14:22:10 -05:00
Kristian Høgsberg
5d12990dbe
window: Allocate and flush the window surface in window.c
...
No need to push this to the toolkit users.
2012-01-10 12:25:32 -05:00
Kristian Høgsberg
c5241f5b73
Never include wayland-util.h directly
...
And fix a missing "" to <> conversion for wayland-client.h include.
2011-11-22 09:35:14 -05:00
Pekka Paalanen
50719bce2a
Fix inconsistent #include style
...
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-11-22 09:27:03 -05:00
Benjamin Franzke
1a89f28c7d
gears: Fail if compiled without cairo-egl
2011-10-07 10:06:01 +02:00
Benjamin Franzke
0c99163d9b
window: Create a cairo device for each egl config
2011-10-07 10:06:01 +02:00
Kristian Høgsberg
3a69627f43
window: Stop using glib mainloop in toy toolkit
2011-09-19 17:28:55 -04:00
Kristian Høgsberg
6da3812f0a
gears: Don't schedule redraw, just draw from frame callback
2011-08-29 17:12:37 -04:00
Kristian Høgsberg
9de79a92a6
window.c: Drop global handler argument
...
We can just register a global handler directly on the wl_display now.
2011-08-29 17:12:36 -04:00
Kristian Høgsberg
a8d1fa762e
clients: Bring clients up to date
2011-08-29 17:12:36 -04:00
Kristian Høgsberg
11e2828bdc
Merge remote-tracking branch 'bnf/surface-frame-event'
...
Conflicts:
compositor/compositor.c
2011-04-11 16:47:50 -04:00
Tim Wiederhake
b4b67344f0
Define global handler on display creation
...
Otherwise the initial announcement of interfaces gets lost.
2011-04-11 13:16:33 -04:00
Benjamin Franzke
cff904e69d
gears: Use wayland egl surface instead of images
2011-03-17 15:55:25 +01:00
Benjamin Franzke
6693ac2108
window: Use window surfaces for windows
2011-03-17 15:55:18 +01:00
Benjamin Franzke
ec4d342aa9
Support per surface frame events
...
This fixes tearing with multi head.
2011-03-17 11:54:35 +01:00
Kristian Høgsberg
f57a96f98d
gears: Remove unused drm_fd field
2011-02-07 09:12:56 -05:00
Kristian Høgsberg
297c6313eb
Port window.c to use wayland-egl
2011-02-07 09:12:56 -05:00
Kristian Høgsberg
00439617f3
Fix new gcc 4.6 warnings
...
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable]
etc.
2011-01-25 15:16:01 -05:00
Kristian Høgsberg
248c1b61ce
Add an orange pop-up menu to test the new map_transient request
2011-01-21 18:03:15 -05:00
Kristian Høgsberg
8def264241
Check for cairo-egl instead of just cairo-gl
2011-01-14 17:42:50 -05:00
Kristian Høgsberg
da846ca91d
Fix terminal resizing
...
Get snapping to character grid working again, avoid crashes when attempting
to resize below 1x1 character cell, only redraw when size actually changes.
Also, rename window_get_child_rectangle() to window_get_child_allocation().
2011-01-11 10:00:52 -05:00
Kristian Høgsberg
96ce968b12
gears: Include config.h
2011-01-07 14:42:49 -05:00
Kristian Høgsberg
1926ebab73
Add missing newline in gears error message
2011-01-07 14:04:43 -05:00
nobled
9835417962
Workaround gears depending on cairo-gl
...
Extremely hacky, but at least it doesn't stop the build anymore.
2011-01-05 23:00:53 +00:00
Kristian Høgsberg
82da52b15b
Update surface.attach and change surface.map to surface.map_toplevel
...
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer. The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
2010-12-17 09:53:12 -05:00
Yuval Fledel
e9f5e36730
Make clients exit orderly when there is no connection
2010-11-22 15:19:43 -05:00
Bryce Harrington
40269a6ed6
Cleanup declared but unused variables.
...
Make was complaining about a bunch of unused variables that were being
declared.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
2010-11-22 10:48:17 -05:00
Kristian Høgsberg
2b43bd73a0
Bring gears example up to date
...
Must have gears.
2010-11-08 15:46:02 -05:00
Kristian Høgsberg
9d69f8e796
Replace commit/ack/frame protocol with simpler sync and frame callbacks
2010-09-03 14:46:38 -04:00
Kristian Høgsberg
b12fcceeb7
Update to EGL_MESA_drm_image from mesa master
...
Woo, running on stock mesa now.
2010-08-25 10:02:20 -04:00
Kristian Høgsberg
43788b13df
Update keyboard focus handler signatures
2010-07-28 23:51:05 -04:00
Kristian Høgsberg
379b678c57
Use EGL_KHR_surfaceless_opengl
2010-07-28 23:51:00 -04:00
Kristian Høgsberg
f252d6a98e
Update to use eglGetDRMDisplayMESA()
2010-07-08 20:15:10 -04:00
Kristian Høgsberg
c8c3734ef9
Set window user data using separate function
2010-06-25 11:19:22 -04:00
Kristian Høgsberg
478d9265f9
Send device name at connect time
2010-06-08 20:34:11 -04:00
Kristian Høgsberg
7824d81e07
Consolidate more code in clients/window.c
2010-06-08 14:59:44 -04:00
Kristian Høgsberg
a85fe3cf45
Use cairo-gl in clients
2010-06-08 14:08:30 -04:00
Kristian Høgsberg
f88ae45e41
Make clients at least compile for now
2010-06-06 22:28:16 -04:00
Kristian Høgsberg
b2a432ef18
Move clients to subdirectory
2010-06-04 21:46:55 -04:00