Commit Graph

1192 Commits

Author SHA1 Message Date
Kovid Goyal
073f78badb ... 2024-03-26 14:09:19 +05:30
Kovid Goyal
0c5e8be49a ... 2024-03-26 14:06:39 +05:30
Kovid Goyal
2009a20561 ... 2024-03-26 13:42:19 +05:30
Kovid Goyal
f7a7765ba2 Clean up debug rendering output 2024-03-26 13:06:08 +05:30
Kovid Goyal
adf5917325 Wayland: Only launch child after OS Window achieves its final size
Avoids a bunch of SIGIWNCH during child startup as not all programs
handle these correctly. Sadly adds about 0.1 seconds of latency to
startup. Will have to look into reducing that. The Wayland protocol is
*so badly* designed.
2024-03-26 12:48:45 +05:30
Kovid Goyal
f5314cb862 ... 2024-03-26 11:48:57 +05:30
Kovid Goyal
6398dd5b75 Move xdg confugure response into its own function 2024-03-26 11:17:27 +05:30
Kovid Goyal
2edd332759 Flag to indicate that we expect scale from compositor 2024-03-26 10:41:40 +05:30
Kovid Goyal
83fcd472bb Debug output: Show name and version of Wayland compositor 2024-03-26 09:54:38 +05:30
Kovid Goyal
006a047276 Also output pointer shape changes when debugging 2024-03-26 09:18:06 +05:30
Kovid Goyal
db3a49fc4b Wayland KDE: Fix mouse cursor hiding not working in Plasma 6
kwin in Plasma 6 now requires usage of pointer_enter_serial instead of
last received serial for wl_set_cursor_image(). Hopefully, this wont
break any other compositors.

Fixes #7265
2024-03-26 09:02:59 +05:30
Kovid Goyal
a58187943d ... 2024-03-25 18:31:02 +05:30
Kovid Goyal
396def91e5 kwin requires layer properties to be set at creation time 2024-03-25 17:40:14 +05:30
Kovid Goyal
0dd2c3ea27 Edge panels now work
Tested under sway
2024-03-25 13:52:20 +05:30
Kovid Goyal
d56fbb88e5 More work on getting layer to actually render 2024-03-25 12:46:31 +05:30
Kovid Goyal
e9689ea50d Fix wayland backend windowfocused() implementation 2024-03-25 10:33:27 +05:30
Kovid Goyal
5f7e53bfde ... 2024-03-25 08:54:10 +05:30
Kovid Goyal
de1dee6c3b Debug setting of exclusive zone 2024-03-24 21:57:52 +05:30
Kovid Goyal
0b6943fb5a ... 2024-03-24 20:48:20 +05:30
Kovid Goyal
333ea519ed Infrastructure to go from panel CLI opts all the way to wayland layer shell implementation 2024-03-24 20:48:20 +05:30
Kovid Goyal
fe5ccc144b Finish glfw side support for layer shell 2024-03-24 20:48:20 +05:30
Kovid Goyal
0641ec2d89 GLFW API for configuring a window as a layer shell 2024-03-24 20:48:20 +05:30
Kovid Goyal
707e69a794 Start work on wayland layer shell support 2024-03-24 20:48:20 +05:30
Kovid Goyal
2f151e773c ... 2024-03-22 13:52:17 +05:30
Kovid Goyal
1c9f9a74e8 Wayland KDE: Add support for background_blur under kwin using a kwin private Wayland protocol 2024-03-22 13:41:44 +05:30
Kovid Goyal
83468535dd Implement support for preferred buffer scale 2024-03-21 20:53:36 +05:30
Kovid Goyal
55115058d2 Scale pointer axis events by effective scale 2024-03-21 20:53:36 +05:30
Kovid Goyal
776bfa3d7e Basic fractional scale protocol works 2024-03-21 20:53:36 +05:30
Kovid Goyal
6979f1c5eb Add listener for fractional scale events 2024-03-21 20:53:36 +05:30
Kovid Goyal
5d0c25f5ea Register the viewporter 2024-03-21 20:53:36 +05:30
Kovid Goyal
eb42ad3a2b Rename scale to integer_scale
We will presumably have a fractional_scale soon
2024-03-21 20:53:36 +05:30
Kovid Goyal
2b6edbccbc Start work on fractional scale support for Wayland
Register the interface on startup
2024-03-21 20:53:36 +05:30
Kovid Goyal
3c4db20d2d DRYer 2024-03-21 11:27:41 +05:30
Kovid Goyal
baa3ec0a62 Explicitly detect compiler types gcc vs clang 2024-03-14 12:02:01 +05:30
Kovid Goyal
478fc766b6 ... 2024-03-14 11:53:44 +05:30
Kovid Goyal
6c49066cde Fix undefined function pointer usage found by clang sanitizer 2024-03-14 11:47:56 +05:30
Kovid Goyal
3950632517 Switch to detecting clang rather than gcc
gcc makes it impossible to detect that it is gcc via --version
so instead detect clang and assume gcc if not clang.

Fixes #7218
2024-03-14 10:48:27 +05:30
Kovid Goyal
6c31256aa1 Keyboard protocol: Do not deliver a fake key release events on OS window focus out for engaged modifiers
Fixes #7196
2024-03-07 08:29:10 +05:30
Kovid Goyal
99af9739b2 ... 2024-02-25 19:46:18 +05:30
Kovid Goyal
9ce366fa7b Fix #7154 2024-02-25 15:22:43 +05:30
Kovid Goyal
ac984d05f2 Fix gcc detection 2024-02-25 09:57:43 +05:30
Kovid Goyal
f16c2a0d67 Move checking for compiler brand into Env 2024-02-25 09:57:43 +05:30
Kovid Goyal
8dd6f9b07c Get universal builds working again
Now we use lipo and build individually so we can pass the correct
compiler flags per arch
2024-02-25 09:57:38 +05:30
Kovid Goyal
7e77a196e6 Build only the SIMD code with SIMD compiler flags 2024-02-25 09:57:38 +05:30
Kovid Goyal
0f60ac2dd7 sprintf -> snprintf 2024-02-25 09:57:30 +05:30
Kovid Goyal
ce2e1b0813 Ensure we dont pass a NULL pointer to wl_pointer_set_cursor()
Possible fix for #7139
2024-02-20 23:31:18 +05:30
Kovid Goyal
585ac148a6 ... 2024-02-09 19:14:26 +05:30
Kovid Goyal
7c14e0d666 macOS: Fix an abort when changing OS window chrome for a full screen window via remote control or the themes kitten
Fixes #7106
2024-02-09 15:32:09 +05:30
Kovid Goyal
7038292d11 Merge branch 'master' of https://github.com/solopasha/kitty 2024-01-19 14:03:30 +05:30
Kovid Goyal
b33f8416db Fix for spurious github code scanning alert 2024-01-19 14:01:26 +05:30