summaryrefslogtreecommitdiff
path: root/src/protocols/ForeignToplevelWlr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-4/+4
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-4/+4
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-6/+7
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-5/+5
|
* foreign-toplevel: update monitor properly on changedVaxry2025-07-291-10/+10
| | | | fixes #11197
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-1/+1
|
* protocols: simulate mouse movement after activating a toplevel (#10429)outfoxxed2025-05-161-0/+2
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-85/+85
|
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-1/+1
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-8/+8
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-18/+18
|
* protocols: add Hyprland toplevel mapping implementation (#9775)WhySoBad2025-04-241-8/+4
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-3/+3
|
* socket2: add minimized event for foreign-wlrVaxry2025-03-301-0/+25
| | | | ref #995
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-35/+35
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+1
| | | Cleanup some unneeded includes to speed up compilation
* foreign-toplevel: update active on null window focus (#8860)user1111111111111111111111111111111112024-12-271-1/+1
| | | | | | | * update ForeignTopLevel on null window focus * fix * clang
* core: move internal structures to monitor pointers (#8266)Vaxry2024-10-271-2/+2
|
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-2/+2
| | | | | * move monitors to sp * XD
* foreign-toplevel-wlr: don't send updates to X11 OR windowsVaxry2024-10-191-1/+25
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-8/+8
| | | now we roll loops at blazing constified speed.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
* internal: refactor fullscreen states (#7104)MightyPlaza2024-07-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* foreign-toplevel-wlr: fix out-of-range for missing monitor resourcesVaxry2024-06-231-4/+6
| | | | fixes #6635
* foreign-toplevel: fixup output resource findingVaxry2024-06-121-13/+7
| | | | fixes #6457
* wlr-foreign-toplevel: fix fullscreen failing and add output support (#6360)outfoxxed2024-06-101-2/+18
| | | | | * wlr-foreign-toplevel: fix fullscreen failing and add output support * fix for core protocol rewrite
* xdg-shell: move to new implVaxry2024-05-141-2/+2
|
* foreign-toplevel: bypass no activate focus checksVaxry2024-05-081-4/+3
| | | | | | ref #5939 those are used by focus switchers so they should bypass stuff like focus_on_activate = false
* foreign-toplevel-wlr: send current class and title on mapVaxry2024-05-071-2/+2
| | | | fixes #5910
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-4/+4
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* protocols: utilize hyprwayland-scanner 0.3.3 functionsVaxry2024-05-011-4/+4
| | | | stuff like ::version(), ::client(), ::error() etc
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-47/+61
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* wlr-foreign-toplevel: send done after property changesVaxry2024-04-261-1/+9
| | | | fixes #5753
* foreign-toplevel: fix bad_any_cast in moveWindowVaxry2024-04-251-1/+1
| | | | fixes #5740
* wlr-foreign-toplevel: move to new implVaxry2024-04-251-0/+354