remove unneeded comments

This commit is contained in:
vaxerski 2022-03-09 11:31:19 +01:00
parent 1abf627451
commit f213047085

View file

@ -360,14 +360,6 @@ void CWindowManager::processBarHiding() {
else if (!WORK->getHasFullscreenWindow() && w.getDockHidden()) { else if (!WORK->getHasFullscreenWindow() && w.getDockHidden()) {
const auto COOKIE = xcb_map_window(DisplayConnection, w.getDrawable()); const auto COOKIE = xcb_map_window(DisplayConnection, w.getDrawable());
Events::ignoredEvents.push_back(COOKIE.sequence); Events::ignoredEvents.push_back(COOKIE.sequence);
// restore its params
// Values[0] = (int)w.getDefaultPosition().x;
// Values[1] = (int)w.getDefaultPosition().y;
// xcb_configure_window(DisplayConnection, w.getDrawable(), XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y, Values);
// Values[0] = (int)w.getDefaultSize().x;
// Values[1] = (int)w.getDefaultSize().y;
// xcb_configure_window(DisplayConnection, w.getDrawable(), XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, Values);
w.setDockHidden(false); w.setDockHidden(false);
} }
} }