Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-02 15:17:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-02 15:17:22 +0300
commit163996b68129f3a34db73c6a6a1e81ec8f4a81e4 (patch)
treea78662ee2ff3ce658f5a29ff241944ac7bd2953f /source/blender/windowmanager
parentb708917d94afa3a77be5e571b1c36a364d2ec6b5 (diff)
Cleanup: move comments onto own lines to avoid breaking lines
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index ea3596a2143..daa501f55b4 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -1201,8 +1201,8 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
//# define USE_WIN_ACTIVATE
#endif
- wm->winactive =
- win; /* no context change! c->wm->windrawable is drawable, or for area queues */
+ /* No context change! C->wm->windrawable is drawable, or for area queues. */
+ wm->winactive = win;
win->active = 1;
// window_handle(win, INPUTCHANGE, win->active);
@@ -1454,8 +1454,9 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
event.prevx = event.x;
event.prevy = event.y;
- wm->winactive =
- win; /* no context change! c->wm->windrawable is drawable, or for area queues */
+ /* No context change! C->wm->windrawable is drawable, or for area queues. */
+ wm->winactive = win;
+
win->active = 1;
wm_event_add(win, &event);