Ticket #201 (new defect)
Terminal appears on wrong monitor if primary screen is right of secondary one
| Reported by: | maweaver | Owned by: | somebody |
|---|---|---|---|
| Priority: | Fix available | Milestone: | 0.5.0 |
| Component: | guake | Version: | |
| Keywords: | Cc: | perperenator@…, alex@… |
Description
get_final_window_rect, assumes window_rect.x is 0, which may not always be the case. If the starting X coordinate is > 0 it gets reset to 0 by the calculations. The X coordinates should be added to, not set directly:
if halignment == ALIGN_CENTER:
window_rect.x += (total_width - window_rect.width) / 2
if halignment == ALIGN_LEFT:
window_rect_x += 0
elif halignment == ALIGN_RIGHT:
window_rect.x += total_width - window_rect.width
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
