aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols
AgeCommit message (Collapse)Author
2024-08-01pointer: fix buffer crash (#7131)Tom Englund
current buffer->buffer can turn out to be null actually check for its existence or use the lastbuffer when calling updateCursorShm()
2024-07-31core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry
2024-07-31internal: refactor fullscreen states (#7104)MightyPlaza
* refactor fullscreen modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
2024-07-30protocols: Move globalshortcuts impl (#7102)Ikalco
* move global shortcuts to hyprwayland-scanner * remove wayland-scanner from deps * fix the thing
2024-07-29core/surface: fixup a few pointer handling edge casesVaxry
2024-07-29core: add a destructor to CHyprOpenglImpl and avoid wl_container_of ↵Tom Englund
undefined behaviour (#7101) * protocols: avoid undefined behaviour in C macro to safely use wl_container_of with a class the class has to be no virtual functions, no inheritance, and uniform access control (e.g all public) work around this by putting this into a destroywrapper struct. * opengl: clean memory on destruction add a destructor and free the allocated memory and close the fd
2024-07-29protocols: move text-input-v1 to hyprwayland-scanner (#7096)Ikalco
* move text-input-v1 to hyprwayland-scanner * vro
2024-07-29virtualptr: allow binding to outputVaxry
2024-07-29xdg-shell: fix xdg-positioner y-flip (#7094)outfoxxed
2024-07-28surface: emit unmap before unmapping and releasing the buffersvaxerski
2024-07-28core: emit unmap event after unmap in surface destroyvaxerski
2024-07-28core/surface: drop map/unmap events in member funcsvaxerski
causes loops
2024-07-27xdg-shell: completely rewrite xdg-positioner (#7067)outfoxxed
This implementation actually works.
2024-07-27layer-shell: properly map and unmap surface and propagate unmap eventsvaxerski
2024-07-27input: refocus last window on keyboard unfocusable surfacesvaxerski
fixes #4460
2024-07-27wayland/compositor: fixup double buffer releasesvaxerski
fixes #7043
2024-07-27protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)Ikalco
* move screencopy and toplevel export to hyprwayland-scanner * oops
2024-07-25wayland/compositor: release buffers on unmapVaxry
XWayland does not use the regular commit(null) method to unmap, which results in buffers never being released. release the buffers if present and un-released in the unmap() handler ref #6584
2024-07-24core: Properly shutdown wl display (#7018)Ikalco
* correctly destroy wayland globals * properly shutdown and cleanup hyprland * appease the nitpick gods and some comments
2024-07-24shortcutsInhibit: fix crashVaxry
2024-07-24keybinds: add bindp and noshortcutsinhibit (#7017)MightyPlaza
2024-07-23layer-shell: validate exclusiveEdge and don't set it as top by default (#7006)Ikalco
* validate exclusiveEdge and don't set it as top by default * make sure exclusive edge anchor is within bounds
2024-07-22renderer/layer-shell: use explicitly set exclusiveEdge (#6984)Sam Lakerveld
2024-07-22debug: get rid of useless 1s in logs (#6969)Ikalco
* get rid of 1s in logs lol * replace WLR with AQ in logs
2024-07-22wl_seat: avoid sending events to objects without capsVaxry
ref #6835
2024-07-22wayland/output: avoid sending events to dead outputsVaxry
ref #6835
2024-07-22renderer: untransform textures matching display transformVaxry
fixes #6754 This will break if the client uses a transform that is not equal to the display, reverting to old behavior. Combining transforms is left as a todo for the future.
2024-07-21wayland/compositor: fixup buffer damage tracking for wl_shm buffersVaxry
remove qt hack, fixup conditions fixes #6844
2024-07-21presentation-feedback: fix invalid values sent after aq mergeVaxry
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-07-20core: Fix crash on opening chromium (#6932)phonetic112
2024-07-13toplevelexport: fix flipped r/b channels when sharing windows (#6861)David De Sousa
fixes #6823
2024-07-13ext-foreign-toplevel: Send done after title and class (#6857)Tim Waterhouse
According to the spec (https://wayland.app/protocols/ext-foreign-toplevel-list-v1#ext_foreign_toplevel_handle_v1:event:title), clients should wait for the done signal before applying updates
2024-07-13style: fix clang-formatVaxry
2024-07-11sessionLock: fix the check for locking a locked session (#6843)Maximilian Seidler
2024-07-03tablet: Send .frame() on .proximity_out() (#6761)Agent00Ming
Co-authored-by: Agent_00Ming <[email protected]>
2024-06-29seat: don't send keyboard data without a keyboard cap (#6697)はれなよ
* Fix #6279: prevent sending keymap or repeat info events by keyboards without keyboard capability * Remove brackets
2024-06-29pointer-constraint: set lifetime correctlyVaxry
ref #6679
2024-06-24wl-compositor: don't send enter to defunct output globalsVaxry
2024-06-23foreign-toplevel-wlr: fix out-of-range for missing monitor resourcesVaxry
fixes #6635
2024-06-22constraints: Lock surface region when region is empty (#6627)MariuszTrybus
* Pointer constraints: Lock surface region when region is empty * Format code
2024-06-22surface: add virtual destructor to surfacerole to avoid undefined behaviour ↵Tom Englund
(#6620) * surfacerole: add virtual destructor all classes that will be derived from should have a virtual destructor otherwise deleting an instance via pointer to a base class is undefined behaviour, layershell/xdgshell hits this with std::default_delete in the new sharedptr implentation. * includes: fix missing includes fix missing includes for no precompiled headers builds, and remove a redefiniton of a macro already defined in macros.hpp
2024-06-19core: Move to hyprutils for MathVaxry
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
2024-06-17misc: a few compiler level performance optimisations (#6559)Tom Englund
* window: use const references instead of copies use const references instead of wasteful copies and make the = operator check for self assignment and return early. also use const in all the other operators. * listener: pass std::function as const reference instead of copies pass the std::functions as const references. * config: dont unnecessarily convert to c_str getHyprlangConfigValuePtr wants an std::string and we already have an std::string, dont convert it to a c_str only for it to be converted back to an std::string. * buffer: pass attributes as const reference pass attributes as const reference instead of copies.
2024-06-17data-device: minor fixesVaxry
send leave after drop, improve checks in completeDrag
2024-06-17seat: track pressed pointer buttonsVaxry
releases them on leave, unless there is a dnd going on
2024-06-17subcompositor/renderer: fixup handling of subsurfaces below the main oneVaxry
some apps (notably vlc 4) place a subsurface below the main surface (which is kinda cursed) but we have to accomodate for that
2024-06-16data-device: properly abort drag on missing deviceVaxry
sometimes there is no focused device (e.g. when dnd'ing on nothing or xwayland) in which case abort would fail to send cancelled to the source. ref #6543
2024-06-16data-device: minor fixupsVaxry
ref #6543 firefox needs a re-enter after a dnd don't destroy dnd on an offer destroy, it's not valid
2024-06-16xdg-shell: Continue transform of popup until size fits (#6521)Dashie