History

screen: do mouseresize() from devdraw instead of the resizeproc

cinap_lenrek committed 8 years ago

Commit fee6fdd1 parent bc5528a2 files · +1 −2Browse files

Unified · Split

2 files
  1. kern/devdraw.c +1 −0
  2. kern/term.c +0 −2
kern/devdraw.c+1−0
@@ -966,6 +966,7 @@ initscreenimage(void) · 965 unmodified lines
966966 return 0;
967967 screenimage = screendimage->image;
968968 // iprint("initscreenimage %p %p\n", screendimage, screenimage);
969+ mouseresize();
969970 return 1;
970971 }
971972
kern/term.c+0−2
@@ -119,8 +119,6 @@ resizeproc(void *arg) · 118 unmodified lines
119119 screenwin();
120120 deletescreenimage();
121121 resetscreenimage();
122− mouseresize();
123−
124122 osmsleep(1000);
125123 }
126124 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t