aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-28util: use shm_open for in-memory filesemersion
shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file.
2018-10-28Merge pull request #1340 from emersion/fix-input-method-destroyDrew DeVault
input-method-v2: initialize destroy signal
2018-10-28Merge pull request #1338 from emersion/wayland-swap-intervalDrew DeVault
render: on Wayland, make eglSwapBuffers non-blocking
2018-10-28input-method-v2: initialize destroy signalemersion
2018-10-28Merge pull request #1339 from MrSorcus/masteremersion
Fix "variable ‘cursor_default’ set but not used"
2018-10-28Fix "variable ‘cursor_default’ set but not used"Sorcus
2018-10-28Merge pull request #1337 from emersion/idle-zero-timeoutemersion
idle: allow zero timeout
2018-10-28render: on Wayland, make eglSwapBuffers non-blockingemersion
2018-10-28idle: allow zero timeoutemersion
Prior to this commit, setting up a zero timeout resulted in a timer that never expires, which isn't particularly useful. This commit allows setting up timers that expire immediately, which is useful to immediately enter idle state.
2018-10-27Merge pull request #1336 from swaywm/freebsdemersion
Add FreeBSD build
2018-10-27Add FreeBSD buildDrew DeVault
2018-10-27Merge pull request #1335 from emersion/fucking-transparencyRyan Dwyer
xwayland: fix typo to enable transparency
2018-10-27xwayland: fix typo to enable transparencyemersion
We spent literally hours trying to debug this. Turns out it's a typo. Kill me.
2018-10-22Merge pull request #1327 from RyanDwyer/xwm-unset-minmax-hintsDrew DeVault
xwm: Unset min/max size hints if they're not used
2018-10-22xwm: Unset min/max size hints if they're not usedRyan Dwyer
2018-10-21Merge pull request #1289 from ixru/fix-cursor-visibilityDrew DeVault
Fix cursor visibility on surface commit
2018-10-21Merge pull request #1307 from emersion/static-analysisDrew DeVault
Fix a few bugs found by the static analyzer
2018-10-21Update version to 0.1emersion
2018-10-19Merge pull request #1320 from emersion/fix-duplicate-cursorsemersion
output-layout, cursor: fix duplicate cursors
2018-10-19Merge pull request #1321 from RyanDwyer/xwm-remove-dangling-parentemersion
xwm: Remove child->parent pointer when parent destroys
2018-10-19xwm: Remove child->parent pointer when parent destroysRyan Dwyer
2018-10-19output-layout, cursor: fix duplicate cursorsemersion
wlr_cursor: make sure the output doesn't have a cursor before creating a new one wlr_output_layout: don't emit the "add" event when the output is already in the layout
2018-10-19Merge pull request #1287 from emersion/source-seat-clientDrew DeVault
data-device: remove wlr_data_source.seat_client
2018-10-19Merge pull request #1314 from nyorain/write_pixels_formatemersion
Remove fmt parameter from wlr_texture_write_pixels
2018-10-18Merge pull request #1319 from emersion/x11-configure-maskDrew DeVault
xwayland: handle configure event mask
2018-10-18xwayland: handle configure event maskemersion
2018-10-17Merge pull request #1318 from dcz-purism/text_input_errorDrew DeVault
text-input: Don't reject enable requests when unfocused
2018-10-17Merge pull request #1316 from agx/fullscreen-vs-layershellDrew DeVault
rootston: Don't let the wlr_output handle the fullscreen view in case…
2018-10-17text-input: Don't reject enable requests when unfocusedDorota Czaplejewicz
The prevoius implementation would always raise an error in the following sequence: -> enter -> leave <- enable The text-input type is not equipped to manage the validity of clents' requests, which should be handled in the compositor, as rootston does.
2018-10-17rootston: Don't let the wlr_output handle the fullscreen view in case of ↵Guido Günther
layer-shell overlays Otherwise the overlays will no tbe drawn. Closes: #1300
2018-10-17Merge pull request #1317 from sghctoma/freebsd-fixesDrew DeVault
FreeBSD fixes
2018-10-17Add epoll-shim dependency on FreeBSDsghctoma
On FreeBSD, epoll is provided as a 3rd-party library, so it needs to be added as a dependency.
2018-10-17Increase _POSIX_C_SOURCE to 200112Lsghctoma
CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
2018-10-16Use enum wl_shm_format for gles2 texture formatsnyorain
Also rephrase the write_pixels comment.
2018-10-15Remove fmt parameter from wlr_texture_write_pixelsnyorain
It's not allowed to change the format of a texture so remove the confusing parameter.
2018-10-15Merge pull request #1313 from colemickens/libdrmScott Anderson
render: fix meson including libdrm
2018-10-15render: fix meson including libdrmCole Mickens
2018-10-15Merge pull request #1312 from ascent12/drm_includeDrew DeVault
Fix libdrm includes
2018-10-15Fix libdrm includesScott Anderson
This removes any assumptions about how the libdrm headers are installed, and uses the pkg-config include directories as we're "supposed to". This only adds a partial dependency, since we don't actually need to link against libdrm.
2018-10-14Merge pull request #1309 from swaywm/fix-headless-libinputemersion
Fix headless backend
2018-10-14Merge pull request #1310 from colemickens/patch-1emersion
Fix include path for (libdrm/)drm_fourcc.h
2018-10-13Fix include path for (libdrm/)drm_fourcc.hCole Mickens
This PR broke a private nixpkgs definition I have for wlroots: https://github.com/swaywm/wlroots/pull/1304 It is fixed by changing `#include <drm_fourcc.h>` to `#include <libdrm/drm_fourcc.h>`, which follows what is already done in the dmabuf example.
2018-10-13Fix headless backendDrew DeVault
It was only working if you ran it underneath an already-working Wayland compositor. Running with the headless backend on the API would break.
2018-10-14Merge pull request #1308 from dcz-purism/fix_disable_text_inputDrew DeVault
text-input: Accept disable requests
2018-10-13text-input: Accept disable requestsDorota Czaplejewicz
The disable signal on text-input objects must not be ignored. It is only sent when the previous state was enabled.
2018-10-13Merge pull request #1304 from nyorain/dmabuf_v1Drew DeVault
Support older wlr_linux_dmabuf_v1 clients
2018-10-13tablet-v2: fix memory leak on OOM, fix resource versionemersion
2018-10-13backend: fix use-after-free in wlr_backend_autocreateemersion
Found by clang static analyzer.
2018-10-13Merge pull request #1305 from Wolf480pl/fix-xwayland-input-hintemersion
xwayland/xwm: make hints->input default to true
2018-10-13xwayland/xwm: make hints->input default to trueWolf480pl
An X11 client can leave the hints->input WM hint unspecified, by not setting the XCB_ICCCM_WM_HINT_INPUT flag in hints->flags. In that case, we should assume a sane default. Make the hint default to true, so that clients which do not specify the hint, like mupdf, still get keyboard focus. This should fix swaywm/sway#2231