You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CinnamonMagicLamp@klangman] Remove the need to change Effect settings (#721)
* Use _shouldAnimate() patching to prevent Cinnamon from animating the Minimize and Unminimize events. This means that users no longer need to disable the Effect settings in Cinnamon manually. Also means that the Cinnamon New Window animation can be enabled and active along with Magic Lamp effects (so you don't have to give up new window fade in effects in order to enable Magic Lamp).
* This change introduces a class to manage patching _shouldAnimate(). My next extension will also need to patch _shouldAnimate() so I needed a way to coordinate the patching so that the two extensions can coexist. The ShouldAnimateManager class will be used in both extensions. This class will manage the patching of _shouldAnimate() and allow both extensions to intercept different calling contexts of _shouldAnimate().
* Some README changes.
* Removed the need to change the System-Settings->Effect settings to "none" for the Minimize/Unminimize options. This is now accomplished by intercepting a cinnamon API and forcing it to disable the Cinnamon Minimize/Unminimize effects while the MagicLamp extension is enabled.
Copy file name to clipboardExpand all lines: CinnamonMagicLamp@klangman/README.md
+3-8
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,13 @@ A compiz like magic lamp effect for the Cinnamon desktop based on hermes83's Gno
4
4
5
5
This Cinnamon extension will create a Magic Lamp minimize and unminimize effect
6
6
7
-
## IMPORTANT
8
-
9
-
You must disable the Cinnamon Minimize and Unminimize effects as they will interfere with the operation of the Magic Lamp effect. Open the Menu->Preferences->Effects application and set the "New windows or unminimizing existing ones" and "Minimize windows" features to "None".
10
-
11
7
## Requirements
12
8
13
9
Cinnamon 5.6.8 (Mint 21.1) or better.
14
10
15
11
To properly animate in relation to the window-list icon, you need to be using a window-list applet that sets the icon geometry. Otherwise the animation will animate from/to the middle of the monitor on the Cinnamon panel edge rather than an animation specific to the window. The pre-installed "Window list" and "Grouped window list" applets work fine as does "Cassia Window list" (version 2.3.2 or better). CobiWindowList does not currently set icon geometry.
16
12
17
-
This applet requires no other packages other than what is included in a default initialization of Mint 21.1 or better.
13
+
This extension requires no other packages other than what is included in a default installation of Mint 21.1 or better.
18
14
19
15
## Known issues
20
16
@@ -27,12 +23,11 @@ The Steam client for some reason does not support window cloning when minimized,
27
23
3. Click the "Download" tab and then click the "Magic Lamp Effect" entry
28
24
4. Click the "Install" button on the right and then return to the "Manage" tab
29
25
6. Select the new "Magic Lamp Effect" entry and then click the "+" button at the bottom of the window
30
-
7.**Important:** Open the Menu->Preferences->Effects application and change the Minimize and Unminimize effect options to "None"
31
-
8. Use the "gears" icon next to the "Magic Lamp Effect" entry to open the setting window and setup the preferred behaviour
26
+
7. Use the "gears" icon next to the "Magic Lamp Effect" entry to open the setting window and setup the preferred behaviour
32
27
33
28
## Feedback
34
29
35
-
Please leave a comment here on cinnamon-spices.linuxmint.com or you can create an issue on my "Cinnamon Magic Lap" development GitHub repository if you encounter any issues with this extension:
30
+
Please leave a comment here on cinnamon-spices.linuxmint.com or you can create an issue on my "Cinnamon Magic Lamp" development GitHub repository if you encounter any issues with this extension:
0 commit comments