Ian Douglas Scott
0636bcdef3
Add workspace_overview_is_open function; put in a utils::quirks mod
...
This is increasingly not just related to screencopy, so it's weird to
add there. I don't see any other module that fits, so add one called
"quirks" (like the Linux kernel uses for device-specific handling in
generic drives).
2024-07-15 17:12:05 +02:00
Ian Douglas Scott
31358d1993
Inhibit workspace animations when workspaces view is open
...
Fixes https://github.com/pop-os/cosmic-workspaces-epoch/issues/27 .
We want this to apply to changes to workspace either through keybindings
or the cosmic-workspaces UI, so it adding a check here seems reasonable.
In principle it could be good to have some kind of privileged protocol
for setting things like this.
We may also want a configuration option to disable animations at some
point.
2024-07-15 17:12:05 +02:00
Victoria Brekenfeld
c506d94ac8
shell: Don't consider active overviews animations
2024-07-15 16:31:24 +02:00
Victoria Brekenfeld
b1778dabb3
shell: Don't crash on zero outputs for global-mode
2024-07-12 19:29:47 +02:00
Victoria Brekenfeld
3485d82788
shell: Don't allow maximizing fullscreen windows
2024-07-10 22:36:40 +02:00
Victoria Brekenfeld
f02520c194
shell: Don't check grab-conditions for SSD grabs
2024-07-03 23:40:42 +02:00
Victoria Brekenfeld
b9a323c9ff
shell: Populate focus_stack when unstacking
2024-07-03 21:04:28 +02:00
Victoria Brekenfeld
c933aa1a4f
shell: Don't skip over Group-targets for next_focus
2024-07-03 21:03:36 +02:00
Michael Aaron Murphy
553c49b42b
feat: runtime configurable keybindings
2024-07-01 15:20:23 +02:00
Victoria Brekenfeld
5662a0f219
floating: Correctly place grabbed tiled windows
2024-06-28 12:24:09 +02:00
Victoria Brekenfeld
4652a23294
grabs: Fix ssd not updating during move grab
2024-06-28 11:25:20 +02:00
Victoria Brekenfeld
da9af7ad23
floating: Add proper recalculate function
...
Don't just check maximized windows on every refresh, remapping them and
causing flickering, but introduce a proper recalculate method to be
called on layer-shell events / set_output event.
Also if we need to remap, remap all windows to keep stacking order.
2024-06-27 13:35:48 +02:00
Victoria Brekenfeld
953c277cb0
focus: Fix crash when no output is available
2024-06-27 12:35:01 +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
cf0b0f9d2d
chore: Move some rendering-related state into the shell
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
9e05a84db2
state: Split up send_frames
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
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Mattias Eriksson
19ba568f02
Initial support for idle notify and idle ihibit
2024-05-03 14:38:58 +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
f2efc5d56f
shell: Fix MoveGrab with touch not on output pointer is on
2024-04-15 11:37:03 +02:00
Ian Douglas Scott
bddfba464c
shell: Add touch support to ResizeSurfaceGrab
...
Seems to work well with GTK.
2024-04-15 11:37:03 +02:00
Ian Douglas Scott
1da3c7c41e
shell: Touch support for ResizeForkTarget/ResizeForkGrab
...
This seems to be working, though it's quite difficult to actually hit the
small target with touch.
2024-04-15 11:37:03 +02:00
Ian Douglas Scott
b18a3a8bc7
shell: Touch support for move grab
...
Touch support is still needed for other grabs. And SSDs (and libcosmic)
need to start move/menu/etc. based on touch.
2024-04-15 11:37:03 +02:00
Victoria Brekenfeld
11a8265145
toplevel-info: Also send workspace info for new windows
2024-04-11 13:28:49 +02:00
Victoria Brekenfeld
3da08ed22d
stack: Adjust decorations to window geometry
2024-03-28 18:21:44 +01:00
Victoria Brekenfeld
6416299d58
shell: Send on_commit to sticky windows as well
2024-03-28 13:10:28 +01:00
Victoria Brekenfeld
b371a26362
shell: Fix surface_under for sticky windows as well
2024-03-28 13:10:10 +01:00
Victoria Brekenfeld
62e82837f7
Don't consider gestures animating. Fixes #391
2024-03-28 12:34:46 +01:00
Victoria Brekenfeld
5459f52d5e
input: Rework PointerFocus to operate directly on WlSurface
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
973cfed87b
shell: Handle unmapped windows correctly
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
Ryan Brue
fc2173d028
feat: workspace switching touchpad gestures
2024-03-22 12:12:25 +01:00
Victoria Brekenfeld
d341cb8b86
debug: Drop puffin integration
2024-03-21 17:49:06 +01:00
Ian Douglas Scott
a1c8b3aa3e
Add support for profiling using tracy
2024-03-20 23:55:21 +01:00
Victoria Brekenfeld
e7f746ccee
shell: resize_request better handle tiled windows
2024-03-07 16:54:19 +01:00
Victoria Brekenfeld
20123927e0
shell: menu_resize handle sticky windows
2024-03-07 16:53:25 +01:00
Victoria Brekenfeld
153ed8d0a5
workspace: Re-maximize windows when changing tile mode
2024-03-07 12:22:39 +01:00
Victoria Brekenfeld
01c69cb7ea
shell: Unset resizing state properly
2024-03-06 16:29:29 +01:00
Victoria Brekenfeld
3eb7e5f82e
shell: implement minimize
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
13be507093
toplevel-management: Wire up more actions
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
068b70d4bc
shell: empty (un)minimize handlers
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
a668df27ae
tiling: Cleanup old code from spanning outputs
2024-03-04 13:19:57 +01:00
Ian Douglas Scott
3036448c19
Update Smithay, with Window that supports X11 surfaces
2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
849882a7db
clippy fixes
2024-02-19 13:09:49 +01:00
Ashley Wulber
d1aac380ff
fix: set autotile for al workspace sets when there is a change
...
this ensures new workspaces are correctly set to autotile or float
2024-02-12 16:45:09 +01:00