summaryrefslogtreecommitdiff
path: root/clients
AgeCommit message (Collapse)AuthorFilesLines
2013-10-21Rename invocations of frame_create that were missed by ee7fefcfCameron Stewart3-3/+3
For some reason it not only compiled with different parameters but the method succeeded and just failed later.
2013-10-21window: Only clamp min size for windows with frameKristian Høgsberg1-3/+3
Also fix width/height typo.
2013-10-21window: Set a minimum size for toytoolkit windowsKristian Høgsberg1-2/+14
The decorations tiles start to overlap and look weird if we go below 200x200 size windows. Just set that as a minimum size if the app doesn't provide a bigger minimum size. https://bugs.freedesktop.org/show_bug.cgi?id=66794
2013-10-16window: Set opaque region to window size if we're fullscreenKristian Høgsberg1-4/+11
2013-10-15simple-egl: Add support for using a 16 bpp EGLConfigKristian Høgsberg1-8/+33
2013-10-14Use cairo-util frame in tinytoolkitJason Ekstrand1-443/+175
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2013-10-13Rename frame_create and frame_set_child_size with a window_ prefixJason Ekstrand13-20/+22
This is to avoid a collision with an actual frame structure. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2013-10-11clients: Update .gitignore for weston-multi-resourceStefan Schmidt1-0/+1
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2013-10-10multi-resource: Don't include non-existing xmalloc.hKristian Høgsberg1-1/+14
It existed on my local disk, of course. Just copy over xzmalloc().
2013-10-10nested: Cast away warnings for differing arguments to eglQueryWaylandBufferWLKristian Høgsberg1-3/+5
2013-10-10nested: Free client struct on launch_client error pathsKristian Høgsberg1-0/+3
2013-10-10nested-client: Exit if we fail to create the nested client structKristian Høgsberg1-1/+3
2013-10-10multi-resource: Use xzmalloc() instead of malloc+memset and callocKristian Høgsberg1-14/+4
2013-10-10tablet-shell: Avoid leaking icon or path strings from invalid launcher sectionKristian Høgsberg1-4/+3
2013-10-10window.c: Free cursor theme name once we're done with itKristian Høgsberg1-0/+1
2013-10-09Revert "Resize the shell when the mode is switched"Kristian Høgsberg1-7/+0
This breaks panel resizing as it doesn't account for output rotation. https://bugs.freedesktop.org/show_bug.cgi?id=70249 This reverts commit a356f7b1ef08fd9c2ad69cada89d68841e71a6bb.
2013-09-29Resize the shell when the mode is switchedHardening1-0/+7
Resize the panel and the background when we're notified of a mode switch.
2013-09-23clients: Include and link against math lib for new multi-resourceStefan Schmidt2-1/+2
Linking failed with missing ceil() here. Making sure that we include the header and add the missing -lm. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2013-09-23Update .gitignoreEmilio Pozuelo Monfort1-0/+2
2013-09-21config-parser: Make weston_config_parse() tkae a file nameKristian Høgsberg4-20/+5
Take a basename of the config file to parse instead of an fd.
2013-09-21tablet-shell: Use new weston_config instead of old config parseKristian Høgsberg1-43/+33
2013-09-21window.c: Port to use weston_config instead of old parserKristian Høgsberg1-10/+9
2013-09-21terminal: Port to new weston_config parseKristian Høgsberg1-19/+11
2013-09-21Add a test client to test multiple pointer/keyboard resourcesNeil Roberts2-1/+604
This adds a hacked version of simple-shm which can create multiple pointer and keyboard resources. The resources are created with the command line options -p and -k. Both take an integer argument which specifies the time in seconds after the program is started when the resource should be created. It can also take a second time with a colon separator to specify when the resource should be released. For example: weston-multi-resource -p5 -p7 -k9 -p12:14 That would create a pointer after 5 seconds, a second pointer 2 seconds later, a keyboard 2 seconds after that, a third pointer after a further 3 seconds and finally after 2 more seconds it would release that final pointer resource. This can be used along with WAYLAND_DEBUG to check that it gets the right events for example if the pointer is created while the client's surface already has focus and so on.
2013-09-13Minor improvement of weston-terminal resizingJosé Bollo1-0/+6
2013-09-13clients: remove superfluous callPeter Hutterer1-2/+0
2013-09-13clients: de-duplicate demo clients listPeter Hutterer1-8/+5
2013-09-11terminal: Stop complaining about OSC escape code 7Kristian Høgsberg1-1/+4
This is the current working directory of the shell as an URI. We don't use that for anythign at the moment, but let's not complain about it at least.
2013-09-09dnd: Support dropping as text/plain;charset=utf-8Kristian Høgsberg1-9/+23
2013-09-04terminal: Accept utf-8 text dropKristian Høgsberg3-0/+47
2013-09-04dnd: Only accept dnd with the application/x-wayland-dnd-flower mime-typeKristian Høgsberg1-3/+9
Currently, the dnd sample client accepts all mime-types and assumes they are the custom flower mime-type. Only accept if the offer has the right mime-type.
2013-09-03keyboard: Add rudimentary touch support to keyboard.Brian J Lovin1-0/+43
At this time there is no way to have a key be activated when touch_up is called, so all this patch does is activate they key on touch_down. Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2013-08-30window: Use new wl_pointer/keyboard_release requestRob Bradford1-1/+22
Since we bump the version we ask for from the compositor it is also necessary to implement the new "name" event in the seat listener.
2013-08-30.gitignore: Reflect recent client binary renameBryce W. Harrington1-18/+19
Commit 77ab1721 renamed the client binaries; this change updates .gitignore to follow this change. Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
2013-08-29window.c: Fix SIGSEGV in pointer_handle_motionPaul Winwood1-6/+6
Move null pointer check and assignments before first window dereference.
2013-08-28subsurfaces: fix rendering problem with cairo-glesv2Stanislav Vorobiov1-0/+3
when using cairo-glesv2 subsurface rendering code implicitly calls eglMakeCurrent(dpy, NULL, NULL, ctx) (since EGL_KHR_surfaceless_context is used), thus, triangle_frame_callback:eglSwapBuffers returns EGL_BAD_SURFACE error for all invocations other that the first one
2013-08-26desktop-shell: Add support for touch unlockBrian J Lovin1-0/+29
Add support for unlocking on touch up using the green button on the unlock dialog Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
2013-08-26simple-egl: Handle missing EGL_EXT_buffer_age betterKristian Høgsberg1-2/+5
Including src/weston-egl-ext.h breaks distcheck, so lets just copy the one EGL_EXT_buffer_age into simple-egl.c.
2013-08-26Add more missing config.h #includesKristian Høgsberg3-0/+6
Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least whereever we use mmap(). Fixes at least the test-suite and simple-shm on 32 bit systems.
2013-08-21terminal: Include config.h instead of defining _XOPEN_SOURCEKristian Høgsberg1-1/+1
2013-08-20autotools: Don't use wayland-scanner.m4Daiki Ueno1-1/+2
2013-08-19Fixes CJK wide character displayPeng Wu1-2/+30
By jumping two columns when wide character prints, and draw wide background under wide character.
2013-08-16Add touch support for wl_shell_surface_moveRusty Lynch9-23/+142
2013-08-16nested: Fix skipping frames due to texture update without a contextAnder Conselvan de Oliveira1-3/+9
Calls into cairo-gles may change the current context, so it was only by chance that sometimes we had the proper one as current and updated the correct texture in surface_attach(). In order to fix this, calling display_acquire_window_surface() before binding the texture for setup is necessary. However this call has the side effect of allocating a cairo surface for the window. At flush time, the existence of this surface will cause an eglSwapBuffers(), even if no rendering was done to it, leading to undefined contents on the screen. This happens when the idle redraw task runs while there is a pending frame callback. Workaround this by moving the texture setup from surface_attach() to the redraw handler, so that the cairo surface is only allocated when redering is done.
2013-08-16nested: The wl_resouce is the buffer, not the wl_resource user dataKristian Høgsberg1-5/+5
2013-08-16window: Use xzalloc() instead of silently failing to add outputKristian Høgsberg1-4/+1
2013-08-16weston-info: Use xmalloc() in weston-infoKristian Høgsberg1-6/+19
2013-08-16window: Use xzalloc() instead of failing to add input deviceKristian Høgsberg1-4/+1
2013-08-16window: Fix logic for looking up widget default cursorKristian Høgsberg1-6/+9
We may deref a NULL pointer if there is no grab and no focus widget.
2013-08-15window: Don't check for subcompositor in window_add_subsurface()Kristian Høgsberg1-3/+0
Client should check for subcompositor support up front. Now window_add_surface() can never return NULL.