You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Emmanuel Gil Peyrot
6b58ea8c43
xwm: Add icon support to the frame
...
This fetches the _NET_WM_ICON property of the X11 window, and use the
first image found as the frame icon.
This has been tested with various X11 programs, and improves usability
and user-friendliness a bit.
Changes since v1:
- Changed frame_button_create() to use
frame_button_create_from_surface() internally.
- Removed a check that should never have been commited.
Changes since v2:
- Request UINT32_MAX items instead of 2048, to avoid cutting valid
icons.
- Strengthen checks against malformed input.
- Handle XCB_PROPERTY_DELETE to remove the icon.
- Schedule a repaint if the icon changed.
Changes since v3:
- Keep the previous Cairo surface until the new one has been
successfully loaded.
- Use uint32_t for cardinals. Unsigned is the same type except on
16-bit machines, but uint32_t is clearer.
- Declare length as uint32_t too, like in xcb_get_property_reply_t.
Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
8 years ago
..
animation.c
build,libweston: Use struct timespec for animations
8 years ago
bindings.c
libweston: Use struct timespec for touch down events
8 years ago
clipboard.c
…
compositor-drm.c
compositor-drm: Add to_drm_mode helper
8 years ago
compositor-drm.h
compositor-drm: add specific_device configuration option
8 years ago
compositor-fbdev.c
compositor-drm, compositor-fbdev: stop suggesting root
8 years ago
compositor-fbdev.h
…
compositor-headless.c
libweston: set backend pointer earlier
8 years ago
compositor-headless.h
…
compositor-rdp.c
libweston: Use struct timespec for compositor time
8 years ago
compositor-rdp.h
weston: Port RDP backend to new output handling API
9 years ago
compositor-wayland.c
xwm: Add icon support to the frame
8 years ago
compositor-wayland.h
compositor-wayland: Convert fullscreen flag to bool
9 years ago
compositor-x11.c
compositor-x11: Implement mode switching
8 years ago
compositor-x11.h
weston: Port X11 backend to new output handling API
9 years ago
compositor.c
compositor: Implement runtime output transform changes
8 years ago
compositor.h
libweston: drop return type from ::query_dmabuf_{formats, modifiers}
8 years ago
data-device.c
libweston: Use struct timespec for touch motion events
8 years ago
dbus.c
…
dbus.h
…
gl-renderer.c
gl-renderer: return conservative format list if dmabuf import modifiers unsupported
8 years ago
gl-renderer.h
gl-renderer: Add <platform_attribs> param to gl_renderer_display_create
9 years ago
input.c
input: Do not override keyboard focus on restore
8 years ago
launcher-direct.c
configure.ac: use AC_HEADER_MAJOR to detect major()/minor()
8 years ago
launcher-impl.h
libweston/launcher: annotate iface(s) as constant data
9 years ago
launcher-logind.c
configure.ac: use AC_HEADER_MAJOR to detect major()/minor()
8 years ago
launcher-util.c
libweston: Use struct timespec for key events
8 years ago
launcher-util.h
…
launcher-weston-launch.c
configure.ac: use AC_HEADER_MAJOR to detect major()/minor()
8 years ago
libbacklight.c
…
libbacklight.h
…
libinput-device.c
libweston: Use struct timespec for touch down events
8 years ago
libinput-device.h
…
libinput-seat.c
input: Stop leaking libinput event source on session deactivation
8 years ago
libinput-seat.h
…
libweston-uninstalled.pc.in
buildsystem: add missing pkg-config stub for libweston uninstalled
8 years ago
libweston.pc.in
…
linux-dmabuf.c
linux-dmabuf: send deprecated format events
8 years ago
linux-dmabuf.h
linux-dmabuf: send deprecated format events
8 years ago
log.c
…
noop-renderer.c
…
pixel-formats.c
libweston: Add pixel-format helpers
9 years ago
pixel-formats.h
libweston: Add pixel-format helpers
9 years ago
pixman-renderer.c
libweston: Use struct timespec for key events
8 years ago
pixman-renderer.h
…
plugin-registry.c
…
plugin-registry.h
…
screenshooter.c
libweston: Use struct timespec for the output presentation timestamp
8 years ago
spring-tool.c
build,libweston: Use struct timespec for animations
8 years ago
timeline-object.h
…
timeline.c
timeline: Add GPU timestamp timepoint argument
8 years ago
timeline.h
timeline: Add GPU timestamp timepoint argument
8 years ago
vaapi-recorder.c
…
vaapi-recorder.h
…
version.h.in
…
vertex-clipping.c
…
vertex-clipping.h
…
weston-launch.c
configure.ac: use AC_HEADER_MAJOR to detect major()/minor()
8 years ago
weston-launch.h
…
weston-sync-file.h
libweston: Add check and fallback for linux/sync_file.h
8 years ago
windowed-output-api.h
…
zoom.c
build,libweston: Use struct timespec for animations
8 years ago