- Feb 09, 2012
-
-
Emma Anholt authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
- Feb 08, 2012
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
We propagate the toplevel widget size to the window size in the window.c resize code.
-
Juan Zhao authored
Add widget_set_size in the initiate time to allow smoke get the correct surface later. Or it will report segment fault error because of the null surface. Also add resize_handler to not allow resizing just like flower. Signed-off-by: Juan Zhao <juan.j.zhao@linux.intel.com>
-
Kristian Høgsberg authored
The next two bytes aren't fixed.
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Jesse Barnes authored
Finally figured out why --enable-cairo-gles2 wasn't working like configure --help said it should.
-
Pekka Paalanen authored
http://lists.freedesktop.org/archives/wayland-devel/2012-January/001975.html reports a linking problem: /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol 'png_set_filler@@PNG12_0' /usr/bin/ld: note: 'png_set_filler@@PNG12_0' is defined in DSO /usr/lib/i386-linux-gnu/libpng12.so.0 so try adding it to the linker command line /usr/lib/i386-linux-gnu/libpng12.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: [weston-terminal] Error 1 (ignored) A similar problem is diagnosed here: http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html As some distros are shipping linkers, that do not resolve symbols from implicitly linked libraries, check and link libpng explicitly. Cc: nerdopolis <bluescreen_avenger@verizon.net> Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Pekka Paalanen authored
Do not build toytoolkit applications that use GL, if Cairo-egl is not available. These applications (which happen to be also the full GL clients) do not work at all without Cairo-egl, and fail at runtime with "unable to acquire window surface". Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-
Scott Moreau authored
krh: Updated to use /usr/bin/weston-terminal.
-
Kristian Høgsberg authored
Attaching a null buffer is allowed and takes the surface back to the unattached state it starts in.
-
- Jan 27, 2012
-
-
Scott Moreau authored
strtol() does not work when trying to assign 32 bits of data into a regular signed int on 32 bit systems. Use corresponding strtoul() instead.
-
Pekka Paalanen authored
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-
Ander Conselvan de Oliveira authored
When window_attach_surface() calls window_get_resize_dx_dy(), window->resize_edges is cleared. However if there is already a pending surface to be attached, the resize won't be done until the following call to window_attach_surface(). In this next call, since resize_edges is now zero, the top-left corner of the window will be unchanged. If the user is resizing from the top or left border, this causes the resize to happen in the wrong direction. This patch changes window_attach_surface() to call window_get_resize_dx_dy() only if an attach will actually happen. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
-
Kristian Høgsberg authored
This happens when the current selection data_offer is removed.
-
- Jan 26, 2012
-
-
Kristian Høgsberg authored
Older libpngs are a bit fussy about this, apparently.
-
Kristian Høgsberg authored
We would try to deliver a leave event to a widget in a destroyed window.
-
Kristian Høgsberg authored
This adds a default background pattern and a terminal launcher in case we don't have a config file.
-
- Jan 25, 2012
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
- Jan 24, 2012
-
-
Kristian Høgsberg authored
This reverts commit fc6ccb86. We still need root permissions for drmDrop/SetMaster. Without integration with ConsoleKit or systemd we also don't have access to /dev/dri/cardX in the case where we open a new VT.
-
Benjamin Franzke authored
-
Benjamin Franzke authored
-
Neil Roberts authored
The code which sends the button events was checking whether there is a focus widget with a button handler but then always sending the button event to the grab widget. If the grab widget is different from the focus widget at this point then it will check the wrong widget for a button handler and potentially crash. It is also possible for there to be no grab widget here in the following situation: 1. Press and hold down the left mouse button 2. Press and hold down the right mouse button 3. Release the left mouse button 4. Release the right mouse button In this case the grab will be released at step 3 because the code only keeps track of the grab for one button. Then it will try to send the release event for the right mouse button to a NULL widget so it will crash.
-
- Jan 20, 2012
-
-
Tiago Vignatti authored
==30224== Conditional jump or move depends on uninitialised value(s) ==30224== at 0x40EE3A0: evdev_flush_motion (evdev.c:284) ==30224== by 0x40EE6DC: evdev_input_device_data (evdev.c:352) ==30224== by 0x4034710: wl_event_source_fd_dispatch (event-loop.c:76) ==30224== by 0x4035171: wl_event_loop_dispatch (event-loop.c:462) ==30224== by 0x4032F76: wl_display_run (wayland-server.c:785) ==30224== by 0x8050972: main (compositor.c:2183) Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-
- Jan 19, 2012
-
-
Kristian Høgsberg authored
We need this for the window decorations.
-
Kristian Høgsberg authored
We forgot to switch back from CAIRO_OPERATOR_SOURCE, which is broken, but also hits a broken fallback in cairo-gl.
-
Kristian Høgsberg authored
This adds support for installing the compositor setuid.
-
Pekka Paalanen authored
Valgrind complained sa_mask member is not initialised, fix that. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Add dummy menu callback function, so we don't crash after every time someone opens the menu. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-