Changes in uspace/srv/hid/compositor/compositor.c [2c7fdaa:c072a29] in mainline
- File:
-
- 1 edited
-
uspace/srv/hid/compositor/compositor.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r2c7fdaa rc072a29 90 90 link_t link; 91 91 atomic_t ref_cnt; 92 window_flags_t flags;93 92 service_id_t in_dsid; 94 93 service_id_t out_dsid; … … 636 635 sysarg_t pos_id = IPC_GET_ARG1(*icall); 637 636 sysarg_t grab_flags = IPC_GET_ARG2(*icall); 638 639 /*640 * Filter out resize grab flags if the window641 * is not resizeable.642 */643 if ((win->flags & WINDOW_RESIZEABLE) != WINDOW_RESIZEABLE)644 grab_flags &= ~(GF_RESIZE_X | GF_RESIZE_Y);645 637 646 638 fibril_mutex_lock(&pointer_list_mtx); … … 911 903 return; 912 904 } 913 914 win->flags = IPC_GET_ARG1(call);915 905 916 906 char name_in[LOC_NAME_MAXLEN + 1]; … … 1895 1885 fibril_mutex_lock(&window_list_mtx); 1896 1886 window_t *win = (window_t *) list_first(&window_list); 1897 if ( (win) && (win->surface) && (win->flags & WINDOW_RESIZEABLE)) {1887 if (win && win->surface) { 1898 1888 window_event_t *event = (window_event_t *) malloc(sizeof(window_event_t)); 1899 1889 if (event == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
