lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Fixed Multi-Monitor placement bug. #136

Closed acidtonic closed 9 years ago

acidtonic commented 9 years ago

Fixed issue with the tilda window dropping down on monitor #2 when the mouse was in that monitor. The tilda window would then stay there until the user would open the configuration and adjust an X/Y value which caused the window to snap back to the correct location. Added this movement code to the activate function which fixed the issue for me.

Now when I mouse into monitor number 2 and press the activate hotkey, the tilda console pops down on the left screen (monitor 1) where as before this patch it would open at (0,0) on the 2nd monitor which was not the desired behavior.. I wouldn't have minded much if moving the mouse back to monitor 1 and repeating the activate hotkey would move it back but somehow it didn't and tilda remained "stuck" on monitor 2.

Thanks for the hard work on Tilda, I love this tool.

lanoxx commented 9 years ago

Merged, thanks alot.