'2022/01/06'에 해당되는 글 4건

  1. 2022.01.06 wayland client example
  2. 2022.01.06 weston window transform
  3. 2022.01.06 systemctl TTYPath
  4. 2022.01.06 조이콘 부품 또 지름 8

surface (그려질 영역)

shell surface (창 최소화,최대,닫기 창이름 등 셸 디자인 영역)

근데 git에 있는 cilent 예제에서는 window.c로 랩핑해놔서 아래 소스랑 비교해서 분석하는게 쉽지 않다.

 

[링크 : https://jan.newmarch.name/Wayland/ProgrammingClient/]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston client 메모리 누수  (0) 2022.01.17
wayland buffer  (0) 2022.01.13
weston window transform  (0) 2022.01.06
weston-screenshooter 실행에러  (0) 2022.01.05
weston 단축키  (0) 2022.01.04
Posted by 구차니

wayland 에서 output 버퍼를 뒤집는거라

정상적으로 작동하는 느낌이 아니라

데스크 탑 셀 부분까지 강제로 뒤집어서 오작동 하는 느낌?

fullscreen 예제에서는 정상작동하지만 데스크 탑 셀이 없다보니

데스크탑 셀이 있으면 정상적으로 작동 안하는 걸지도?

 

int
window_get_buffer_transform(struct window *window);

void
window_set_buffer_transform(struct window *window,
    enum wl_output_transform transform);

 

normal
0 - no transform
90
1 - 90 degrees counter-clockwise
180
2 - 180 degrees counter-clockwise
270
3 - 270 degrees counter-clockwise
flipped
4 - 180 degree flip around a vertical axis
flipped_90
5 - flip and rotate 90 degrees counter-clockwise
flipped_180
6 - flip and rotate 180 degrees counter-clockwise
flipped_270
7 - flip and rotate 270 degrees counter-clockwise

[링크 : https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output-enum-transform]

'프로그램 사용 > wayland' 카테고리의 다른 글

wayland buffer  (0) 2022.01.13
wayland client example  (0) 2022.01.06
weston-screenshooter 실행에러  (0) 2022.01.05
weston 단축키  (0) 2022.01.04
weston.ini same-as on output section  (0) 2022.01.03
Posted by 구차니
Linux2022. 1. 6. 15:34

weston 실행 스크립트를 보다보니 아래와 같은게 보인다.

# A virtual terminal is needed.
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes

 

저래서 /dev/tty7 에서 weston이 실행되는 것 같은데

chvt 등을 이용해서 해당 tty로 이동은 불가능한데 어떤식으로 systemctl에서는 구현되어 있는 걸까?

[링크 : https://alan-mushi.github.io/2014/10/26/execute-an-interactive-script-at-boot-with-systemd.html]

'Linux' 카테고리의 다른 글

elementary os  (0) 2022.01.28
linux 터미널 pause, resume  (0) 2022.01.11
uniq 카운트  (0) 2021.12.07
grep 바이너리 파일 일치함  (0) 2021.12.06
리눅스 코어 덤프 및 분석  (0) 2021.11.03
Posted by 구차니

이거.. 소모품이었냐?!?!

조이콘 스트랩이 망가져서 같이 사려는데 배송비 합쳐지지 않고 두번 나가서 조이콘 스틱모듈만 구매!

저번에는 제노 블레이드 DE 한다고 왼쪽 만 두번 갈아먹었는데

젤다 하면서 오른쪽 갈아 먹고 겸사겸사 양쪽 다 갈게 될 느낌이라

쿠폰쓰기 위해 만원 넘기도록 4개 구매!

 

 

젤다 야숨은 엔딩 봤는데 2회차는 좀 까마득하고

제노블레이드 2 중단했던거 이어서나 하게 주말에 고쳐봐야겠다.

Posted by 구차니