Changes in uspace/app/taskbar/wndlist.c [9a664b6d:95fc538] in mainline
- File:
-
- 1 edited
-
uspace/app/taskbar/wndlist.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar/wndlist.c
r9a664b6d r95fc538 717 717 { 718 718 wndlist_entry_t *entry = (wndlist_entry_t *)arg; 719 wndmgt_window_info_t *winfo = NULL;720 719 sysarg_t dev_id; 721 errno_t rc;722 bool minimized = false;723 720 724 721 /* ID of device that clicked the button */ 725 722 dev_id = entry->wndlist->ev_idev_id; 726 723 727 rc = wndmgt_get_window_info(entry->wndlist->wndmgt, 728 entry->wnd_id, &winfo); 729 if (rc == EOK) { 730 minimized = (winfo->flags & wndf_minimized) == 0; 731 } 732 733 if (!minimized) { 734 (void) wndmgt_activate_window(entry->wndlist->wndmgt, 735 dev_id, entry->wnd_id); 736 } else { 737 (void) wndmgt_deactivate_window(entry->wndlist->wndmgt, 738 dev_id, entry->wnd_id); 739 } 724 (void) wndmgt_activate_window(entry->wndlist->wndmgt, 725 dev_id, entry->wnd_id); 740 726 } 741 727
Note:
See TracChangeset
for help on using the changeset viewer.
