Kovid Goyal
8335a5212e
macOS: Fix an abort due to an assertion when a program tries to set an invalid window title
...
Fixes #7271
2024-03-27 19:02:43 +05:30
Kovid Goyal
aca13a619a
Retry all the ssh kitten tests on failure once
2024-03-26 19:45:20 +05:30
Kovid Goyal
dd879c413a
Initialize temp wayland buffer with background color
2024-03-26 19:31:27 +05:30
Kovid Goyal
351e96ca75
Ensure temp buffer is destroyed once normal swapping is in place
2024-03-26 17:13:31 +05:30
Kovid Goyal
610390ed69
abort ready loop if window receives a close event
2024-03-26 15:44:02 +05:30
Kovid Goyal
a40a36d191
Wayland: Remove the 120ms penalty from waiting for window creation
...
When showing the window we loop in the wayland backend using a
temporary buffer of blank pixels to force the compositor to finish
setting up the top level surface pronto.
TODO: Set the color of the temmporary buffer to the background color
2024-03-26 15:40:13 +05:30
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