How to capture double click on title bar
Unsolved
General and Desktop
-
For example, I want to minimize (hide) a window when I double click on its title bar (way faster than clicking on the Minimize button)
I can do this in Windows, but how can I do the same in Linux/X11?
I tried reimplementing QWidget::nativeEvent(), but I only receive XCB_CLIENT_MESSAGE with the xcb_generic_event_t event when I click on the title bar (no XCB_BUTTON_PRESS or whatever you would expect on mouse click)
I feel like I got stuck