Unsolved How to capture double click on title bar
deisik last edited by deisik
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
Mainly, it's OS dependent (on Linux linked to the Window Manager)
Personally, on mac, I have choosen the zoom option instead of minimize and I would not really appreciate some apps to pass over my choice :)