summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
287b4d5)
-------------- Ths line and the following will be ignored --------------
modified:
Makefile
src/fbdev/mouse.cc
unknown:
tags
winnie
winnie_fix_abs_mouse.patch
src/pixmap.d
src/wm.cc.rej
src/fbdev/event.d
src/fbdev/gfx.d
src/fbdev/keyboard.d
src/fbdev/mouse.d
src/sdl/event.d
src/sdl/gfx.d
src/sdl/keyboard.d
src/sdl/mouse.d
ifeq ($(backend), SDL)
def = -DWINNIE_SDL
ifeq ($(backend), SDL)
def = -DWINNIE_SDL
- Window *top = wm->get_window_at_pos(pointer_x, pointer_y);
- if(top) {
- wm->set_focused_window(top);
- }
- else {
- wm->set_focused_window(0);
+ Window *top;
+ if(!(top = wm->get_grab_window())) {
+ top = wm->get_window_at_pos(pointer_x, pointer_y);
+ if(top) {
+ wm->set_focused_window(top);
+ }
+ else {
+ wm->set_focused_window(0);
+ }
}
/* - send each pointer move and button press/release to the topmost window
}
/* - send each pointer move and button press/release to the topmost window