aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-31send proximity_out in proximity in for tablet_v2Markus Ongyerth
When the proximity_in event is sent for tablet_v2 and there's already a surface that currently has tablet (tool) focus, it should be told that this is no longer the case, so we need to send the proximity_out event.
2019-03-27types/meson.build: Add compile args for libinput to lib_wlr_types (#1636)Stuart Dilts
* Add compile args for libinput to lib_wlr_types Fixes the build on openSUSE Tumbleweed * Remove libinput include from wlr_tablet_v2.c + libinput isn't used in the file + Also remove libinput dependency from types/meson.build
2019-03-27wlr_xdg_toplevel_v6: store pending fullscreen outputBrian Ashworth
Since the fullscreen request may be made before the toplevel's surface is mapped, the requested fullscreen output needs to be stored so it can be retrieved on map (along with the existing fullscreen property). This commit makes the required changes for wlr_xdg_toplevel_v6.
2019-03-27wlr_xdg_toplevel: store pending fullscreen outputBrian Ashworth
Since the fullscreen request may be made before the toplevel's surface is mapped, the requested fullscreen output needs to be stored so it can be retrieved on map (along with the existing fullscreen property). This commit makes the required changes for wlr_xdg_toplevel.
2019-03-24rootston: Also iterate layer shell popupsGuido Günther
Broken by 62fd03a7beb18da6c4a5929e38739cf2199dfa79 Closes: #1631
2019-03-22meson.build: require libinput >= 1.9.0Ilia Bozhinov
We use LIBINPUT_SWITCH_TABLET_MODE, which is introduced in 1.9.0
2019-03-21wlr_output: Add preferred property (#1625)Guido Günther
* wlr_output: Indicate modes link * wlr_output: Introduce preferred flag This indicates an outputs preferred mode. * drm: Set preferred flag for an outputs preferred mode
2019-03-19s/lid_switch/switch_deviceRyan Walklin
Rename lid_switch to switch_device to disambiguate lid and tablet mode switches.
2019-03-15backend/noop: improve output number handlingBrian Ashworth
This improves the way the output numbers are handled for the noop backend. Instead of using the number of active outputs plus one, the last used number is stored and new outputs will increment it. This fixes the situation where you start with one output, create a second, close the first, and create a third. Without this, both outputs will be NOOP-2, which causes an issue since the identifier will also be identical. With this, the last output is NOOP-3 and the outputs can be distinguished.
2019-03-15backend/headless: improve output number handlingBrian Ashworth
This improves the way the output numbers are handled for the headless backend. Instead of using the number of active outputs plus one, the last used number is stored and new outputs will increment it. This fixes the situation where you start with one output, create a second, close the first, and create a third. Without this, both outputs will be HEADLESS-2, which causes an issue since the identifier will also be identical. With this, the last output is HEADLESS-3 and the outputs can be distinguished.
2019-03-15backend/x11: improve output number handlingBrian Ashworth
This improves the way the output numbers are handled for the x11 backend. Instead of using the number of active outputs plus one, the last used number is stored and new outputs will increment it. This fixes the situation where you start with one output, create a second, close the first, and create a third. Without this, both outputs will be X11-2, which causes an issue since the identifier will also be identical. With this, the last output is X11-3 and the outputs can be distinguished.
2019-03-15backend/wayland: improve output number handlingBrian Ashworth
This improves the way the output numbers are handled for the wayland backend. Instead of using the number of active outputs plus one, the last used number is stored and new outputs will increment it. This fixes the situation where you start with one output, create a second, close the first, and create a third. Without this, both outputs will be `WL-2`, which causes an issue since the identifier will also be identical. With this, the last output is `WL-3` and the outputs can be distinguished.
2019-03-12meson: remove -Wredundant-declsemersion
This is causing issues with wayland-scanner generated files. The client and server headers are declaring the same structs. We include both in the Wayland backend. See https://gitlab.freedesktop.org/wayland/wayland/issues/82
2019-03-11Update version to 0.5.0Drew DeVault
2019-03-08wlr_output_layout_get_box: handle empty layoutBrian Ashworth
If there were no outputs in the output layout, wlr_output_layout_get_box would return the box: { .x = INT_MIN, .y = INT_MIN, .width = INT_MIN - INT_MAX, .height = INT_MIN - INT_MAX } which results in an integer underflow for both the width and height. This changes the logic to have the box be all zeroes, since an empty output layout does not have a width or height and the location of something without a size is irrelevant so this just uses the origin.
2019-03-06backend/session: Allow setting a custom tty via WLR_DIRECT_TTYNiklas Schulze
2019-03-06Merge pull request #1606 from emersion/xwayland-dev-nullScott Anderson
xwayland: set CLOEXEC on /dev/null FD
2019-03-06xwayland: set CLOEXEC on /dev/null FDemersion
This avoids leaking the FD to Xwayland and its children.
2019-03-05backend/drm: Don't fail on failing to find overlay formatScott Anderson
Some hardware exists which doesn't support XRGB/ARGB overlays, and we aren't even using overlay planes, so don't fail on trying to find a format.
2019-03-05Merge pull request #1604 from emersion/direct-session-cloexecScott Anderson
backend/session: open TTY with O_CLOEXEC for direct session
2019-03-05backend/session: open TTY with O_CLOEXEC for direct sessionemersion
2019-03-04seat: add debug logs when validating grab serialsemersion
Makes it easier to debug when something goes wrong, e.g. button_count stuck to 2 because the compositor ate a button release event.
2019-03-04xwayland: don't set DISPLAYemersion
Let the compositor set it. This allows for multiple Xwayland instances to run at the same time. Fixes https://github.com/swaywm/wlroots/issues/1442
2019-03-04xwm: fix typos in WM_NORMAL_HINTS handlingIlia Bozhinov
2019-03-03xwm: use min size as base size hint if it is missing and vice versaIlia Bozhinov
This is what ICCCM states that a WM should do.
2019-03-02rootston: fix input events for rotated viewsemersion
2019-03-02rootston: split rendering code into render.cemersion
2019-03-02rootston: fix Xwayland children rendering when fullscreenemersion
2019-03-02rootston: fix rotated views renderingemersion
2019-03-02rootston: refactor renderingemersion
This implements rootston surface iterators to ease rendering, sending frame/presentation events and accumulating damage.
2019-03-02backend/session: add noop sessionemersion
This is the first step towards being able to run via DRM leasing and on render nodes. Test with: export WLR_BACKENDS=drm export WLR_SESSION=noop export WLR_DRM_DEVICES=/dev/dri/renderD128
2019-03-02tinywl: send pointer frame eventsemersion
Fixes https://github.com/swaywm/wlroots/issues/1544
2019-03-01seat: fix remaining wlr_button_state enum renameIan Fan
2019-03-01seat: only store serial if pressing a buttonemersion
The grab serial can be used to start a pointer grab. A button pressed event should be used for this purpose. Thus, we should only save the grab serial if it's the first button pressed event we send. This commit makes it so the serial is not saved if a button is released while another button is still pressed.
2019-03-01seat: use wlr_button_state enum instead of uint32_temersion
2019-03-01meson: enable more compiler warningsemersion
2019-02-28seat: guard against button count corruptionemersion
This is still a compositor bug, and bad events will be sent to clients. We'll need to track each button separately to handle this in wlroots.
2019-02-28Remove glEGLImageTargetTexture2DOESGuido Günther
It's declared via render/glapi.txt.
2019-02-28wlr_xdg_shell: Remove redundant declaration in the same fileGuido Günther
2019-02-28rootston/view: Remove redundant declaration in the same fileGuido Günther
2019-02-28Unbreak build with '-Wstrict-prototypes'Guido Günther
2019-02-27Update version to 0.4.1Drew DeVault
2019-02-26rootston: Make add_{switch,binding}_config staticGuido Günther
2019-02-26clang compile fix #1572athrungithub
clang consider error no enum handled, in BSD and Linux
2019-02-25Bump version to 0.4emersion
2019-02-24data-device: check if there's a source before sending dnd_finishemersion
This could cause a segfault in data_offer_destroy if the offer has version < 3.
2019-02-24Add xcb-errors to FreeBSD buildJan Beich
Test f8428d1063c6 at least somewhere to avoid build regressions.
2019-02-24backend/drm: Unset cursor on cleanupScott Anderson
This will prevent the cursor from persisting on the Linux framebuffer terminal on exit.
2019-02-23Merge pull request #1517 from emersion/refactor-dndDrew DeVault
Refactor drag-and-drop
2019-02-23Merge pull request #1568 from emersion/rootston-refactorDrew DeVault
Refactor rootston views