Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension will grab mouse and do not release for ever. #23

Closed
linkycj opened this issue May 11, 2013 · 1 comment
Closed

The extension will grab mouse and do not release for ever. #23

linkycj opened this issue May 11, 2013 · 1 comment

Comments

@linkycj
Copy link

linkycj commented May 11, 2013

I got the newest version code to test.
When I removed all task, and want to add new task, the mouse had been grabbed.
Other gnome application could not recieve the mouse event.
After comment the follow lines, everything is ok.

                /*
                // Add keybinding
                global.display.add_keybinding
                (
                        key_open,
                        mySettings,
                        Meta.KeyBindingFlags.NONE,
                        Lang.bind(this, function() { this.menu.open(); })
                );
                
                // Auto focus
                this.menu.connect('open-state-changed', Lang.bind(this, function(menu, open)
                {
                        if (open) { this.newTask.grab_key_focus(); }
                        else { this.newTask.get_stage().set_key_focus(null); }
                }));
                */
@bsaleil
Copy link
Owner

bsaleil commented Feb 25, 2015

Sorry for the late answer but it should be fixed now.

@bsaleil bsaleil closed this as completed Feb 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants