Changeset 432 for trunk/src/gui/util

Timestamp:
Dec 18, 2009, 2:36:30 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Fixed: Popups shown when another application is active were not controllable with keyboard and didn't close on an outside mouse click (closes #113).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/util/qsystemtrayicon_pm.cpp

    r286 r432  
    158158}
    159159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
    160174bool QSystemTrayIconSys::pmEvent(QMSG *msg, MRESULT *result)
    161175{
     
    165179            switch (SHORT2FROMMP(msg->mp1)) {
    166180                case XST_IN_MOUSE: {
     181
    167182                    PXSTMOUSEMSG pMsg = (PXSTMOUSEMSG)msg->mp2;
    168183                    switch (pMsg->ulMouseMsg) {
     
    182197                }
    183198                case XST_IN_CONTEXT: {
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
    184211                    PXSTCONTEXTMSG pMsg = (PXSTCONTEXTMSG)msg->mp2;
    185212                    if (q->contextMenu()) {
     
    196223                    break;
    197224                }
     225
     226
     227
    198228                default:
    199229                    break;
Note: See TracChangeset for help on using the changeset viewer.