255 Commits (9fd28d1e8151a0dca6f1c89e4328fcad01959537)

Author SHA1 Message Date
Simon Ser f6c36f8881 backend/x11: log unhandled X11 events
4 years ago
Simon Ser 52805feae9 backend/x11: log errors
4 years ago
Isaac Freund 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
5 years ago
Simon Ser 9acca4fc73 backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE
5 years ago
Simon Ser 507d9bc19e Add wlr_output_impl.rollback
5 years ago
Simon Ser d3bd5f2a7b backend: reset EGL surface after buffer swap
5 years ago
Simon Ser e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 9be1af3afb backend/x11: add support for adaptive_sync_enabled
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Scott Anderson 685a5a11a9 backend/x11: Revert usage of present extension
5 years ago
Scott Anderson 3317134adf backend/x11: Drop required present version
5 years ago
Scott Anderson a3c3b928a3 backend/x11: Give X11 a real rendering loop
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Sebastian Krzyszkowiak 415267ac13 backends/x11: Touch support
5 years ago
Dorota Czaplejewicz 5027b23dc2 x11: Send a frame event on the pointer after button events
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Jan Beich b6d0de177a backend: unbreak on 32-bit architectures
6 years ago
Brian Ashworth b135599e5a backend/x11: improve output number handling
6 years ago
emersion 5de26ad8ed
pointer: add a frame event
6 years ago
Jente Hidskes 85d84a1a04
backend/x11 & backend/wayland: make set_title NULL-safe
6 years ago
Jente Hidskes edf0e49195
Add wlr_x11_output_set_title
6 years ago
Jan Beich f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
Scott Anderson d3ee69f76b backend/x11: Hide cursor with Xfixes
6 years ago
Scott Anderson 70ae76304e backend/x11: Remove old input functions
6 years ago
Scott Anderson d89e868cc9 backend/x11: Add new Xinput events
6 years ago
Scott Anderson 88b2d6fe25 backend/x11: Check for xinput extension
6 years ago
Scott Anderson 9c1b87f210 backend/x11: Move atom initilisation earlier
6 years ago
Scott Anderson ab2c57984b backend/x11: Make header order consistent
6 years ago
Scott Anderson 51a283cbe4 backend/x11: Rename xcb_conn to xcb
6 years ago
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
6 years ago
emersion 09550032b7
render: correctly set EGL_RENDERABLE_TYPE
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion 02231554c8 backend/x11: add assertions
6 years ago
random human 7bc2657984
Free unused pointer in x11/backend.c
6 years ago
Scott Anderson fd3fa760d3 Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
6 years ago
Drew DeVault 9c886f20b9 Revert "Merge pull request #1194 from ascent12/meson_feature"
6 years ago
Scott Anderson 784c20c82f Use new options for X11 backend and Xwayland
6 years ago
sdilts 8e7df5eb88 Fix xcb_create_window parameters
6 years ago
sdilts da79fef5f7 Add guard for changing the size of X11 backend windows
6 years ago
sdilts 55cca6deaa Set default output size for X11 backend
6 years ago
Drew DeVault 4b096fc114 Revert "Merge pull request #1153 from emersion/include-config"
6 years ago
emersion 41094a7df5 Always include config.h
6 years ago
Guido Günther 40fe252c2d x11: make sure event source is drained
6 years ago
Guido Günther 8515b7c65b x11: use correct type for events in wl_event_loop_add_fd
6 years ago
Guido Günther e463b49166 x11: Check if xcb_configure_window worked
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Dominique Martinet bcc2c64c1e x11 backend init: fix leak on failed XOpenDisplay
6 years ago
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
7 years ago
emersion 0b58579564
Add support for discrete axis values
7 years ago
Guido Günther 6f01c12b40 backend/x11: don't transform pointer events
7 years ago
emersion 178ac8bffe
backend/{wayland,x11}: fix pointer coords for transformed outputs
7 years ago
emersion 62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion 79da4c175e
backend/headless: remove useless destructor
7 years ago
Drew DeVault fecb971518
Merge pull request #902 from emersion/various-memory-leaks
7 years ago
emersion cd9f25711c
backend: destroy renderer when destroying backend
7 years ago
emersion 625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
Uli Schlachter e5ab12339f x11 backend: Expose events mean "needs swap"
7 years ago
Uli Schlachter e79d924588 x11 backend: Ignore expose if frame is pending
7 years ago
Uli Schlachter 52b058c2a3 x11 backend: Do not set a back pixel on windows
7 years ago
Uli Schlachter 98f8ec6a08 x11_handle_input_event: Remove return value
7 years ago
Uli Schlachter 3728abd1fc handle_x11_event: Remove return value
7 years ago
emersion d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
emersion 03563b61a8
backend/{x11,headless}: use default if supplied refresh is invalid
7 years ago
emersion 2d6bbf12f8
backend/{x11,headless}: fix refresh rate
7 years ago
emersion 9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
emersion 60f07ee321
backend/x11: fix WLR_HAS_XCB_XKB always undefined
7 years ago
Drew DeVault 8b37e8f67a
Merge pull request #792 from emersion/x11-backend-blank-cursor
7 years ago
emersion 33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
emersion 37aae0b2cd
backend/x11: flush after destroying window
7 years ago
emersion 7b88ace557
backend/x11: hide cursor
7 years ago
emersion 5111f7df84
backend/x11: fix extra output
7 years ago
emersion aa6ae710f7
backend/x11: fix input events
7 years ago
emersion 0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
emersion d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago
emersion 5dd022da13
Merge pull request #765 from swaywm/transformed-events
7 years ago
Drew DeVault a35a5786b0 Remove width_mm from wlr_pointer events
7 years ago
emersion f033f717a2
backend/x11: make xcb-xkb optional, remove global state
7 years ago
emersion 8d1b5c7600
backend/x11: correctly update keyboard modifiers
7 years ago
Uli Schlachter c7f8b28d8d Fix use-after-free in x11 backend during shutdown
7 years ago
Dominique Martinet b0c2bbebd1 x11 backend: fix various leaks
7 years ago
Scott Anderson 3c9fc7c68e Add const to x11 and input interfaces
7 years ago
Scott Anderson 902d6cc240 Use xcb atoms properly
7 years ago
Guido Günther 9716aa9b92 x11: parse vendor and model out of xcb setup information
7 years ago
Drew DeVault 1d9be89e2d
Revert "ELF Visibility"
7 years ago
Drew DeVault 868ad5af69
Merge pull request #647 from ascent12/elf_visibility
7 years ago
Scott Anderson 86269052eb Explicitly export EFL symbols
7 years ago
Guido Günther 15afef6cbc x11 backend: set window title
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion 36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion 10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion 5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
emersion bf6d245400
Swap buffers with damage
7 years ago
emersion babdd6ccf7
backend: fix use-after-free when destroying backends
7 years ago
emersion 51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion 8d58ed502b
output: add wlr_output_schedule_frame
7 years ago
emersion 4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
7 years ago
emersion 0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion 78c13ead16
backend/x11: force rendering the whole output
7 years ago
emersion 771263380c
Add wlr_output::enabled
7 years ago
Dominique Martinet fcd7062542 x11 backend: add wlr_input_device_is_x11
7 years ago
Dominique Martinet f83b16bc17 x11 backend: add wlr_output_is_x11
7 years ago
Tony Crisci b5686355f3 add some input device cleanup to x11 backend
7 years ago
emersion b99d1f4fcc
Refactor wlr_egl_init to accept config_attribs
7 years ago
emersion 0256de0002
Add full refresh rate support to custom modes
7 years ago
emersion 75ef7860bb
Merge branch 'master' into display-destroy
7 years ago
emersion 3b4b8953d9
Update output layout when scale or transform changes
7 years ago
emersion c67a5824b8
Merge branch 'master' into display-destroy
7 years ago
emersion 529675b7b0
Add wlr_output_set_custom_mode
7 years ago
emersion 18eb1eee3f
Listen to display destroy in xwayland, rename wlr_egl_free
7 years ago
emersion 9d43adaafa
Listen to display destroy in backends
7 years ago
emersion 7d847efe40
Terminate local display on remote X11 server error
7 years ago
emersion 2c63aa2056
Destroy x11 output with backend
7 years ago
Tony Crisci 9cc5166905 bug: free x11 backend output in destroy
7 years ago
Tony Crisci 875a5b446f remove time usec
7 years ago
Tony Crisci a224e74fad refactor input time_sec to time_msec
7 years ago
emersion eea532911a
Send output current mode when changed
7 years ago
Scott Anderson 822a9f65a4 Add pointer to backend inside wlr_output
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
D.B 7cdc19d57f Fix duplicated pointer axis events
7 years ago
Greg V a5fe9aa736 Add FreeBSD compatibility
7 years ago
Drew DeVault 2f36e78de1 Merge pull request #240 from acrisci/feature/x11-backend-axis
7 years ago
Tony Crisci 2f2392c39e x11-backend: create wlr output global
7 years ago
Tony Crisci 6d9b4f330e x11-backend: axis events
7 years ago
Tony Crisci 4f848000af Merge branch 'master' into feature/xdg-popup
7 years ago
Versus Void 568b270cdf Use xkb_state_update_mask() with Wayland backend
7 years ago
Tony Crisci 7b697fe841 bug: fix x11 event time
7 years ago
Scott Anderson 1b18b0a27d Fix time and transform
7 years ago
Scott Anderson 68c3806377 Remove unused device interfaces
7 years ago
Scott Anderson 5ca9a5c083 Remove dead code
7 years ago
Scott Anderson abe549e01d Cleanup x11 event handler
7 years ago
Scott Anderson 22d5652599 Don't ask for frame immediately after starting
7 years ago
Scott Anderson 6bf508df81 Add closing with WM button
7 years ago
Scott Anderson ce76cfba0f Add window resizing
7 years ago
Scott Anderson e00b4455fe Add pointer motion
7 years ago
Scott Anderson fc0e45f2ee Add mouse button presses
7 years ago
Scott Anderson 8027232ae5 Add timer for rendering loop
7 years ago
Scott Anderson 38bc0ab1cc Fix keycodes
7 years ago