aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-09remove dangling declaration of wlr_xdg_surface_popup_get_position()Ilia Bozhinov
2018-08-09Merge pull request #1182 from ammen99/masterScott Anderson
session: load GPU devices even if they have zero connectors
2018-08-08session: load GPU devices even if they have zero crtcs/connectors/encodersIlia Bozhinov
On some systems (most notably laptops with two GPUs) there are GPUs that don't have attached outputs. However, we still want to load those GPUs because they could still be used by the compositor for rendering.
2018-08-06Merge pull request #1179 from emersion/rootston-toggle-decoration-modeDrew DeVault
rootston: add keybinding to toggle decoration mode
2018-08-06rootston: add keybinding to toggle decoration modeemersion
2018-08-05Merge pull request #1177 from ascent12/check_primeemersion
Check for DRM prime
2018-08-05Check for DRM primeScott Anderson
This will indicate the user properly when multi-GPU is not supported by their GPU driver.
2018-08-04Merge pull request #1168 from manio/multi-gpuDrew DeVault
Fix support for multiple GPU
2018-08-04Remove unused data from gbm_bo userdataScott Anderson
These aren't used anymore and crashes when the gbm_bo tries to get destroyed (e.g. on hotplug).
2018-08-04Fix hardware cursor on secondary GPUScott Anderson
Create rendering resources on parent GPU, so that we can sample the passed in texture properly. The cursor buffer needs to remain on the same GPU.
2018-08-03Merge pull request #1175 from emersion/fix-xdg-output-layout-destroyRyan Dwyer
xdg-output: fix segfault in handle_layout_destroy
2018-08-03xdg-output: fix segfault in handle_layout_destroyemersion
2018-08-03multi-gpu: do not flip screens on secondary GPUMariusz Bialonczyk
All screens on secondary GPU in multiple GPU configurations was flipped 180. The flipped screens was always on secondary card (the primary card was always correct). Tested on nouveau with: WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2 WLR_DRM_DEVICES=/dev/dri/card2:/dev/dri/card1 The commit is fixing this problem. Now all screens are "normal".
2018-08-03gles2: change context when it is not currentMariusz Bialonczyk
Texture functions, that create and manipulate textures should switch the current context if necessary. thanks to: @emersion Fixes #934
2018-08-03multi-backend: do not expose internal renderersMariusz Bialonczyk
backend_get_renderer() is now returning the renderer of the primary GPU, instead of its own renderer, since that's the thing which actually does all of the "real" rendering wlr_multi_backend_add() is now adding all subbackends (otherwise only one GPU is handled). credits: @ascent12
2018-08-03Merge pull request #1173 from sdilts/add-missing-libinputScott Anderson
Add missing dependency libinput to types/meson.build
2018-08-02Add missing dependency libinput to types/meson.buildsdilts
The file `types/tablet_v2/wlr_tablet_v2.c` includes <libinput.h>. Without this change, libinput.h may not be found on some systems.
2018-08-02Merge pull request #1157 from emersion/wlr-gamma-controlDrew DeVault
Implement wlr-gamma-control-unstable-v1
2018-08-02Merge pull request #1171 from emersion/xwayland-document-sigusr1Drew DeVault
xwayland: document SIGUSR1 handler
2018-08-02gamma-control-v1: improve error handlingemersion
2018-08-02gamma-control-v1: fix fds not closedemersion
2018-08-02examples/gamma-control: fix brightness formulaemersion
2018-08-02examples/gamma-control: clamp values, default brightness to 1emersion
2018-08-02examples: add gamma-controlemersion
2018-08-02backend/drm: remove unnecessary castsemersion
2018-08-02gamma-control-v1: set O_NONBLOCK, improve error handling styleemersion
2018-08-02gamma-control-v1: reset gamma table when control is destroyedemersion
2018-08-02backend/drm: allow to pass empty gamma ramp to reset itemersion
2018-08-02output: document gamma functionsemersion
2018-08-02gamma-control-v1: don't insert control in the list before checking unicityemersion
2018-08-02rootston: fire up wlr-gamma-control-unstable-v1emersion
2018-08-02Implement wlr-gamma-control-unstable-v1emersion
2018-08-02xwayland: document SIGUSR1 handleremersion
2018-08-02Merge pull request #1053 from emersion/xdg-decorationDrew DeVault
Add xdg-decoration-unstable-v1 support
2018-07-29Merge pull request #1167 from ammen99/masterBrian Ashworth
rootston: focus newly-created surfaces
2018-07-29Merge pull request #1131 from swaywm/initial-stableDrew DeVault
Initial pass on API stability guarantees
2018-07-29Initial pass on API stability guaranteesDrew DeVault
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h
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-29Merge pull request #1164 from emersion/fix-xwaylandDrew DeVault
Revert "rootston: Reap child processes"
2018-07-29Merge pull request #1165 from Ongy/reintroduce_is_unmanagedDrew DeVault
reintroduce xwayland is_unmanaged
2018-07-29Merge pull request #1166 from emersion/cleanup-example-simpleDrew DeVault
examples: cleanup simple
2018-07-29examples: cleanup simpleemersion
- Move a log to where it should be - Enforce code style - Rename wlr to backend
2018-07-29reintroduce xwayland is_unmanagedMarkus Ongyerth
153f37bdf57c61e7fb09162a6791afe8b9b4d0ef (#1145) removed the wlr_xwayland_is_unamanged function while fixing OR, because it was belieived that it's supposed to work around the broken OR handling. This was a misunderstanding. is_unmanaged is (while sort of a hack) intended to work around inherent differences between "real" X sessions and our Xwayland/wayland situation. The main reason it exists is to support applications like rofi and dzen, while not handing focus to other OR windows (which should *not* be required). Traditionally, these applications just grabbed input from X and didn't need to be focused by any logic in the WM. Which of course doesn't work in wayland compositors. So we have to give them focus in some way. Giving *every* OR window focus, breaks other applications that don't expect focus to change. A testcase that was pointed out to me where wlr_xwayland_is_unamanged was breaking things is https://github.com/swaywm/sway/issues/2128 (syncplay, gitk, gitgui) Supposedly it broke using keyboard to navigate the menus. I can't reproduce this with this patch. The popups can be navigated as long as the parent has focus.
2018-07-29Revert "rootston: Reap child processes"emersion
This reverts commit b6ed1f29a4dbba93eb53c32ec5492db8ee1d9343. This commit breaks xwayland.
2018-07-28Add xdg-decoration-unstable-v1 supportemersion
2018-07-27Merge pull request #1127 from emersion/surface-precommitDrew DeVault
surface: add wlr_surface_role.precommit
2018-07-24rootston: Reap child processesGenki Sky
Just install a SIG_IGN handler, which is defined by POSIX.1-2001 to reap the child. To test, spawn any process (e.g. GUI application) with a keybinding, close that process, verify it doesn't show up as a <defunct> zombie in ps(1) output.
2018-07-22Merge pull request #1159 from ammen99/masteremersion
xdg-shell(-v6): add set_title and set_app_id toplevel signals
2018-07-22xdg-shell(-v6): add set_title and set_app_id toplevel signalsIlia Bozhinov
This is useful for example when rendering decorations
2018-07-22Merge pull request #1149 from emersion/export-map-without-versionemersion
Remove symbol versioning from DSO