Commit Graph
551 Commits
Author SHA1 Message Date
Tor Hedin Brønner 867d86c784 startup: Hide scratch layer actors if not active 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 00ed83eb19 Spaces: add generic mru method 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner dc2e6d3de7 Move initWorkspaces into Spaces.constructor 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 1839d3713d Move add_all_from_workspace calling into Space 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 46eaa777c1 Move enable stuff into Spaces 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 0ac2af032f Add destroy method 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 7b40ec71fa Check existence before we destroy clones 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner b649a4a6a0 Make the color palette stable across disable->enable 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 101ace3c12 refactor: spaces -> Spaces 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 6fd1185558 Move Space to the top
Classes aren't hoisted
2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 6abe6ea287 Update supported versions
We require 3.26 or greater.
2018-04-22 15:01:57 +02:00
Tor Hedin Brønner fcbdd30ca5 Raise the clone when re-ordering windows 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 04ea63d22b workspace mru: Tune the space preview positions 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 71e78bc28c Reorder ensureViewport 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 22f8686485 Remove obsolete direction 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner b27d755368 Move propogateForward/Backward 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 3fe4f464c3 tiling: Some very basic documentation 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner d1a6686eab Rename propogate_forward/backward
Fix silly typo
2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 80d26142a7 fixup! Move add-handler 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 842b5e521d Move detach and center 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner bf465bd84c Move move 2018-04-22 15:01:57 +02:00
Tor Hedin Brønner d27024c12d refactor: ensure_viewport(s, w, f) -> ensureviewport(w, s, f)
Make passing space optional
2018-04-22 15:01:57 +02:00
Tor Hedin Brønner 9bb1bb231c Remove obsolete focus() function 2018-04-22 15:01:56 +02:00
Tor Hedin Brønner ab0f2be0fe Move add-handler 2018-04-22 15:01:56 +02:00
Tor Hedin Brønner 6239dca64a Actually add shadow to spaces
The clip made them invisible.
2018-04-22 15:01:02 +02:00
Tor Hedin Brønner aa5589c36e disable: Show all window actors 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 9d7a48161c navigator: simplify switchWorkspace
Use `get_next_sibling()` to get a reference to the cloneContainer stacked right
above.
2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 5a121e0953 navigator: block regular workspace navigation 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner f840387d70 liveAltTab: Block un/minimize animations
When alt-tabbing to a scratch window we do an instant preview. Focusing the
window would then trigger an un-minimize animation which would look weird.
2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 6368857b6b liveAltTab: clean up 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner f3c5ec56bc Update colors 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner a916885851 Remove unnecessary WindowActor hiding 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 7952b00ef2 Switch to active workspace properly on startup/restart 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner d404b271fe switch workspace: Don't animate when from and to is equal 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 6672624ce7 Add an ad-hoc label
Made to line up with the topbar workspace name.
2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 6cf10fca49 Better color palette 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 86f4fc3974 Add border radius to cloneContainers
For some reason the box-shadow doesn't work.
2018-04-22 14:57:10 +02:00
Tor Hedin Brønner eea0db3cf6 workspace mru: add some staggered scaling 2018-04-22 14:57:10 +02:00
Tor Hedin Brønner b48ac2fd15 _previewWorkspace ⟶ switchWorkspace
Move _previewWorkspace off of WindowManager, and rename to a more appropriate
name.
2018-04-22 14:57:10 +02:00
Tor Hedin Brønner 580c10df39 Fix minimize animations
Attach all cloneContainers to the BackgroundGroup, leaving it at the bottom of
the window group.

This seems to fix minimize animations.
2018-04-22 14:56:35 +02:00
Tor Hedin Brønner 7563ec7924 Shuffle stacking through get_parent 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner bd72f00ce8 Don't use const for scale 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner 4421ec7d2b Simplify fixStack 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner 4cccda6d05 Don't hide scratch windows 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner 2ced462637 Never show window actors when navigating 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner acc7d543fe Android style workspace mru 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner 3ca72b59f2 navigator: Stack workspaces in mru order 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner dd05a9f163 Add some scale to workspace animation 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner e35bcd6066 Always animate worspace change properly 2018-04-22 14:56:05 +02:00
Tor Hedin Brønner b14820b702 Fix visibility on window startup and scratch toggle 2018-04-22 14:56:05 +02:00