Skip to content

Commit

Permalink
fix: click on trays of wine app
Browse files Browse the repository at this point in the history
Change-Id: I74be647324e30cd482d8faecc49b40bfb012f813
  • Loading branch information
listenerri committed Nov 30, 2018
1 parent b9de38a commit 10da46b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/tray/xwindowtraywidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ void XWindowTrayWidget::configContainerPosition()
xcb_configure_window(c, m_containerWid,
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT,
containerVals);


// move the actual tray window to {0,0}, because tray icons from some wine
// applications (QQ, TIM, etc...) may somehow moved to very long distance positions.
const uint32_t trayVals[2] = { 0, 0 };
xcb_configure_window(c, m_windowId, XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y, trayVals);

xcb_flush(c);
}

Expand Down

0 comments on commit 10da46b

Please sign in to comment.