Changeset 58775d30 in mainline for uspace/srv/hid/compositor/compositor.c
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r6069061 r58775d30 90 90 link_t link; 91 91 atomic_t ref_cnt; 92 window_flags_t flags; 92 93 service_id_t in_dsid; 93 94 service_id_t out_dsid; … … 635 636 sysarg_t pos_id = IPC_GET_ARG1(*icall); 636 637 sysarg_t grab_flags = IPC_GET_ARG2(*icall); 638 639 /* 640 * Filter out resize grab flags if the window 641 * is not resizeable. 642 */ 643 if ((win->flags & WINDOW_RESIZEABLE) != WINDOW_RESIZEABLE) 644 grab_flags &= ~(GF_RESIZE_X | GF_RESIZE_Y); 637 645 638 646 fibril_mutex_lock(&pointer_list_mtx); … … 903 911 return; 904 912 } 913 914 win->flags = IPC_GET_ARG1(call); 905 915 906 916 char name_in[LOC_NAME_MAXLEN + 1]; … … 1885 1895 fibril_mutex_lock(&window_list_mtx); 1886 1896 window_t *win = (window_t *) list_first(&window_list); 1887 if ( win && win->surface) {1897 if ((win) && (win->surface) && (win->flags & WINDOW_RESIZEABLE)) { 1888 1898 window_event_t *event = (window_event_t *) malloc(sizeof(window_event_t)); 1889 1899 if (event == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.