Got it

I've located the problem and it is related to sticky windows. The
following piece of code makes the bug reproducible all the time.

import gtk


class StickyWindow(gtk.Window):
    def __init__(self):
        super(StickyWindow, self).__init__()
        label = gtk.Label("Hello")
        label.show()
        self.add(label)
        self.set_default_size(200, 200)

        self.set_property('accept-focus', False)
        
        self.show()
        self.stick()

    def main(self):
        gtk.main()

if __name__ == "__main__":
    sticky = StickyWindow()
    sticky.main()

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/948371

Title:
  After closing last window on workspace, the keyboard doesn't react at
  any keypress

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/948371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to