aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
AgeCommit message (Collapse)Author
2018-11-12Use #if instead of #ifdef for wlroots config dataemersion
This prevents some annoying issues when e.g. not including wlr/config.h or making a typo in the guard name.
2018-10-28rootston: fix segfault when destroying unmapped fullscreen viewsemersion
2018-10-28rootston: fix segfault in view_atemersion
Make sure the view is mapped.
2018-10-28Fix "variable ‘cursor_default’ set but not used"Sorcus
2018-10-12Merge pull request #1203 from dcz-purism/inputDrew DeVault
Support input method and text input
2018-10-09rootston: add support for text input and the basic of input methodDorota Czaplejewicz
The compositor acts as a relay between applications using the text-input protocol and input methods using the input-method protocol. This change implements the basic but useful support for input-method, leaving out grabs as well as popups.
2018-10-08rootston: export XCURSOR_SIZE and XCURSOR_THEMEemersion
These can be used by toolkits (currently Qt) to choose a default cursor theme and size. Note that this isn't a perfect solution: - Per-seat configuration isn't possible - It's not possible to set the default image - Live config reload isn't possible But it's easy to implement and simple. To fix these remaining issues a separate protocol would be needed.
2018-10-04rootston: send presentation eventsemersion
2018-09-27pointer-constraints: refactoringemersion
* Rename the constraint_create signal to new_constraint for consistency * Move the constraint_destroy signal to the constraint itself * Use rotate_child_position instead of duplicating logic * Fix inert constraint resource handling * Style fixes
2018-09-26pointer-constraints: make region not a pointer, add committed bitfieldemersion
2018-09-18Implement pointer-constraints protocol in wlroots and rootstonLas
2018-09-18Remove extraneous indentation and conform to coding styleLas
2018-09-14Merge pull request #1243 from emersion/layer-shell-suffixDrew DeVault
layer-shell: add _v1 suffix
2018-09-14layer-shell: add _v1 suffixemersion
2018-09-14xdg-output: add _v1 suffixemersion
2018-09-02Init dmabuf global in rendereremersion
2018-08-02rootston: fire up wlr-gamma-control-unstable-v1emersion
2018-08-02Merge pull request #1053 from emersion/xdg-decorationDrew DeVault
Add xdg-decoration-unstable-v1 support
2018-07-29rootston: focus newly-created surfacesIlia Bozhinov
Whenever a new surface is created, we have to update the cursor focus, even if there's no input event. So, we generate one motion event, and reuse the code to update the proper cursor focus. We need to do this for all surface roles - toplevels, popups, subsurfaces. Fixes #1162
2018-07-28Add xdg-decoration-unstable-v1 supportemersion
2018-07-19linux-dmabuf: add v1 suffixemersion
This prevents some future conflicts with the stable version. Fixes #1133
2018-07-14Basic tablet_v2 object lifetimeMarkus Ongyerth
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-07-04surface: make pending and current embedded structsemersion
2018-06-30screencopy-v1: add basic implementationemersion
2018-05-29rootston: enable export-dmabufemersion
2018-05-28virtual-keyboard: add support for the virtual-keyboard-v1 protocolDorota Czaplejewicz
2018-05-08Merge pull request #959 from VincentVanlaer/xwayland-lazyemersion
Add the option to start Xwayland only when a client connects
2018-05-08add wlr_layer_surface_surface_atMarkus Ongyerth
Adds wlr_layer_surface_surface_at, this is consistent with the other shell implementations, and simplifies handling in compositors.
2018-05-06Add option to rootston to start xwayland lazyVincent Vanlaer
2018-05-06Allow xwayland to start lazilyVincent Vanlaer
Makes the xwayland startup process two phased. The first phase just initialises the X11 sockets. The second phase starts the Xwayland server itself. When starting xwayland lazily the second phase will be postponed until a client has connected to the X11 socket. Changes in behaviour: The DISPLAY environment is now set immediately after the X11 sockets are created. When the Xwayland server is killed or crashes, the sockets will not be recreated, but reused. Fixes #849: Start up Xwayland lazily
2018-04-23rootston: Let layer_surface_at look at popupsGuido Günther
This allows them to receive input as well.
2018-04-22Implement output auto-selection in rootstonDrew DeVault
2018-04-21Remove wlr_surface::subsurfaceemersion
2018-04-08Merge pull request #850 from emersion/remove-backend-eglDrew DeVault
backend: remove wlr_backend_get_egl
2018-04-08backend: remove wlr_backend_get_eglemersion
2018-04-07rootston: fix compilation without XWayland supportBruno
2018-04-05Merge pull request #830 from swaywm/xdg-outputDrew DeVault
Add wlr_xdg_output_manager
2018-04-05Initialize rootston _surfaceTancredi Orlando
2018-04-05Add wlr_xdg_output_managerDrew DeVault
2018-04-04Fix xdg-shell popups, add wlr_xdg_surface_surface_atemersion
2018-04-04Add wlr_xdg_surface_v6_surface_at and wlr_wl_shell_surface_surface_atemersion
2018-04-04rootston: fix view_atemersion
2018-04-04Fix wlr_surface_subsurface_at, change it to be wlr_surface_surface_atemersion
2018-04-03Implement input inhibit in rootstonDrew DeVault
2018-04-03Add input-inhibitor example clientDrew DeVault
2018-03-31FIx crash on touch downDrew DeVault
2018-03-31Initialize roots_output to fix -Wmaybe-uninitializedOrestis Floros
With -O2: ../rootston/desktop.c: In function ‘desktop_surface_at’: ../rootston/desktop.c:714:18: error: ‘roots_output’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if ((surface = layer_surface_at(roots_output, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &roots_output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ox, oy, sx, sy))) { ~~~~~~~~~~~~~~~
2018-03-31xwayland: specify xwm cursor stride in bytesemersion
2018-03-30Add wlr_surface_point_accepts_inputDrew DeVault
Ref https://github.com/swaywm/sway/pull/1674