Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/sun



>  			case 0x30:
>  #if NSYSMON_ENVSYS
> -				if (k->k_isconsole)
> +				if (k->k_isconsole) {
>  					k->k_ev = KEY_UP(code) ?
>  					    PSWITCH_EVENT_RELEASED :
>  					    PSWITCH_EVENT_PRESSED;
>  					sysmon_task_queue_sched(0,
>  					    kbd_powerbutton, k);
> +				}

The alternative version sounds more desirable (keyboard power button
works even if not console), what do you think?


Home | Main Index | Thread Index | Old Index