raonetwo / MaximizeToWorkspace

Moves windows to new workspace when Maximized and moves them back when Unmaximized. Inspired by https://github.com/rliang/gnome-shell-extension-maximize-to-workspace with history support
MIT License
32 stars 10 forks source link

Use an idle callback instead of leisure #3

Closed andyholmes closed 4 years ago

andyholmes commented 4 years ago

run_at_leisure() is not a standard function for deferring callbacks and may cause unforseen problems.

Replace it's usage with GLib.idle_add().

andyholmes commented 4 years ago

I'm not sure if this will fix your DnD problem (#2), but it should fix others.

andyholmes commented 4 years ago

Okay, no problem. You can close this if you want :)

raonetwo commented 4 years ago

Closing this pull request, may revisit it in future if required.