summaryrefslogtreecommitdiff
path: root/src/Window.hpp
Commit message (Collapse)AuthorAgeFilesLines
* internal: fix interactions with fakefullscreen (#4113)François Conzelmann2023-12-111-0/+1
| | | | | - In a maximized window, unstuck fakefullscreen from on state - In a fakefullscreen window, going in and out of fullscreen state keep the fakefullscreen state rendered
* windowrules: add focus paramVaxry2023-12-081-0/+1
|
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-4/+2
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-0/+2
|
* xdg-shell: improve ack-configure handlingVaxry2023-11-101-5/+5
| | | | fixes #3807
* xdg-shell: update reported size on ack_configureVaxry2023-11-091-3/+6
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-6/+8
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* internal: create canBeGroupedInto() (#3693)MightyPlaza2023-10-301-5/+4
| | | | | | | modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* input: better cursor image infrastructureVaxry2023-10-291-0/+1
| | | | | | Improves handling of cursor images/surfaces Fixes an issue with decos and cursors Fixes #3471
* windowrules: add nearestneighborVaxry2023-10-241-0/+1
|
* renderer: add transformersVaxry2023-10-211-0/+5
|
* surface/wayland: conform to small surface requirementsVaxry2023-10-201-0/+1
| | | | do not stretch small surfaces, instead center them if they fit.
* renderer: Tearing implementation (#3441)Vaxry2023-09-281-2/+8
|
* windowrules: add rule `group` to map windows grouped (#3279)memchr2023-09-221-1/+18
| | | | | * windows: add rule group to map windows grouped * group rule: use `invade` to force open a window in a locked group
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-1/+43
|
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* renderer: Border improvements (#2986)MightyPlaza2023-08-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* remove shadow no_gaps_when_only (#2956)MightyPlaza2023-08-121-0/+1
| | | | | | | modified: src/Window.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/layout/DwindleLayout.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp
* rules: add layer and window xray rulesvaxerski2023-08-091-0/+1
|
* renderer: remember extents before removing a window and use them for dtvaxerski2023-08-091-5/+7
| | | | fixes #2351
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-081-2/+2
|
* windowrules: add workspace paramvaxerski2023-08-021-1/+3
|
* windowrules: implements nomaximizerequest (#2785)MightyPlaza2023-07-231-3/+3
| | | | | | | | | * Window.hpp * ConfigManager.cpp * Windows.cpp * fix maximize event
* renderer: add occlusion for back layersvaxerski2023-07-191-0/+1
|
* windowrules: add border size rulevaxerski2023-07-181-0/+1
|
* keybinds: add movegroupwindowvaxerski2023-07-131-0/+2
|
* rules: add stayfocusedvaxerski2023-07-041-1/+5
|
* xwayland: add force_zero_scalingvaxerski2023-06-111-0/+1
|
* feat: add lockactivegroup dispatcher (#2478)memchr2023-06-091-0/+1
| | | | | | | | | | | | | | | | | * feat: add lockactivegroup dispatcher The `lockactivewindow` dispatcher takes `lock`, `toggle` or `unlock` as arguments. When a group is locked, no window or group can be added to it, nor can it be added to another group, but the `moveintogroup` and `moveoutofgroup` dispatches are not affected. Implementation details: the lock is implement via `SGroupData.locked` flag (defaults to false). The flag is only relevant to the group head, and upon the group head's succession, the flag will be passed down to the new head. Meanwhile, the old head's flag will be set to false. The flag is set to false when a group is dismissed. New condition checks have been added to the dwindle and master layout to check if target group is unlocked (and if the source is also a group and unlocked) before adding windows to the target group. * refactor: `lockactivegroup dispatcher code ordering
* internal: make borderSize prop overridablevaxerski2023-06-041-4/+4
|
* deps: update wlrootsvaxerski2023-06-031-0/+2
|
* rules: add nodimvaxerski2023-05-311-2/+2
|
* layouts: ignore direction forces on non-mapvaxerski2023-05-241-1/+1
|
* decos: recalc on addvaxerski2023-05-231-1/+2
|
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | * added some workspace-specific rules * added some worskpace-specific rules, with windowrule like syntax * monitor is not mandatory anymore * pointers to config are now static * fixed optional WorkspaceRule fields * Windows can now specify border size * removed CHyprOpenGLImpl::renderBorder borderSize default value * stuff --------- Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* renderer: skip rendering bottom layers on fullscreen opaquevaxerski2023-04-221-0/+1
|
* internal: workspace manip handling reworkvaxerski2023-04-141-0/+1
|
* Feat: add initial class/title to hyprctl clientsvaxerski2023-04-031-12/+14
|
* Fix some typos (#1907)Alexander Seiler2023-03-291-1/+1
| | | Signed-off-by: Alexander Seiler <seileralex@gmail.com>
* feat: add forcergbx rulevaxerski2023-03-261-0/+1
|
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-0/+4
|
* groups: fix moving between displaysvaxerski2023-03-181-0/+1
|
* Allow decos to request interactivityvaxerski2023-02-281-0/+1
|
* Added decoration reserved areavaxerski2023-02-281-28/+29
|
* minor fixes to X11 configure/or handlingvaxerski2023-02-281-0/+1
|
* Group/Tab Rework (#1580)Vaxry2023-02-191-0/+12
|
* Resize on border (#1347)Ching Pei Yang2023-02-181-0/+4
|
* feat: border angle animations (#1469)ozwaldorf2023-02-011-1/+3
| | | Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* fix deprecated-copy warnvaxerski2023-01-241-2/+5
|
* fix typovaxerski2023-01-241-1/+1
|