aboutsummaryrefslogtreecommitdiff
path: root/examples/layer-shell.c
AgeCommit message (Collapse)Author
2021-01-29examples: remove dependency on wlr_egl from clientsBrandon Dowdy
The specified clients in this commit used to rely on wlr_egl and some of its related functions in order to render surfaces. This is no longer the case as of this commit.
2021-01-12layer-shell: allow new values for keyboard-interactivityDaniel Kondor
Value is now an enum with a new value ("on-demand") that compositors can use to allow "normal" keyboard focus semantics regardless of the layer the client surface is on. An error is sent for invalid keyboard interactivity values. The old behavior is retained for clients using the previous version of the protocol. Also adjusted the layer-shell example program to use the new keyboard interactivity options.
2021-01-12render/egl: replace init/finish with create/destroySimon Ser
This ensures wlr_gles2_renderer can properly take ownership of the wlr_egl. Closes: https://github.com/swaywm/wlroots/issues/2612
2021-01-12render/egl: remove support for EGL_NATIVE_VISUAL_IDSimon Ser
Nobody uses it anymore.
2021-01-04examples: remove visual for EGL_PLATFORM_WAYLAND_EXTSimon Ser
The Wayland EGL platform doesn't have visuals.
2019-01-07Simplify evdev includes on FreeBSD by relying on up-to-date packageJan Beich
As evdev-proto is installed by CI some files have been missed: ../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-12-30examples/layer-shell.c: check popup exists before drawingIan Fan
2018-09-26Fix unknown cursor in layer-shell exampleemersion
2018-08-16Fix build on FreeBSDemersion
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-05-30cleanup: Use void for zero-parameter functionsGenki Sky
Signed-off-by: Genki Sky <sky@genki.is>
2018-04-24render/egl: add wlr_egl_destroy_surfaceemersion
2018-04-23examples/layer-shell: take an explicit grab on the popupGuido Günther
This demonstrates popups can be closed by clicking on the area outside the popup and parent.
2018-04-23examples: Allow to close the popupGuido Günther
So we can the xdg_popup_destroy path.
2018-04-23examples: Handle input entering popup in layer-shellGuido Günther
Change the cursor when entering the popup and make mouse buttons change the red component of the square. This makes sure we can handle input correctly.
2018-04-23examples: Animate popup in layer-shellGuido Günther
2018-04-23examples: Drop unused variableGuido Günther
2018-04-23Fix popup positioning & double popupsDrew DeVault
2018-04-23Finish forward-porting @acrisci's positioner workDrew DeVault
2018-04-23Forward-port xdg-shell-v6 positioner improvementsDrew DeVault
2018-04-23Add (shitty) support for popups to layer exampleDrew DeVault
2018-04-22Update layer shell example -o behaviorDrew DeVault
2018-04-08Fix syntax errorsDrew DeVault
Build before you commit, dumbass
2018-04-08Fix assertions with side-effectsDrew DeVault
Fixes #1725
2018-04-02Always give keyboard focus to the topmost layerDrew DeVault
2018-04-02Identify topmost interactive layer surfaceDrew DeVault
2018-03-30Add more exotic cursor for layer shell exampleDrew DeVault
So it's more obvious that it's being set
2018-03-30Address review feedbackDrew DeVault
2018-03-30Minor bugfixesDrew DeVault
2018-03-30Add pointer support to layer shell exampleDrew DeVault
2018-03-27Fix issue starting up client EGL on X11 backendDrew DeVault
2018-03-27Fix surface layer damage trackingDrew DeVault
2018-03-27Add margin animation to the example demoDrew DeVault
2018-03-27Fix layer rendering/layout bugsDrew DeVault
2018-03-27Fix rebase issues; rearrange layers on destroyDrew DeVault
2018-03-27Add layer_surface.closeDrew DeVault
2018-03-27Fix exclusive zone among other layersDrew DeVault
2018-03-27Fix issue with multiple outputs in layer exampleDrew DeVault
2018-03-27Implement layer surface damageDrew DeVault
2018-03-27Arrange & render layer surfacesDrew DeVault
2018-03-27Fix issues preventing layer from getting allocatedDrew DeVault
Now all of the steps to get rootston a reference to the layer surface are correctly wired up.
2018-03-27Fix strcmp useDrew DeVault
2018-03-27Add broken test client and rootston stubsDrew DeVault