Commit graph

89 commits

Author SHA1 Message Date
Victoria Brekenfeld
4e1c16c384 fullscreen: Use CosmicWindow for decorations 2023-09-18 18:51:21 +02:00
Victoria Brekenfeld
da90d9bf78 render: Fullscreen/Maximize animation 2023-09-15 18:37:34 +02:00
Victoria Brekenfeld
abf430f956 shell: Rework fullscreen/maximize 2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
7ba52d7162 shell: Refresh focus-stacks after swap 2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
e2ac5c0a23 tiling: Fix swap preview on different workspaces/outputs 2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
1251b7e9f7 shell/tiling: Implement window swap mode 2023-09-12 20:53:35 +02:00
Ian Douglas Scott
9875b87e73 xwm: Don't pass reverse order to update_stacking_order_upwards
This was setting the wrong order, and thus also fighting with
`raise_window`, creating a flood of configure events. Which seemed to
break submenus in Gimp when multiple toplevels were open.

This appears to be correct.
2023-08-09 10:06:03 -07:00
Ian Douglas Scott
eb182cd170 xwm: Don't pass override-redirect surfaces to update_stacking_order*
We shouldn't be sending configures to override-redirect surfaces.

Requires https://github.com/Smithay/smithay/pull/1094 to behave
correctly.
2023-08-08 07:06:34 -07:00
Ian Douglas Scott
baad2c01b4 Fix output filtering of override-redirect windows
`or.geometry()` was actually calling a different method in `filter` than
in `.flat_map`. Apparently since `or` in `filter` is an `&&X11Surface`
instead of `&X11Surface`, that invoked the trait method on `SpaceElement`...

Smithay should be changed in some way so that can't happen, but this
improves some of the behavior in cosmic-comp for now, at least. There
may be other issues related to this.

The `SpaceElement::geometry` was also returning a `loc` of `(0, 0)`,
which presumably isn't correct either.
2023-08-03 16:17:03 -07:00
Victoria Brekenfeld
85edfc7141 tiling: Mouse dragging visuals 2023-07-21 16:08:55 +02:00
Victoria Brekenfeld
a8a5ee466a shell: Generalize move grab 2023-07-17 21:11:23 +02:00
Victoria Brekenfeld
c7d4fa5d53 shell: Fix render order regarding popups 2023-07-13 17:19:29 +02:00
Victoria Brekenfeld
b818a68a91 tiling: Properly handle resizing using a ptr device 2023-07-11 16:33:23 +02:00
Victoria Brekenfeld
99f29187af render: Render resize indicator 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
2004705080 workspace/layout: Resize windows/groups 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
c145b3c35a tiling: Better synchronize configures 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
997223f20a input: Filter resize mode key combinations 2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
e73ebd4413 stacking: header 2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
be1b4ceb10 shell: Allow querying current vs pending state 2023-06-09 16:26:13 +02:00
Victoria Brekenfeld
53c6af5b21 shaders: Premultiply alpha 2023-06-05 18:42:05 +02:00
Victoria Brekenfeld
56131b13ae tiling: Allow selecting groups 2023-06-05 18:42:05 +02:00
Victoria Brekenfeld
6d270dec14 tiling: Recalculate when unmaximizing 2023-06-05 18:42:05 +02:00
Victoria Brekenfeld
9531b3798e tiling: Crop input region to tile 2023-06-05 18:42:05 +02:00
Victoria Brekenfeld
64752fe31a elements: Add custom backdrop element 2023-06-05 18:42:05 +02:00
Victoria Brekenfeld
2f6d4da712 tiling: Consider direction when moving across workspaces and outputs
Fixes second case of #113.
2023-05-25 19:40:13 +02:00
Victoria Brekenfeld
7b3ac7fa77 render: Implement workspace transitions 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
0d1894e08f tiling: Fix misaligned positioning 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
adc28eeb93 tiling: Animate and enable/disable hints 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
4ea0136a9b tiling: Add code to render group hints 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
331b884f1e tiling: Animate tree changes 2023-05-12 20:01:37 +02:00
Ian Douglas Scott
3804c67557 Fixes for rendering windows in Global workspace mode
* Render window and active indicator at correct position relative to
  where the output is within the space.
* Show active indicator around whole window, not only part of window on
  focused output.
2023-03-10 16:20:17 -08:00
Victoria Brekenfeld
b53e5cae6e shell/tiling: Make gaps configurable 2023-03-09 19:13:46 +01:00
Victoria Brekenfeld
4bf2c8df79 shell: Make active hint size configurable 2023-03-09 19:13:45 +01:00
Victoria Brekenfeld
5d173a46a6 shell: Fix missing titlebars 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
659933b039 xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
1c62d6d061 debug: Add actual profiling for rendeirng 2023-03-06 19:39:08 +01:00
Victoria Brekenfeld
9b416b5779 render: Add focus indicator 2023-03-06 19:37:11 +01:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
844ed552b9 smithay fixes 2023-02-24 17:42:20 +01:00
Ian Douglas Scott
26a652f039 Exclude "cosmic-workspace-overview" from workspace screencopy 2023-02-21 15:16:10 -08:00
Victoria Brekenfeld
45bd385d9c shell: Clear fullscreen on new window 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
386501f980 shell: better tiling check for popup constraining 2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
d65e16fc94 shell: unmaximize windows before unmapping them 2023-01-27 20:05:07 +01:00
Victoria Brekenfeld
5d4afa5641 xwm: Simplify override-redirect handling 2023-01-27 19:51:23 +01:00
Victoria Brekenfeld
5a8840b12e shell: Properly propagate tiling state 2023-01-27 13:26:28 +01:00
Victoria Brekenfeld
0090122ffe shell: Don't use output-relative coords for windwo geometry 2023-01-25 14:09:44 +01:00
Victoria Brekenfeld
58f196d638 shell: Handle removed output state better 2023-01-24 21:01:11 +01:00
Victoria Brekenfeld
ae42c5ede9 workspace: Update xwayland render order 2023-01-23 22:56:22 +01:00
Victoria Brekenfeld
4f93222586 workspace: Render OR windows on top of fullscreen 2023-01-23 22:54:05 +01:00
Victoria Brekenfeld
9b1221edc5 xwm: More fixes 2023-01-23 18:25:01 +01:00