Michael Aaron Murphy
553c49b42b
feat: runtime configurable keybindings
2024-07-01 15:20:23 +02:00
Victoria Brekenfeld
3d58ec062d
ssd: Fix styling
2024-06-28 11:24:54 +02:00
Victoria Brekenfeld
ddcb435632
debug: Fix running with new kms backend
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
92f3dbce01
chore: Cleanup
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
c7d50e7c5b
seat: Make render-related state thread-safe
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
bd58481d19
element: Introduce CosmicMappedKey for safely hashing windows across threads
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
Ian Douglas Scott
f2342f56c1
Update to latest Smithay version
2024-06-19 12:39:16 +02:00
Ian Douglas Scott
697ec9e1fe
Use active() instead of surfaces().any in stack same_client_as
...
Setting the clipboard is only allowed when the keyboard focus is the
same client as the client trying to set the clipboard. We shouldn't
allow background windows in stacks to set the clipboard.
I don't know if anything else expects `same_client_as` to have this `any`
behavior.
2024-06-04 13:24:25 +02:00
Ryan Brue
6ca1a37a53
design: Make server side decorations compact
2024-05-30 23:05:34 +02:00
Ian Douglas Scott
0c54511477
Invert is_decorated test in min_size/max_size
...
It looks like these if conditions assumed `true` mean "has SSDs". But it
actually means the surface is client-side decorated.
2024-05-29 06:26:41 -06:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Ian Douglas Scott
73b12194c0
Update smithay
2024-05-10 13:51:28 +02:00
Ian Douglas Scott
8cee91c88f
Support touch drag for SSD toplevels, and stacks
...
We already direct touch events to Iced, and the Cosmic `HeaderBar`
widget already recognizes drags from touch events. So it seems updating
`last_seat` is all that was needed for windows SSDs.
For stacks, the same works, plus moving using the same logic for
detecting drags that is used for mouse events.
2024-04-19 09:30:46 +02:00
Victoria Brekenfeld
5d5a510691
state: Move shell behind RwLock
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
647deb81f1
shell: Move seats into shell
2024-04-16 18:50:54 +02:00
Ian Douglas Scott
de544e1d31
Update smithay to latest commit
2024-04-09 11:26:36 +02:00
Ian Douglas Scott
7cd13ec6a9
Correctly handle window geometry loc in Focus::under
...
`Focus::under` replaced code in 4 places, that were inconsistent in how
they handled this. This seems to be more correct, in each case.
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
418954a34b
Fix SSD width to use toplevel "geometry"
...
We really need to do something about the term "geometry" being
overloaded.
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
c957d673ba
CosmicStack: Share Focus type with CosmicWindow
...
There's probably more duplicated logic that can be abstracted, but this
removes a bit of redundancy at least.
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
26d2556be0
Initial touch support for SSD
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
18d48665ef
CosmicWindow: Define Focus::{under, cursor_shape}
...
Handling of `PointerTarget::motion` should be unchanged.
`PointerTarget::enter` previously was comparing `loc - geo` rather than
`loc`. The generic version could accommodate that, but I assume this was
incorrect, and the position sent to `enter` wasn't handled correctly.
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
d34662661b
CosmicWindow: Use Option<Focus> instead of a Focus::None
...
Slighter harder to convert to a `u8`, but allows matching over only the
non-None variants, and is more idiomatic.
2024-04-02 17:12:28 +02:00
Victoria Brekenfeld
3da08ed22d
stack: Adjust decorations to window geometry
2024-03-28 18:21:44 +01:00
Victoria Brekenfeld
daf669e656
Fix Text for the floating stacks hint is gone #387
2024-03-27 18:10:33 +01:00
Victoria Brekenfeld
cf75bc1952
chore: Update smithay/libcosmic
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
3cff426805
focus: Fix screencopy
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
5459f52d5e
input: Rework PointerFocus to operate directly on WlSurface
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
b40d153809
cosmic-screencopy-v2
2024-03-25 16:55:31 +01:00
Victoria Brekenfeld
973cfed87b
shell: Handle unmapped windows correctly
2024-03-25 12:51:01 +01:00
Victoria Brekenfeld
aaa40df963
stack: Fix crash by (temporarily) ignoring assert
2024-03-25 12:51:01 +01:00
Victoria Brekenfeld
55eb2fe88e
xwayland: Globally track stacking order
2024-03-25 12:51:01 +01:00
Victoria Brekenfeld
6858238bd6
shell: Unify element_for_(x11_|wl_)surface
2024-03-25 12:51:01 +01:00
Ian Douglas Scott
39ebf39e4f
Update libcosmic/iced
2024-03-22 21:54:45 +01:00
Victoria Brekenfeld
7234a81672
stack: Don't force constant redraws
2024-03-22 18:22:58 +01:00
Ian Douglas Scott
a1c8b3aa3e
Add support for profiling using tracy
2024-03-20 23:55:21 +01:00
Ian Douglas Scott
658a88da8c
Fix building with debug feature
2024-03-19 10:47:37 +01:00
Victoria Brekenfeld
b1a4e1682c
ssd: Add minimize button to header bar
2024-03-05 16:37:01 +01:00
Victoria Brekenfeld
32424d156a
stack: Set suspended state
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
745267ac24
tiling: Minimize animation
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
3eb7e5f82e
shell: implement minimize
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
3c3a5f2ccf
stack: Add interactive resize
2024-03-04 13:19:57 +01:00
Victoria Brekenfeld
afa7ad6d6a
window: Add ssd interactive resize
2024-03-04 13:19:57 +01:00
Michael Aaron Murphy
134bb9f59b
fix(stacks): panic in layout when tabs are paginated
2024-03-04 13:07:43 +01:00
Michael Aaron Murphy
a6c26b0bde
perf(stack): reduce allocations in Tabs::new
2024-03-04 13:07:43 +01:00
Michael Aaron Murphy
26400b5fcd
fix(stack): get gradient colors from theme
2024-03-04 13:07:43 +01:00
Michael Aaron Murphy
e7cf8581cc
fix(stack): show tab text overlay when overflowing
2024-03-04 13:07:43 +01:00
Michael Aaron Murphy
feaf57225a
fix(stack): set linear gradient to 90 degrees
2024-03-04 13:07:43 +01:00
Michael Aaron Murphy
d9750ffb76
fix(stack): set correct colors for light theme
2024-03-04 13:07:43 +01:00
Ian Douglas Scott
3036448c19
Update Smithay, with Window that supports X11 surfaces
2024-02-22 17:49:46 +01:00