aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-14storage commit #2Markus Ongyerth
2018-07-14convoluted tablet codeMarkus Ongyerth
2018-07-14backend/libinput: Manage tablet tool livetimesMarkus Ongyerth
This adds the management code to manage tablet tools lifetimes from libinput. It follows the suggestion made in the tablet-unstable-v2.xml to destroy tablet_tools once all tablets that it got into contact with were removed from the system. This is implemented via a refcount. If a tool is *not* unique, it will be destroyed on proximity out. This is libinput specific and mentioned in libinput docs that tools will not be found again, so we shouldn't keep a reference to them. Also they can't be on other tablets as well, because they cannot be tracked. The naming in this commit is a bit off (to not break things). The wlr names stay the same, tablet_tool is the libinput_device with capaiblity LIBINPUT_DEVICE_CAP_TABLET_TOOL which is more akin to "tablet" in the tablet-unstable-v2 protocol. The struct that corresponds to the tablet_tool in tablet-unstable-v2 is called tablet_tool_tool, a rename should be done at some point in the future.
2018-07-14Start tablet protocolMarkus Ongyerth
2018-07-13Merge pull request #1132 from emersion/fix-screencopy-frame-errorDrew DeVault
screencopy: fix segfault when client supplies invalid buffer
2018-07-13Revert "Move side-effect out of assert statement"Drew DeVault
This reverts commit a0afedcd8fbeb2013252e629d524aa83cdd9326e.
2018-07-13screencopy: fix segfault when client supplies invalid bufferemersion
2018-07-13Move side-effect out of assert statementDrew DeVault
2018-07-13Merge pull request #1130 from emersion/surface-opaqueDrew DeVault
Add wlr_surface.opaque_region
2018-07-13surface: add wlr_surface.opaque_regionemersion
2018-07-12render: add wlr_texture_is_opaqueemersion
2018-07-12Merge pull request #1128 from agx/unbreak-xvfbemersion
Unbreak xvfb
2018-07-11Missed some old wlr_log callsDrew DeVault
2018-07-11Merge pull request #1116 from emersion/surface-roleDrew DeVault
surface: replace wlr_surface_set_role_committed with wlr_surface_role
2018-07-11x11: make sure event source is drainedGuido Günther
Otherwise running under Xvfb will not deliver any events. This results in e.g. weston-info reporting a 0x0 window size (which results in all sorts of problems).
2018-07-11x11: use correct type for events in wl_event_loop_add_fdGuido Günther
2018-07-11x11: Check if xcb_configure_window workedGuido Günther
So far we did not check for any errors
2018-07-09Merge pull request #1126 from emersion/wlr-log-prefixDrew DeVault
util: add wlr_ prefix to log symbols
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-07-09Merge pull request #1124 from 5nefarious/handle-32bit-timeemersion
fix: handle 32 bit time_t (or smaller)
2018-07-09fix: handle 32 bit time_t (or smaller)Arvin Ignaci
2018-07-08Merge pull request #1121 from emersion/rename-wl-resources-globalDrew DeVault
Rename wl_resources to resource, wl_global to global
2018-07-08Rename wl_resources to resource, wl_global to globalemersion
2018-07-08Merge pull request #1120 from ↵emersion
vilhalmer/gamma-control-set-bail-on-destroyed-resource Bail from setting gamma on destroyed resource
2018-07-08Bail from setting gamma on destroyed resourcevilhalmer
2018-07-08Merge pull request #1118 from emersion/xdg-output-no-noop-updatesDrew DeVault
xdg-output: don't send no-op updates
2018-07-08xdg-output: don't send no-op updatesemersion
To begin with, no-op updates are unnecessary, so this patch is an improvement on its own. Then, this fixes hotplugging issues with xwayland. xwayland waits for both wl_output and xdg_output to send a "done" event. However, it doesn't handle well desynchronized "done" updates: if xdg-output sends "done" twice, the second one will wait for the next wl_output "done" event. This is an issue when the first is a no-op and the second is a real update: the second isn't applied. I've considered patching xwayland instead, but it seems pretty complicated.
2018-07-07Merge pull request #1117 from emersion/inert-outputDrew DeVault
output: make wl_output resources inert
2018-07-07output: make wl_output resources inertemersion
2018-07-07surface: replace wlr_surface_set_role_committed with wlr_surface_roleemersion
2018-07-07Merge pull request #1095 from agx/output-add-modeDrew DeVault
Allow to add additional modes to outputs
2018-07-07rootston: use wl_list_empty instead of wl_list_length > 0Guido Günther
2018-07-07rootston: Handle modeline parameterGuido Günther
This allows to pass custom modes.
2018-07-07drm: Allow to add additional modesGuido Günther
This allows to add additional modes to the list of available video modes using VESA Coordinated Video Timing information. Closes #1080
2018-07-05Merge pull request #1076 from emersion/redesign-surface-stateDrew DeVault
surface: redesign state
2018-07-04surface: fix damage when moving subsurfaces with scale > 1emersion
2018-07-04surface: don't clip input and opaque regionsemersion
These can be set to e.g. regions larger than the surface. If the surface resizes itself, it doesn't need to set again these regions.
2018-07-04surface: rename wlr_surface_state.buffer to buffer_resourceemersion
2018-07-04surface: fix crash on NULL commitemersion
2018-07-04surface: fix previous state eating current state resourcesemersion
2018-07-04output: fix cursor attach coords handlingemersion
2018-07-04surface: add wlr_surface.previousemersion
2018-07-04surface: move position and scale out of wlr_surface_stateemersion
2018-07-04surface: do not monkey-patch state damageemersion
2018-07-04surface: better buffer position handlingemersion
2018-07-04surface: fix WLR_SURFACE_STATE_BUFFER_DAMAGE valueemersion
2018-07-04surface: make pending and current embedded structsemersion
2018-07-04surface: remove wlr_surface_state.subsurface_positionemersion
2018-07-04surface: rename invalid stateemersion
2018-07-04Merge pull request #1112 from emersion/fix-debug-damage-trackingDrew DeVault
Fix damage tracking debug mode