Commit Graph

5017 Commits

Author SHA1 Message Date
Vaxry 475abb2ff2 stuf2 2024-07-20 12:42:26 +02:00
Vaxry 6229ac01ac stuf 2024-07-20 12:42:26 +02:00
Mihai Fufezan d087e688a7 Nix: add aquamarine 2024-07-20 12:42:26 +02:00
Vaxry 2fec6f0ab7 le oops 2024-07-20 12:42:26 +02:00
Vaxry 5051aeaa62 tablets and shit 2024-07-20 12:42:26 +02:00
Vaxry ab9e5bf98a fixes 2024-07-20 12:42:26 +02:00
Vaxry 2efac3eb38 gamma done 2024-07-20 12:42:26 +02:00
Vaxry d7855b0349 fix crasherino 2024-07-20 12:42:26 +02:00
Vaxry ef65500874 some format fixes 2024-07-20 12:42:26 +02:00
Vaxry 9c7c9a47f3 ye 2024-07-20 12:42:26 +02:00
Vaxry fe0d464a9c bring back hyprctl output 2024-07-20 12:42:26 +02:00
Vaxry bb2b451ad0 support headless 2024-07-20 12:42:26 +02:00
Vaxry 36ac7e6c76 avoid crash on monitor unplug 2024-07-20 12:42:26 +02:00
Vaxry 93c35602ca fix nullptr deref 2024-07-20 12:42:26 +02:00
Vaxry c7e4f24c45 fixado 2024-07-20 12:42:26 +02:00
Vaxry cb3a3a4998 switches 2024-07-20 12:42:26 +02:00
Vaxry 9f761a9590 stuff 2024-07-20 12:42:26 +02:00
Vaxry bcea65ab09 stuff I already forgot what I did 2024-07-20 12:42:26 +02:00
Vaxry 5dd21d0928 new event api 2024-07-20 12:42:26 +02:00
Vaxry 2b26c738b7 get dma formats from aq 2024-07-20 12:42:26 +02:00
Vaxry c2b4b25346 ye test 2024-07-20 12:42:26 +02:00
Vaxry 1491a853c5 reenable direct scanout 2024-07-20 12:42:26 +02:00
Vaxry 57e9005abb use auto format for cursor 2024-07-20 12:42:26 +02:00
Vaxry 1cbb7b80c5 fix hw cursors with new aq stuff 2024-07-20 12:42:26 +02:00
Vaxry 3cc4387d73 keyboard mod fixes 2024-07-20 12:42:26 +02:00
Vaxry 7dee974be8 minor fixes for wl 2024-07-20 12:42:26 +02:00
Vaxry 9ad03ed231 update key state on key events to have mods working in drm 2024-07-20 12:42:26 +02:00
Vaxry c49ab9e9f3 fix dt issues 2024-07-20 12:42:26 +02:00
Vaxry 24d8e2cfe3 restore vt switching 2024-07-20 12:42:26 +02:00
Vaxry 2b7c89474b minor fixes for new drm stuff 2024-07-20 12:42:26 +02:00
Vaxry 2dbb77b16b bring back renderer session scan 2024-07-20 12:42:26 +02:00
Vaxry ac78133b4c add drm backend to requests 2024-07-20 12:42:26 +02:00
Vaxry d93791e25d Core: Move to aquamarine 2024-07-20 12:42:25 +02:00
phonetic112 f642fb97df
core: Fix crash on opening chromium (#6932) 2024-07-20 10:11:32 +02:00
vaxerski 9b0993cc49 [gha] build man pages 2024-07-19 22:37:42 +00:00
Ferdinand Bachmann efccf25fcc
compositor: implement wayland socket handover (#6930)
* compositor: implement wayland socket handover

This commit implements the compositor side of the Wayland socket
handover protocol as described in the [KDE Wiki]. The CLI options are
chosen so that they are compatible with Kwin.

[KDE Wiki]: https://invent.kde.org/plasma/kwin/-/wikis/Restarting

* main: verify that --wayland-fd is a valid file descriptor

* main: fail if only one of --socket and --wayland-fd is passed
2024-07-20 00:37:20 +02:00
Agent00Ming 8e15f91c24
input: Emulate discrete scrolling from v120 events (#6881)
* seat: avoid sending axis_stop() when source is wheel

 * fix rounding for absolute discrete values greater than 1

Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
2024-07-18 21:57:08 +02:00
VESSE Léo 300228b503
flake: add clang-tools to devShell (#6916) 2024-07-17 23:30:02 +03:00
Party Wumpus 293e687389
renderer: Make shader time always count from zero (#6903)
* testing out an initialtime variable

* Make time universally start at zero instead of exposing an initial time

* Appease the CI
2024-07-16 22:03:10 +02:00
Mihai Fufezan da956c8a97
config: use hyprutils helper (#6891)
* flake.lock: update

nix/overlays: remove xwayland overlay (merged upstream)

* config: use hyprutils helper

* flake.lock: update

* CMake & Meson: update required versions
2024-07-16 21:23:37 +02:00
Khiet Tam Nguyen bd526822de
config: add option to exit window while retaining fullscreen (#516) (#6880)
* feat: saving fullscreen mode and state for restoring later

* style: no p-prefix, capitalised constants
2024-07-15 13:48:04 +02:00
MightyPlaza f442f435d3
layout: update workspace rules on layout change (#6878)
modified:   src/layout/DwindleLayout.cpp
modified:   src/layout/IHyprLayout.cpp
modified:   src/layout/MasterLayout.cpp
2024-07-15 11:57:52 +02:00
Khiet Tam Nguyen bc6b0880dd
window: override noMaximize if new window takes over fullscreen (#6812) (#6870) 2024-07-13 20:44:32 +02:00
MightyPlaza ed6c701144
renderer: partially revert previous xray fix (#6868)
modified:   src/render/OpenGL.cpp
2024-07-13 20:29:07 +02:00
Tim Waterhouse 45c4898423
socket2: Add windowtitlev2 event which includes the window address (#6856)
Fixes #5393
2024-07-13 16:21:32 +02:00
David De Sousa a770a88e09
toplevelexport: fix flipped r/b channels when sharing windows (#6861)
fixes #6823
2024-07-13 12:53:53 +02:00
Tim Waterhouse 1f64668953
ext-foreign-toplevel: Send done after title and class (#6857)
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-13 12:53:23 +02:00
Vaxry 13bc7e1e14 style: fix clang-format 2024-07-13 12:36:35 +02:00
Junxuan Liao 7486576fa7
session-lock: send `locked` after the lock screen is properly rendered (#6850)
The protocol says:
> The locked event "must not be sent until a new "locked" frame (either from a
> session lock surface or the compositor blanking the output) has been presented
> on all outputs and no security sensitive normal/unlocked content is possibly
> visible".

This helps users ensure the screen is properly locked before suspending
the machine. (e.g. with swaylock --ready-fd)
2024-07-13 12:32:08 +02:00
MightyPlaza f85c6416c6
renderer: fix a few xray regressions (#6855)
* fix xray unset
modified:   src/render/OpenGL.cpp

* fix xwray unset
modified:   src/render/OpenGL.cpp
2024-07-12 23:05:19 +02:00