Lines Matching full:position
4 Subject: [PATCH 05/17] qwaylandxdgshell: Support setting window position
6 Support setting window position.
8 1/ (0,0) initial position(default position) would be ignored.
10 3/ QT would not aware of the wayland position.
29 + QPoint position = m_window->geometry().topLeft();
31 + // Also avoid initial position (0,0).
33 + if (m_position == position)
35 + m_position = position;
37 + // HACK: Set window position through .set_window_geometry(x, y, 0, 0)
38 + set_window_geometry(position.x() > 0 ? position.x() : 0,
39 + position.y() > 0 ? position.y() : 0, 0, 0);