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
Pavel Solovev
99b3d0727d
Fix build with gcc14
2024-01-19 11:25:53 +03:00
Kovid Goyal
1593baa9f9
remove unused include
2024-01-18 21:38:18 +05:30
Kovid Goyal
54900183ec
Fix #6997
2024-01-16 13:38:12 +05:30
Jin Liu
e20eff277b
Fix Wayland cursor-shape-v1 cursor not updating
...
According to https://wayland.app/protocols/cursor-shape-v1#wp_cursor_shape_device_v1:request:set_shape
> The serial parameter must match the latest wl_pointer.enter or
> zwp_tablet_tool_v2.proximity_in serial number sent to the client.
So we can't use wl.serial or wl.pointer_serial, because they are also updated in other places.
2024-01-04 19:54:03 +08:00
Kovid Goyal
c76db4bfb4
Wayland: Redraw titlebar title on font size change
...
Fixes #6945
2023-12-25 17:20:52 +05:30
Kovid Goyal
4519b3abee
Enable cursor shape on Wayland
...
Cant replicate the hyprland crash, so am not going to bother about it.
Fixes #6914
2023-12-24 22:56:01 +05:30
Kovid Goyal
cff490f881
Wayland: Add support for the new cursor-shape protocol
...
It is currently disabled because no compositor seems to support it.
Hyprland reports it as available but using it causes Hyprland to crash.
Plasma 6 is supposed to have it but I am not installing a beta just for
this.
Typical Wayland.
2023-12-24 18:45:17 +05:30
Kovid Goyal
7d8c017215
DRYer
2023-12-24 15:03:56 +05:30
Felix Kratz
912c5ce4f9
dont reuse cascade point on another display
...
fix wording
reset cascade point to zero point
2023-12-21 11:30:50 +01:00
Kovid Goyal
b2587c1d54
Fix modifier reporting on macOS
...
We make use of the fact that the device dependent modifiers flags
actually report left/right modifier. Code taken form SDL, with thanks.
2023-12-14 11:31:48 +05:30
Kovid Goyal
00f8f340bf
macOS: Fix returning from full screen via the button when the titlebar is hidden not hiding the buttons
...
Fixes #6883
2023-12-10 22:30:15 +05:30