f 226 lib-src/ebrowse.c set_flag (int *f, int flag) f 228 lib-src/ebrowse.c *f |= flag; f 232 lib-src/ebrowse.c has_flag (int f, int flag) f 234 lib-src/ebrowse.c return (f & flag) != 0; f 482 lib-src/emacsclient.c FILE *f = is_error ? stderr : stdout; f 484 lib-src/emacsclient.c vfprintf (f, format, args); f 485 lib-src/emacsclient.c fflush (f); f 419 lib-src/etags.c static bool filename_is_absolute (char *f); f 97 lib-src/make-fingerprint.c FILE *f = fopen (file, raw ? "r" FOPEN_BINARY : "r+" FOPEN_BINARY); f 99 lib-src/make-fingerprint.c if (!f || fstat (fileno (f), &st) != 0) f 127 lib-src/make-fingerprint.c size_t chunksz = fread (buf, 1, st.st_size + 1, f); f 128 lib-src/make-fingerprint.c if (ferror (f) || chunksz != st.st_size) f 154 lib-src/make-fingerprint.c if (! (fseeko (f, finger - buf, SEEK_SET) == 0 f 155 lib-src/make-fingerprint.c && fwrite (digest, 1, sizeof digest, f) == sizeof digest)) f 170 lib-src/make-fingerprint.c if (fclose (f) != 0) f 309 lib-src/update-game-score.c FILE *f = fopen (filename, "r"); f 310 lib-src/update-game-score.c if (!f) f 312 lib-src/update-game-score.c if (fstat (fileno (f), &st) != 0) f 323 lib-src/update-game-score.c nread = fread (filedata, 1, filesize + 1, f); f 331 lib-src/update-game-score.c if (ferror (f) || fclose (f) != 0) f 431 lib-src/update-game-score.c FILE *f; f 444 lib-src/update-game-score.c f = fdopen (fd, "w"); f 445 lib-src/update-game-score.c if (! f) f 448 lib-src/update-game-score.c if (fprintf (f, "%s %s\n", scores[i].score, scores[i].user_data) < 0) f 450 lib-src/update-game-score.c if (fclose (f) != 0) f 100 lib/attribute.h #define ATTRIBUTE_DEALLOC(f, i) _GL_ATTRIBUTE_DEALLOC(f, i) f 192 lib/cdefs.h # define __glibc_fortify(f, __l, __s, __osz, ...) \ f 194 lib/cdefs.h ? __ ## f ## _alias (__VA_ARGS__) \ f 196 lib/cdefs.h ? __ ## f ## _chk_warn (__VA_ARGS__, __osz) \ f 197 lib/cdefs.h : __ ## f ## _chk (__VA_ARGS__, __osz))) \ f 202 lib/cdefs.h # define __glibc_fortify_n(f, __l, __s, __osz, ...) \ f 204 lib/cdefs.h ? __ ## f ## _alias (__VA_ARGS__) \ f 206 lib/cdefs.h ? __ ## f ## _chk_warn (__VA_ARGS__, (__osz) / (__s)) \ f 207 lib/cdefs.h : __ ## f ## _chk (__VA_ARGS__, (__osz) / (__s)))) \ f 82 lib/dirent.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 84 lib/dirent.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 53 lib/ieee754.in.h float f; f 155 lib/malloc/dynarray-skeleton.c #define DYNARRAY_FREE DYNARRAY_CONCAT1 (DYNARRAY_NAME (f), ree) f 310 lib/md5.c #define OP(f, a, b, c, d, k, s, T) \ f 313 lib/md5.c a += f (b, c, d) + correct_words[k] + T; \ f 1717 lib/mini-gmp.c mp_limb_t f; f 1743 lib/mini-gmp.c f = (mp_limb_t) x; f 1744 lib/mini-gmp.c x -= f; f 1747 lib/mini-gmp.c rp[i] = f; f 1751 lib/mini-gmp.c f = (mp_limb_t) x; f 1752 lib/mini-gmp.c x -= f; f 1754 lib/mini-gmp.c rp[i] = f; f 1832 lib/mini-gmp.c mp_limb_t f, xl; f 1834 lib/mini-gmp.c f = (mp_limb_t) d; f 1836 lib/mini-gmp.c if (xl > f) f 1838 lib/mini-gmp.c else if (xl < f) f 1840 lib/mini-gmp.c d = B * (d - f); f 157 lib/nstrftime.c #define add(n, f) width_add (width, n, f) f 158 lib/nstrftime.c #define width_add(width, n, f) \ f 179 lib/nstrftime.c f; \ f 489 lib/nstrftime.c const CHAR_T *f; f 541 lib/nstrftime.c for (f = format; *f != '\0'; width = -1, f++) f 566 lib/nstrftime.c switch (*f) f 596 lib/nstrftime.c add1 (*f); f 608 lib/nstrftime.c format_end = f + strlen (f) + 1; f 609 lib/nstrftime.c fsize = format_end - f; f 613 lib/nstrftime.c size_t bytes = mbrlen (f + len, fsize - len, &mbstate); f 620 lib/nstrftime.c len += strlen (f + len); f 634 lib/nstrftime.c cpy (len, f); f 635 lib/nstrftime.c f += len - 1; f 645 lib/nstrftime.c if (*f != L_('%')) f 647 lib/nstrftime.c add1 (*f); f 653 lib/nstrftime.c char const *percent = f; f 658 lib/nstrftime.c switch (*++f) f 665 lib/nstrftime.c pad = *f; f 682 lib/nstrftime.c if (ISDIGIT (*f)) f 688 lib/nstrftime.c || ckd_add (&width, width, *f - L_('0'))) f 690 lib/nstrftime.c ++f; f 692 lib/nstrftime.c while (ISDIGIT (*f)); f 696 lib/nstrftime.c switch (*f) f 700 lib/nstrftime.c modifier = *f++; f 709 lib/nstrftime.c format_char = *f; f 756 lib/nstrftime.c if (f - 1 != percent) f 758 lib/nstrftime.c add1 (*f); f 1281 lib/nstrftime.c switch (*f) f 1411 lib/nstrftime.c for (colons = 1; f[colons] == L_(':'); colons++) f 1413 lib/nstrftime.c if (f[colons] != L_('z')) f 1415 lib/nstrftime.c f += colons; f 1491 lib/nstrftime.c --f; f 1498 lib/nstrftime.c cpy (f - percent + 1, percent); f 308 lib/sha256.c uint32_t f = ctx->state[5]; f 349 lib/sha256.c R( a, b, c, d, e, f, g, h, K( 0), x[ 0] ); f 350 lib/sha256.c R( h, a, b, c, d, e, f, g, K( 1), x[ 1] ); f 351 lib/sha256.c R( g, h, a, b, c, d, e, f, K( 2), x[ 2] ); f 352 lib/sha256.c R( f, g, h, a, b, c, d, e, K( 3), x[ 3] ); f 353 lib/sha256.c R( e, f, g, h, a, b, c, d, K( 4), x[ 4] ); f 354 lib/sha256.c R( d, e, f, g, h, a, b, c, K( 5), x[ 5] ); f 355 lib/sha256.c R( c, d, e, f, g, h, a, b, K( 6), x[ 6] ); f 356 lib/sha256.c R( b, c, d, e, f, g, h, a, K( 7), x[ 7] ); f 357 lib/sha256.c R( a, b, c, d, e, f, g, h, K( 8), x[ 8] ); f 358 lib/sha256.c R( h, a, b, c, d, e, f, g, K( 9), x[ 9] ); f 359 lib/sha256.c R( g, h, a, b, c, d, e, f, K(10), x[10] ); f 360 lib/sha256.c R( f, g, h, a, b, c, d, e, K(11), x[11] ); f 361 lib/sha256.c R( e, f, g, h, a, b, c, d, K(12), x[12] ); f 362 lib/sha256.c R( d, e, f, g, h, a, b, c, K(13), x[13] ); f 363 lib/sha256.c R( c, d, e, f, g, h, a, b, K(14), x[14] ); f 364 lib/sha256.c R( b, c, d, e, f, g, h, a, K(15), x[15] ); f 365 lib/sha256.c R( a, b, c, d, e, f, g, h, K(16), M(16) ); f 366 lib/sha256.c R( h, a, b, c, d, e, f, g, K(17), M(17) ); f 367 lib/sha256.c R( g, h, a, b, c, d, e, f, K(18), M(18) ); f 368 lib/sha256.c R( f, g, h, a, b, c, d, e, K(19), M(19) ); f 369 lib/sha256.c R( e, f, g, h, a, b, c, d, K(20), M(20) ); f 370 lib/sha256.c R( d, e, f, g, h, a, b, c, K(21), M(21) ); f 371 lib/sha256.c R( c, d, e, f, g, h, a, b, K(22), M(22) ); f 372 lib/sha256.c R( b, c, d, e, f, g, h, a, K(23), M(23) ); f 373 lib/sha256.c R( a, b, c, d, e, f, g, h, K(24), M(24) ); f 374 lib/sha256.c R( h, a, b, c, d, e, f, g, K(25), M(25) ); f 375 lib/sha256.c R( g, h, a, b, c, d, e, f, K(26), M(26) ); f 376 lib/sha256.c R( f, g, h, a, b, c, d, e, K(27), M(27) ); f 377 lib/sha256.c R( e, f, g, h, a, b, c, d, K(28), M(28) ); f 378 lib/sha256.c R( d, e, f, g, h, a, b, c, K(29), M(29) ); f 379 lib/sha256.c R( c, d, e, f, g, h, a, b, K(30), M(30) ); f 380 lib/sha256.c R( b, c, d, e, f, g, h, a, K(31), M(31) ); f 381 lib/sha256.c R( a, b, c, d, e, f, g, h, K(32), M(32) ); f 382 lib/sha256.c R( h, a, b, c, d, e, f, g, K(33), M(33) ); f 383 lib/sha256.c R( g, h, a, b, c, d, e, f, K(34), M(34) ); f 384 lib/sha256.c R( f, g, h, a, b, c, d, e, K(35), M(35) ); f 385 lib/sha256.c R( e, f, g, h, a, b, c, d, K(36), M(36) ); f 386 lib/sha256.c R( d, e, f, g, h, a, b, c, K(37), M(37) ); f 387 lib/sha256.c R( c, d, e, f, g, h, a, b, K(38), M(38) ); f 388 lib/sha256.c R( b, c, d, e, f, g, h, a, K(39), M(39) ); f 389 lib/sha256.c R( a, b, c, d, e, f, g, h, K(40), M(40) ); f 390 lib/sha256.c R( h, a, b, c, d, e, f, g, K(41), M(41) ); f 391 lib/sha256.c R( g, h, a, b, c, d, e, f, K(42), M(42) ); f 392 lib/sha256.c R( f, g, h, a, b, c, d, e, K(43), M(43) ); f 393 lib/sha256.c R( e, f, g, h, a, b, c, d, K(44), M(44) ); f 394 lib/sha256.c R( d, e, f, g, h, a, b, c, K(45), M(45) ); f 395 lib/sha256.c R( c, d, e, f, g, h, a, b, K(46), M(46) ); f 396 lib/sha256.c R( b, c, d, e, f, g, h, a, K(47), M(47) ); f 397 lib/sha256.c R( a, b, c, d, e, f, g, h, K(48), M(48) ); f 398 lib/sha256.c R( h, a, b, c, d, e, f, g, K(49), M(49) ); f 399 lib/sha256.c R( g, h, a, b, c, d, e, f, K(50), M(50) ); f 400 lib/sha256.c R( f, g, h, a, b, c, d, e, K(51), M(51) ); f 401 lib/sha256.c R( e, f, g, h, a, b, c, d, K(52), M(52) ); f 402 lib/sha256.c R( d, e, f, g, h, a, b, c, K(53), M(53) ); f 403 lib/sha256.c R( c, d, e, f, g, h, a, b, K(54), M(54) ); f 404 lib/sha256.c R( b, c, d, e, f, g, h, a, K(55), M(55) ); f 405 lib/sha256.c R( a, b, c, d, e, f, g, h, K(56), M(56) ); f 406 lib/sha256.c R( h, a, b, c, d, e, f, g, K(57), M(57) ); f 407 lib/sha256.c R( g, h, a, b, c, d, e, f, K(58), M(58) ); f 408 lib/sha256.c R( f, g, h, a, b, c, d, e, K(59), M(59) ); f 409 lib/sha256.c R( e, f, g, h, a, b, c, d, K(60), M(60) ); f 410 lib/sha256.c R( d, e, f, g, h, a, b, c, K(61), M(61) ); f 411 lib/sha256.c R( c, d, e, f, g, h, a, b, K(62), M(62) ); f 412 lib/sha256.c R( b, c, d, e, f, g, h, a, K(63), M(63) ); f 419 lib/sha256.c f = ctx->state[5] += f; f 332 lib/sha512.c u64 f = ctx->state[5]; f 378 lib/sha512.c R( a, b, c, d, e, f, g, h, K( 0), x[ 0] ); f 379 lib/sha512.c R( h, a, b, c, d, e, f, g, K( 1), x[ 1] ); f 380 lib/sha512.c R( g, h, a, b, c, d, e, f, K( 2), x[ 2] ); f 381 lib/sha512.c R( f, g, h, a, b, c, d, e, K( 3), x[ 3] ); f 382 lib/sha512.c R( e, f, g, h, a, b, c, d, K( 4), x[ 4] ); f 383 lib/sha512.c R( d, e, f, g, h, a, b, c, K( 5), x[ 5] ); f 384 lib/sha512.c R( c, d, e, f, g, h, a, b, K( 6), x[ 6] ); f 385 lib/sha512.c R( b, c, d, e, f, g, h, a, K( 7), x[ 7] ); f 386 lib/sha512.c R( a, b, c, d, e, f, g, h, K( 8), x[ 8] ); f 387 lib/sha512.c R( h, a, b, c, d, e, f, g, K( 9), x[ 9] ); f 388 lib/sha512.c R( g, h, a, b, c, d, e, f, K(10), x[10] ); f 389 lib/sha512.c R( f, g, h, a, b, c, d, e, K(11), x[11] ); f 390 lib/sha512.c R( e, f, g, h, a, b, c, d, K(12), x[12] ); f 391 lib/sha512.c R( d, e, f, g, h, a, b, c, K(13), x[13] ); f 392 lib/sha512.c R( c, d, e, f, g, h, a, b, K(14), x[14] ); f 393 lib/sha512.c R( b, c, d, e, f, g, h, a, K(15), x[15] ); f 394 lib/sha512.c R( a, b, c, d, e, f, g, h, K(16), M(16) ); f 395 lib/sha512.c R( h, a, b, c, d, e, f, g, K(17), M(17) ); f 396 lib/sha512.c R( g, h, a, b, c, d, e, f, K(18), M(18) ); f 397 lib/sha512.c R( f, g, h, a, b, c, d, e, K(19), M(19) ); f 398 lib/sha512.c R( e, f, g, h, a, b, c, d, K(20), M(20) ); f 399 lib/sha512.c R( d, e, f, g, h, a, b, c, K(21), M(21) ); f 400 lib/sha512.c R( c, d, e, f, g, h, a, b, K(22), M(22) ); f 401 lib/sha512.c R( b, c, d, e, f, g, h, a, K(23), M(23) ); f 402 lib/sha512.c R( a, b, c, d, e, f, g, h, K(24), M(24) ); f 403 lib/sha512.c R( h, a, b, c, d, e, f, g, K(25), M(25) ); f 404 lib/sha512.c R( g, h, a, b, c, d, e, f, K(26), M(26) ); f 405 lib/sha512.c R( f, g, h, a, b, c, d, e, K(27), M(27) ); f 406 lib/sha512.c R( e, f, g, h, a, b, c, d, K(28), M(28) ); f 407 lib/sha512.c R( d, e, f, g, h, a, b, c, K(29), M(29) ); f 408 lib/sha512.c R( c, d, e, f, g, h, a, b, K(30), M(30) ); f 409 lib/sha512.c R( b, c, d, e, f, g, h, a, K(31), M(31) ); f 410 lib/sha512.c R( a, b, c, d, e, f, g, h, K(32), M(32) ); f 411 lib/sha512.c R( h, a, b, c, d, e, f, g, K(33), M(33) ); f 412 lib/sha512.c R( g, h, a, b, c, d, e, f, K(34), M(34) ); f 413 lib/sha512.c R( f, g, h, a, b, c, d, e, K(35), M(35) ); f 414 lib/sha512.c R( e, f, g, h, a, b, c, d, K(36), M(36) ); f 415 lib/sha512.c R( d, e, f, g, h, a, b, c, K(37), M(37) ); f 416 lib/sha512.c R( c, d, e, f, g, h, a, b, K(38), M(38) ); f 417 lib/sha512.c R( b, c, d, e, f, g, h, a, K(39), M(39) ); f 418 lib/sha512.c R( a, b, c, d, e, f, g, h, K(40), M(40) ); f 419 lib/sha512.c R( h, a, b, c, d, e, f, g, K(41), M(41) ); f 420 lib/sha512.c R( g, h, a, b, c, d, e, f, K(42), M(42) ); f 421 lib/sha512.c R( f, g, h, a, b, c, d, e, K(43), M(43) ); f 422 lib/sha512.c R( e, f, g, h, a, b, c, d, K(44), M(44) ); f 423 lib/sha512.c R( d, e, f, g, h, a, b, c, K(45), M(45) ); f 424 lib/sha512.c R( c, d, e, f, g, h, a, b, K(46), M(46) ); f 425 lib/sha512.c R( b, c, d, e, f, g, h, a, K(47), M(47) ); f 426 lib/sha512.c R( a, b, c, d, e, f, g, h, K(48), M(48) ); f 427 lib/sha512.c R( h, a, b, c, d, e, f, g, K(49), M(49) ); f 428 lib/sha512.c R( g, h, a, b, c, d, e, f, K(50), M(50) ); f 429 lib/sha512.c R( f, g, h, a, b, c, d, e, K(51), M(51) ); f 430 lib/sha512.c R( e, f, g, h, a, b, c, d, K(52), M(52) ); f 431 lib/sha512.c R( d, e, f, g, h, a, b, c, K(53), M(53) ); f 432 lib/sha512.c R( c, d, e, f, g, h, a, b, K(54), M(54) ); f 433 lib/sha512.c R( b, c, d, e, f, g, h, a, K(55), M(55) ); f 434 lib/sha512.c R( a, b, c, d, e, f, g, h, K(56), M(56) ); f 435 lib/sha512.c R( h, a, b, c, d, e, f, g, K(57), M(57) ); f 436 lib/sha512.c R( g, h, a, b, c, d, e, f, K(58), M(58) ); f 437 lib/sha512.c R( f, g, h, a, b, c, d, e, K(59), M(59) ); f 438 lib/sha512.c R( e, f, g, h, a, b, c, d, K(60), M(60) ); f 439 lib/sha512.c R( d, e, f, g, h, a, b, c, K(61), M(61) ); f 440 lib/sha512.c R( c, d, e, f, g, h, a, b, K(62), M(62) ); f 441 lib/sha512.c R( b, c, d, e, f, g, h, a, K(63), M(63) ); f 442 lib/sha512.c R( a, b, c, d, e, f, g, h, K(64), M(64) ); f 443 lib/sha512.c R( h, a, b, c, d, e, f, g, K(65), M(65) ); f 444 lib/sha512.c R( g, h, a, b, c, d, e, f, K(66), M(66) ); f 445 lib/sha512.c R( f, g, h, a, b, c, d, e, K(67), M(67) ); f 446 lib/sha512.c R( e, f, g, h, a, b, c, d, K(68), M(68) ); f 447 lib/sha512.c R( d, e, f, g, h, a, b, c, K(69), M(69) ); f 448 lib/sha512.c R( c, d, e, f, g, h, a, b, K(70), M(70) ); f 449 lib/sha512.c R( b, c, d, e, f, g, h, a, K(71), M(71) ); f 450 lib/sha512.c R( a, b, c, d, e, f, g, h, K(72), M(72) ); f 451 lib/sha512.c R( h, a, b, c, d, e, f, g, K(73), M(73) ); f 452 lib/sha512.c R( g, h, a, b, c, d, e, f, K(74), M(74) ); f 453 lib/sha512.c R( f, g, h, a, b, c, d, e, K(75), M(75) ); f 454 lib/sha512.c R( e, f, g, h, a, b, c, d, K(76), M(76) ); f 455 lib/sha512.c R( d, e, f, g, h, a, b, c, K(77), M(77) ); f 456 lib/sha512.c R( c, d, e, f, g, h, a, b, K(78), M(78) ); f 457 lib/sha512.c R( b, c, d, e, f, g, h, a, K(79), M(79) ); f 464 lib/sha512.c f = ctx->state[5] = u64plus (ctx->state[5], f); f 116 lib/stdio.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 118 lib/stdio.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 111 lib/stdlib.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 113 lib/stdlib.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 82 lib/string.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 84 lib/string.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 499 nt/inc/ms-w32.h #define mkdir(d,f) sys_mkdir(d,f) f 625 src/alloc.c XFLOAT_INIT (Lisp_Object f, double n) f 627 src/alloc.c XFLOAT (f)->u.data = n; f 4958 src/alloc.c struct Lisp_Float *f = (struct Lisp_Float *) (cp - off); f 4960 src/alloc.c if (__asan_region_is_poisoned (f, sizeof (*f))) f 4963 src/alloc.c return f; f 6881 src/alloc.c struct face *face = FACE_FROM_ID_OR_NULL (c->f, i); f 6938 src/alloc.c struct frame *f = (struct frame *) ptr; f 6945 src/alloc.c mark_face_cache (f->face_cache); f 6947 src/alloc.c if (FRAME_WINDOW_P (f) && FRAME_OUTPUT_DATA (f)) f 6949 src/alloc.c struct font *font = FRAME_FONT (f); f 6957 src/alloc.c mark_object (f->conversion.compose_region_start); f 6958 src/alloc.c mark_object (f->conversion.compose_region_end); f 6959 src/alloc.c mark_object (f->conversion.compose_region_overlay); f 6961 src/alloc.c for (tem = f->conversion.actions; tem; tem = tem->next) f 5851 src/android.c uint32_t f, r; f 5864 src/android.c f = ((tl & 0x0000ff00) * distixiy + (tr & 0x0000ff00) * distxiy f 5866 src/android.c r |= f & 0xff000000; f 5876 src/android.c f = ((tl & 0x000000ff) * distixiy + (tr & 0x000000ff) * distxiy f 5878 src/android.c r |= f & 0x00ff0000; f 5881 src/android.c f = ((tl & 0x0000ff00) * distixiy + (tr & 0x0000ff00) * distxiy f 5883 src/android.c r |= f & 0xff000000; f 83 src/androidfns.c struct frame *sf, *f; f 110 src/androidfns.c f = decode_window_system_frame (object); f 111 src/androidfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 128 src/androidfns.c gamma_correct (struct frame *f, Emacs_Color *color) f 130 src/androidfns.c if (f->gamma) f 132 src/androidfns.c color->red = pow (color->red / 65535.0, f->gamma) * 65535.0 + 0.5; f 133 src/androidfns.c color->green = pow (color->green / 65535.0, f->gamma) * 65535.0 + 0.5; f 134 src/androidfns.c color->blue = pow (color->blue / 65535.0, f->gamma) * 65535.0 + 0.5; f 145 src/androidfns.c android_defined_color (struct frame *f, const char *color_name, f 154 src/androidfns.c success_p = android_parse_color (f, color_name, color); f 156 src/androidfns.c success_p = android_alloc_nearest_color (f, color); f 167 src/androidfns.c android_decode_color (struct frame *f, Lisp_Object color_name, int mono_color) f 173 src/androidfns.c if (android_defined_color (f, SSDATA (color_name), &cdef, f 181 src/androidfns.c android_set_parent_frame (struct frame *f, Lisp_Object new_value, f 193 src/androidfns.c store_frame_param (f, Qparent_frame, old_value); f 197 src/androidfns.c if (p != FRAME_PARENT_FRAME (f)) f 200 src/androidfns.c android_reparent_window (FRAME_ANDROID_WINDOW (f), f 202 src/androidfns.c : FRAME_DISPLAY_INFO (f)->root_window), f 203 src/androidfns.c f->left_pos, f->top_pos); f 206 src/androidfns.c fset_parent_frame (f, new_value); f 210 src/androidfns.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 214 src/androidfns.c android_implicitly_set_name (struct frame *f, Lisp_Object arg, f 221 src/androidfns.c android_explicitly_set_name (struct frame *f, Lisp_Object arg, f 234 src/androidfns.c android_set_tool_bar_lines (struct frame *f, Lisp_Object value, f 240 src/androidfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 249 src/androidfns.c android_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 253 src/androidfns.c android_set_tool_bar_position (struct frame *f, f 264 src/androidfns.c fset_tool_bar_position (f, new_value); f 271 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_position); f 272 src/androidfns.c adjust_frame_glyphs (f); f 273 src/androidfns.c SET_FRAME_GARBAGED (f); f 275 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 276 src/androidfns.c android_clear_under_internal_border (f); f 280 src/androidfns.c android_change_tool_bar_height (struct frame *f, int height) f 282 src/androidfns.c int unit = FRAME_LINE_HEIGHT (f); f 283 src/androidfns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 285 src/androidfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 288 src/androidfns.c fset_redisplay (f); f 290 src/androidfns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 291 src/androidfns.c FRAME_TOOL_BAR_LINES (f) = lines; f 292 src/androidfns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 294 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 296 src/androidfns.c clear_frame (f); f 297 src/androidfns.c clear_current_matrices (f); f 300 src/androidfns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 301 src/androidfns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 303 src/androidfns.c if (!f->tool_bar_resized) f 308 src/androidfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 311 src/androidfns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 313 src/androidfns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 317 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 321 src/androidfns.c adjust_frame_glyphs (f); f 322 src/androidfns.c SET_FRAME_GARBAGED (f); f 333 src/androidfns.c android_set_tab_bar_lines (struct frame *f, Lisp_Object value, f 339 src/androidfns.c olines = FRAME_TAB_BAR_LINES (f); f 342 src/androidfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 352 src/androidfns.c android_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 356 src/androidfns.c android_change_tab_bar_height (struct frame *f, int height) f 361 src/androidfns.c unit = FRAME_LINE_HEIGHT (f); f 362 src/androidfns.c old_height = FRAME_TAB_BAR_HEIGHT (f); f 363 src/androidfns.c fullscreen = get_frame_param (f, Qfullscreen); f 373 src/androidfns.c fset_redisplay (f); f 376 src/androidfns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 377 src/androidfns.c FRAME_TAB_BAR_LINES (f) = lines; f 378 src/androidfns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 380 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 382 src/androidfns.c clear_frame (f); f 383 src/androidfns.c clear_current_matrices (f); f 386 src/androidfns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 387 src/androidfns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 389 src/androidfns.c if (!f->tab_bar_resized) f 394 src/androidfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 397 src/androidfns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 399 src/androidfns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 403 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 407 src/androidfns.c adjust_frame_glyphs (f); f 408 src/androidfns.c SET_FRAME_GARBAGED (f); f 412 src/androidfns.c android_set_scroll_bar_default_height (struct frame *f) f 416 src/androidfns.c height = FRAME_LINE_HEIGHT (f); f 419 src/androidfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (14 + height - 1) / height; f 423 src/androidfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = 14; f 427 src/androidfns.c android_set_scroll_bar_default_width (struct frame *f) f 431 src/androidfns.c unit = FRAME_COLUMN_WIDTH (f); f 433 src/androidfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 434 src/androidfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) f 435 src/androidfns.c = FRAME_CONFIG_SCROLL_BAR_COLS (f) * unit; f 442 src/androidfns.c android_icon_verify (struct frame *f, Lisp_Object parms) f 448 src/androidfns.c icon_x = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, f 450 src/androidfns.c icon_y = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, f 467 src/androidfns.c android_icon (struct frame *f, Lisp_Object parms) f 472 src/androidfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, f 475 src/androidfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, f 497 src/androidfns.c android_make_gc (struct frame *f) f 506 src/androidfns.c gc_values.foreground = FRAME_FOREGROUND_PIXEL (f); f 507 src/androidfns.c gc_values.background = FRAME_BACKGROUND_PIXEL (f); f 508 src/androidfns.c f->output_data.android->normal_gc f 513 src/androidfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 514 src/androidfns.c gc_values.background = FRAME_FOREGROUND_PIXEL (f); f 515 src/androidfns.c f->output_data.android->reverse_gc f 520 src/androidfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 521 src/androidfns.c gc_values.background = f->output_data.android->cursor_pixel; f 522 src/androidfns.c f->output_data.android->cursor_gc f 532 src/androidfns.c android_free_gcs (struct frame *f) f 536 src/androidfns.c if (f->output_data.android->normal_gc) f 538 src/androidfns.c android_free_gc (f->output_data.android->normal_gc); f 539 src/androidfns.c f->output_data.android->normal_gc = 0; f 542 src/androidfns.c if (f->output_data.android->reverse_gc) f 544 src/androidfns.c android_free_gc (f->output_data.android->reverse_gc); f 545 src/androidfns.c f->output_data.android->reverse_gc = 0; f 548 src/androidfns.c if (f->output_data.android->cursor_gc) f 550 src/androidfns.c android_free_gc (f->output_data.android->cursor_gc); f 551 src/androidfns.c f->output_data.android->cursor_gc = 0; f 564 src/androidfns.c struct frame *f = XFRAME (frame); f 569 src/androidfns.c if (!FRAME_LIVE_P (f)) f 582 src/androidfns.c if (FRAME_IMAGE_CACHE (f) != NULL f 583 src/androidfns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 584 src/androidfns.c FRAME_IMAGE_CACHE (f)->refcount++; f 586 src/androidfns.c android_free_frame_resources (f); f 587 src/androidfns.c free_glyphs (f); f 601 src/androidfns.c android_default_font_parameter (struct frame *f, Lisp_Object parms) f 603 src/androidfns.c struct android_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 629 src/androidfns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 638 src/androidfns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); f 642 src/androidfns.c android_create_frame_window (struct frame *f) f 647 src/androidfns.c attributes.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 651 src/androidfns.c FRAME_ANDROID_WINDOW (f) f 652 src/androidfns.c = android_create_window (FRAME_DISPLAY_INFO (f)->root_window, f 653 src/androidfns.c f->left_pos, f 654 src/androidfns.c f->top_pos, f 655 src/androidfns.c FRAME_PIXEL_WIDTH (f), f 656 src/androidfns.c FRAME_PIXEL_HEIGHT (f), f 674 src/androidfns.c struct frame *f; f 738 src/androidfns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 741 src/androidfns.c f = make_minibuffer_frame (); f 745 src/androidfns.c f = make_frame_without_minibuffer (tem, kb, display); f 747 src/androidfns.c f = make_frame (true); f 764 src/androidfns.c fset_parent_frame (f, parent_frame); f 765 src/androidfns.c store_frame_param (f, Qparent_frame, parent_frame); f 776 src/androidfns.c FRAME_UNDECORATED (f) = undecorated; f 777 src/androidfns.c store_frame_param (f, Qundecorated, undecorated ? Qt : Qnil); f 788 src/androidfns.c FRAME_OVERRIDE_REDIRECT (f) = override_redirect; f 789 src/androidfns.c store_frame_param (f, Qoverride_redirect, override_redirect ? Qt : Qnil); f 791 src/androidfns.c XSETFRAME (frame, f); f 793 src/androidfns.c f->terminal = dpyinfo->terminal; f 795 src/androidfns.c f->output_method = output_android; f 796 src/androidfns.c f->output_data.android = xzalloc (sizeof *f->output_data.android); f 797 src/androidfns.c FRAME_FONTSET (f) = -1; f 798 src/androidfns.c f->output_data.android->scroll_bar_foreground_pixel = -1; f 799 src/androidfns.c f->output_data.android->scroll_bar_background_pixel = -1; f 800 src/androidfns.c f->output_data.android->white_relief.pixel = -1; f 801 src/androidfns.c f->output_data.android->black_relief.pixel = -1; f 803 src/androidfns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, f 809 src/androidfns.c if (! STRINGP (f->icon_name)) f 810 src/androidfns.c fset_icon_name (f, Qnil); f 812 src/androidfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 828 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 829 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 830 src/androidfns.c f->output_data.android->cursor_pixel = -1; f 831 src/androidfns.c f->output_data.android->cursor_foreground_pixel = -1; f 832 src/androidfns.c f->output_data.android->mouse_pixel = -1; f 835 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) f 836 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 837 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) f 838 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 839 src/androidfns.c f->output_data.android->cursor_pixel f 840 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 841 src/androidfns.c f->output_data.android->cursor_foreground_pixel f 842 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 843 src/androidfns.c f->output_data.android->mouse_pixel f 844 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 851 src/androidfns.c fset_name (f, build_string ("GNU Emacs")); f 852 src/androidfns.c f->explicit_name = false; f 856 src/androidfns.c fset_name (f, name); f 857 src/androidfns.c f->explicit_name = true; f 862 src/androidfns.c register_font_driver (&androidfont_driver, f); f 863 src/androidfns.c register_font_driver (&android_sfntfont_driver, f); f 865 src/androidfns.c image_cache_refcount = (FRAME_IMAGE_CACHE (f) f 866 src/androidfns.c ? FRAME_IMAGE_CACHE (f)->refcount f 869 src/androidfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 874 src/androidfns.c android_default_font_parameter (f, parms); f 875 src/androidfns.c if (!FRAME_FONT (f)) f 893 src/androidfns.c gui_default_parameter (f, parms, Qinternal_border_width, f 911 src/androidfns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 914 src/androidfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 916 src/androidfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 922 src/androidfns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, Qnil, f 925 src/androidfns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 930 src/androidfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 932 src/androidfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 934 src/androidfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 936 src/androidfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 938 src/androidfns.c gui_default_parameter (f, parms, Qscreen_gamma, Qnil, f 940 src/androidfns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 942 src/androidfns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 944 src/androidfns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 946 src/androidfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 950 src/androidfns.c android_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_foreground, f 953 src/androidfns.c android_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_background, f 963 src/androidfns.c init_frame_faces (f); f 968 src/androidfns.c store_frame_param (f, Qmin_width, tem); f 972 src/androidfns.c store_frame_param (f, Qmin_height, tem); f 974 src/androidfns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 975 src/androidfns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 983 src/androidfns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 987 src/androidfns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 991 src/androidfns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 996 src/androidfns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, f 999 src/androidfns.c gui_default_parameter (f, parms, Qtitle, Qnil, f 1001 src/androidfns.c gui_default_parameter (f, parms, Qwait_for_wm, Qt, f 1003 src/androidfns.c gui_default_parameter (f, parms, Qtool_bar_position, f 1004 src/androidfns.c FRAME_TOOL_BAR_POSITION (f), 0, 0, RES_TYPE_SYMBOL); f 1005 src/androidfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1010 src/androidfns.c window_prompting = gui_figure_window_size (f, parms, true, true); f 1014 src/androidfns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 1016 src/androidfns.c android_icon_verify (f, parms); f 1017 src/androidfns.c android_create_frame_window (f); f 1018 src/androidfns.c android_icon (f, parms); f 1019 src/androidfns.c android_make_gc (f); f 1022 src/androidfns.c f->terminal->reference_count++; f 1028 src/androidfns.c gui_default_parameter (f, parms, Qicon_type, Qt, f 1031 src/androidfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1033 src/androidfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1035 src/androidfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1039 src/androidfns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 1042 src/androidfns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 1045 src/androidfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1047 src/androidfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 1055 src/androidfns.c android_reparent_window (FRAME_ANDROID_WINDOW (f), f 1057 src/androidfns.c f->left_pos, f->top_pos); f 1061 src/androidfns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 1063 src/androidfns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 1067 src/androidfns.c f->can_set_window_size = true; f 1069 src/androidfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1076 src/androidfns.c gui_default_parameter (f, parms, Qfullscreen, Qmaximized, f 1091 src/androidfns.c f->was_invisible = true; f 1092 src/androidfns.c android_iconify_frame (f); f 1100 src/androidfns.c android_make_frame_visible (f); f 1102 src/androidfns.c f->was_invisible = true; f 1108 src/androidfns.c f->was_invisible f 1109 src/androidfns.c = (f->was_invisible f 1112 src/androidfns.c store_frame_param (f, Qvisibility, visibility); f 1115 src/androidfns.c gui_default_parameter (f, parms, Quse_frame_synchronization, Qt, f 1119 src/androidfns.c gui_default_parameter (f, parms, Qskip_taskbar, Qnil, f 1122 src/androidfns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 1127 src/androidfns.c if (FRAME_HAS_MINIBUF_P (f) f 1137 src/androidfns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 1156 src/androidfns.c struct frame *f; f 1158 src/androidfns.c f = decode_window_system_frame (frame); f 1162 src/androidfns.c if (android_defined_color (f, SSDATA (color), &foo, false, false)) f 1178 src/androidfns.c struct frame *f; f 1180 src/androidfns.c f = decode_window_system_frame (frame); f 1184 src/androidfns.c if (android_defined_color (f, SSDATA (color), &foo, false, false)) f 1353 src/androidfns.c struct frame *f; f 1359 src/androidfns.c f = XFRAME (frame); f 1363 src/androidfns.c if (FRAME_WINDOW_P (f) f 1364 src/androidfns.c && !FRAME_TOOLTIP_P (f)) f 1413 src/androidfns.c struct frame *f = decode_live_frame (frame); f 1427 src/androidfns.c if (FRAME_INITIAL_P (f) || !FRAME_ANDROID_P (f) f 1428 src/androidfns.c || !FRAME_ANDROID_WINDOW (f)) f 1432 src/androidfns.c android_get_geometry (FRAME_ANDROID_WINDOW (f), f 1437 src/androidfns.c if (FRAME_PARENT_FRAME (f)) f 1441 src/androidfns.c XSETFRAME (parent, FRAME_PARENT_FRAME (f)); f 1472 src/androidfns.c internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 1478 src/androidfns.c menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); f 1482 src/androidfns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 1488 src/androidfns.c tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 1496 src/androidfns.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qtop)) f 1533 src/androidfns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 1810 src/androidfns.c struct frame *f; f 1830 src/androidfns.c f = make_frame (false); f 1831 src/androidfns.c f->wants_modeline = false; f 1832 src/androidfns.c XSETFRAME (frame, f); f 1835 src/androidfns.c f->terminal = dpyinfo->terminal; f 1841 src/androidfns.c f->output_method = output_android; f 1842 src/androidfns.c f->output_data.android = xzalloc (sizeof *f->output_data.android); f 1843 src/androidfns.c FRAME_FONTSET (f) = -1; f 1844 src/androidfns.c f->output_data.android->white_relief.pixel = -1; f 1845 src/androidfns.c f->output_data.android->black_relief.pixel = -1; f 1847 src/androidfns.c f->tooltip = true; f 1848 src/androidfns.c fset_icon_name (f, Qnil); f 1849 src/androidfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 1850 src/androidfns.c f->output_data.android->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 1860 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 1861 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 1862 src/androidfns.c f->output_data.android->cursor_pixel = -1; f 1863 src/androidfns.c f->output_data.android->cursor_foreground_pixel = -1; f 1864 src/androidfns.c f->output_data.android->mouse_pixel = -1; f 1867 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) f 1868 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1869 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) f 1870 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1871 src/androidfns.c f->output_data.android->cursor_pixel f 1872 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1873 src/androidfns.c f->output_data.android->cursor_foreground_pixel f 1874 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1875 src/androidfns.c f->output_data.android->mouse_pixel f 1876 src/androidfns.c = android_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1882 src/androidfns.c f->explicit_name = false; f 1885 src/androidfns.c fset_name (f, name); f 1886 src/androidfns.c f->explicit_name = true; f 1891 src/androidfns.c register_font_driver (&androidfont_driver, f); f 1892 src/androidfns.c register_font_driver (&android_sfntfont_driver, f); f 1895 src/androidfns.c = FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 1900 src/androidfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 1905 src/androidfns.c android_default_font_parameter (f, parms); f 1907 src/androidfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 1925 src/androidfns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 1928 src/androidfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 1930 src/androidfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 1934 src/androidfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 1936 src/androidfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 1938 src/androidfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 1940 src/androidfns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 1942 src/androidfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 1944 src/androidfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 1955 src/androidfns.c attrs.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 1957 src/androidfns.c = FRAME_ANDROID_WINDOW (f) f 1958 src/androidfns.c = android_create_window (FRAME_DISPLAY_INFO (f)->root_window, f 1968 src/androidfns.c init_frame_faces (f); f 1970 src/androidfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1974 src/androidfns.c gui_figure_window_size (f, parms, false, false); f 1976 src/androidfns.c f->output_data.android->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 1978 src/androidfns.c android_make_gc (f); f 1980 src/androidfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1982 src/androidfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1984 src/androidfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1986 src/androidfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1988 src/androidfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 2028 src/androidfns.c f->no_split = true; f 2032 src/androidfns.c f->terminal->reference_count++; f 2038 src/androidfns.c f->can_set_window_size = true; f 2039 src/androidfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 2078 src/androidfns.c struct frame *f = XFRAME (tip_frame); f 2080 src/androidfns.c if (FRAME_LIVE_P (f)) f 2103 src/androidfns.c compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, f 2189 src/androidfns.c struct frame *f, *tip_f; f 2212 src/androidfns.c f = decode_window_system_frame (frame); f 2285 src/androidfns.c if (NILP (tip_frame = android_create_tip_frame (FRAME_DISPLAY_INFO (f), f 2450 src/androidfns.c struct frame *f; f 2452 src/androidfns.c f = decode_window_system_frame (frame); f 2455 src/androidfns.c android_toggle_on_screen_keyboard (FRAME_ANDROID_WINDOW (f), f 2468 src/androidfns.c android_set_background_color (struct frame *f, Lisp_Object arg, f 2474 src/androidfns.c x = f->output_data.android; f 2475 src/androidfns.c bg = android_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 2476 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 2478 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2483 src/androidfns.c android_set_window_background (FRAME_ANDROID_WINDOW (f), bg); f 2487 src/androidfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 2489 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2490 src/androidfns.c redraw_frame (f); f 2495 src/androidfns.c android_set_border_color (struct frame *f, Lisp_Object arg, f 2500 src/androidfns.c android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2501 src/androidfns.c update_face_from_frame_parameter (f, Qborder_color, arg); f 2505 src/androidfns.c android_set_cursor_color (struct frame *f, Lisp_Object arg, f 2511 src/androidfns.c x = f->output_data.android; f 2514 src/androidfns.c fore_pixel = android_decode_color (f, Vx_cursor_fore_pixel, f 2515 src/androidfns.c WHITE_PIX_DEFAULT (f)); f 2517 src/androidfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 2519 src/androidfns.c pixel = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2522 src/androidfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 2524 src/androidfns.c pixel = FRAME_FOREGROUND_PIXEL (f); f 2526 src/androidfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 2532 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2539 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2541 src/androidfns.c gui_update_cursor (f, false); f 2542 src/androidfns.c gui_update_cursor (f, true); f 2546 src/androidfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 2550 src/androidfns.c android_set_cursor_type (struct frame *f, Lisp_Object arg, f 2553 src/androidfns.c set_frame_cursor_types (f, arg); f 2557 src/androidfns.c android_set_foreground_color (struct frame *f, Lisp_Object arg, f 2563 src/androidfns.c x = f->output_data.android; f 2565 src/androidfns.c fg = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2566 src/androidfns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 2567 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 2569 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2583 src/androidfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 2585 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2586 src/androidfns.c redraw_frame (f); f 2591 src/androidfns.c android_set_child_frame_border_width (struct frame *f, Lisp_Object arg, f 2603 src/androidfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 2605 src/androidfns.c f->child_frame_border_width = border; f 2607 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2609 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 2610 src/androidfns.c android_clear_under_internal_border (f); f 2616 src/androidfns.c android_set_internal_border_width (struct frame *f, Lisp_Object arg, f 2621 src/androidfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 2623 src/androidfns.c f->internal_border_width = border; f 2625 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2627 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 2628 src/androidfns.c android_clear_under_internal_border (f); f 2634 src/androidfns.c android_set_menu_bar_lines (struct frame *f, Lisp_Object value, f 2638 src/androidfns.c int olines = FRAME_MENU_BAR_LINES (f); f 2644 src/androidfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 2653 src/androidfns.c fset_redisplay (f); f 2655 src/androidfns.c FRAME_MENU_BAR_LINES (f) = nlines; f 2656 src/androidfns.c FRAME_MENU_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); f 2657 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2658 src/androidfns.c android_clear_under_internal_border (f); f 2666 src/androidfns.c int height = FRAME_INTERNAL_BORDER_WIDTH (f); f 2667 src/androidfns.c int width = FRAME_PIXEL_WIDTH (f); f 2670 src/androidfns.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 2673 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) && height > 0 && width > 0) f 2675 src/androidfns.c y = FRAME_TOP_MARGIN_HEIGHT (f); f 2678 src/androidfns.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), f 2685 src/androidfns.c y = (olines == 0 ? 1 : olines) * FRAME_LINE_HEIGHT (f); f 2686 src/androidfns.c height = nlines * FRAME_LINE_HEIGHT (f) - y; f 2689 src/androidfns.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), 0, y, f 2694 src/androidfns.c if (nlines == 0 && WINDOWP (f->menu_bar_window)) f 2695 src/androidfns.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 2698 src/androidfns.c adjust_frame_glyphs (f); f 2776 src/androidfns.c android_set_mouse_color (struct frame *f, Lisp_Object arg, f 2779 src/androidfns.c struct android_output *x = f->output_data.android; f 2781 src/androidfns.c unsigned long pixel = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2782 src/androidfns.c unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f); f 2787 src/androidfns.c pixel = FRAME_FOREGROUND_PIXEL (f); f 2806 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2808 src/androidfns.c f->output_data.android->current_cursor f 2810 src/androidfns.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 2811 src/androidfns.c f->output_data.android->current_cursor); f 2841 src/androidfns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 2845 src/androidfns.c android_set_title (struct frame *f, Lisp_Object name, f 2849 src/androidfns.c if (EQ (name, f->title)) f 2854 src/androidfns.c fset_title (f, name); f 2857 src/androidfns.c name = f->name; f 2863 src/androidfns.c android_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2905 src/androidfns.c f->alpha[i] = newval[i]; f 2907 src/androidfns.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 2910 src/androidfns.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 2916 src/androidfns.c android_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, f 2921 src/androidfns.c android_set_dont_focus_on_map (FRAME_ANDROID_WINDOW (f), f 2923 src/androidfns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 2928 src/androidfns.c android_set_no_accept_focus (struct frame *f, Lisp_Object new_value, f 2933 src/androidfns.c android_set_dont_accept_focus (FRAME_ANDROID_WINDOW (f), f 2935 src/androidfns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 3073 src/androidfns.c struct frame *f; f 3075 src/androidfns.c f = WINDOW_XFRAME (w); f 3086 src/androidfns.c android_update_cursor_anchor_info (FRAME_ANDROID_WINDOW (f), x, f 556 src/androidfont.c androidfont_list (struct frame *f, Lisp_Object font_spec) f 611 src/androidfont.c androidfont_match (struct frame *f, Lisp_Object font_spec) f 662 src/androidfont.c drawable = android_resolve_handle (FRAME_ANDROID_DRAWABLE (s->f), f 673 src/androidfont.c prepare_face_for_display (s->f, s->face); f 690 src/androidfont.c androidfont_open_font (struct frame *f, Lisp_Object font_entity, f 710 src/androidfont.c if (FRAME_FONT (f)) f 711 src/androidfont.c pixel_size = FRAME_FONT (f)->pixel_size; f 990 src/androidfont.c androidfont_list_family (struct frame *f) f 243 src/androidmenu.c android_menu_show (struct frame *f, int x, int y, int menuflags, f 480 src/androidmenu.c window = android_resolve_handle (FRAME_ANDROID_WINDOW (f), f 644 src/androidmenu.c android_dialog_show (struct frame *f, Lisp_Object title, f 777 src/androidmenu.c android_popup_dialog (struct frame *f, Lisp_Object header, f 785 src/androidmenu.c check_window_system (f); f 801 src/androidmenu.c selection = android_dialog_show (f, title, header, &error_name); f 79 src/androidterm.c struct frame *f; f 86 src/androidterm.c f = XFRAME (frame); f 88 src/androidterm.c if (!FRAME_ANDROID_P (f)) f 91 src/androidterm.c if (FRAME_ANDROID_WINDOW (f) == wdesc) f 92 src/androidterm.c return f; f 99 src/androidterm.c android_clear_frame (struct frame *f) f 103 src/androidterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 104 src/androidterm.c android_clear_window (FRAME_ANDROID_DRAWABLE (f)); f 108 src/androidterm.c android_show_hourglass (struct frame *f) f 115 src/androidterm.c x = FRAME_ANDROID_OUTPUT (f); f 128 src/androidterm.c if (!f->pointer_invisible) f 129 src/androidterm.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 134 src/androidterm.c android_hide_hourglass (struct frame *f) f 138 src/androidterm.c x = FRAME_ANDROID_OUTPUT (f); f 141 src/androidterm.c if (!f->pointer_invisible) f 142 src/androidterm.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 147 src/androidterm.c android_flash (struct frame *f) f 157 src/androidterm.c values.foreground = (FRAME_FOREGROUND_PIXEL (f) f 158 src/androidterm.c ^ FRAME_BACKGROUND_PIXEL (f)); f 165 src/androidterm.c int height = FRAME_PIXEL_HEIGHT (f); f 167 src/androidterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 169 src/androidterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 170 src/androidterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 174 src/androidterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 176 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 178 src/androidterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 179 src/androidterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 181 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 184 src/androidterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 185 src/androidterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 191 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 192 src/androidterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 194 src/androidterm.c * FRAME_INTERNAL_BORDER_WIDTH (f))); f 196 src/androidterm.c flush_frame (f); f 228 src/androidterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 230 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 232 src/androidterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 233 src/androidterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 235 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 238 src/androidterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 239 src/androidterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 244 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 245 src/androidterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 247 src/androidterm.c * FRAME_INTERNAL_BORDER_WIDTH (f))); f 250 src/androidterm.c flush_frame (f); f 256 src/androidterm.c android_ring_bell (struct frame *f) f 259 src/androidterm.c android_flash (f); f 275 src/androidterm.c android_toggle_visible_pointer (struct frame *f, bool invisible) f 279 src/androidterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 285 src/androidterm.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 288 src/androidterm.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 289 src/androidterm.c (FRAME_ANDROID_OUTPUT (f)->hourglass f 290 src/androidterm.c ? f->output_data.android->hourglass_cursor f 291 src/androidterm.c : f->output_data.android->current_cursor)); f 293 src/androidterm.c f->pointer_invisible = invisible; f 297 src/androidterm.c android_toggle_invisible_pointer (struct frame *f, bool invisible) f 300 src/androidterm.c android_toggle_visible_pointer (f, invisible); f 311 src/androidterm.c android_update_begin (struct frame *f) f 315 src/androidterm.c FRAME_ANDROID_COMPLETE_P (f) = false; f 322 src/androidterm.c android_update_end (struct frame *f) f 325 src/androidterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 329 src/androidterm.c show_back_buffer (struct frame *f) f 334 src/androidterm.c swap_info.swap_window = FRAME_ANDROID_WINDOW (f); f 339 src/androidterm.c FRAME_ANDROID_NEED_BUFFER_FLIP (f) = false; f 345 src/androidterm.c android_flush_dirty_back_buffer_on (struct frame *f) f 347 src/androidterm.c if (FRAME_GARBAGED_P (f) f 351 src/androidterm.c || !FRAME_ANDROID_COMPLETE_P (f) f 352 src/androidterm.c || !FRAME_ANDROID_NEED_BUFFER_FLIP (f)) f 355 src/androidterm.c show_back_buffer (f); f 386 src/androidterm.c android_lower_frame (struct frame *f) f 388 src/androidterm.c android_lower_window (FRAME_ANDROID_WINDOW (f)); f 392 src/androidterm.c android_raise_frame (struct frame *f) f 394 src/androidterm.c android_raise_window (FRAME_ANDROID_WINDOW (f)); f 540 src/androidterm.c struct frame *f) f 545 src/androidterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 561 src/androidterm.c XSETFRAME (result->frame_or_window, f); f 571 src/androidterm.c android_update_tools (struct frame *f, struct input_event *ie) f 576 src/androidterm.c XSETFRAME (ie->frame_or_window, f); f 580 src/androidterm.c for (touchpoint = FRAME_OUTPUT_DATA (f)->touch_points; f 599 src/androidterm.c android_find_tool (struct frame *f, int pointer_id) f 603 src/androidterm.c for (touchpoint = FRAME_OUTPUT_DATA (f)->touch_points; f 650 src/androidterm.c android_request_cursor_updates (struct frame *f, int mode) f 655 src/androidterm.c && WINDOWP (WINDOW_LIVE_P (f->old_selected_window) f 656 src/androidterm.c ? f->old_selected_window f 657 src/androidterm.c : f->selected_window)) f 662 src/androidterm.c w = XWINDOW (WINDOW_LIVE_P (f->old_selected_window) f 663 src/androidterm.c ? f->old_selected_window f 664 src/androidterm.c : f->selected_window); f 669 src/androidterm.c FRAME_OUTPUT_DATA (f)->need_cursor_updates f 679 src/androidterm.c android_handle_ime_event (union android_event *event, struct frame *f) f 704 src/androidterm.c commit_text (f, text, event->ime.position, f 709 src/androidterm.c delete_surrounding_text (f, event->ime.start, f 718 src/androidterm.c output = FRAME_ANDROID_OUTPUT (f); f 730 src/androidterm.c finish_composing_text (f, event->ime.counter, f 738 src/androidterm.c f->conversion.batch_edit_flags = 0; f 739 src/androidterm.c f->conversion.batch_edit_count = 0; f 745 src/androidterm.c set_composing_text (f, text, event->ime.position, f 750 src/androidterm.c set_composing_region (f, event->ime.start, f 756 src/androidterm.c textconv_set_point_and_mark (f, event->ime.start, f 762 src/androidterm.c start_batch_edit (f, event->ime.counter); f 766 src/androidterm.c end_batch_edit (f, event->ime.counter); f 770 src/androidterm.c request_point_update (f, event->ime.counter); f 774 src/androidterm.c android_request_cursor_updates (f, event->ime.length); f 790 src/androidterm.c struct frame *f, *any, *mouse_frame; f 822 src/androidterm.c f = android_window_to_frame (dpyinfo, f 825 src/androidterm.c if (!f) f 828 src/androidterm.c if (FRAME_TOOLTIP_P (f)) f 830 src/androidterm.c if (FRAME_PIXEL_HEIGHT (f) != configureEvent.xconfigure.height f 831 src/androidterm.c || FRAME_PIXEL_WIDTH (f) != configureEvent.xconfigure.width) f 832 src/androidterm.c SET_FRAME_GARBAGED (f); f 834 src/androidterm.c FRAME_PIXEL_HEIGHT (f) = configureEvent.xconfigure.height; f 835 src/androidterm.c FRAME_PIXEL_WIDTH (f) = configureEvent.xconfigure.width; f 842 src/androidterm.c frame_size_history_extra (f, build_string ("ConfigureNotify"), f 843 src/androidterm.c FRAME_PIXEL_WIDTH (f), f 844 src/androidterm.c FRAME_PIXEL_HEIGHT (f), f 845 src/androidterm.c width, height, f->new_width, f 846 src/androidterm.c f->new_height); f 852 src/androidterm.c if (width != FRAME_PIXEL_WIDTH (f) f 853 src/androidterm.c || height != FRAME_PIXEL_HEIGHT (f) f 854 src/androidterm.c || (f->new_size_p f 855 src/androidterm.c && ((f->new_width >= 0 && width != f->new_width) f 856 src/androidterm.c || (f->new_height >= 0 && height != f->new_height)))) f 858 src/androidterm.c change_frame_size (f, width, height, false, true, false); f 859 src/androidterm.c android_clear_under_internal_border (f); f 860 src/androidterm.c SET_FRAME_GARBAGED (f); f 861 src/androidterm.c cancel_mouse_face (f); f 867 src/androidterm.c int old_left = f->left_pos; f 868 src/androidterm.c int old_top = f->top_pos; f 871 src/androidterm.c XSETFRAME (frame, f); f 877 src/androidterm.c android_get_geometry (FRAME_ANDROID_WINDOW (f), f 878 src/androidterm.c &root, &f->left_pos, &f->top_pos, f 883 src/androidterm.c if (!FRAME_TOOLTIP_P (f) f 884 src/androidterm.c && (old_left != f->left_pos || old_top != f->top_pos)) f 887 src/androidterm.c XSETFRAME (inev.ie.frame_or_window, f); f 890 src/androidterm.c if (f && FRAME_OUTPUT_DATA (f)->need_cursor_updates) f 892 src/androidterm.c w = XWINDOW (f->selected_window); f 902 src/androidterm.c f = any; f 920 src/androidterm.c if (!f) f 926 src/androidterm.c textconv_barrier (f, event->xkey.counter); f 1046 src/androidterm.c if (f && FRAME_OUTPUT_DATA (f)->need_cursor_updates) f 1048 src/androidterm.c w = XWINDOW (f->selected_window); f 1072 src/androidterm.c f = any; f 1081 src/androidterm.c if (!f) f 1085 src/androidterm.c XSETFRAME (inev.ie.frame_or_window, f); f 1090 src/androidterm.c f = any; f 1092 src/androidterm.c if (f) f 1093 src/androidterm.c android_note_mouse_movement (f, &event->xmotion); f 1107 src/androidterm.c f = any; f 1109 src/androidterm.c if (f) f 1124 src/androidterm.c && (f == XFRAME (selected_frame) f 1129 src/androidterm.c = window_from_coordinates (f, event->xmotion.x, f 1153 src/androidterm.c if (!android_note_mouse_movement (f, &event->xmotion)) f 1163 src/androidterm.c if (f) f 1164 src/androidterm.c android_flush_dirty_back_buffer_on (f); f 1169 src/androidterm.c f = any; f 1171 src/androidterm.c if (f) f 1178 src/androidterm.c if (f == dpyinfo->last_mouse_motion_frame) f 1183 src/androidterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 1186 src/androidterm.c if (f == hlinfo->mouse_face_mouse_frame) f 1192 src/androidterm.c android_flush_dirty_back_buffer_on (f); f 1213 src/androidterm.c f = any; f 1215 src/androidterm.c if (f) f 1217 src/androidterm.c if (!FRAME_VISIBLE_P (f)) f 1219 src/androidterm.c f->output_data.android->has_been_visible = true; f 1220 src/androidterm.c SET_FRAME_GARBAGED (f); f 1223 src/androidterm.c if (!FRAME_GARBAGED_P (f)) f 1225 src/androidterm.c expose_frame (f, event->xexpose.x, event->xexpose.y, f 1227 src/androidterm.c show_back_buffer (f); f 1238 src/androidterm.c f = any; f 1246 src/androidterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 1248 src/androidterm.c if (f && event->xbutton.type == ANDROID_BUTTON_PRESS f 1252 src/androidterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 1260 src/androidterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 1262 src/androidterm.c android_set_input_focus (FRAME_ANDROID_WINDOW (f), f 1265 src/androidterm.c if (FRAME_PARENT_FRAME (f)) f 1266 src/androidterm.c android_raise_window (FRAME_ANDROID_WINDOW (f)); f 1270 src/androidterm.c if (f) f 1273 src/androidterm.c if (WINDOWP (f->tab_bar_window) f 1274 src/androidterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 1280 src/androidterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 1281 src/androidterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 1286 src/androidterm.c (f, x, y, (event->xbutton.type f 1290 src/androidterm.c android_flush_dirty_back_buffer_on (f); f 1295 src/androidterm.c if (WINDOWP (f->tool_bar_window) f 1296 src/androidterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 1302 src/androidterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 1303 src/androidterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 1306 src/androidterm.c || f->last_tool_bar_item != -1)); f 1311 src/androidterm.c (f, x, y, (event->xbutton.type f 1315 src/androidterm.c android_flush_dirty_back_buffer_on (f); f 1322 src/androidterm.c android_construct_mouse_click (&inev.ie, &event->xbutton, f); f 1332 src/androidterm.c dpyinfo->last_mouse_frame = f; f 1333 src/androidterm.c if (f && !tab_bar_p) f 1334 src/androidterm.c f->last_tab_bar_item = -1; f 1335 src/androidterm.c if (f && !tool_bar_p) f 1336 src/androidterm.c f->last_tool_bar_item = -1; f 1344 src/androidterm.c if (f != 0) f 1345 src/androidterm.c f->mouse_moved = false; f 1711 src/androidterm.c if (f) f 1712 src/androidterm.c XSETFRAME (frame, f); f 1769 src/androidterm.c android_frame_up_to_date (struct frame *f) f 1771 src/androidterm.c eassert (FRAME_ANDROID_P (f)); f 1773 src/androidterm.c FRAME_MOUSE_UPDATE (f); f 1776 src/androidterm.c && FRAME_ANDROID_NEED_BUFFER_FLIP (f)) f 1777 src/androidterm.c show_back_buffer (f); f 1780 src/androidterm.c FRAME_ANDROID_COMPLETE_P (f) = true; f 1788 src/androidterm.c android_buffer_flipping_unblocked_hook (struct frame *f) f 1792 src/androidterm.c if (FRAME_ANDROID_NEED_BUFFER_FLIP (f)) f 1793 src/androidterm.c show_back_buffer (f); f 1799 src/androidterm.c android_query_frame_background_color (struct frame *f, Emacs_Color *bgcolor) f 1803 src/androidterm.c background = FRAME_BACKGROUND_PIXEL (f); f 1806 src/androidterm.c android_query_colors (f, bgcolor, 1); f 1810 src/androidterm.c android_parse_color (struct frame *f, const char *color_name, f 1846 src/androidterm.c android_alloc_nearest_color (struct frame *f, Emacs_Color *color) f 1848 src/androidterm.c gamma_correct (f, color); f 1857 src/androidterm.c android_query_colors (struct frame *f, Emacs_Color *colors, int ncolors) f 1904 src/androidterm.c android_get_focus_frame (struct frame *f) f 1909 src/androidterm.c focus = FRAME_DISPLAY_INFO (f)->focus_frame; f 1919 src/androidterm.c android_focus_frame (struct frame *f, bool noactivate) f 1923 src/androidterm.c android_set_input_focus (FRAME_ANDROID_WINDOW (f), f 1931 src/androidterm.c android_frame_highlight (struct frame *f) f 1933 src/androidterm.c gui_update_cursor (f, true); f 1937 src/androidterm.c android_frame_unhighlight (struct frame *f) f 1939 src/androidterm.c gui_update_cursor (f, true); f 1975 src/androidterm.c android_frame_rehighlight_hook (struct frame *f) f 1977 src/androidterm.c android_frame_rehighlight (FRAME_DISPLAY_INFO (f)); f 1981 src/androidterm.c android_frame_raise_lower (struct frame *f, bool raise_flag) f 1984 src/androidterm.c android_raise_frame (f); f 1986 src/androidterm.c android_lower_frame (f); f 1990 src/androidterm.c android_make_frame_visible (struct frame *f) f 1992 src/androidterm.c android_map_window (FRAME_ANDROID_WINDOW (f)); f 1994 src/androidterm.c SET_FRAME_VISIBLE (f, true); f 1995 src/androidterm.c SET_FRAME_ICONIFIED (f, false); f 1999 src/androidterm.c android_make_frame_invisible (struct frame *f) f 2002 src/androidterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 2003 src/androidterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 2005 src/androidterm.c android_unmap_window (FRAME_ANDROID_WINDOW (f)); f 2007 src/androidterm.c SET_FRAME_VISIBLE (f, false); f 2008 src/androidterm.c SET_FRAME_ICONIFIED (f, false); f 2012 src/androidterm.c android_make_frame_visible_invisible (struct frame *f, bool visible) f 2015 src/androidterm.c android_make_frame_visible (f); f 2017 src/androidterm.c android_make_frame_invisible (f); f 2021 src/androidterm.c android_fullscreen_hook (struct frame *f) f 2025 src/androidterm.c if (!FRAME_PARENT_FRAME (f)) f 2030 src/androidterm.c wanted = (f->want_fullscreen == FULLSCREEN_BOTH f 2033 src/androidterm.c if (android_set_fullscreen (FRAME_ANDROID_WINDOW (f), f 2035 src/androidterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 2037 src/androidterm.c store_frame_param (f, Qfullscreen, wanted); f 2041 src/androidterm.c store_frame_param (f, Qfullscreen, Qnil); f 2045 src/androidterm.c android_set_fullscreen (FRAME_ANDROID_WINDOW (f), false); f 2050 src/androidterm.c android_iconify_frame (struct frame *f) f 2057 src/androidterm.c android_wait_for_event (struct frame *f, int eventtype) f 2065 src/androidterm.c f->wait_event_type = eventtype; f 2075 src/androidterm.c while (f->wait_event_type) f 2092 src/androidterm.c f->wait_event_type = 0; f 2096 src/androidterm.c android_set_window_size_1 (struct frame *f, bool change_gravity, f 2100 src/androidterm.c f->win_gravity = NorthWestGravity; f 2102 src/androidterm.c android_resize_window (FRAME_ANDROID_WINDOW (f), width, f 2105 src/androidterm.c SET_FRAME_GARBAGED (f); f 2107 src/androidterm.c if (FRAME_VISIBLE_P (f)) f 2109 src/androidterm.c android_wait_for_event (f, ANDROID_CONFIGURE_NOTIFY); f 2112 src/androidterm.c frame_size_history_extra (f, build_string ("set_window_size_1 visible"), f 2113 src/androidterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 2114 src/androidterm.c width, height, f->new_width, f->new_height); f 2119 src/androidterm.c frame_size_history_extra (f, build_string ("set_window_size_1 " f 2121 src/androidterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 2122 src/androidterm.c width, height, f->new_width, f->new_height); f 2124 src/androidterm.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, width), f 2125 src/androidterm.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, height), f 2131 src/androidterm.c android_set_window_size (struct frame *f, bool change_gravity, f 2136 src/androidterm.c android_set_window_size_1 (f, change_gravity, width, height); f 2137 src/androidterm.c android_clear_under_internal_border (f); f 2140 src/androidterm.c mark_window_cursors_off (XWINDOW (f->root_window)); f 2146 src/androidterm.c cancel_mouse_face (f); f 2154 src/androidterm.c android_set_offset (struct frame *f, int xoff, int yoff, f 2159 src/androidterm.c f->top_pos = yoff; f 2160 src/androidterm.c f->left_pos = xoff; f 2161 src/androidterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 2163 src/androidterm.c f->size_hint_flags |= XNegative; f 2165 src/androidterm.c f->size_hint_flags |= YNegative; f 2166 src/androidterm.c f->win_gravity = NorthWestGravity; f 2169 src/androidterm.c android_move_window (FRAME_ANDROID_WINDOW (f), xoff, yoff); f 2173 src/androidterm.c android_set_alpha (struct frame *f) f 2179 src/androidterm.c android_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 2186 src/androidterm.c FRAME_FONTSET (f) = fontset; f 2187 src/androidterm.c if (FRAME_FONT (f) == font) f 2192 src/androidterm.c FRAME_FONT (f) = font; f 2193 src/androidterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 2194 src/androidterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 2196 src/androidterm.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 2199 src/androidterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 2205 src/androidterm.c unit = FRAME_COLUMN_WIDTH (f); f 2206 src/androidterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 2207 src/androidterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 2208 src/androidterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 2210 src/androidterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 2216 src/androidterm.c if (FRAME_ANDROID_WINDOW (f) != 0 && !FRAME_TOOLTIP_P (f)) f 2217 src/androidterm.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 2218 src/androidterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, f 2225 src/androidterm.c android_bitmap_icon (struct frame *f, Lisp_Object file) f 2231 src/androidterm.c android_free_pixmap_hook (struct frame *f, Emacs_Pixmap pixmap) f 2237 src/androidterm.c android_free_frame_resources (struct frame *f) f 2243 src/androidterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2247 src/androidterm.c free_frame_faces (f); f 2250 src/androidterm.c if (FRAME_ANDROID_WINDOW (f)) f 2251 src/androidterm.c android_destroy_window (FRAME_ANDROID_WINDOW (f)); f 2253 src/androidterm.c android_free_gcs (f); f 2256 src/androidterm.c if (f->output_data.android->text_cursor) f 2257 src/androidterm.c android_free_cursor (f->output_data.android->text_cursor); f 2258 src/androidterm.c if (f->output_data.android->nontext_cursor) f 2259 src/androidterm.c android_free_cursor (f->output_data.android->nontext_cursor); f 2260 src/androidterm.c if (f->output_data.android->modeline_cursor) f 2261 src/androidterm.c android_free_cursor (f->output_data.android->modeline_cursor); f 2262 src/androidterm.c if (f->output_data.android->hand_cursor) f 2263 src/androidterm.c android_free_cursor (f->output_data.android->hand_cursor); f 2264 src/androidterm.c if (f->output_data.android->hourglass_cursor) f 2265 src/androidterm.c android_free_cursor (f->output_data.android->hourglass_cursor); f 2266 src/androidterm.c if (f->output_data.android->horizontal_drag_cursor) f 2267 src/androidterm.c android_free_cursor (f->output_data.android->horizontal_drag_cursor); f 2268 src/androidterm.c if (f->output_data.android->vertical_drag_cursor) f 2269 src/androidterm.c android_free_cursor (f->output_data.android->vertical_drag_cursor); f 2270 src/androidterm.c if (f->output_data.android->left_edge_cursor) f 2271 src/androidterm.c android_free_cursor (f->output_data.android->left_edge_cursor); f 2272 src/androidterm.c if (f->output_data.android->top_left_corner_cursor) f 2273 src/androidterm.c android_free_cursor (f->output_data.android->top_left_corner_cursor); f 2274 src/androidterm.c if (f->output_data.android->top_edge_cursor) f 2275 src/androidterm.c android_free_cursor (f->output_data.android->top_edge_cursor); f 2276 src/androidterm.c if (f->output_data.android->top_right_corner_cursor) f 2277 src/androidterm.c android_free_cursor (f->output_data.android->top_right_corner_cursor); f 2278 src/androidterm.c if (f->output_data.android->right_edge_cursor) f 2279 src/androidterm.c android_free_cursor (f->output_data.android->right_edge_cursor); f 2280 src/androidterm.c if (f->output_data.android->bottom_right_corner_cursor) f 2281 src/androidterm.c android_free_cursor (f->output_data.android->bottom_right_corner_cursor); f 2282 src/androidterm.c if (f->output_data.android->bottom_edge_cursor) f 2283 src/androidterm.c android_free_cursor (f->output_data.android->bottom_edge_cursor); f 2284 src/androidterm.c if (f->output_data.android->bottom_left_corner_cursor) f 2285 src/androidterm.c android_free_cursor (f->output_data.android->bottom_left_corner_cursor); f 2288 src/androidterm.c if (f->output_data.android->white_relief.gc) f 2290 src/androidterm.c android_free_gc (f->output_data.android->white_relief.gc); f 2291 src/androidterm.c f->output_data.android->white_relief.gc = 0; f 2293 src/androidterm.c if (f->output_data.android->black_relief.gc) f 2295 src/androidterm.c android_free_gc (f->output_data.android->black_relief.gc); f 2296 src/androidterm.c f->output_data.android->black_relief.gc = 0; f 2299 src/androidterm.c if (f == dpyinfo->focus_frame) f 2301 src/androidterm.c if (f == dpyinfo->x_focus_event_frame) f 2303 src/androidterm.c if (f == dpyinfo->highlight_frame) f 2305 src/androidterm.c if (f == hlinfo->mouse_face_mouse_frame) f 2310 src/androidterm.c if (f == dpyinfo->last_mouse_motion_frame) f 2312 src/androidterm.c if (f == dpyinfo->last_mouse_frame) f 2316 src/androidterm.c next = FRAME_OUTPUT_DATA (f)->touch_points; f 2325 src/androidterm.c FRAME_OUTPUT_DATA (f)->touch_points = NULL; f 2331 src/androidterm.c android_delete_frame (struct frame *f) f 2333 src/androidterm.c android_free_frame_resources (f); f 2334 src/androidterm.c xfree (f->output_data.android); f 2335 src/androidterm.c f->output_data.android = NULL; f 2351 src/androidterm.c struct frame *f = XFRAME (w->frame); f 2389 src/androidterm.c android_copy_area (FRAME_ANDROID_DRAWABLE (f), f 2390 src/androidterm.c FRAME_ANDROID_WINDOW (f), f 2391 src/androidterm.c f->output_data.android->normal_gc, f 2407 src/androidterm.c android_flip_and_flush (struct frame *f) f 2411 src/androidterm.c if (FRAME_ANDROID_NEED_BUFFER_FLIP (f)) f 2412 src/androidterm.c show_back_buffer (f); f 2416 src/androidterm.c FRAME_ANDROID_COMPLETE_P (f) = true; f 2421 src/androidterm.c android_clear_rectangle (struct frame *f, struct android_gc *gc, int x, f 2430 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 2436 src/androidterm.c android_reset_clip_rectangles (struct frame *f, struct android_gc *gc) f 2463 src/androidterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2464 src/androidterm.c struct android_gc *gc = f->output_data.android->normal_gc; f 2480 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), face->gc, f 2489 src/androidterm.c android_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny); f 2503 src/androidterm.c drawable = FRAME_ANDROID_DRAWABLE (f); f 2506 src/androidterm.c cursor_pixel = f->output_data.android->cursor_pixel; f 2507 src/androidterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 2548 src/androidterm.c android_reset_clip_rectangles (f, gc); f 2557 src/androidterm.c if (s->font == FRAME_FONT (s->f) f 2558 src/androidterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 2559 src/androidterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) f 2561 src/androidterm.c s->gc = s->f->output_data.android->cursor_gc; f 2568 src/androidterm.c xgcv.background = s->f->output_data.android->cursor_pixel; f 2575 src/androidterm.c xgcv.foreground = s->f->output_data.android->cursor_foreground_pixel; f 2589 src/androidterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 2590 src/androidterm.c android_change_gc (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 2593 src/androidterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 2596 src/androidterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 2620 src/androidterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 2621 src/androidterm.c android_change_gc (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 2624 src/androidterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 2627 src/androidterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 2651 src/androidterm.c prepare_face_for_display (s->f, s->face); f 2756 src/androidterm.c android_clear_rectangle (s->f, s->gc, x, y, w, h); f 2772 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 2798 src/androidterm.c android_fill_triangle (struct frame *f, struct android_gc *gc, f 2809 src/androidterm.c android_fill_polygon (FRAME_ANDROID_DRAWABLE (f), f 2843 src/androidterm.c android_clear_point (struct frame *f, struct android_gc *gc, f 2851 src/androidterm.c android_draw_point (FRAME_ANDROID_DRAWABLE (f), gc, x, y); f 2856 src/androidterm.c android_draw_relief_rect (struct frame *f, int left_x, int top_y, int right_x, f 2869 src/androidterm.c white_gc = f->output_data.android->white_relief.gc; f 2870 src/androidterm.c black_gc = f->output_data.android->black_relief.gc; f 2871 src/androidterm.c normal_gc = f->output_data.android->normal_gc; f 2873 src/androidterm.c drawable = FRAME_ANDROID_DRAWABLE (f); f 2886 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, left_x, top_y, f 2890 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, left_x, top_y, f 2899 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, left_x, f 2904 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, f 2911 src/androidterm.c android_fill_triangle (f, raised_p ? white_gc : black_gc, f 2918 src/androidterm.c android_fill_triangle (f, raised_p ? white_gc : black_gc, f 2928 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (f), f 2956 src/androidterm.c android_clear_point (f, normal_gc, left_x, top_y); f 2960 src/androidterm.c android_clear_point (f, normal_gc, left_x, bottom_y); f 2964 src/androidterm.c android_clear_point (f, normal_gc, right_x, top_y); f 2968 src/androidterm.c android_clear_point (f, normal_gc, right_x, bottom_y); f 2971 src/androidterm.c android_reset_clip_rectangles (f, white_gc); f 2972 src/androidterm.c android_reset_clip_rectangles (f, black_gc); f 2988 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, left_x, f 2993 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, left_x, f 2997 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, left_x, f 3003 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 3008 src/androidterm.c android_reset_clip_rectangles (s->f, s->gc); f 3014 src/androidterm.c android_alloc_lighter_color (struct frame *f, unsigned long *pixel, f 3023 src/androidterm.c android_query_colors (f, &color, 1); f 3060 src/androidterm.c success_p = android_alloc_nearest_color (f, &new); f 3071 src/androidterm.c success_p = android_alloc_nearest_color (f, &new); f 3090 src/androidterm.c android_setup_relief_color (struct frame *f, struct relief *relief, f 3095 src/androidterm.c struct android_output *di = f->output_data.android; f 3099 src/androidterm.c struct android_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3109 src/androidterm.c && android_alloc_lighter_color (f, &pixel, factor, delta)) f 3126 src/androidterm.c di = s->f->output_data.android; f 3132 src/androidterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 3133 src/androidterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 3147 src/androidterm.c android_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 3148 src/androidterm.c WHITE_PIX_DEFAULT (s->f)); f 3149 src/androidterm.c android_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 3150 src/androidterm.c BLACK_PIX_DEFAULT (s->f)); f 3214 src/androidterm.c android_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 3228 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, x, f 3322 src/androidterm.c android_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 3369 src/androidterm.c FRAME_ANDROID_DRAWABLE (s->f), f 3382 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 3392 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, x, y, f 3485 src/androidterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 3520 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), f 3533 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), f 3538 src/androidterm.c android_reset_clip_rectangles (s->f, gc); f 3636 src/androidterm.c android_draw_line (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 3667 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (s->f), f 3681 src/androidterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 3718 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (s->f), f 3854 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 4087 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 4094 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 4106 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), f 4114 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 4136 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_WINDOW (s->f), f 4144 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (s->f), s->gc, f 4170 src/androidterm.c android_reset_clip_rectangles (prev->f, prev->gc); f 4195 src/androidterm.c android_reset_clip_rectangles (next->f, next->gc); f 4204 src/androidterm.c android_reset_clip_rectangles (s->f, s->gc); f 4217 src/androidterm.c android_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 4219 src/androidterm.c if (!f->pointer_invisible f 4220 src/androidterm.c && !FRAME_ANDROID_OUTPUT (f)->hourglass f 4221 src/androidterm.c && f->output_data.android->current_cursor != cursor) f 4222 src/androidterm.c android_define_cursor (FRAME_ANDROID_WINDOW (f), cursor); f 4224 src/androidterm.c f->output_data.android->current_cursor = cursor; f 4228 src/androidterm.c android_clear_frame_area (struct frame *f, int x, int y, f 4231 src/androidterm.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), f 4236 src/androidterm.c android_clear_under_internal_border (struct frame *f) f 4238 src/androidterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0) f 4240 src/androidterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4241 src/androidterm.c int width = FRAME_PIXEL_WIDTH (f); f 4242 src/androidterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4243 src/androidterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4244 src/androidterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 4245 src/androidterm.c int face_id = (FRAME_PARENT_FRAME (f) f 4247 src/androidterm.c ? lookup_basic_face (NULL, f, f 4251 src/androidterm.c ? lookup_basic_face (NULL, f, f 4254 src/androidterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4259 src/androidterm.c struct android_gc *gc = f->output_data.android->normal_gc; f 4262 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, 0, margin, f 4264 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, 0, 0, f 4266 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, width - border, f 4268 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, 0, f 4271 src/androidterm.c android_set_foreground (gc, FRAME_FOREGROUND_PIXEL (f)); f 4275 src/androidterm.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), 0, 0, f 4277 src/androidterm.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), 0, f 4279 src/androidterm.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), width - border, f 4281 src/androidterm.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), 0, f 4291 src/androidterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 4292 src/androidterm.c struct android_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4310 src/androidterm.c xgcv.foreground = f->output_data.android->cursor_pixel; f 4331 src/androidterm.c android_draw_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, x, y, wd, h - 1); f 4332 src/androidterm.c android_reset_clip_rectangles (f, gc); f 4339 src/androidterm.c struct frame *f = XFRAME (w->frame); f 4365 src/androidterm.c struct android_gc *gc = FRAME_DISPLAY_INFO (f)->scratch_cursor_gc; f 4367 src/androidterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 4375 src/androidterm.c if (face->background == f->output_data.android->cursor_pixel) f 4378 src/androidterm.c xgcv.background = xgcv.foreground = f->output_data.android->cursor_pixel; f 4385 src/androidterm.c FRAME_DISPLAY_INFO (f)->scratch_cursor_gc = gc; f 4395 src/androidterm.c width = FRAME_CURSOR_WIDTH (f); f 4405 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, x, f 4428 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), gc, x, f 4433 src/androidterm.c android_reset_clip_rectangles (f, gc); f 4442 src/androidterm.c struct frame *f; f 4444 src/androidterm.c f = WINDOW_XFRAME (w); f 4491 src/androidterm.c if (FRAME_OUTPUT_DATA (f)->need_cursor_updates f 4492 src/androidterm.c && w == XWINDOW (f->selected_window)) f 4500 src/androidterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 4503 src/androidterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 4505 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4508 src/androidterm.c android_draw_line (FRAME_ANDROID_DRAWABLE (f), f 4509 src/androidterm.c f->output_data.android->normal_gc, f 4516 src/androidterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 4517 src/androidterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 4519 src/androidterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 4521 src/androidterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 4522 src/androidterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 4525 src/androidterm.c : FRAME_FOREGROUND_PIXEL (f)); f 4528 src/androidterm.c : FRAME_FOREGROUND_PIXEL (f)); f 4534 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4536 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4537 src/androidterm.c f->output_data.android->normal_gc, f 4539 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4541 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4542 src/androidterm.c f->output_data.android->normal_gc, f 4544 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4546 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4547 src/androidterm.c f->output_data.android->normal_gc, f 4554 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4556 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4557 src/androidterm.c f->output_data.android->normal_gc, f 4559 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, color); f 4560 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4561 src/androidterm.c f->output_data.android->normal_gc, f 4563 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, f 4565 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4566 src/androidterm.c f->output_data.android->normal_gc, f 4573 src/androidterm.c android_set_foreground (f->output_data.android->normal_gc, color); f 4574 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), f 4575 src/androidterm.c f->output_data.android->normal_gc, f 4854 src/androidterm.c struct frame *f; f 4859 src/androidterm.c f = android_window_to_frame (NULL, context->window); f 4861 src/androidterm.c if (!f) f 4864 src/androidterm.c textconv_query (f, &context->query, 0); f 5150 src/androidterm.c struct frame *f; f 5157 src/androidterm.c f = android_window_to_frame (NULL, context->window); f 5159 src/androidterm.c if (!f) f 5163 src/androidterm.c w = XWINDOW (f->selected_window); f 5358 src/androidterm.c struct frame *f; f 5363 src/androidterm.c f = android_window_to_frame (NULL, request->window); f 5365 src/androidterm.c if (!f) f 5370 src/androidterm.c = get_extracted_text (f, min (request->hint_max_chars, 600), f 5379 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_flags = request->flags; f 5380 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_token = request->token; f 5381 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_hint = request->hint_max_chars; f 5723 src/androidterm.c struct frame *f; f 5729 src/androidterm.c f = android_window_to_frame (NULL, request->window); f 5731 src/androidterm.c if (!f) f 5736 src/androidterm.c = get_surrounding_text (f, request->before_length, f 5756 src/androidterm.c if (MARKERP (f->conversion.compose_region_start)) f 5759 src/androidterm.c = marker_position (f->conversion.compose_region_start) - 1; f 5761 src/androidterm.c = marker_position (f->conversion.compose_region_end) - 1; f 5954 src/androidterm.c android_update_selection (struct frame *f, struct window *w) f 5965 src/androidterm.c if (MARKERP (f->conversion.compose_region_start)) f 5967 src/androidterm.c eassert (MARKERP (f->conversion.compose_region_end)); f 5970 src/androidterm.c start = marker_position (f->conversion.compose_region_start) - 1; f 5971 src/androidterm.c end = marker_position (f->conversion.compose_region_end) - 1; f 5982 src/androidterm.c w = XWINDOW (f->selected_window); f 5999 src/androidterm.c android_update_ic (FRAME_ANDROID_WINDOW (f), min (point, mark) - 1, f 6006 src/androidterm.c if (FRAME_ANDROID_OUTPUT (f)->extracted_text_flags & 1) f 6008 src/androidterm.c hint = FRAME_ANDROID_OUTPUT (f)->extracted_text_hint; f 6009 src/androidterm.c token = FRAME_ANDROID_OUTPUT (f)->extracted_text_token; f 6010 src/androidterm.c text = get_extracted_text (f, min (hint, 600), &start, f 6034 src/androidterm.c android_update_extracted_text (FRAME_ANDROID_WINDOW (f), f 6048 src/androidterm.c struct frame *f; f 6050 src/androidterm.c f = arg; f 6052 src/androidterm.c && event->ime.window == FRAME_ANDROID_WINDOW (f)); f 6059 src/androidterm.c android_reset_conversion (struct frame *f) f 6073 src/androidterm.c w = XWINDOW (f->selected_window); f 6083 src/androidterm.c else if (EQ (style, Qaction) || EQ (f->selected_window, f 6084 src/androidterm.c f->minibuffer_window)) f 6095 src/androidterm.c while (android_check_if_event (&event, android_event_is_for_frame, f)) f 6110 src/androidterm.c android_reset_ic (FRAME_ANDROID_WINDOW (f), mode); f 6114 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_flags = 0; f 6117 src/androidterm.c android_update_selection (f, NULL); f 6124 src/androidterm.c android_set_point (struct frame *f, struct window *w, f 6127 src/androidterm.c android_update_selection (f, w); f 6134 src/androidterm.c android_compose_region_changed (struct frame *f) f 6136 src/androidterm.c android_update_selection (f, XWINDOW (f->old_selected_window)); f 6209 src/androidterm.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 285 src/androidterm.h #define FRAME_ANDROID_OUTPUT(f) ((f)->output_data.android) f 286 src/androidterm.h #define FRAME_OUTPUT_DATA(f) ((f)->output_data.android) f 289 src/androidterm.h #define FRAME_ANDROID_WINDOW(f) ((f)->output_data.android->window) f 290 src/androidterm.h #define FRAME_NATIVE_WINDOW(f) ((f)->output_data.android->window) f 293 src/androidterm.h #define FRAME_ANDROID_NEED_BUFFER_FLIP(f) \ f 294 src/androidterm.h ((f)->output_data.android->need_buffer_flip) f 300 src/androidterm.h #define FRAME_ANDROID_DRAWABLE(f) \ f 301 src/androidterm.h (((f))->output_data.android->need_buffer_flip = true, \ f 302 src/androidterm.h FRAME_ANDROID_WINDOW ((f))) f 306 src/androidterm.h #define FRAME_ANDROID_COMPLETE_P(f) \ f 307 src/androidterm.h ((f)->output_data.android->complete) f 309 src/androidterm.h #define FRAME_FONT(f) ((f)->output_data.android->font) f 310 src/androidterm.h #define FRAME_FONTSET(f) ((f)->output_data.android->fontset) f 312 src/androidterm.h #define FRAME_BASELINE_OFFSET(f) \ f 313 src/androidterm.h ((f)->output_data.android->baseline_offset) f 317 src/androidterm.h #define FRAME_DISPLAY_INFO(f) ((f)->output_data.android->display_info) f 320 src/androidterm.h #define BLACK_PIX_DEFAULT(f) 0 f 321 src/androidterm.h #define WHITE_PIX_DEFAULT(f) 0xffffffff f 1702 src/buffer.c struct frame *f = decode_live_frame (frame); f 1703 src/buffer.c Lisp_Object tail = f->buffer_list, pred = f->buffer_predicate; f 2128 src/buffer.c register struct frame *f = XFRAME (selected_frame); f 2145 src/buffer.c fset_buffer_list (f, Fcons (buffer, Fdelq (buffer, f->buffer_list))); f 2146 src/buffer.c fset_buried_buffer_list (f, Fdelq (buffer, f->buried_buffer_list)); f 2164 src/buffer.c register struct frame *f = XFRAME (selected_frame); f 2181 src/buffer.c fset_buffer_list (f, Fdelq (buffer, f->buffer_list)); f 2183 src/buffer.c (f, Fcons (buffer, Fdelq (buffer, f->buried_buffer_list))); f 333 src/bytecode.c bcall0 (Lisp_Object f) f 335 src/bytecode.c Ffuncall (1, &f); f 357 src/character.c struct frame *f = f 384 src/character.c && f && FRAME_WINDOW_P (f) f 401 src/character.c font_width = FRAME_COLUMN_WIDTH (f); f 335 src/character.h unsigned char f = p[3]; f 336 src/character.h w += (f & 0xC0) << 6; f 343 src/character.h w3 = (lw << 24) + (d << 16) + (e << 8) + f; f 765 src/comp.c FILE *f = emacs_fopen (SSDATA (encoded_filename), is_gz ? "rb" : "r"); f 767 src/comp.c if (!f) f 774 src/comp.c ? md5_gz_stream (f, SSDATA (digest)) f 775 src/comp.c : md5_stream (f, SSDATA (digest)); f 777 src/comp.c int res = md5_stream (f, SSDATA (digest)); f 779 src/comp.c fclose (f); f 873 src/comp.c bcall0 (Lisp_Object f) f 875 src/comp.c Ffuncall (1, &f); f 2210 src/comp.c gcc_jit_function *f = f 2217 src/comp.c return gcc_jit_context_new_call (comp.ctxt, NULL, f, 1, args); f 2238 src/comp.c gcc_jit_function *f = f 2245 src/comp.c return gcc_jit_context_new_call (comp.ctxt, NULL, f, 2, args); f 2778 src/comp.c gcc_jit_function *f = f 2784 src/comp.c DECL_BLOCK (block, f); f 2799 src/comp.c gcc_jit_lvalue *ptrvar = gcc_jit_function_new_local (f, NULL, f 5165 src/comp.c static FILE *f; f 5166 src/comp.c if (!f) f 5170 src/comp.c f = fopen (str, "w"); f 5172 src/comp.c if (!f) f 5174 src/comp.c fprintf (f, "function %s file %s\n", f 5177 src/comp.c fflush (f); f 5251 src/comp.c static_obj_t *(*f)(void) = dynlib_sym (comp_u->handle, name); f 5252 src/comp.c if (!f) f 5255 src/comp.c blob = f (); f 971 src/composite.c struct frame *f = XFRAME (font_object); f 972 src/composite.c if (FRAME_WINDOW_P (f)) f 1365 src/dispextern.h struct frame *f; f 1912 src/dispextern.h struct frame *f; f 1946 src/dispextern.h FACE_FOR_CHAR (struct frame *f, struct face *face, int character, f 1950 src/dispextern.h return face_for_char (f, face, character, pos, object); f 2352 src/dispextern.h struct frame *f; f 2860 src/dispextern.h if (FRAME_RIF ((IT)->f) != NULL) \ f 2861 src/dispextern.h FRAME_RIF ((IT)->f)->produce_glyphs ((IT)); \ f 3009 src/dispextern.h void (*flush_display) (struct frame *f); f 3016 src/dispextern.h void (*get_glyph_overhangs) (struct glyph *glyph, struct frame *f, f 3044 src/dispextern.h void (*define_frame_cursor) (struct frame *f, Emacs_Cursor cursor); f 3047 src/dispextern.h void (*clear_frame_area) (struct frame *f, int x, int y, f 3053 src/dispextern.h void (*clear_under_internal_border) (struct frame *f); f 3076 src/dispextern.h void (*shift_glyphs_for_insert) (struct frame *f, f 3081 src/dispextern.h void (*show_hourglass) (struct frame *f); f 3084 src/dispextern.h void (*hide_hourglass) (struct frame *f); f 3088 src/dispextern.h void (*default_font_parameter) (struct frame *f, Lisp_Object parms); f 3717 src/dispextern.h #define IMAGE_BACKGROUND(img, f, ximg) \ f 3720 src/dispextern.h : image_background (img, f, ximg)) f 3726 src/dispextern.h #define IMAGE_BACKGROUND_TRANSPARENT(img, f, mask) \ f 3729 src/dispextern.h : image_background_transparent (img, f, mask)) f 3764 src/dispextern.h void clear_current_matrices (struct frame *f); f 199 src/dispnew.c add_frame_display_history (struct frame *f, bool paused_p) f 202 src/dispnew.c void *ptr = f; f 789 src/dispnew.c clear_current_matrices (register struct frame *f) f 792 src/dispnew.c if (f->current_matrix) f 793 src/dispnew.c clear_glyph_matrix (f->current_matrix); f 799 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 800 src/dispnew.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 805 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 806 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 811 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 812 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 816 src/dispnew.c eassert (WINDOWP (FRAME_ROOT_WINDOW (f))); f 817 src/dispnew.c clear_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (f)), 0); f 824 src/dispnew.c clear_desired_matrices (register struct frame *f) f 826 src/dispnew.c if (f->desired_matrix) f 827 src/dispnew.c clear_glyph_matrix (f->desired_matrix); f 830 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 831 src/dispnew.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->desired_matrix); f 835 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 836 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->desired_matrix); f 840 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 841 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->desired_matrix); f 845 src/dispnew.c eassert (WINDOWP (FRAME_ROOT_WINDOW (f))); f 846 src/dispnew.c clear_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (f)), 1); f 1169 src/dispnew.c line_hash_code (struct frame *f, struct glyph_row *row) f 1182 src/dispnew.c if (FRAME_MUST_WRITE_SPACES (f)) f 1203 src/dispnew.c line_draw_cost (struct frame *f, struct glyph_matrix *matrix, int vpos) f 1213 src/dispnew.c if (!FRAME_MUST_WRITE_SPACES (f)) f 1638 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (window))); f 1672 src/dispnew.c w->desired_matrix = new_glyph_matrix (f->desired_pool); f 1673 src/dispnew.c w->current_matrix = new_glyph_matrix (f->current_pool); f 1751 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1753 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1756 src/dispnew.c int ch_height = max (FRAME_SMALLEST_FONT_HEIGHT (f), 1); f 1779 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1780 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1783 src/dispnew.c int ch_width = max (FRAME_SMALLEST_CHAR_WIDTH (f), 1); f 1840 src/dispnew.c adjust_frame_glyphs (struct frame *f) f 1846 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1847 src/dispnew.c adjust_frame_glyphs_for_window_redisplay (f); f 1850 src/dispnew.c adjust_frame_glyphs_for_frame_redisplay (f); f 1851 src/dispnew.c eassert (FRAME_INITIAL_P (f) f 1854 src/dispnew.c || (f->current_matrix f 1855 src/dispnew.c && f->current_matrix->nrows > 0 f 1856 src/dispnew.c && f->current_matrix->rows f 1857 src/dispnew.c && f->desired_matrix f 1858 src/dispnew.c && f->desired_matrix->nrows > 0 f 1859 src/dispnew.c && f->desired_matrix->rows)); f 1863 src/dispnew.c adjust_decode_mode_spec_buffer (f); f 1865 src/dispnew.c f->glyphs_initialized_p = true; f 1908 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1910 src/dispnew.c struct glyph_matrix *fm = f->current_matrix; f 1944 src/dispnew.c save_current_matrix (struct frame *f) f 1948 src/dispnew.c saved->nrows = f->current_matrix->nrows; f 1953 src/dispnew.c struct glyph_row *from = f->current_matrix->rows + i; f 1988 src/dispnew.c restore_current_matrix (struct frame *f, struct glyph_matrix *saved) f 1995 src/dispnew.c struct glyph_row *to = f->current_matrix->rows + i; f 2033 src/dispnew.c adjust_frame_glyphs_for_frame_redisplay (struct frame *f) f 2040 src/dispnew.c if (!FRAME_LIVE_P (f)) f 2043 src/dispnew.c top_window_y = FRAME_TOP_MARGIN (f); f 2046 src/dispnew.c if (f->desired_pool == NULL) f 2048 src/dispnew.c f->desired_pool = new_glyph_pool (); f 2049 src/dispnew.c f->current_pool = new_glyph_pool (); f 2053 src/dispnew.c if (f->desired_matrix == NULL) f 2055 src/dispnew.c f->desired_matrix = new_glyph_matrix (f->desired_pool); f 2056 src/dispnew.c f->current_matrix = new_glyph_matrix (f->current_pool); f 2067 src/dispnew.c = allocate_matrices_for_frame_redisplay (FRAME_ROOT_WINDOW (f), f 2076 src/dispnew.c pool_changed_p = realloc_glyph_pool (f->desired_pool, matrix_dim); f 2077 src/dispnew.c realloc_glyph_pool (f->current_pool, matrix_dim); f 2084 src/dispnew.c allocate_matrices_for_frame_redisplay (FRAME_ROOT_WINDOW (f), f 2091 src/dispnew.c if (matrix_dim.width != FRAME_TOTAL_COLS (f) f 2092 src/dispnew.c || matrix_dim.height != FRAME_TOTAL_LINES (f)) f 2102 src/dispnew.c if (!FRAME_WINDOW_P (f) && pool_changed_p) f 2103 src/dispnew.c SET_FRAME_GARBAGED (f); f 2107 src/dispnew.c eassert (matrix_dim.width == FRAME_TOTAL_COLS (f) f 2108 src/dispnew.c && matrix_dim.height == FRAME_TOTAL_LINES (f)); f 2120 src/dispnew.c && !FRAME_GARBAGED_P (f) f 2121 src/dispnew.c && matrix_dim.width == f->current_matrix->matrix_w f 2122 src/dispnew.c && matrix_dim.height == f->current_matrix->matrix_h f 2127 src/dispnew.c && !showing_window_margins_p (XWINDOW (FRAME_ROOT_WINDOW (f)))) f 2129 src/dispnew.c struct glyph_matrix *copy = save_current_matrix (f); f 2130 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2131 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2132 src/dispnew.c restore_current_matrix (f, copy); f 2133 src/dispnew.c fake_current_matrices (FRAME_ROOT_WINDOW (f)); f 2137 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2138 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2139 src/dispnew.c SET_FRAME_GARBAGED (f); f 2142 src/dispnew.c else if (!FRAME_INITIAL_P (f) && !noninteractive && initialized) f 2144 src/dispnew.c if (!f->desired_matrix->nrows || !f->desired_matrix->rows) f 2146 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2147 src/dispnew.c SET_FRAME_GARBAGED (f); f 2149 src/dispnew.c if (!f->current_matrix->nrows || !f->current_matrix->rows) f 2151 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2152 src/dispnew.c SET_FRAME_GARBAGED (f); f 2162 src/dispnew.c adjust_frame_glyphs_for_window_redisplay (struct frame *f) f 2164 src/dispnew.c eassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f)); f 2167 src/dispnew.c allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f))); f 2175 src/dispnew.c if (NILP (f->menu_bar_window)) f 2178 src/dispnew.c fset_menu_bar_window (f, make_window ()); f 2179 src/dispnew.c w = XWINDOW (f->menu_bar_window); f 2180 src/dispnew.c XSETFRAME (frame, f); f 2185 src/dispnew.c w = XWINDOW (f->menu_bar_window); f 2193 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2194 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2195 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2196 src/dispnew.c w->pixel_height = FRAME_MENU_BAR_HEIGHT (f); f 2197 src/dispnew.c w->total_lines = FRAME_MENU_BAR_LINES (f); f 2207 src/dispnew.c if (NILP (f->tab_bar_window)) f 2210 src/dispnew.c fset_tab_bar_window (f, make_window ()); f 2211 src/dispnew.c w = XWINDOW (f->tab_bar_window); f 2212 src/dispnew.c XSETFRAME (frame, f); f 2217 src/dispnew.c w = XWINDOW (f->tab_bar_window); f 2225 src/dispnew.c w->pixel_top = (FRAME_MENU_BAR_HEIGHT (f) f 2227 src/dispnew.c ? FRAME_TOOL_BAR_TOP_HEIGHT (f) : 0)); f 2228 src/dispnew.c w->top_line = (FRAME_MENU_BAR_LINES (f) f 2230 src/dispnew.c ? FRAME_TOOL_BAR_TOP_LINES (f) : 0)); f 2231 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2232 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2233 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2234 src/dispnew.c w->total_lines = FRAME_TAB_BAR_LINES (f); f 2235 src/dispnew.c w->pixel_height = FRAME_TAB_BAR_HEIGHT (f); f 2245 src/dispnew.c if (NILP (f->tool_bar_window)) f 2248 src/dispnew.c fset_tool_bar_window (f, make_window ()); f 2249 src/dispnew.c w = XWINDOW (f->tool_bar_window); f 2250 src/dispnew.c XSETFRAME (frame, f); f 2255 src/dispnew.c w = XWINDOW (f->tool_bar_window); f 2263 src/dispnew.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qbottom)) f 2265 src/dispnew.c w->pixel_top = (FRAME_PIXEL_HEIGHT (f) f 2266 src/dispnew.c - FRAME_TOOL_BAR_HEIGHT (f)); f 2267 src/dispnew.c w->top_line = (FRAME_LINES (f) f 2268 src/dispnew.c - FRAME_TOOL_BAR_LINES (f)); f 2274 src/dispnew.c w->pixel_top = (FRAME_MENU_BAR_HEIGHT (f) f 2276 src/dispnew.c ? FRAME_TAB_BAR_HEIGHT (f) : 0)); f 2277 src/dispnew.c w->top_line = (FRAME_MENU_BAR_LINES (f) f 2279 src/dispnew.c ? FRAME_TAB_BAR_LINES (f) : 0)); f 2282 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2283 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2284 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2285 src/dispnew.c w->total_lines = FRAME_TOOL_BAR_LINES (f); f 2286 src/dispnew.c w->pixel_height = FRAME_TOOL_BAR_HEIGHT (f); f 2296 src/dispnew.c adjust_decode_mode_spec_buffer (struct frame *f) f 2298 src/dispnew.c int frame_message_buf_size = FRAME_MESSAGE_BUF_SIZE (f); f 2301 src/dispnew.c f->decode_mode_spec_buffer = xrealloc (f->decode_mode_spec_buffer, f 2317 src/dispnew.c free_glyphs (struct frame *f) f 2319 src/dispnew.c if (f && f->glyphs_initialized_p) f 2324 src/dispnew.c f->glyphs_initialized_p = false; f 2327 src/dispnew.c if (!NILP (f->root_window)) f 2328 src/dispnew.c free_window_matrices (XWINDOW (f->root_window)); f 2333 src/dispnew.c if (!NILP (f->menu_bar_window)) f 2335 src/dispnew.c struct window *w = XWINDOW (f->menu_bar_window); f 2339 src/dispnew.c fset_menu_bar_window (f, Qnil); f 2345 src/dispnew.c if (!NILP (f->tab_bar_window)) f 2347 src/dispnew.c struct window *w = XWINDOW (f->tab_bar_window); f 2351 src/dispnew.c fset_tab_bar_window (f, Qnil); f 2357 src/dispnew.c if (!NILP (f->tool_bar_window)) f 2359 src/dispnew.c struct window *w = XWINDOW (f->tool_bar_window); f 2363 src/dispnew.c fset_tool_bar_window (f, Qnil); f 2369 src/dispnew.c if (f->desired_matrix) f 2371 src/dispnew.c free_glyph_matrix (f->desired_matrix); f 2372 src/dispnew.c free_glyph_matrix (f->current_matrix); f 2373 src/dispnew.c f->desired_matrix = f->current_matrix = NULL; f 2377 src/dispnew.c if (f->desired_pool) f 2379 src/dispnew.c free_glyph_pool (f->desired_pool); f 2380 src/dispnew.c free_glyph_pool (f->current_pool); f 2381 src/dispnew.c f->desired_pool = f->current_pool = NULL; f 2506 src/dispnew.c build_frame_matrix (struct frame *f) f 2511 src/dispnew.c eassert (!FRAME_WINDOW_P (f)); f 2515 src/dispnew.c for (i = FRAME_TOP_MARGIN (f); i < f->desired_matrix->nrows; ++i) f 2516 src/dispnew.c clear_glyph_row (MATRIX_ROW (f->desired_matrix, i)); f 2519 src/dispnew.c build_frame_matrix_from_window_tree (f->desired_matrix, f 2520 src/dispnew.c XWINDOW (FRAME_ROOT_WINDOW (f))); f 2754 src/dispnew.c set_frame_matrix_frame (struct frame *f) f 2756 src/dispnew.c frame_matrix_frame = f; f 2909 src/dispnew.c struct frame *f = XFRAME (w->frame); f 2915 src/dispnew.c eassert (!FRAME_WINDOW_P (f)); f 2924 src/dispnew.c frame_row = f->current_matrix->rows + WINDOW_TOP_EDGE_LINE (w); f 3035 src/dispnew.c struct frame *f = XFRAME (w->frame); f 3036 src/dispnew.c struct window *root = XWINDOW (FRAME_ROOT_WINDOW (f)); f 3096 src/dispnew.c struct frame *f = XFRAME (w->frame); f 3097 src/dispnew.c check_matrix_pointers (w->desired_matrix, f->desired_matrix); f 3098 src/dispnew.c check_matrix_pointers (w->current_matrix, f->current_matrix); f 3179 src/dispnew.c redraw_frame (struct frame *f) f 3182 src/dispnew.c eassert (f->glyphs_initialized_p); f 3183 src/dispnew.c update_begin (f); f 3184 src/dispnew.c if (FRAME_MSDOS_P (f)) f 3185 src/dispnew.c FRAME_TERMINAL (f)->set_terminal_modes_hook (FRAME_TERMINAL (f)); f 3187 src/dispnew.c if (FRAME_WINDOW_P (f)) f 3192 src/dispnew.c SET_FRAME_GARBAGED (f); f 3194 src/dispnew.c clear_frame (f); f 3195 src/dispnew.c clear_current_matrices (f); f 3196 src/dispnew.c update_end (f); f 3197 src/dispnew.c fset_redisplay (f); f 3201 src/dispnew.c mark_window_display_accurate (FRAME_ROOT_WINDOW (f), 0); f 3202 src/dispnew.c set_window_update_flags (XWINDOW (FRAME_ROOT_WINDOW (f)), true); f 3204 src/dispnew.c f->garbaged = false; f 3243 src/dispnew.c update_frame (struct frame *f, bool force_p, bool inhibit_hairy_id_p) f 3247 src/dispnew.c struct window *root_window = XWINDOW (f->root_window); f 3257 src/dispnew.c if (FRAME_WINDOW_P (f)) f 3267 src/dispnew.c update_begin (f); f 3272 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 3273 src/dispnew.c update_window (XWINDOW (f->menu_bar_window), true); f 3278 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 3280 src/dispnew.c struct window *w = XWINDOW (f->tab_bar_window); f 3292 src/dispnew.c tem = f->current_tab_bar_string; f 3293 src/dispnew.c fset_current_tab_bar_string (f, f->desired_tab_bar_string); f 3294 src/dispnew.c fset_desired_tab_bar_string (f, tem); f 3301 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 3303 src/dispnew.c struct window *w = XWINDOW (f->tool_bar_window); f 3315 src/dispnew.c tem = f->current_tool_bar_string; f 3316 src/dispnew.c fset_current_tool_bar_string (f, f->desired_tool_bar_string); f 3317 src/dispnew.c fset_desired_tool_bar_string (f, tem); f 3324 src/dispnew.c update_end (f); f 3330 src/dispnew.c set_frame_matrix_frame (f); f 3333 src/dispnew.c build_frame_matrix (f); f 3336 src/dispnew.c if (FRAME_INITIAL_P (f)) f 3342 src/dispnew.c update_begin (f); f 3343 src/dispnew.c paused_p = update_frame_1 (f, force_p, inhibit_hairy_id_p, 1, false); f 3344 src/dispnew.c update_end (f); f 3347 src/dispnew.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 3349 src/dispnew.c if (FRAME_TTY (f)->termscript) f 3350 src/dispnew.c fflush (FRAME_TTY (f)->termscript); f 3351 src/dispnew.c if (FRAME_TERMCAP_P (f)) f 3352 src/dispnew.c fflush (FRAME_TTY (f)->output); f 3358 src/dispnew.c add_frame_display_history (f, paused_p); f 3381 src/dispnew.c update_frame_with_menu (struct frame *f, int row, int col) f 3383 src/dispnew.c struct window *root_window = XWINDOW (f->root_window); f 3386 src/dispnew.c eassert (FRAME_TERMCAP_P (f)); f 3390 src/dispnew.c set_frame_matrix_frame (f); f 3393 src/dispnew.c update_begin (f); f 3397 src/dispnew.c paused_p = update_frame_1 (f, 1, 1, cursor_at_point_p, true); f 3401 src/dispnew.c cursor_to (f, row, col); f 3402 src/dispnew.c update_end (f); f 3404 src/dispnew.c if (FRAME_TTY (f)->termscript) f 3405 src/dispnew.c fflush (FRAME_TTY (f)->termscript); f 3406 src/dispnew.c fflush (FRAME_TTY (f)->output); f 3415 src/dispnew.c add_frame_display_history (f, paused_p); f 3429 src/dispnew.c update_mouse_position (struct frame *f, int x, int y) f 3434 src/dispnew.c note_mouse_highlight (f, x, y); f 3442 src/dispnew.c XSETFRAME (frame, f); f 3505 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3511 src/dispnew.c update_begin (f); f 3513 src/dispnew.c update_end (f); f 3529 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3554 src/dispnew.c FRAME_RIF (f)->write_glyphs (w, row, row->glyphs[area], f 3556 src/dispnew.c FRAME_RIF (f)->clear_end_of_line (w, row, area, -1); f 3894 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3895 src/dispnew.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3899 src/dispnew.c if (FRAME_RIF (f)->update_window_begin_hook) f 3900 src/dispnew.c FRAME_RIF (f)->update_window_begin_hook (w); f 3904 src/dispnew.c if (f == hlinfo->mouse_face_mouse_frame) f 3911 src/dispnew.c if (FRAME_GARBAGED_P (f)) f 3930 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3959 src/dispnew.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3966 src/dispnew.c if (FRAME_RIF (f)->update_window_end_hook) f 3967 src/dispnew.c FRAME_RIF (f)->update_window_end_hook (w, f 4341 src/dispnew.c struct frame *f = XFRAME (w->frame); f 4345 src/dispnew.c eassert (FRAME_WINDOW_P (f)); f 4355 src/dispnew.c && FRAME_HAS_MINIBUF_P (f) f 4356 src/dispnew.c && BASE_EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 4940 src/dispnew.c update_frame_1 (struct frame *f, bool force_p, bool inhibit_id_p, f 4944 src/dispnew.c struct glyph_matrix *current_matrix = f->current_matrix; f 4945 src/dispnew.c struct glyph_matrix *desired_matrix = f->desired_matrix; f 4952 src/dispnew.c if (baud_rate != FRAME_COST_BAUD_RATE (f)) f 4953 src/dispnew.c calculate_costs (f); f 4962 src/dispnew.c if (!FRAME_LINE_INS_DEL_OK (f)) f 4973 src/dispnew.c force_p |= scrolling (f); f 4977 src/dispnew.c update_frame_line (f, desired_matrix->nrows - 1, updating_menu_p); f 4986 src/dispnew.c if (FRAME_TERMCAP_P (f) && FRAME_TTY (f)->output_buffer_size == 0) f 4992 src/dispnew.c FILE *display_output = FRAME_TTY (f)->output; f 5005 src/dispnew.c update_frame_line (f, i, updating_menu_p); f 5009 src/dispnew.c pause_p = 0 < i && i < FRAME_TOTAL_LINES (f) - 1; f 5023 src/dispnew.c && FRAME_HAS_MINIBUF_P (f) f 5024 src/dispnew.c && BASE_EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 5026 src/dispnew.c int top = WINDOW_TOP_EDGE_LINE (XWINDOW (FRAME_MINIBUF_WINDOW (f))); f 5032 src/dispnew.c int row = FRAME_TOTAL_LINES (f); f 5057 src/dispnew.c if (col >= FRAME_CURSOR_X_LIMIT (f)) f 5060 src/dispnew.c if (row < FRAME_TOTAL_LINES (f) - 1) f 5062 src/dispnew.c col = FRAME_LEFT_SCROLL_BAR_COLS (f); f 5067 src/dispnew.c col = FRAME_CURSOR_X_LIMIT (f) - 1; f 5070 src/dispnew.c cursor_to (f, row, col); f 5076 src/dispnew.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 5089 src/dispnew.c cursor_to (f, y, x); f 5096 src/dispnew.c clear_desired_matrices (f); f 5243 src/dispnew.c #define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_TOTAL_COLS ((f))]) f 5250 src/dispnew.c update_frame_line (struct frame *f, int vpos, bool updating_menu_p) f 5255 src/dispnew.c struct glyph_matrix *current_matrix = f->current_matrix; f 5256 src/dispnew.c struct glyph_matrix *desired_matrix = f->desired_matrix; f 5260 src/dispnew.c bool write_spaces_p = FRAME_MUST_WRITE_SPACES (f); f 5261 src/dispnew.c bool colored_spaces_p = (FACE_FROM_ID (f, DEFAULT_FACE_ID)->background f 5293 src/dispnew.c cursor_to (f, 0, 0); f 5317 src/dispnew.c cursor_to (f, vpos, 0); f 5318 src/dispnew.c write_glyphs (f, nbody, nlen); f 5324 src/dispnew.c if (nlen < FRAME_TOTAL_COLS (f)) f 5326 src/dispnew.c cursor_to (f, vpos, nlen); f 5327 src/dispnew.c clear_end_of_line (f, FRAME_TOTAL_COLS (f)); f 5332 src/dispnew.c cursor_to (f, vpos, 0); f 5345 src/dispnew.c if (!FRAME_CHAR_INS_DEL_OK (f)) f 5364 src/dispnew.c cursor_to (f, vpos, i); f 5365 src/dispnew.c write_glyphs (f, nbody + i, j - i); f 5375 src/dispnew.c cursor_to (f, vpos, nlen); f 5376 src/dispnew.c clear_end_of_line (f, olen); f 5398 src/dispnew.c cursor_to (f, vpos, nsp); f 5399 src/dispnew.c write_glyphs (f, nbody + nsp, nlen - nsp); f 5448 src/dispnew.c && (!FRAME_CHAR_INS_DEL_OK (f) f 5450 src/dispnew.c || endmatch <= char_ins_del_cost (f)[tem] f 5461 src/dispnew.c && (!FRAME_CHAR_INS_DEL_OK (f) f 5463 src/dispnew.c || begmatch + endmatch <= char_ins_del_cost (f)[nsp - osp] f 5477 src/dispnew.c cursor_to (f, vpos, nsp); f 5478 src/dispnew.c delete_glyphs (f, osp - nsp); f 5487 src/dispnew.c cursor_to (f, vpos, nlen - endmatch + osp - nsp); f 5488 src/dispnew.c delete_glyphs (f, olen + nsp - osp - nlen); f 5491 src/dispnew.c cursor_to (f, vpos, osp); f 5492 src/dispnew.c insert_glyphs (f, 0, nsp - osp); f 5505 src/dispnew.c if (nlen == FRAME_TOTAL_COLS (f)) f 5513 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5514 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, nlen - tem); f 5529 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5534 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, out); f 5539 src/dispnew.c delete_glyphs (f, del); f 5542 src/dispnew.c insert_glyphs (f, nbody + nsp + begmatch + out, nlen - olen + del); f 5547 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5548 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, nlen - tem); f 5549 src/dispnew.c delete_glyphs (f, olen - nlen); f 5558 src/dispnew.c cursor_to (f, vpos, nlen); f 5559 src/dispnew.c clear_end_of_line (f, olen); f 5646 src/dispnew.c to_x += (w->hscroll - w->min_hscroll) * FRAME_COLUMN_WIDTH (it.f); f 5649 src/dispnew.c it.first_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); f 5650 src/dispnew.c it.last_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); f 5705 src/dispnew.c img = IMAGE_OPT_FROM_ID (it.f, it.image_id); f 5960 src/dispnew.c struct frame *f = XFRAME (frame); f 5962 src/dispnew.c if (FRAME_TERMCAP_P (f) && FRAME_TTY (f) == tty) f 5966 src/dispnew.c change_frame_size (f, width, height, false, true, false); f 5998 src/dispnew.c struct frame *f = XFRAME (frame); f 6005 src/dispnew.c if (f->new_size_p && (f->new_height >= 0 || f->new_width >= 0)) f 6006 src/dispnew.c change_frame_size (f, f->new_width, f->new_height, f 6014 src/dispnew.c change_frame_size_1 (struct frame *f, int new_width, int new_height, f 6020 src/dispnew.c && ((new_width != f->new_width f 6021 src/dispnew.c || new_height != f->new_height f 6022 src/dispnew.c || new_width != FRAME_PIXEL_WIDTH (f) f 6023 src/dispnew.c || new_height != FRAME_PIXEL_HEIGHT (f)))) f 6025 src/dispnew.c (f, build_string ("change_frame_size_1, delayed"), f 6026 src/dispnew.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 6027 src/dispnew.c new_width, new_height, f->new_width, f->new_height); f 6030 src/dispnew.c f->new_width = new_width; f 6031 src/dispnew.c f->new_height = new_height; f 6032 src/dispnew.c f->new_size_p = true; f 6040 src/dispnew.c f->new_height = -1; f 6041 src/dispnew.c f->new_width = -1; f 6042 src/dispnew.c f->new_size_p = false; f 6046 src/dispnew.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, new_width), f 6047 src/dispnew.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_height), 5, f 6063 src/dispnew.c change_frame_size (struct frame *f, int new_width, int new_height, f 6068 src/dispnew.c if (FRAME_MSDOS_P (f)) f 6079 src/dispnew.c change_frame_size_1 (f, new_width, new_height, pretend, delay, safe); f 6663 src/dispnew.c struct frame *f = XFRAME (selected_frame); f 6671 src/dispnew.c if (f->output_method != output_initial) f 6673 src/dispnew.c f->output_method = t->type; f 6674 src/dispnew.c f->terminal = t; f 6678 src/dispnew.c f->output_data.tty = &the_only_tty_output; f 6679 src/dispnew.c f->output_data.tty->display_info = &the_only_display_info; f 6681 src/dispnew.c if (f->output_method == output_termcap) f 6682 src/dispnew.c create_tty_output (f); f 460 src/dosfns.c x_set_title (struct frame *f, Lisp_Object name) f 463 src/dosfns.c if (EQ (name, f->title)) f 468 src/dosfns.c fset_title (f, name); f 471 src/dosfns.c name = f->name; f 473 src/dosfns.c if (FRAME_MSDOS_P (f)) f 3828 src/editfns.c char *f = convspec; f 3829 src/editfns.c *f++ = '%'; f 3831 src/editfns.c *f = '+'; f += plus_flag; f 3832 src/editfns.c *f = ' '; f += space_flag; f 3833 src/editfns.c *f = '#'; f += sharp_flag; f 3834 src/editfns.c *f++ = '.'; f 3835 src/editfns.c *f++ = '*'; f 3838 src/editfns.c memcpy (f, PRIdMAX, pMlen); f 3839 src/editfns.c f += pMlen; f 3842 src/editfns.c *f++ = conversion; f 3843 src/editfns.c *f = '\0'; f 3916 src/editfns.c f[-1] = 'L'; f 3917 src/editfns.c *f++ = conversion; f 3918 src/editfns.c *f = '\0'; f 3960 src/editfns.c strcpy (f - pMlen - 1, "f"); f 1826 src/emacs.c pid_t f; f 1829 src/emacs.c f = fork (); f 1832 src/emacs.c f = fork (); /* in orig */ f 1834 src/emacs.c f = 0; /* in exec'd */ f 1836 src/emacs.c if (f > 0) f 1865 src/emacs.c if (f < 0) f 43 src/emacsgtkfixed.c struct frame *f; f 82 src/emacsgtkfixed.c fixed->priv->f = 0; f 86 src/emacsgtkfixed.c emacs_fixed_new (struct frame *f) f 90 src/emacsgtkfixed.c priv->f = f; f 102 src/emacsgtkfixed.c int w = priv->f->output_data.pgtk->size_hints.min_width; f 104 src/emacsgtkfixed.c if (natural) *natural = priv->f->output_data.pgtk->preferred_width; f 106 src/emacsgtkfixed.c int w = priv->f->output_data.x->size_hints.min_width; f 120 src/emacsgtkfixed.c int h = priv->f->output_data.pgtk->size_hints.min_height; f 122 src/emacsgtkfixed.c if (natural) *natural = priv->f->output_data.pgtk->preferred_height; f 124 src/emacsgtkfixed.c int h = priv->f->output_data.x->size_hints.min_height; f 144 src/emacsgtkfixed.c struct frame *f = x_top_window_to_frame (dpyinfo, w); f 165 src/emacsgtkfixed.c if ((hints->flags & PMinSize) && f) f 56 src/emacsgtkfixed.h extern GtkWidget *emacs_fixed_new (struct frame *f); f 194 src/floatfns.c double f = extract_float (x); f 196 src/floatfns.c double sgnfcand = frexp (f, &exponent); f 315 src/floatfns.c double f = XFLOAT_DATA (arg); f 316 src/floatfns.c if (f == 0) f 318 src/floatfns.c if (!isfinite (f)) f 319 src/floatfns.c return f < 0 ? make_float (-f) : arg; f 321 src/floatfns.c frexp (f, &ivalue); f 1538 src/fns.c EMACS_INT f, t; f 1542 src/fns.c f = XFIXNUM (from); f 1543 src/fns.c if (f < 0) f 1544 src/fns.c f += size; f 1547 src/fns.c f = 0; f 1562 src/fns.c if (! (0 <= f && f <= t && t <= size)) f 1565 src/fns.c *ifrom = f; f 4102 src/fns.c char const *f = from; f 4118 src/fns.c if (f == flim) f 4123 src/fns.c c = *f++; f 4136 src/fns.c if (f == flim) f 4138 src/fns.c c = *f++; f 4158 src/fns.c if (f == flim) f 4165 src/fns.c c = *f++; f 4174 src/fns.c if (f == flim) f 4176 src/fns.c c = *f++; f 4200 src/fns.c if (f == flim) f 4207 src/fns.c c = *f++; f 272 src/font.c static int font_pixel_size (struct frame *f, Lisp_Object); f 331 src/font.c font_pixel_size (struct frame *f, Lisp_Object spec) f 343 src/font.c if (FRAME_WINDOW_P (f)) f 351 src/font.c dpi = FRAME_RES (f); f 1066 src/font.c char *f[XLFD_LAST_INDEX + 1]; f 1076 src/font.c i = 1, f[XLFD_FOUNDRY_INDEX] = name; f 1090 src/font.c f[i++] = p + 1; f 1095 src/font.c f[i] = name + len; f 1097 src/font.c #define INTERN_FIELD(N) font_intern_prop (f[N], f[(N) + 1] - 1 - f[N], 0) f 1098 src/font.c #define INTERN_FIELD_SYM(N) font_intern_prop (f[N], f[(N) + 1] - 1 - f[N], 1) f 1119 src/font.c if (strcmp (f[XLFD_REGISTRY_INDEX], "*-*") == 0) f 1123 src/font.c font_intern_prop (f[XLFD_REGISTRY_INDEX], f 1124 src/font.c f[XLFD_LAST_INDEX] - f[XLFD_REGISTRY_INDEX], f 1126 src/font.c p = f[XLFD_PIXEL_INDEX]; f 1141 src/font.c p = f[XLFD_POINT_INDEX]; f 1163 src/font.c p = f[XLFD_AVGWIDTH_INDEX]; f 1166 src/font.c val = font_intern_prop (p, f[XLFD_REGISTRY_INDEX] - 1 - p, 0); f 1180 src/font.c if (*f[j] == '*') f 1182 src/font.c if (f[j][1] && f[j][1] != '-') f 1190 src/font.c prop[j] = font_intern_prop (f[j], f[i] - f[j], 0); f 1288 src/font.c const char *f[XLFD_REGISTRY_INDEX + 1]; f 1305 src/font.c f[j] = "*-*"; f 1307 src/font.c f[j] = "*"; f 1320 src/font.c f[j] = p = alloca (alloc); f 1325 src/font.c f[j] = SSDATA (val); f 1334 src/font.c f[j] = "*"; f 1344 src/font.c f[j] = p = alloca (alloc); f 1367 src/font.c f[XLFD_PIXEL_INDEX] = p = font_size_index_buf; f 1371 src/font.c f[XLFD_PIXEL_INDEX] = "*-*"; f 1376 src/font.c f[XLFD_PIXEL_INDEX] = p = font_size_index_buf; f 1380 src/font.c f[XLFD_PIXEL_INDEX] = "*-*"; f 1386 src/font.c f[XLFD_RESX_INDEX] = p = dpi_index_buf; f 1390 src/font.c f[XLFD_RESX_INDEX] = "*-*"; f 1396 src/font.c f[XLFD_SPACING_INDEX] = (spacing <= FONT_SPACING_PROPORTIONAL ? "p" f 1402 src/font.c f[XLFD_SPACING_INDEX] = "*"; f 1407 src/font.c f[XLFD_AVGWIDTH_INDEX] = p = avgwidth_index_buf; f 1411 src/font.c f[XLFD_AVGWIDTH_INDEX] = "*"; f 1414 src/font.c f[XLFD_FOUNDRY_INDEX], f[XLFD_FAMILY_INDEX], f 1415 src/font.c f[XLFD_WEIGHT_INDEX], f[XLFD_SLANT_INDEX], f 1416 src/font.c f[XLFD_SWIDTH_INDEX], f[XLFD_ADSTYLE_INDEX], f 1417 src/font.c f[XLFD_PIXEL_INDEX], f[XLFD_RESX_INDEX], f 1418 src/font.c f[XLFD_SPACING_INDEX], f[XLFD_AVGWIDTH_INDEX], f 1419 src/font.c f[XLFD_REGISTRY_INDEX]); f 2020 src/font.c struct frame *f, int best_only) f 2035 src/font.c = make_fixnum (font_pixel_size (f, prefer)); f 2080 src/font.c = ((best_only <= 0 || font_has_char (f, data[i].entity, best_only) f 2340 src/font.c font_prepare_cache (struct frame *f, struct font_driver const *driver) f 2344 src/font.c cache = driver->get_cache (f); f 2362 src/font.c font_finish_cache (struct frame *f, struct font_driver const *driver) f 2367 src/font.c cache = driver->get_cache (f); f 2376 src/font.c font_clear_cache (f, XCAR (val), driver); f 2383 src/font.c font_get_cache (struct frame *f, struct font_driver const *driver) f 2385 src/font.c Lisp_Object val = driver->get_cache (f); f 2398 src/font.c font_clear_cache (struct frame *f, Lisp_Object cache, f 2566 src/font.c font_list_entities (struct frame *f, Lisp_Object spec) f 2568 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2580 src/font.c size = font_pixel_size (f, spec); f 2601 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2611 src/font.c val = (driver_list->driver->list) (f, scratch_font_spec); f 2650 src/font.c font_matching_entity (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 2652 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2660 src/font.c ASET (work, FONT_SIZE_INDEX, make_fixnum (font_pixel_size (f, spec))); f 2670 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2678 src/font.c entity = driver_list->driver->match (f, work); f 2700 src/font.c font_open_entity (struct frame *f, Lisp_Object entity, int pixel_size) f 2713 src/font.c for (driver_list = f->font_driver_list; f 2727 src/font.c || driver_list->driver->cached_font_ok (f, fn, entity)) f 2736 src/font.c font_object = driver_list->driver->open_font (f, entity, psize); f 2765 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts++; f 2766 src/font.c if (FRAME_DISPLAY_INFO (f)->n_fonts == 1) f 2768 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width; f 2769 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height; f 2770 src/font.c f->fonts_changed = 1; f 2774 src/font.c if (FRAME_SMALLEST_CHAR_WIDTH (f) > min_width) f 2775 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width, f->fonts_changed = 1; f 2776 src/font.c if (FRAME_SMALLEST_FONT_HEIGHT (f) > height) f 2777 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height, f->fonts_changed = 1; f 2788 src/font.c font_close_object (struct frame *f, Lisp_Object font_object) f 2798 src/font.c eassert (FRAME_DISPLAY_INFO (f)->n_fonts); f 2799 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts--; f 2808 src/font.c font_has_char (struct frame *f, Lisp_Object font, int c) f 2817 src/font.c for (driver_list = f->font_driver_list; f 2936 src/font.c font_select_entity (struct frame *f, Lisp_Object entities, f 2948 src/font.c if (c < 0 || font_has_char (f, font_entity, c) > 0) f 2976 src/font.c return font_sort_entities (entities, prefer, f, c); f 2984 src/font.c font_find_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec, int c) f 3021 src/font.c pixel_size = font_pixel_size (f, spec); f 3026 src/font.c pixel_size = POINT_TO_PIXEL (pt / 10, FRAME_RES (f)); f 3125 src/font.c entities = font_list_entities (f, work); f 3130 src/font.c val = font_select_entity (f, entities, f 3149 src/font.c font_open_for_lface (struct frame *f, Lisp_Object entity, Lisp_Object *attrs, Lisp_Object spec) f 3159 src/font.c size = font_pixel_size (f, spec); f 3168 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 3169 src/font.c recompute_basic_faces (f); f 3171 src/font.c struct face *def = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 3178 src/font.c size = POINT_TO_PIXEL (pt, FRAME_RES (f)); f 3182 src/font.c Lisp_Object ffsize = get_frame_param (f, Qfontsize); f 3184 src/font.c ? POINT_TO_PIXEL (XFLOATINT (ffsize), FRAME_RES (f)) f 3192 src/font.c return font_open_entity (f, entity, size); f 3201 src/font.c font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 3205 src/font.c entity = font_find_for_lface (f, attrs, spec, -1); f 3210 src/font.c entity = font_matching_entity (f, attrs, spec); f 3237 src/font.c entity = font_matching_entity (f, attrs, spec); f 3249 src/font.c entity = font_open_for_lface (f, entity, attrs, spec); f 3262 src/font.c font_prepare_for_face (struct frame *f, struct face *face) f 3265 src/font.c face->font->driver->prepare_face (f, face); f 3272 src/font.c font_done_for_face (struct frame *f, struct face *face) f 3275 src/font.c face->font->driver->done_face (f, face); f 3283 src/font.c font_open_by_spec (struct frame *f, Lisp_Object spec) f 3299 src/font.c return font_load_for_lface (f, attrs, spec); f 3307 src/font.c font_open_by_name (struct frame *f, Lisp_Object name) f 3310 src/font.c Lisp_Object ret = font_open_by_spec (f, spec); f 3332 src/font.c register_font_driver (struct font_driver const *driver, struct frame *f) f 3334 src/font.c struct font_driver_list *root = f ? f->font_driver_list : font_driver_list; f 3338 src/font.c if (f && ! driver->draw) f 3353 src/font.c else if (f) f 3354 src/font.c f->font_driver_list = list; f 3357 src/font.c if (! f) f 3362 src/font.c free_font_driver_list (struct frame *f) f 3366 src/font.c for (list = f->font_driver_list; list; list = next) f 3371 src/font.c f->font_driver_list = NULL; f 3387 src/font.c font_update_drivers (struct frame *f, Lisp_Object new_drivers) f 3395 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3412 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3420 src/font.c driver->end_for_frame (f); f 3421 src/font.c font_finish_cache (f, driver); f 3427 src/font.c || driver->start_for_frame (f) == 0) f 3429 src/font.c font_prepare_cache (f, driver); f 3449 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3455 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3460 src/font.c next = &f->font_driver_list; f 3469 src/font.c if (! f->font_driver_list->on) f 3473 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3480 src/font.c || driver->start_for_frame (f) == 0) f 3482 src/font.c font_prepare_cache (f, driver); f 3489 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3498 src/font.c fset_font_data (struct frame *f, Lisp_Object val) f 3500 src/font.c f->font_data = val; f 3504 src/font.c font_put_frame_data (struct frame *f, Lisp_Object driver, void *data) f 3506 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3509 src/font.c fset_font_data (f, Fdelq (val, f->font_data)); f 3513 src/font.c fset_font_data (f, Fcons (Fcons (driver, make_mint_ptr (data)), f 3514 src/font.c f->font_data)); f 3521 src/font.c font_get_frame_data (struct frame *f, Lisp_Object driver) f 3523 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3591 src/font.c struct frame *f; f 3628 src/font.c f = XFRAME (w->frame); f 3629 src/font.c if (! FRAME_WINDOW_P (f)) f 3642 src/font.c face = FACE_FROM_ID (f, face_id); f 3646 src/font.c int face_id = FACE_FOR_CHAR (f, face, c, pos, string); f 3647 src/font.c face = FACE_FROM_ID (f, face_id); f 3698 src/font.c struct frame *f = XFRAME (w->frame); f 3712 src/font.c : lookup_basic_face (w, f, DEFAULT_FACE_ID); f 3717 src/font.c face = FACE_FROM_ID (f, face_id); f 4056 src/font.c struct frame *f = decode_live_frame (frame); f 4085 src/font.c int dpi = FIXNUMP (font_dpi) ? XFIXNUM (font_dpi) : FRAME_RES (f); f 4166 src/font.c struct frame *f = decode_live_frame (frame); f 4181 src/font.c list = font_list_entities (f, font_spec); f 4189 src/font.c vec = font_sort_entities (list, prefer, f, 0); f 4207 src/font.c struct frame *f = decode_live_frame (frame); f 4211 src/font.c for (driver_list = f->font_driver_list; driver_list; f 4215 src/font.c Lisp_Object val = driver_list->driver->list_family (f); f 4286 src/font.c clear_font_cache (struct frame *f) f 4288 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 4293 src/font.c Lisp_Object val, tmp, cache = driver_list->driver->get_cache (f); f 4302 src/font.c font_clear_cache (f, XCAR (val), driver_list->driver); f 4501 src/font.c struct frame *f; f 4507 src/font.c f = XFRAME (selected_frame); f 4508 src/font.c face_id = lookup_basic_face (NULL, f, DEFAULT_FACE_ID); f 4532 src/font.c f = XFRAME (w->frame); f 4539 src/font.c if (! FRAME_WINDOW_P (f)) f 4540 src/font.c return terminal_glyph_code (FRAME_TERMINAL (f), c); f 4544 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 4545 src/font.c recompute_basic_faces (f); f 4547 src/font.c face_id = FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, pos, Qnil); f 4548 src/font.c struct face *face = FACE_FROM_ID (f, face_id); f 4843 src/font.c ASET (val, 2, make_fixnum (anchor->f.f1.AnchorPoint)); f 4846 src/font.c ASET (val, 3, font_otf_DeviceTable (&anchor->f.f2.XDeviceTable)); f 4847 src/font.c ASET (val, 4, font_otf_DeviceTable (&anchor->f.f2.YDeviceTable)); f 4979 src/font.c struct frame *f = decode_live_frame (frame); f 4989 src/font.c isize = POINT_TO_PIXEL (XFLOAT_DATA (size), FRAME_RES (f)); f 4997 src/font.c return font_open_entity (f, font_entity, isize); f 5076 src/font.c struct frame *f; f 5081 src/font.c f = XFRAME (selected_frame); f 5085 src/font.c f = XFRAME (frame); f 5088 src/font.c if (font_has_char (f, font, XFIXNAT (ch)) <= 0) f 5274 src/font.c struct frame *f = XFRAME (frame); f 5294 src/font.c face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5297 src/font.c font->driver->prepare_face (f, face); f 5299 src/font.c len = font->driver->draw_text (f, face, 0, font->ascent, code, i, width); f 5301 src/font.c font->driver->done_face (f, face); f 5313 src/font.c struct frame *f = decode_live_frame (frame); f 5315 src/font.c if (FRAME_WINDOW_P (f)) f 5316 src/font.c return FRAME_DISPLAY_INFO (f)->name_list_element; f 5371 src/font.c struct frame *f; f 5378 src/font.c f = decode_window_system_frame (frame); f 5386 src/font.c font_object = font_open_by_name (f, name); f 5391 src/font.c font_object = font_open_entity (f, name, 0); f 5394 src/font.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5395 src/font.c Lisp_Object entity = font_matching_entity (f, face->lface, name); f 5397 src/font.c font_object = ! NILP (entity) ? font_open_entity (f, entity, 0) : Qnil; f 5428 src/font.c font_close_object (f, font_object); f 5564 src/font.c font_drop_xrender_surfaces (struct frame *f) f 5568 src/font.c for (list = f->font_driver_list; list; list = list->next) f 5570 src/font.c list->driver->drop_xrender_surfaces (f); f 240 src/font.h #define FONT_WIDTH(f) ((f)->max_width) f 242 src/font.h #define FONT_WIDTH(f) 1 f 244 src/font.h #define FONT_HEIGHT(f) ((f)->height) f 245 src/font.h #define FONT_BASE(f) ((f)->ascent) f 246 src/font.h #define FONT_DESCENT(f) ((f)->descent) f 594 src/font.h Lisp_Object (*get_cache) (struct frame *f); f 626 src/font.h Lisp_Object (*match) (struct frame *f, Lisp_Object font_spec); f 631 src/font.h Lisp_Object (*list_family) (struct frame *f); f 639 src/font.h Lisp_Object (*open_font) (struct frame *f, Lisp_Object font_entity, f 647 src/font.h void (*prepare_face) (struct frame *f, struct face *face); f 651 src/font.h void (*done_face) (struct frame *f, struct face *face); f 736 src/font.h int (*start_for_frame) (struct frame *f); f 741 src/font.h int (*end_for_frame) (struct frame *f); f 765 src/font.h int (*check) (struct frame *f, struct font *font); f 786 src/font.h bool (*cached_font_ok) (struct frame *f, f 799 src/font.h void (*drop_xrender_surfaces) (struct frame *f); f 865 src/font.h extern Lisp_Object font_find_for_lface (struct frame *f, Lisp_Object *lface, f 867 src/font.h extern Lisp_Object font_open_for_lface (struct frame *f, Lisp_Object entity, f 870 src/font.h extern Lisp_Object font_load_for_lface (struct frame *f, Lisp_Object *lface, f 872 src/font.h extern void font_prepare_for_face (struct frame *f, struct face *face); f 873 src/font.h extern void font_done_for_face (struct frame *f, struct face *face); f 876 src/font.h extern Lisp_Object font_open_by_spec (struct frame *f, Lisp_Object spec); f 877 src/font.h extern Lisp_Object font_open_by_name (struct frame *f, Lisp_Object name); f 891 src/font.h extern void free_font_driver_list (struct frame *f); f 901 src/font.h extern Lisp_Object font_update_drivers (struct frame *f, Lisp_Object list); f 918 src/font.h extern void *font_get_frame_data (struct frame *f, Lisp_Object); f 926 src/font.h extern void font_drop_xrender_surfaces (struct frame *f); f 555 src/fontset.c struct frame *f = (FRAMEP (FONTSET_FRAME (fontset)) f 660 src/fontset.c font_entity = font_find_for_lface (f, face->lface, f 668 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, f 710 src/fontset.c if (font_has_char (f, font_object, c)) f 724 src/fontset.c if (! NILP (font_object) && font_has_char (f, font_object, c)) f 732 src/fontset.c font_entity = font_find_for_lface (f, face->lface, f 740 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, f 914 src/fontset.c free_face_fontset (struct frame *f, struct face *face) f 922 src/fontset.c eassert (f == XFRAME (FONTSET_FRAME (fontset))); f 932 src/fontset.c eassert (f == XFRAME (FONTSET_FRAME (fontset))); f 945 src/fontset.c face_for_char (struct frame *f, struct face *face, int c, f 977 src/fontset.c if (font_has_char (f, font_object, c)) f 992 src/fontset.c if (font_has_char (f, font_object, c)) return face->id; f 1041 src/fontset.c face_id = face_for_font (f, font_object, face); f 1051 src/fontset.c face_id = face_for_font (f, Qnil, face); f 1111 src/fontset.c make_fontset_for_ascii_face (struct frame *f, int base_fontset_id, struct face *face) f 1115 src/fontset.c XSETFRAME (frame, f); f 1292 src/fontset.c list_fontsets (struct frame *f, Lisp_Object pattern, int size) f 1297 src/fontset.c XSETFRAME (frame, f); f 1349 src/fontset.c struct frame *f = XFRAME (FONTSET_FRAME (this)); f 1351 src/fontset.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1354 src/fontset.c free_realized_face (f, face); f 1392 src/fontset.c struct frame *f = decode_live_frame (*frame); f 1394 src/fontset.c XSETFRAME (*frame, f); f 1400 src/fontset.c if (!FRAME_WINDOW_P (f)) f 1402 src/fontset.c id = FRAME_FONTSET (f); f 1685 src/fontset.c struct frame *f = XFRAME (fr); f 1689 src/fontset.c if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f)) f 1691 src/fontset.c if (fontset_id != FRAME_FONTSET (f)) f 1693 src/fontset.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 1695 src/fontset.c font_object = font_load_for_lface (f, face->lface, font_spec); f 1697 src/fontset.c font_object = font_open_by_spec (f, font_spec); f 1704 src/fontset.c if (FRAME_WINDOW_P (f)) f 1709 src/fontset.c gui_set_frame_parameters_1 (f, arg, true); f 2134 src/fontset.c struct frame *f = XFRAME (frame); f 2136 src/fontset.c if (FRAME_LIVE_P (f)) f 2139 src/fontset.c f->name)); f 87 src/frame.c fset_buffer_predicate (struct frame *f, Lisp_Object val) f 89 src/frame.c f->buffer_predicate = val; f 92 src/frame.c fset_minibuffer_window (struct frame *f, Lisp_Object val) f 94 src/frame.c f->minibuffer_window = val; f 126 src/frame.c struct frame *f = decode_live_frame (frame); f 127 src/frame.c check_window_system (f); f 129 src/frame.c return f; f 134 src/frame.c check_window_system (struct frame *f) f 137 src/frame.c if (window_system_available (f)) f 140 src/frame.c error (f ? "Window system frame should be used" f 158 src/frame.c frame_inhibit_resize (struct frame *f, bool horizontal, Lisp_Object parameter) f 160 src/frame.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 162 src/frame.c = (f->after_make_frame f 170 src/frame.c || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 171 src/frame.c : ((horizontal && f->inhibit_horizontal_resize) f 172 src/frame.c || (!horizontal && f->inhibit_vertical_resize))); f 180 src/frame.c set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 182 src/frame.c int olines = FRAME_MENU_BAR_LINES (f); f 189 src/frame.c if (!FRAME_MINIBUF_ONLY_P (f) && nlines != olines) f 192 src/frame.c FRAME_MENU_BAR_LINES (f) = FRAME_MENU_BAR_HEIGHT (f) = nlines; f 193 src/frame.c change_frame_size (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 201 src/frame.c set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 203 src/frame.c int olines = FRAME_TAB_BAR_LINES (f); f 210 src/frame.c if (!FRAME_MINIBUF_ONLY_P (f) && nlines != olines) f 213 src/frame.c FRAME_TAB_BAR_LINES (f) = FRAME_TAB_BAR_HEIGHT (f) = nlines; f 214 src/frame.c change_frame_size (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 346 src/frame.c struct frame *f = XFRAME (frame); f 352 src/frame.c par_size = get_frame_param (f, Qmin_width), f 356 src/frame.c par_size = get_frame_param (f, Qmin_height), f 368 src/frame.c ? FRAME_LINE_HEIGHT (f) f 369 src/frame.c : FRAME_COLUMN_WIDTH (f))); f 377 src/frame.c if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) && NILP (horizontal)) f 379 src/frame.c int min_height = (FRAME_MENU_BAR_LINES (f) f 380 src/frame.c + FRAME_TAB_BAR_LINES (f) f 381 src/frame.c + FRAME_WANTS_MODELINE_P (f) f 422 src/frame.c keep_ratio (struct frame *f, struct frame *p, int old_width, int old_height, f 425 src/frame.c Lisp_Object keep_ratio = get_frame_param (f, Qkeep_ratio); f 437 src/frame.c pos_x = f->left_pos; f 440 src/frame.c pos_x = (int)(f->left_pos * width_factor + 0.5); f 445 src/frame.c && FRAME_PIXEL_WIDTH (p) - FRAME_PIXEL_WIDTH (f) < pos_x) f 448 src/frame.c = FRAME_PIXEL_WIDTH (p) - FRAME_PIXEL_WIDTH (f); f 456 src/frame.c f->left_pos = pos_x; f 460 src/frame.c pos_y = f->top_pos; f 463 src/frame.c pos_y = (int)(f->top_pos * height_factor + 0.5); f 468 src/frame.c && FRAME_PIXEL_HEIGHT (p) - FRAME_PIXEL_HEIGHT (f) < pos_y) f 476 src/frame.c = FRAME_PIXEL_HEIGHT (p) - FRAME_PIXEL_HEIGHT (f); f 484 src/frame.c f->top_pos = pos_y; f 487 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 488 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, pos_x, pos_y, -1); f 497 src/frame.c = (int)(FRAME_PIXEL_WIDTH (f) * width_factor + 0.5); f 503 src/frame.c = (int)(FRAME_PIXEL_HEIGHT (f) * height_factor + 0.5); f 505 src/frame.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, pixel_width), f 506 src/frame.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, pixel_height), 1, f 515 src/frame.c frame_size_history_adjust (struct frame *f, int inhibit, Lisp_Object parameter, f 529 src/frame.c XSETFRAME (frame, f); f 554 src/frame.c frame_size_history_plain (struct frame *f, Lisp_Object parameter) f 558 src/frame.c XSETFRAME (frame, f); f 570 src/frame.c frame_size_history_extra (struct frame *f, Lisp_Object parameter, f 577 src/frame.c XSETFRAME (frame, f); f 643 src/frame.c adjust_frame_size (struct frame *f, int new_text_width, int new_text_height, f 646 src/frame.c int unit_width = FRAME_COLUMN_WIDTH (f); f 647 src/frame.c int unit_height = FRAME_LINE_HEIGHT (f); f 648 src/frame.c int old_native_width = FRAME_PIXEL_WIDTH (f); f 649 src/frame.c int old_native_height = FRAME_PIXEL_HEIGHT (f); f 658 src/frame.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 662 src/frame.c + ((FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 663 src/frame.c ? WINDOW_PIXEL_HEIGHT (XWINDOW (FRAME_MINIBUF_WINDOW (f))) f 666 src/frame.c int old_text_cols = FRAME_COLS (f); f 667 src/frame.c int old_text_lines = FRAME_LINES (f); f 669 src/frame.c int old_text_width = FRAME_TEXT_WIDTH (f); f 670 src/frame.c int old_text_height = FRAME_TEXT_HEIGHT (f); f 674 src/frame.c XSETFRAME (frame, f); f 687 src/frame.c new_text_width = FRAME_TEXT_WIDTH (f); f 689 src/frame.c new_text_height = FRAME_TEXT_HEIGHT (f); f 691 src/frame.c inhibit_horizontal = (FRAME_INNER_WIDTH (f) >= min_inner_width f 693 src/frame.c || frame_inhibit_resize (f, true, parameter))); f 694 src/frame.c inhibit_vertical = (FRAME_INNER_HEIGHT (f) >= min_inner_height f 696 src/frame.c || frame_inhibit_resize (f, false, parameter))); f 706 src/frame.c : max (FRAME_TEXT_TO_PIXEL_WIDTH (f, new_text_width), f 708 src/frame.c + 2 * FRAME_INTERNAL_BORDER_WIDTH (f))); f 709 src/frame.c new_inner_width = new_native_width - 2 * FRAME_INTERNAL_BORDER_WIDTH (f); f 710 src/frame.c new_text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, new_native_width); f 715 src/frame.c : max (FRAME_TEXT_TO_PIXEL_HEIGHT (f, new_text_height), f 717 src/frame.c + FRAME_MARGIN_HEIGHT (f) f 718 src/frame.c + 2 * FRAME_INTERNAL_BORDER_WIDTH (f))); f 720 src/frame.c - FRAME_MARGIN_HEIGHT (f) f 721 src/frame.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 722 src/frame.c new_text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_native_height); f 725 src/frame.c if (FRAME_WINDOW_P (f) f 726 src/frame.c && f->can_set_window_size f 741 src/frame.c && (f->new_width >= 0 || f->new_height >= 0)) f 752 src/frame.c if (f->new_width >= 0) f 753 src/frame.c new_native_width = f->new_width; f 754 src/frame.c if (f->new_height >= 0) f 755 src/frame.c new_native_height = f->new_height; f 759 src/frame.c frame_size_history_adjust (f, inhibit, parameter, f 773 src/frame.c f->new_width = new_native_width; f 774 src/frame.c f->new_height = new_native_height; f 779 src/frame.c f->new_size_p = false; f 782 src/frame.c if (FRAME_TERMINAL (f)->set_window_size_hook) f 783 src/frame.c FRAME_TERMINAL (f)->set_window_size_hook f 784 src/frame.c (f, 0, new_native_width, new_native_height); f 785 src/frame.c f->resized_p = true; f 791 src/frame.c frame_size_history_adjust (f, inhibit, parameter, f 803 src/frame.c if ((XWINDOW (FRAME_ROOT_WINDOW (f))->pixel_top f 804 src/frame.c == FRAME_TOP_MARGIN_HEIGHT (f)) f 824 src/frame.c int dos_new_text_lines = new_text_lines + FRAME_TOP_MARGIN (f); f 827 src/frame.c new_text_lines = dos_new_text_lines - FRAME_TOP_MARGIN (f); f 832 src/frame.c resize_frame_windows (f, new_inner_width, true); f 836 src/frame.c if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) f 837 src/frame.c FrameCols (FRAME_TTY (f)) = new_text_cols; f 840 src/frame.c if (WINDOWP (f->tab_bar_window)) f 842 src/frame.c XWINDOW (f->tab_bar_window)->pixel_width = new_inner_width; f 843 src/frame.c XWINDOW (f->tab_bar_window)->total_cols f 849 src/frame.c if (WINDOWP (f->tool_bar_window)) f 851 src/frame.c XWINDOW (f->tool_bar_window)->pixel_width = new_inner_width; f 852 src/frame.c XWINDOW (f->tool_bar_window)->total_cols f 864 src/frame.c || WINDOW_TOP_PIXEL_EDGE (r) != FRAME_TOP_MARGIN_HEIGHT (f)) f 866 src/frame.c resize_frame_windows (f, new_inner_height, false); f 870 src/frame.c if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) f 871 src/frame.c FrameRows (FRAME_TTY (f)) = new_text_lines + FRAME_TOP_MARGIN (f); f 877 src/frame.c FRAME_COLS (f) = new_text_cols; f 878 src/frame.c FRAME_LINES (f) = new_text_lines; f 879 src/frame.c FRAME_TEXT_WIDTH (f) = new_text_width; f 880 src/frame.c FRAME_TEXT_HEIGHT (f) = new_text_height; f 881 src/frame.c FRAME_PIXEL_WIDTH (f) = new_native_width; f 882 src/frame.c FRAME_PIXEL_HEIGHT (f) = new_native_height; f 883 src/frame.c FRAME_TOTAL_COLS (f) = FRAME_PIXEL_WIDTH (f) / FRAME_COLUMN_WIDTH (f); f 884 src/frame.c FRAME_TOTAL_LINES (f) = FRAME_PIXEL_HEIGHT (f) / FRAME_LINE_HEIGHT (f); f 887 src/frame.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 898 src/frame.c adjust_frame_glyphs (f); f 899 src/frame.c calculate_costs (f); f 900 src/frame.c SET_FRAME_GARBAGED (f); f 904 src/frame.c f->resized_p = true; f 919 src/frame.c if (FRAME_PARENT_FRAME (XFRAME (frame1)) == f) f 920 src/frame.c keep_ratio (XFRAME (frame1), f, old_native_width, old_native_height, f 939 src/frame.c struct frame *f; f 944 src/frame.c f = allocate_frame (); f 945 src/frame.c XSETFRAME (frame, f); f 949 src/frame.c fset_tool_bar_position (f, Qtop); f 955 src/frame.c f->wants_modeline = true; f 956 src/frame.c f->redisplay = true; f 957 src/frame.c f->garbaged = true; f 958 src/frame.c f->can_set_window_size = false; f 959 src/frame.c f->after_make_frame = false; f 960 src/frame.c f->inhibit_horizontal_resize = false; f 961 src/frame.c f->inhibit_vertical_resize = false; f 962 src/frame.c f->tab_bar_redisplayed = false; f 963 src/frame.c f->tab_bar_resized = false; f 964 src/frame.c f->tool_bar_redisplayed = false; f 965 src/frame.c f->tool_bar_resized = false; f 966 src/frame.c f->column_width = 1; /* !FRAME_WINDOW_P value. */ f 967 src/frame.c f->line_height = 1; /* !FRAME_WINDOW_P value. */ f 968 src/frame.c f->new_width = -1; f 969 src/frame.c f->new_height = -1; f 971 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 972 src/frame.c f->horizontal_scroll_bars = false; f 973 src/frame.c f->want_fullscreen = FULLSCREEN_NONE; f 974 src/frame.c f->undecorated = false; f 975 src/frame.c f->no_special_glyphs = false; f 977 src/frame.c f->override_redirect = false; f 979 src/frame.c f->skip_taskbar = false; f 980 src/frame.c f->no_focus_on_map = false; f 981 src/frame.c f->no_accept_focus = false; f 982 src/frame.c f->z_group = z_group_none; f 983 src/frame.c f->tooltip = false; f 984 src/frame.c f->was_invisible = false; f 985 src/frame.c f->child_frame_border_width = -1; f 986 src/frame.c f->last_tab_bar_item = -1; f 988 src/frame.c f->last_tool_bar_item = -1; f 989 src/frame.c f->tool_bar_wraps_p = false; f 992 src/frame.c f->ns_appearance = ns_appearance_system_default; f 993 src/frame.c f->ns_transparent_titlebar = false; f 996 src/frame.c f->select_mini_window_flag = false; f 998 src/frame.c f->change_stamp = 1; f 1001 src/frame.c f->conversion.compose_region_start = Qnil; f 1002 src/frame.c f->conversion.compose_region_end = Qnil; f 1003 src/frame.c f->conversion.compose_region_overlay = Qnil; f 1004 src/frame.c f->conversion.batch_edit_count = 0; f 1005 src/frame.c f->conversion.batch_edit_flags = 0; f 1006 src/frame.c f->conversion.actions = NULL; f 1019 src/frame.c fset_minibuffer_window (f, mini_window); f 1020 src/frame.c store_frame_param (f, Qminibuffer, Qt); f 1026 src/frame.c fset_minibuffer_window (f, Qnil); f 1033 src/frame.c FRAME_COLS (f) = FRAME_TOTAL_COLS (f) = rw->total_cols = 80; f 1034 src/frame.c FRAME_TEXT_WIDTH (f) = FRAME_PIXEL_WIDTH (f) = rw->pixel_width f 1035 src/frame.c = 80 * FRAME_COLUMN_WIDTH (f); f 1036 src/frame.c FRAME_LINES (f) = FRAME_TOTAL_LINES (f) = 25; f 1037 src/frame.c FRAME_TEXT_HEIGHT (f) = FRAME_PIXEL_HEIGHT (f) = 25 * FRAME_LINE_HEIGHT (f); f 1039 src/frame.c rw->total_lines = FRAME_LINES (f) - (mini_p ? 1 : 0); f 1040 src/frame.c rw->pixel_height = rw->total_lines * FRAME_LINE_HEIGHT (f); f 1043 src/frame.c (f, make_hash_table (hashtest_eq, DEFAULT_HASH_SIZE, DEFAULT_REHASH_SIZE, f 1053 src/frame.c mw->pixel_height = FRAME_LINE_HEIGHT (f); f 1071 src/frame.c fset_buffer_list (f, list1 (buf)); f 1081 src/frame.c fset_root_window (f, root_window); f 1082 src/frame.c fset_selected_window (f, root_window); f 1085 src/frame.c XWINDOW (f->selected_window)->use_time = ++window_select_count; f 1087 src/frame.c return f; f 1099 src/frame.c struct frame *f; f 1109 src/frame.c f = make_frame (0); f 1119 src/frame.c XSETFRAME (frame_dummy, f); f 1129 src/frame.c fset_minibuffer_window (f, mini_window); f 1130 src/frame.c store_frame_param (f, Qminibuffer, mini_window); f 1141 src/frame.c return f; f 1151 src/frame.c register struct frame *f = make_frame (0); f 1155 src/frame.c XSETFRAME (frame, f); f 1157 src/frame.c f->auto_raise = 0; f 1158 src/frame.c f->auto_lower = 0; f 1159 src/frame.c f->no_split = 1; f 1160 src/frame.c f->wants_modeline = 0; f 1166 src/frame.c mini_window = f->root_window; f 1167 src/frame.c fset_minibuffer_window (f, mini_window); f 1168 src/frame.c store_frame_param (f, Qminibuffer, Qonly); f 1182 src/frame.c return f; f 1193 src/frame.c struct frame *f; f 1202 src/frame.c f = make_frame (true); f 1203 src/frame.c XSETFRAME (frame, f); f 1208 src/frame.c fset_name (f, build_pure_c_string ("F1")); f 1210 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1212 src/frame.c f->output_method = terminal->type; f 1213 src/frame.c f->terminal = terminal; f 1214 src/frame.c f->terminal->reference_count++; f 1216 src/frame.c FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR; f 1217 src/frame.c FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR; f 1220 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 1221 src/frame.c f->horizontal_scroll_bars = false; f 1225 src/frame.c set_menu_bar_lines (f, make_fixnum (1), Qnil); f 1228 src/frame.c set_tab_bar_lines (f, make_fixnum (0), Qnil); f 1231 src/frame.c adjust_frame_glyphs (f); f 1234 src/frame.c init_frame_faces (f); f 1236 src/frame.c last_nonminibuf_frame = f; f 1238 src/frame.c f->can_set_window_size = true; f 1239 src/frame.c f->after_make_frame = true; f 1241 src/frame.c return f; f 1249 src/frame.c register struct frame *f; f 1256 src/frame.c f = make_frame (1); f 1258 src/frame.c XSETFRAME (frame, f); f 1261 src/frame.c fset_name (f, make_formatted_string (name, "F%"PRIdMAX, ++tty_frame_count)); f 1263 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1265 src/frame.c f->terminal = terminal; f 1266 src/frame.c f->terminal->reference_count++; f 1268 src/frame.c f->output_data.tty = &the_only_tty_output; f 1269 src/frame.c f->output_data.tty->display_info = &the_only_display_info; f 1273 src/frame.c f->output_method = output_msdos_raw; f 1275 src/frame.c f->output_method = output_termcap; f 1277 src/frame.c f->output_method = output_termcap; f 1278 src/frame.c create_tty_output (f); f 1279 src/frame.c FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR; f 1280 src/frame.c FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR; f 1284 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 1285 src/frame.c f->horizontal_scroll_bars = false; f 1288 src/frame.c FRAME_MENU_BAR_LINES (f) = NILP (Vmenu_bar_mode) ? 0 : 1; f 1289 src/frame.c FRAME_TAB_BAR_LINES (f) = NILP (Vtab_bar_mode) ? 0 : 1; f 1290 src/frame.c FRAME_LINES (f) = FRAME_LINES (f) - FRAME_MENU_BAR_LINES (f) f 1291 src/frame.c - FRAME_TAB_BAR_LINES (f); f 1292 src/frame.c FRAME_MENU_BAR_HEIGHT (f) = FRAME_MENU_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 1293 src/frame.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 1294 src/frame.c FRAME_TEXT_HEIGHT (f) = FRAME_TEXT_HEIGHT (f) - FRAME_MENU_BAR_HEIGHT (f) f 1295 src/frame.c - FRAME_TAB_BAR_HEIGHT (f); f 1298 src/frame.c if (FRAMEP (FRAME_TTY (f)->top_frame) f 1299 src/frame.c && FRAME_LIVE_P (XFRAME (FRAME_TTY (f)->top_frame))) f 1300 src/frame.c SET_FRAME_VISIBLE (XFRAME (FRAME_TTY (f)->top_frame), 2); /* obscured */ f 1302 src/frame.c FRAME_TTY (f)->top_frame = frame; f 1305 src/frame.c init_frame_faces (f); f 1307 src/frame.c return f; f 1359 src/frame.c struct frame *f; f 1418 src/frame.c f = make_terminal_frame (t); f 1422 src/frame.c get_tty_size (fileno (FRAME_TTY (f)->input), &width, &height); f 1424 src/frame.c adjust_frame_size (f, width, height - FRAME_TOP_MARGIN (f), f 1428 src/frame.c adjust_frame_glyphs (f); f 1429 src/frame.c calculate_costs (f); f 1430 src/frame.c XSETFRAME (frame, f); f 1440 src/frame.c fset_face_hash_table (f, Fcopy_hash_table (sf->face_hash_table)); f 1445 src/frame.c struct Lisp_Hash_Table *table = XHASH_TABLE (f->face_hash_table); f 1455 src/frame.c f->can_set_window_size = true; f 1456 src/frame.c f->after_make_frame = true; f 1481 src/frame.c struct frame *sf = SELECTED_FRAME (), *f; f 1494 src/frame.c f = XFRAME (frame); f 1496 src/frame.c if (!FRAME_LIVE_P (f) || FRAME_TOOLTIP_P (f)) f 1498 src/frame.c else if (f == sf) f 1511 src/frame.c if (track && FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->get_focus_frame) f 1521 src/frame.c gfocus = FRAME_TERMINAL (f)->get_focus_frame (f); f 1542 src/frame.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 1544 src/frame.c struct tty_display_info *tty = FRAME_TTY (f); f 1555 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1559 src/frame.c if (FRAME_COLS (f) != FrameCols (tty)) f 1560 src/frame.c FrameCols (tty) = FRAME_COLS (f); f 1561 src/frame.c if (FRAME_TOTAL_LINES (f) != FrameRows (tty)) f 1562 src/frame.c FrameRows (tty) = FRAME_TOTAL_LINES (f); f 1574 src/frame.c if (EQ (f->selected_window, f->minibuffer_window) f 1577 src/frame.c && NILP (Fminibufferp (XWINDOW (f->minibuffer_window)->contents, Qt))) f 1590 src/frame.c if (f->select_mini_window_flag f 1591 src/frame.c && !NILP (Fminibufferp (XWINDOW (f->minibuffer_window)->contents, Qt))) f 1592 src/frame.c fset_selected_window (f, f->minibuffer_window); f 1593 src/frame.c f->select_mini_window_flag = false; f 1598 src/frame.c Fselect_window (f->selected_window, norecord); f 1607 src/frame.c if (!frame_ancestor_p (f, sf)) f 1631 src/frame.c struct frame *f; f 1634 src/frame.c f = XFRAME (frame); f 1636 src/frame.c if (FRAME_TOOLTIP_P (f)) f 1710 src/frame.c struct frame *f = decode_live_frame (frame); f 1711 src/frame.c struct frame *p = FRAME_PARENT_FRAME (f); f 1776 src/frame.c struct frame *c = XFRAME (candidate), *f = XFRAME (frame); f 1778 src/frame.c if ((!FRAME_TERMCAP_P (c) && !FRAME_TERMCAP_P (f) f 1779 src/frame.c && FRAME_KBOARD (c) == FRAME_KBOARD (f)) f 1780 src/frame.c || (FRAME_TERMCAP_P (c) && FRAME_TERMCAP_P (f) f 1781 src/frame.c && FRAME_TTY (c) == FRAME_TTY (f))) f 1819 src/frame.c Lisp_Object f, tail; f 1825 src/frame.c FOR_EACH_FRAME (tail, f) f 1829 src/frame.c f = candidate_frame (f, frame, minibuf); f 1830 src/frame.c if (!NILP (f)) f 1831 src/frame.c return f; f 1833 src/frame.c if (EQ (frame, f)) f 1844 src/frame.c Lisp_Object f, tail, prev = Qnil; f 1848 src/frame.c FOR_EACH_FRAME (tail, f) f 1850 src/frame.c if (EQ (frame, f) && !NILP (prev)) f 1852 src/frame.c f = candidate_frame (f, frame, minibuf); f 1853 src/frame.c if (!NILP (f)) f 1854 src/frame.c prev = f; f 1942 src/frame.c other_frames (struct frame *f, bool invisible, bool force) f 1945 src/frame.c Lisp_Object minibuffer_window = FRAME_MINIBUF_WINDOW (f); f 1947 src/frame.c XSETFRAME (frame, f); f 1956 src/frame.c if (f != f1) f 2027 src/frame.c || (FRAME_WINDOW_P (f1) && !FRAME_WINDOW_P (f)))))) f 2045 src/frame.c struct frame *f = decode_any_frame (frame); f 2050 src/frame.c bool nochild = !FRAME_PARENT_FRAME (f); f 2056 src/frame.c if (!FRAME_LIVE_P (f)) f 2058 src/frame.c else if (!EQ (force, Qnoelisp) && !other_frames (f, false, !NILP (force))) f 2066 src/frame.c else if ((x_dnd_in_progress && f == x_dnd_frame) f 2067 src/frame.c || (x_dnd_waiting_for_finish && f == x_dnd_finish_frame)) f 2071 src/frame.c else if (f == haiku_dnd_frame) f 2075 src/frame.c XSETFRAME (frame, f); f 2085 src/frame.c else if (FRAME_PARENT_FRAME (f1) == f) f 2087 src/frame.c if (FRAME_HAS_MINIBUF_P (f1) && !FRAME_HAS_MINIBUF_P (f) f 2088 src/frame.c && EQ (FRAME_MINIBUF_WINDOW (f), FRAME_MINIBUF_WINDOW (f1))) f 2110 src/frame.c if (FRAME_HAS_MINIBUF_P (f)) f 2133 src/frame.c is_tooltip_frame = FRAME_TOOLTIP_P (f); f 2157 src/frame.c if (!FRAME_LIVE_P (f)) f 2159 src/frame.c else if (!EQ (force, Qnoelisp) && !other_frames (f, false, !NILP (force))) f 2171 src/frame.c if (f == sf) f 2186 src/frame.c && FRAME_TERMINAL (f) == FRAME_TERMINAL (f1) f 2229 src/frame.c move_minibuffers_onto_frame (f, selected_frame, true); f 2232 src/frame.c if (EQ (f->minibuffer_window, echo_area_window)) f 2237 src/frame.c if (FRAME_X_P (f)) f 2247 src/frame.c x_clear_frame_selections (f); f 2253 src/frame.c if (FRAME_PGTK_P (f)) f 2259 src/frame.c pgtk_clear_frame_selections (f); f 2267 src/frame.c free_glyphs (f); f 2271 src/frame.c font_update_drivers (f, Qnil); f 2276 src/frame.c delete_all_child_windows (f->root_window); f 2277 src/frame.c fset_root_window (f, Qnil); f 2280 src/frame.c SET_FRAME_VISIBLE (f, 0); f 2286 src/frame.c fset_menu_bar_vector (f, Qnil); f 2290 src/frame.c fset_buffer_list (f, Qnil); f 2291 src/frame.c fset_buried_buffer_list (f, Qnil); f 2293 src/frame.c free_font_driver_list (f); f 2295 src/frame.c xfree (f->namebuf); f 2297 src/frame.c xfree (f->decode_mode_spec_buffer); f 2298 src/frame.c xfree (FRAME_INSERT_COST (f)); f 2299 src/frame.c xfree (FRAME_DELETEN_COST (f)); f 2300 src/frame.c xfree (FRAME_INSERTN_COST (f)); f 2301 src/frame.c xfree (FRAME_DELETE_COST (f)); f 2312 src/frame.c if (FRAME_TERMINAL (f)->delete_frame_hook) f 2313 src/frame.c (*FRAME_TERMINAL (f)->delete_frame_hook) (f); f 2314 src/frame.c terminal = FRAME_TERMINAL (f); f 2315 src/frame.c f->terminal = 0; /* Now the frame is dead. */ f 2321 src/frame.c if (FRAME_WINDOW_P (f)) f 2322 src/frame.c reset_frame_state (f); f 2361 src/frame.c if (f == last_nonminibuf_frame) f 2546 src/frame.c frame_internal_border_part (struct frame *f, int x, int y) f 2548 src/frame.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 2549 src/frame.c int offset = FRAME_LINE_HEIGHT (f); f 2550 src/frame.c int width = FRAME_PIXEL_WIDTH (f); f 2551 src/frame.c int height = FRAME_PIXEL_HEIGHT (f); f 2643 src/frame.c struct frame *f; f 2647 src/frame.c f = SELECTED_FRAME (); f 2651 src/frame.c if (FRAME_TERMINAL (f)->mouse_position_hook) f 2655 src/frame.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, -1, f 2661 src/frame.c if (! NILP (x) && f) f 2665 src/frame.c pixel_to_glyph_coords (f, col, row, &col, &row, NULL, 1); f 2669 src/frame.c if (f) f 2670 src/frame.c XSETFRAME (lispy_dummy, f); f 2692 src/frame.c struct frame *f; f 2696 src/frame.c f = SELECTED_FRAME (); f 2700 src/frame.c if (FRAME_TERMINAL (f)->mouse_position_hook) f 2704 src/frame.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, -1, f 2710 src/frame.c if (f) f 2711 src/frame.c XSETFRAME (lispy_dummy, f); f 2727 src/frame.c frame_char_to_pixel_position (struct frame *f, int x, int y, f 2730 src/frame.c *pix_x = FRAME_COL_TO_PIXEL_X (f, x) + FRAME_COLUMN_WIDTH (f) / 2; f 2731 src/frame.c *pix_y = FRAME_LINE_TO_PIXEL_Y (f, y) + FRAME_LINE_HEIGHT (f) / 2; f 2735 src/frame.c if (*pix_x > FRAME_PIXEL_WIDTH (f)) f 2736 src/frame.c *pix_x = FRAME_PIXEL_WIDTH (f); f 2740 src/frame.c if (*pix_y > FRAME_PIXEL_HEIGHT (f)) f 2741 src/frame.c *pix_y = FRAME_PIXEL_HEIGHT (f); f 2747 src/frame.c frame_set_mouse_position (struct frame *f, int x, int y) f 2751 src/frame.c frame_char_to_pixel_position (f, x, y, &pix_x, &pix_y); f 2752 src/frame.c frame_set_mouse_pixel_position (f, pix_x, pix_y); f 2861 src/frame.c struct frame *f = decode_live_frame (frame); f 2863 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->frame_visible_invisible_hook) f 2864 src/frame.c FRAME_TERMINAL (f)->frame_visible_invisible_hook (f, true); f 2866 src/frame.c make_frame_visible_1 (f->root_window); f 2871 src/frame.c XSETFRAME (frame, f); f 2908 src/frame.c struct frame *f = decode_live_frame (frame); f 2910 src/frame.c if (NILP (force) && !other_frames (f, true, false)) f 2913 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->frame_visible_invisible_hook) f 2914 src/frame.c FRAME_TERMINAL (f)->frame_visible_invisible_hook (f, false); f 2931 src/frame.c struct frame *f = decode_live_frame (frame); f 2933 src/frame.c Lisp_Object parent = f->parent_frame; f 2955 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->iconify_frame_hook) f 2956 src/frame.c FRAME_TERMINAL (f)->iconify_frame_hook (f); f 3006 src/frame.c struct frame *f = decode_live_frame (frame); f 3008 src/frame.c XSETFRAME (frame, f); f 3010 src/frame.c if (FRAME_TERMCAP_P (f)) f 3017 src/frame.c if (FRAME_TERMINAL (f)->frame_raise_lower_hook) f 3018 src/frame.c (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, true); f 3031 src/frame.c struct frame *f = decode_live_frame (frame); f 3033 src/frame.c if (FRAME_TERMINAL (f)->frame_raise_lower_hook) f 3034 src/frame.c (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, false); f 3070 src/frame.c struct frame *f = decode_any_frame (frame); f 3075 src/frame.c fset_focus_frame (f, focus_frame); f 3077 src/frame.c if (FRAME_TERMINAL (f)->frame_rehighlight_hook) f 3078 src/frame.c (*FRAME_TERMINAL (f)->frame_rehighlight_hook) (f); f 3103 src/frame.c struct frame *f = decode_window_system_frame (frame); f 3104 src/frame.c if (f && FRAME_TERMINAL (f)->focus_frame_hook) f 3105 src/frame.c FRAME_TERMINAL (f)->focus_frame_hook (f, !NILP (noactivate)); f 3124 src/frame.c struct frame *f = decode_live_frame (frame); f 3125 src/frame.c f->after_make_frame = !NILP (made); f 3126 src/frame.c f->inhibit_horizontal_resize = false; f 3127 src/frame.c f->inhibit_vertical_resize = false; f 3179 src/frame.c set_term_frame_name (struct frame *f, Lisp_Object name) f 3181 src/frame.c f->explicit_name = ! NILP (name); f 3190 src/frame.c if (frame_name_fnn_p (SSDATA (f->name), SBYTES (f->name))) f 3200 src/frame.c if (! NILP (Fstring_equal (name, f->name))) f 3209 src/frame.c fset_name (f, name); f 3214 src/frame.c store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val) f 3224 src/frame.c else if (FRAME_MINIBUF_ONLY_P (f)) f 3226 src/frame.c if (EQ (val, FRAME_MINIBUF_WINDOW (f))) f 3231 src/frame.c else if (FRAME_HAS_MINIBUF_P (f)) f 3233 src/frame.c if (EQ (val, FRAME_MINIBUF_WINDOW (f))) f 3240 src/frame.c fset_minibuffer_window (f, val); f 3244 src/frame.c Lisp_Object old_val = Fcdr (Fassq (Qminibuffer, f->param_alist)); f 3266 src/frame.c Lisp_Object oldval = Fcdr (Fassq (prop, f->param_alist)); f 3277 src/frame.c XSETFRAME (frame, f); f 3296 src/frame.c fset_buffer_list (f, Fnreverse (list)); f 3305 src/frame.c fset_buried_buffer_list (f, Fnreverse (list)); f 3311 src/frame.c Lisp_Object old_val = Fcdr (Fassq (prop, f->param_alist)); f 3319 src/frame.c if (FRAME_TERMCAP_P (f) && EQ (prop, Qtty_color_mode) f 3320 src/frame.c && f == FRAME_TTY (f)->previous_frame) f 3322 src/frame.c FRAME_TTY (f)->previous_frame = NULL; f 3325 src/frame.c old_alist_elt = Fassq (prop, f->param_alist); f 3327 src/frame.c fset_param_alist (f, Fcons (Fcons (prop, val), f->param_alist)); f 3335 src/frame.c fset_buffer_predicate (f, val); f 3337 src/frame.c if (! FRAME_WINDOW_P (f)) f 3340 src/frame.c set_menu_bar_lines (f, val, make_fixnum (FRAME_MENU_BAR_LINES (f))); f 3342 src/frame.c set_tab_bar_lines (f, val, make_fixnum (FRAME_TAB_BAR_LINES (f))); f 3344 src/frame.c set_term_frame_name (f, val); f 3352 src/frame.c frame_unspecified_color (struct frame *f, Lisp_Object unspec) f 3355 src/frame.c ? tty_color_name (f, FRAME_BACKGROUND_PIXEL (f)) f 3357 src/frame.c ? tty_color_name (f, FRAME_FOREGROUND_PIXEL (f)) : Qnil)); f 3368 src/frame.c struct frame *f = decode_any_frame (frame); f 3371 src/frame.c if (!FRAME_LIVE_P (f)) f 3374 src/frame.c alist = Fcopy_alist (f->param_alist); f 3376 src/frame.c if (!FRAME_WINDOW_P (f)) f 3386 src/frame.c elt = frame_unspecified_color (f, XCDR (elt)); f 3392 src/frame.c tty_color_name (f, FRAME_FOREGROUND_PIXEL (f))); f 3396 src/frame.c elt = frame_unspecified_color (f, XCDR (elt)); f 3402 src/frame.c tty_color_name (f, FRAME_BACKGROUND_PIXEL (f))); f 3404 src/frame.c build_string (FRAME_MSDOS_P (f) f 3406 src/frame.c : FRAME_W32_P (f) ? "w32term" f 3410 src/frame.c store_in_alist (&alist, Qname, f->name); f 3418 src/frame.c height = ((f->new_size_p && f->new_height >= 0) f 3419 src/frame.c ? f->new_height / FRAME_LINE_HEIGHT (f) f 3420 src/frame.c : FRAME_LINES (f)); f 3422 src/frame.c width = ((f->new_size_p && f->new_width >= 0) f 3423 src/frame.c ? f->new_width / FRAME_COLUMN_WIDTH (f) f 3424 src/frame.c : FRAME_COLS(f)); f 3427 src/frame.c store_in_alist (&alist, Qmodeline, FRAME_WANTS_MODELINE_P (f) ? Qt : Qnil); f 3428 src/frame.c store_in_alist (&alist, Qunsplittable, FRAME_NO_SPLIT_P (f) ? Qt : Qnil); f 3429 src/frame.c store_in_alist (&alist, Qbuffer_list, f->buffer_list); f 3430 src/frame.c store_in_alist (&alist, Qburied_buffer_list, f->buried_buffer_list); f 3434 src/frame.c if (FRAME_WINDOW_P (f)) f 3435 src/frame.c gui_report_frame_params (f, &alist); f 3442 src/frame.c XSETFASTINT (lines, FRAME_MENU_BAR_LINES (f)); f 3444 src/frame.c XSETFASTINT (lines, FRAME_TAB_BAR_LINES (f)); f 3457 src/frame.c struct frame *f = decode_any_frame (frame); f 3462 src/frame.c XSETFRAME (frame, f); f 3464 src/frame.c if (FRAME_LIVE_P (f)) f 3468 src/frame.c value = f->name; f 3472 src/frame.c value = (f->vertical_scroll_bar_type == vertical_scroll_bar_none f 3474 src/frame.c : (f->vertical_scroll_bar_type == vertical_scroll_bar_left f 3477 src/frame.c value = f->horizontal_scroll_bars ? Qt : Qnil; f 3478 src/frame.c else if (EQ (parameter, Qline_spacing) && f->extra_line_spacing == 0) f 3482 src/frame.c else if (EQ (parameter, Qfont) && FRAME_X_P (f)) f 3483 src/frame.c value = FRAME_FONT (f)->props[FONT_NAME_INDEX]; f 3486 src/frame.c else if (EQ (parameter, Qdisplay) && FRAME_X_P (f)) f 3487 src/frame.c value = XCAR (FRAME_DISPLAY_INFO (f)->name_list_element); f 3492 src/frame.c value = Fassq (parameter, f->param_alist); f 3500 src/frame.c if (STRINGP (value) && !FRAME_WINDOW_P (f)) f 3502 src/frame.c Lisp_Object tem = frame_unspecified_color (f, value); f 3513 src/frame.c value = Fcdr (Fassq (parameter, f->param_alist)); f 3538 src/frame.c struct frame *f = decode_live_frame (frame); f 3543 src/frame.c if (FRAME_WINDOW_P (f)) f 3544 src/frame.c gui_set_frame_parameters (f, alist); f 3548 src/frame.c if (FRAME_MSDOS_P (f)) f 3549 src/frame.c IT_set_frame_parameters (f, alist); f 3579 src/frame.c store_frame_param (f, prop, val); f 3583 src/frame.c update_face_from_frame_parameter (f, prop, val); f 3599 src/frame.c struct frame *f = decode_any_frame (frame); f 3601 src/frame.c if (FRAME_WINDOW_P (f)) f 3602 src/frame.c return make_fixnum (FRAME_LINE_HEIGHT (f)); f 3618 src/frame.c struct frame *f = decode_any_frame (frame); f 3620 src/frame.c if (FRAME_WINDOW_P (f)) f 3621 src/frame.c return make_fixnum (FRAME_COLUMN_WIDTH (f)); f 3637 src/frame.c struct frame *f = decode_any_frame (frame); f 3640 src/frame.c if (FRAME_WINDOW_P (f)) f 3641 src/frame.c return make_fixnum (FRAME_PIXEL_WIDTH (f)); f 3644 src/frame.c return make_fixnum (FRAME_TOTAL_COLS (f)); f 3666 src/frame.c struct frame *f = decode_any_frame (frame); f 3669 src/frame.c if (FRAME_WINDOW_P (f)) f 3670 src/frame.c return make_fixnum (FRAME_PIXEL_HEIGHT (f)); f 3673 src/frame.c return make_fixnum (FRAME_TOTAL_LINES (f)); f 3685 src/frame.c struct frame *f = decode_any_frame (frame); f 3687 src/frame.c if (FRAME_WINDOW_P (f)) f 3688 src/frame.c return make_fixnum (FRAME_TOOLBAR_WIDTH (f)); f 3827 src/frame.c struct frame *f = decode_live_frame (frame); f 3829 src/frame.c = check_frame_pixels (height, pixelwise, FRAME_LINE_HEIGHT (f)); f 3833 src/frame.c (f, FRAME_TEXT_WIDTH (f), text_height, 1, !NILP (pretend), Qheight); f 3856 src/frame.c struct frame *f = decode_live_frame (frame); f 3858 src/frame.c = check_frame_pixels (width, pixelwise, FRAME_COLUMN_WIDTH (f)); f 3862 src/frame.c (f, text_width, FRAME_TEXT_HEIGHT (f), 1, !NILP (pretend), Qwidth); f 3878 src/frame.c struct frame *f = decode_live_frame (frame); f 3880 src/frame.c = check_frame_pixels (width, pixelwise, FRAME_COLUMN_WIDTH (f)); f 3882 src/frame.c = check_frame_pixels (height, pixelwise, FRAME_LINE_HEIGHT (f)); f 3885 src/frame.c adjust_frame_size (f, text_width, text_height, 1, false, Qsize); f 3903 src/frame.c register struct frame *f = decode_live_frame (frame); f 3905 src/frame.c return Fcons (make_fixnum (f->left_pos), make_fixnum (f->top_pos)); f 3919 src/frame.c struct frame *f = decode_live_frame (frame); f 3923 src/frame.c if (FRAME_WINDOW_P (f)) f 3926 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 3927 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, xval, yval, 1); f 3965 src/frame.c struct frame *f = decode_live_frame (frame); f 3967 src/frame.c return (FRAME_WINDOW_STATE_CHANGE (f) = !NILP (arg)) ? Qt : Qnil; f 3978 src/frame.c struct frame *f = decode_live_frame (frame); f 3980 src/frame.c return (make_float (f ? FRAME_SCALE_FACTOR (f) : 1)); f 4098 src/frame.c frame_float (struct frame *f, Lisp_Object val, enum frame_float_type what, f 4111 src/frame.c struct frame *p = FRAME_PARENT_FRAME (f); f 4132 src/frame.c XSETFRAME (frame, f); f 4162 src/frame.c else if (FRAME_UNDECORATED (f)) f 4165 src/frame.c = FRAME_PIXEL_WIDTH (f) - FRAME_TEXT_WIDTH (f); f 4167 src/frame.c = FRAME_PIXEL_HEIGHT (f) - FRAME_TEXT_HEIGHT (f); f 4177 src/frame.c XSETFRAME (frame, f); f 4185 src/frame.c - FRAME_TEXT_WIDTH (f)); f 4189 src/frame.c - FRAME_TEXT_HEIGHT (f)); f 4196 src/frame.c = FRAME_PIXEL_WIDTH (f) - FRAME_TEXT_WIDTH (f); f 4198 src/frame.c = FRAME_PIXEL_HEIGHT (f) - FRAME_TEXT_HEIGHT (f); f 4215 src/frame.c - FRAME_TEXT_WIDTH (f) f 4228 src/frame.c - FRAME_TEXT_HEIGHT (f) f 4257 src/frame.c gui_set_frame_parameters_1 (struct frame *f, Lisp_Object alist, f 4286 src/frame.c XSETFRAME (frame, f); f 4345 src/frame.c width = XFIXNAT (val) * FRAME_COLUMN_WIDTH (f) ; f 4350 src/frame.c width = frame_float (f, val, FRAME_FLOAT_WIDTH, &parent_done, f 4360 src/frame.c height = XFIXNAT (val) * FRAME_LINE_HEIGHT (f); f 4365 src/frame.c height = frame_float (f, val, FRAME_FLOAT_HEIGHT, &parent_done, f 4387 src/frame.c old_value = get_frame_param (f, prop); f 4389 src/frame.c store_frame_param (f, prop, val); f 4394 src/frame.c && FRAME_RIF (f)->frame_parm_handlers[XFIXNUM (param_index)]) f 4395 src/frame.c (*(FRAME_RIF (f)->frame_parm_handlers[XFIXNUM (param_index)])) (f, val, old_value); f 4401 src/frame.c store_frame_param (f, Qfont_parameter, val); f 4409 src/frame.c if (f->left_pos < 0) f 4410 src/frame.c left = list2 (Qplus, make_fixnum (f->left_pos)); f 4412 src/frame.c XSETINT (left, f->left_pos); f 4417 src/frame.c if (f->top_pos < 0) f 4418 src/frame.c top = list2 (Qplus, make_fixnum (f->top_pos)); f 4420 src/frame.c XSETINT (top, f->top_pos); f 4429 src/frame.c icon_left = Fcdr (Fassq (Qicon_left, f->param_alist)); f 4438 src/frame.c icon_top = Fcdr (Fassq (Qicon_top, f->param_alist)); f 4453 src/frame.c height = FRAME_TEXT_HEIGHT (f); f 4459 src/frame.c width = FRAME_TEXT_WIDTH (f); f 4463 src/frame.c adjust_frame_size (f, width, height, 1, 0, parameter); f 4468 src/frame.c && ! (FIXNUMP (left) && XFIXNUM (left) == f->left_pos f 4469 src/frame.c && FIXNUMP (top) && XFIXNUM (top) == f->top_pos)) f 4475 src/frame.c f->size_hint_flags &= ~ (XNegative | YNegative); f 4477 src/frame.c f->size_hint_flags |= XNegative; f 4482 src/frame.c f->size_hint_flags |= XNegative; f 4489 src/frame.c f->size_hint_flags |= XNegative; f 4496 src/frame.c leftpos = frame_float (f, left, FRAME_FLOAT_LEFT, &parent_done, f 4500 src/frame.c f->size_hint_flags |= YNegative; f 4505 src/frame.c f->size_hint_flags |= YNegative; f 4512 src/frame.c f->size_hint_flags |= YNegative; f 4519 src/frame.c toppos = frame_float (f, top, FRAME_FLOAT_TOP, &parent_done, f 4523 src/frame.c f->top_pos = toppos; f 4524 src/frame.c f->left_pos = leftpos; f 4526 src/frame.c f->win_gravity = NorthWestGravity; f 4529 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 4530 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, leftpos, toppos, -1); f 4535 src/frame.c Lisp_Object old_value = get_frame_param (f, Qfullscreen); f 4537 src/frame.c store_frame_param (f, Qfullscreen, fullscreen); f 4539 src/frame.c gui_set_fullscreen (f, fullscreen, old_value); f 4546 src/frame.c x_wm_set_icon_position (f, XFIXNUM (icon_left), XFIXNUM (icon_top)); f 4553 src/frame.c gui_set_frame_parameters (struct frame *f, Lisp_Object alist) f 4555 src/frame.c gui_set_frame_parameters_1 (f, alist, false); f 4565 src/frame.c gui_report_frame_params (struct frame *f, Lisp_Object *alistptr) f 4573 src/frame.c XSETINT (tem, f->left_pos); f 4574 src/frame.c if (f->left_pos >= 0) f 4579 src/frame.c XSETINT (tem, f->top_pos); f 4580 src/frame.c if (f->top_pos >= 0) f 4586 src/frame.c make_fixnum (f->border_width)); f 4588 src/frame.c FRAME_CHILD_FRAME_BORDER_WIDTH (f) >= 0 f 4589 src/frame.c ? make_fixnum (FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 4592 src/frame.c make_fixnum (FRAME_INTERNAL_BORDER_WIDTH (f))); f 4594 src/frame.c make_fixnum (FRAME_RIGHT_DIVIDER_WIDTH (f))); f 4596 src/frame.c make_fixnum (FRAME_BOTTOM_DIVIDER_WIDTH (f))); f 4598 src/frame.c make_fixnum (FRAME_LEFT_FRINGE_WIDTH (f))); f 4600 src/frame.c make_fixnum (FRAME_RIGHT_FRINGE_WIDTH (f))); f 4602 src/frame.c (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 f 4603 src/frame.c ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) f 4609 src/frame.c (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) > 0 f 4610 src/frame.c ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f)) f 4618 src/frame.c w = (uintptr_t) FRAME_NATIVE_WINDOW (f); f 4624 src/frame.c if (FRAME_X_OUTPUT (f)->widget) f 4626 src/frame.c w = (uintptr_t) FRAME_OUTER_WINDOW (f); f 4630 src/frame.c store_in_alist (alistptr, Qicon_name, f->icon_name); f 4632 src/frame.c (FRAME_VISIBLE_P (f) ? Qt f 4633 src/frame.c : FRAME_ICONIFIED_P (f) ? Qicon : Qnil)); f 4635 src/frame.c XCAR (FRAME_DISPLAY_INFO (f)->name_list_element)); f 4637 src/frame.c if (FRAME_OUTPUT_DATA (f)->parent_desc == FRAME_DISPLAY_INFO (f)->root_window) f 4640 src/frame.c tem = make_fixed_natnum ((uintptr_t) FRAME_OUTPUT_DATA (f)->parent_desc); f 4641 src/frame.c store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil)); f 4643 src/frame.c store_in_alist (alistptr, Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)); f 4651 src/frame.c gui_set_fullscreen (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4654 src/frame.c f->want_fullscreen = FULLSCREEN_NONE; f 4656 src/frame.c f->want_fullscreen = FULLSCREEN_BOTH; f 4658 src/frame.c f->want_fullscreen = FULLSCREEN_WIDTH; f 4660 src/frame.c f->want_fullscreen = FULLSCREEN_HEIGHT; f 4662 src/frame.c f->want_fullscreen = FULLSCREEN_MAXIMIZED; f 4664 src/frame.c if (FRAME_TERMINAL (f)->fullscreen_hook != NULL) f 4665 src/frame.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 4673 src/frame.c gui_set_line_spacing (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4676 src/frame.c f->extra_line_spacing = 0; f 4678 src/frame.c f->extra_line_spacing = XFIXNAT (new_value); f 4681 src/frame.c int new_spacing = XFLOAT_DATA (new_value) * FRAME_LINE_HEIGHT (f) + 0.5; f 4684 src/frame.c f->extra_line_spacing = new_spacing; f 4690 src/frame.c if (FRAME_VISIBLE_P (f)) f 4691 src/frame.c redraw_frame (f); f 4699 src/frame.c gui_set_screen_gamma (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4704 src/frame.c f->gamma = 0; f 4707 src/frame.c f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value)); f 4712 src/frame.c bgcolor = Fassq (Qbackground_color, f->param_alist); f 4718 src/frame.c && FRAME_RIF (f)->frame_parm_handlers[XFIXNAT (parm_index)]) f 4719 src/frame.c (*FRAME_RIF (f)->frame_parm_handlers[XFIXNAT (parm_index)]) f 4720 src/frame.c (f, bgcolor, Qnil); f 4724 src/frame.c fset_redisplay (f); f 4729 src/frame.c gui_set_font (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4736 src/frame.c store_frame_param (f, Qfont, oldval); f 4746 src/frame.c font_object = font_open_by_name (f, arg); f 4753 src/frame.c font_object = font_open_by_name (f, fontset_ascii (fontset)); f 4779 src/frame.c fontset = FRAME_FONTSET (f); f 4802 src/frame.c if (FRAME_TERMINAL (f)->set_new_font_hook) f 4803 src/frame.c FRAME_TERMINAL (f)->set_new_font_hook (f, font_object, fontset); f 4804 src/frame.c store_frame_param (f, Qfont, arg); f 4807 src/frame.c f->n_tab_bar_rows = 0; f 4809 src/frame.c f->n_tool_bar_rows = 0; f 4812 src/frame.c clear_current_matrices (f); f 4815 src/frame.c SET_FRAME_GARBAGED (f); f 4819 src/frame.c f->fonts_changed = true; f 4821 src/frame.c recompute_basic_faces (f); f 4835 src/frame.c gui_set_font_backend (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4865 src/frame.c if (FRAME_FONT (f)) f 4868 src/frame.c XSETFRAME (frame, f); f 4872 src/frame.c new_value = font_update_drivers (f, NILP (new_value) ? Qt : new_value); f 4877 src/frame.c font_update_drivers (f, old_value); f 4880 src/frame.c store_frame_param (f, Qfont_backend, new_value); f 4882 src/frame.c if (FRAME_FONT (f)) f 4885 src/frame.c FRAME_RIF (f)->default_font_parameter (f, Qnil); f 4892 src/frame.c gui_set_left_fringe (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4894 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 4895 src/frame.c int old_width = FRAME_LEFT_FRINGE_WIDTH (f); f 4903 src/frame.c f->left_fringe_width = new_width; f 4904 src/frame.c f->fringe_cols /* Round up. */ f 4905 src/frame.c = (new_width + FRAME_RIGHT_FRINGE_WIDTH (f) + unit - 1) / unit; f 4907 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4908 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qleft_fringe); f 4910 src/frame.c SET_FRAME_GARBAGED (f); f 4916 src/frame.c gui_set_right_fringe (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4918 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 4919 src/frame.c int old_width = FRAME_RIGHT_FRINGE_WIDTH (f); f 4927 src/frame.c f->right_fringe_width = new_width; f 4928 src/frame.c f->fringe_cols /* Round up. */ f 4929 src/frame.c = (new_width + FRAME_LEFT_FRINGE_WIDTH (f) + unit - 1) / unit; f 4931 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4932 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qright_fringe); f 4934 src/frame.c SET_FRAME_GARBAGED (f); f 4940 src/frame.c gui_set_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4944 src/frame.c if (border_width == f->border_width) f 4947 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4950 src/frame.c f->border_width = border_width; f 4954 src/frame.c gui_set_right_divider_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4956 src/frame.c int old = FRAME_RIGHT_DIVIDER_WIDTH (f); f 4960 src/frame.c f->right_divider_width = new; f 4961 src/frame.c adjust_frame_size (f, -1, -1, 4, 0, Qright_divider_width); f 4962 src/frame.c adjust_frame_glyphs (f); f 4963 src/frame.c SET_FRAME_GARBAGED (f); f 4968 src/frame.c gui_set_bottom_divider_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4970 src/frame.c int old = FRAME_BOTTOM_DIVIDER_WIDTH (f); f 4974 src/frame.c f->bottom_divider_width = new; f 4975 src/frame.c adjust_frame_size (f, -1, -1, 4, 0, Qbottom_divider_width); f 4976 src/frame.c adjust_frame_glyphs (f); f 4977 src/frame.c SET_FRAME_GARBAGED (f); f 4982 src/frame.c gui_set_visibility (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 4985 src/frame.c XSETFRAME (frame, f); f 4996 src/frame.c gui_set_autoraise (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4998 src/frame.c f->auto_raise = !NILP (arg); f 5002 src/frame.c gui_set_autolower (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5004 src/frame.c f->auto_lower = !NILP (arg); f 5008 src/frame.c gui_set_unsplittable (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5010 src/frame.c f->no_split = !NILP (arg); f 5014 src/frame.c gui_set_vertical_scroll_bars (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5016 src/frame.c if ((EQ (arg, Qleft) && FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) f 5017 src/frame.c || (EQ (arg, Qright) && FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) f 5018 src/frame.c || (NILP (arg) && FRAME_HAS_VERTICAL_SCROLL_BARS (f)) f 5019 src/frame.c || (!NILP (arg) && !FRAME_HAS_VERTICAL_SCROLL_BARS (f))) f 5021 src/frame.c FRAME_VERTICAL_SCROLL_BAR_TYPE (f) f 5038 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5039 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qvertical_scroll_bars); f 5041 src/frame.c SET_FRAME_GARBAGED (f); f 5046 src/frame.c gui_set_horizontal_scroll_bars (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5049 src/frame.c if ((NILP (arg) && FRAME_HAS_HORIZONTAL_SCROLL_BARS (f)) f 5050 src/frame.c || (!NILP (arg) && !FRAME_HAS_HORIZONTAL_SCROLL_BARS (f))) f 5052 src/frame.c f->horizontal_scroll_bars = NILP (arg) ? false : true; f 5058 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5059 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qhorizontal_scroll_bars); f 5061 src/frame.c SET_FRAME_GARBAGED (f); f 5067 src/frame.c gui_set_scroll_bar_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5069 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 5072 src/frame.c && XFIXNAT (arg) != FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) f 5074 src/frame.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = XFIXNAT (arg); f 5075 src/frame.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (XFIXNAT (arg) + unit - 1) / unit; f 5076 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5077 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_width); f 5079 src/frame.c SET_FRAME_GARBAGED (f); f 5083 src/frame.c if (FRAME_TERMINAL (f)->set_scroll_bar_default_width_hook) f 5084 src/frame.c FRAME_TERMINAL (f)->set_scroll_bar_default_width_hook (f); f 5086 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5087 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_width); f 5089 src/frame.c SET_FRAME_GARBAGED (f); f 5092 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.hpos = 0; f 5093 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.x = 0; f 5097 src/frame.c gui_set_scroll_bar_height (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5100 src/frame.c int unit = FRAME_LINE_HEIGHT (f); f 5103 src/frame.c && XFIXNAT (arg) != FRAME_CONFIG_SCROLL_BAR_HEIGHT (f)) f 5105 src/frame.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = XFIXNAT (arg); f 5106 src/frame.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (XFIXNAT (arg) + unit - 1) / unit; f 5107 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5108 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_height); f 5110 src/frame.c SET_FRAME_GARBAGED (f); f 5114 src/frame.c if (FRAME_TERMINAL (f)->set_scroll_bar_default_height_hook) f 5115 src/frame.c FRAME_TERMINAL (f)->set_scroll_bar_default_height_hook (f); f 5117 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5118 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_height); f 5120 src/frame.c SET_FRAME_GARBAGED (f); f 5123 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.vpos = 0; f 5124 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.y = 0; f 5129 src/frame.c gui_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5168 src/frame.c f->alpha[i] = newval[i]; f 5170 src/frame.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 5173 src/frame.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 5179 src/frame.c gui_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5201 src/frame.c f->alpha_background = alpha; f 5203 src/frame.c recompute_basic_faces (f); f 5204 src/frame.c SET_FRAME_GARBAGED (f); f 5215 src/frame.c gui_set_no_special_glyphs (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 5218 src/frame.c FRAME_NO_SPECIAL_GLYPHS (f) = !NILP (new_value); f 5555 src/frame.c gui_frame_get_arg (struct frame *f, Lisp_Object alist, Lisp_Object param, f 5559 src/frame.c return gui_display_get_arg (FRAME_DISPLAY_INFO (f), f 5566 src/frame.c gui_frame_get_and_record_arg (struct frame *f, Lisp_Object alist, f 5573 src/frame.c value = gui_display_get_arg (FRAME_DISPLAY_INFO (f), alist, param, f 5576 src/frame.c store_frame_param (f, param, value); f 5589 src/frame.c gui_default_parameter (struct frame *f, Lisp_Object alist, Lisp_Object prop, f 5596 src/frame.c tem = gui_frame_get_arg (f, alist, prop, xprop, xclass, type); f 5607 src/frame.c gui_set_frame_parameters_1 (f, arg, was_unbound); f 5783 src/frame.c gui_figure_window_size (struct frame *f, Lisp_Object parms, bool tabbar_p, f 5788 src/frame.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5790 src/frame.c int text_width = 80 * FRAME_COLUMN_WIDTH (f); f 5791 src/frame.c int text_height = 36 * FRAME_LINE_HEIGHT (f); f 5795 src/frame.c f->top_pos = 0; f 5796 src/frame.c f->left_pos = 0; f 5803 src/frame.c if (tabbar_p && FRAME_TAB_BAR_LINES (f)) f 5808 src/frame.c FRAME_TAB_BAR_HEIGHT (f) = frame_default_tab_bar_height; f 5827 src/frame.c FRAME_TAB_BAR_HEIGHT (f) f 5837 src/frame.c if (toolbar_p && FRAME_TOOL_BAR_LINES (f)) f 5840 src/frame.c FRAME_TOOL_BAR_HEIGHT (f) = frame_default_tool_bar_height; f 5857 src/frame.c FRAME_TOOL_BAR_HEIGHT (f) f 5864 src/frame.c f->new_width = f->new_height = -1; f 5879 src/frame.c f->inhibit_horizontal_resize = true; f 5889 src/frame.c int new_width = frame_float (f, width, FRAME_FLOAT_WIDTH, f 5902 src/frame.c text_width = XFIXNUM (width) * FRAME_COLUMN_WIDTH (f); f 5915 src/frame.c f->inhibit_vertical_resize = true; f 5925 src/frame.c int new_height = frame_float (f, height, FRAME_FLOAT_HEIGHT, f 5938 src/frame.c text_height = XFIXNUM (height) * FRAME_LINE_HEIGHT (f); f 5950 src/frame.c adjust_frame_size (f, text_width, text_height, 5, false, f 5961 src/frame.c f->top_pos = 0; f 5968 src/frame.c f->top_pos = - XFIXNUM (XCAR (XCDR (top))); f 5975 src/frame.c f->top_pos = XFIXNUM (XCAR (XCDR (top))); f 5978 src/frame.c f->top_pos = frame_float (f, top, FRAME_FLOAT_TOP, &parent_done, f 5981 src/frame.c f->top_pos = 0; f 5984 src/frame.c f->top_pos = check_integer_range (top, INT_MIN, INT_MAX); f 5985 src/frame.c if (f->top_pos < 0) f 5991 src/frame.c f->left_pos = 0; f 5998 src/frame.c f->left_pos = - XFIXNUM (XCAR (XCDR (left))); f 6005 src/frame.c f->left_pos = XFIXNUM (XCAR (XCDR (left))); f 6008 src/frame.c f->left_pos = frame_float (f, left, FRAME_FLOAT_LEFT, &parent_done, f 6011 src/frame.c f->left_pos = 0; f 6014 src/frame.c f->left_pos = check_integer_range (left, INT_MIN, INT_MAX); f 6015 src/frame.c if (f->left_pos < 0) f 6028 src/frame.c f->win_gravity = SouthEastGravity; f 6030 src/frame.c f->win_gravity = NorthEastGravity; f 6035 src/frame.c f->win_gravity = SouthWestGravity; f 6037 src/frame.c f->win_gravity = NorthWestGravity; f 6040 src/frame.c f->size_hint_flags = window_prompting; f 6050 src/frame.c frame_make_pointer_invisible (struct frame *f) f 6054 src/frame.c if (f && FRAME_LIVE_P (f) && !f->pointer_invisible f 6055 src/frame.c && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) f 6057 src/frame.c f->mouse_moved = 0; f 6058 src/frame.c FRAME_TERMINAL (f)->toggle_invisible_pointer_hook (f, 1); f 6059 src/frame.c f->pointer_invisible = 1; f 6065 src/frame.c frame_make_pointer_visible (struct frame *f) f 6069 src/frame.c if (f && FRAME_LIVE_P (f) && f->pointer_invisible && f->mouse_moved f 6070 src/frame.c && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) f 6072 src/frame.c FRAME_TERMINAL (f)->toggle_invisible_pointer_hook (f, 0); f 6073 src/frame.c f->pointer_invisible = 0; f 6093 src/frame.c struct frame *f = decode_live_frame (frame); f 6095 src/frame.c f->was_invisible = !NILP (was_invisible); f 6097 src/frame.c return f->was_invisible ? Qt : Qnil; f 6111 src/frame.c struct frame *f; f 6114 src/frame.c f = decode_window_system_frame (frame); f 6128 src/frame.c font_parameter = get_frame_param (f, Qfont_parameter); f 6136 src/frame.c if (FRAME_RIF (f)->default_font_parameter) f 6137 src/frame.c FRAME_RIF (f)->default_font_parameter (f, params); f 6153 src/frame.c store_frame_param (f, Qfont_parameter, font_parameter); f 738 src/frame.h fset_buffer_list (struct frame *f, Lisp_Object val) f 740 src/frame.h f->buffer_list = val; f 743 src/frame.h fset_buried_buffer_list (struct frame *f, Lisp_Object val) f 745 src/frame.h f->buried_buffer_list = val; f 748 src/frame.h fset_condemned_scroll_bars (struct frame *f, Lisp_Object val) f 750 src/frame.h f->condemned_scroll_bars = val; f 753 src/frame.h fset_face_hash_table (struct frame *f, Lisp_Object val) f 755 src/frame.h f->face_hash_table = val; f 759 src/frame.h fset_parent_frame (struct frame *f, Lisp_Object val) f 761 src/frame.h f->parent_frame = val; f 765 src/frame.h fset_focus_frame (struct frame *f, Lisp_Object val) f 767 src/frame.h f->focus_frame = val; f 770 src/frame.h fset_icon_name (struct frame *f, Lisp_Object val) f 772 src/frame.h f->icon_name = val; f 775 src/frame.h fset_menu_bar_items (struct frame *f, Lisp_Object val) f 777 src/frame.h f->menu_bar_items = val; f 780 src/frame.h fset_menu_bar_vector (struct frame *f, Lisp_Object val) f 782 src/frame.h f->menu_bar_vector = val; f 786 src/frame.h fset_menu_bar_window (struct frame *f, Lisp_Object val) f 788 src/frame.h f->menu_bar_window = val; f 792 src/frame.h fset_name (struct frame *f, Lisp_Object val) f 794 src/frame.h f->name = val; f 797 src/frame.h fset_param_alist (struct frame *f, Lisp_Object val) f 799 src/frame.h f->param_alist = val; f 802 src/frame.h fset_root_window (struct frame *f, Lisp_Object val) f 804 src/frame.h f->root_window = val; f 807 src/frame.h fset_scroll_bars (struct frame *f, Lisp_Object val) f 809 src/frame.h f->scroll_bars = val; f 812 src/frame.h fset_selected_window (struct frame *f, Lisp_Object val) f 814 src/frame.h f->selected_window = val; f 817 src/frame.h fset_old_selected_window (struct frame *f, Lisp_Object val) f 819 src/frame.h f->old_selected_window = val; f 822 src/frame.h fset_title (struct frame *f, Lisp_Object val) f 824 src/frame.h f->title = val; f 827 src/frame.h fset_tab_bar_items (struct frame *f, Lisp_Object val) f 829 src/frame.h f->tab_bar_items = val; f 833 src/frame.h fset_tab_bar_window (struct frame *f, Lisp_Object val) f 835 src/frame.h f->tab_bar_window = val; f 838 src/frame.h fset_current_tab_bar_string (struct frame *f, Lisp_Object val) f 840 src/frame.h f->current_tab_bar_string = val; f 843 src/frame.h fset_desired_tab_bar_string (struct frame *f, Lisp_Object val) f 845 src/frame.h f->desired_tab_bar_string = val; f 849 src/frame.h fset_tool_bar_items (struct frame *f, Lisp_Object val) f 851 src/frame.h f->tool_bar_items = val; f 857 src/frame.h fset_tool_bar_window (struct frame *f, Lisp_Object val) f 859 src/frame.h f->tool_bar_window = val; f 862 src/frame.h fset_current_tool_bar_string (struct frame *f, Lisp_Object val) f 864 src/frame.h f->current_tool_bar_string = val; f 867 src/frame.h fset_desired_tool_bar_string (struct frame *f, Lisp_Object val) f 869 src/frame.h f->desired_tool_bar_string = val; f 875 src/frame.h fset_tool_bar_position (struct frame *f, Lisp_Object val) f 877 src/frame.h f->tool_bar_position = val; f 904 src/frame.h #define FRAME_KBOARD(f) ((f)->terminal->kboard) f 917 src/frame.h #define FRAME_INITIAL_P(f) ((f)->output_method == output_initial) f 918 src/frame.h #define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap) f 919 src/frame.h #define FRAME_X_P(f) ((f)->output_method == output_x_window) f 921 src/frame.h #define FRAME_W32_P(f) false f 923 src/frame.h #define FRAME_W32_P(f) ((f)->output_method == output_w32) f 926 src/frame.h #define FRAME_MSDOS_P(f) false f 928 src/frame.h #define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw) f 931 src/frame.h #define FRAME_NS_P(f) false f 933 src/frame.h #define FRAME_NS_P(f) ((f)->output_method == output_ns) f 936 src/frame.h #define FRAME_PGTK_P(f) false f 938 src/frame.h #define FRAME_PGTK_P(f) ((f)->output_method == output_pgtk) f 941 src/frame.h #define FRAME_HAIKU_P(f) false f 943 src/frame.h #define FRAME_HAIKU_P(f) ((f)->output_method == output_haiku) f 946 src/frame.h #define FRAME_ANDROID_P(f) false f 948 src/frame.h #define FRAME_ANDROID_P(f) ((f)->output_method == output_android) f 954 src/frame.h #define FRAME_WINDOW_P(f) FRAME_X_P (f) f 957 src/frame.h #define FRAME_WINDOW_P(f) FRAME_W32_P (f) f 960 src/frame.h #define FRAME_WINDOW_P(f) FRAME_NS_P(f) f 963 src/frame.h #define FRAME_WINDOW_P(f) FRAME_PGTK_P(f) f 966 src/frame.h #define FRAME_WINDOW_P(f) FRAME_HAIKU_P (f) f 969 src/frame.h #define FRAME_WINDOW_P(f) FRAME_ANDROID_P (f) f 972 src/frame.h #define FRAME_WINDOW_P(f) ((void) (f), false) f 979 src/frame.h #define FRAME_RES_X(f) \ f 980 src/frame.h (eassert (FRAME_WINDOW_P (f)), FRAME_DISPLAY_INFO (f)->resx) f 981 src/frame.h #define FRAME_RES_Y(f) \ f 982 src/frame.h (eassert (FRAME_WINDOW_P (f)), FRAME_DISPLAY_INFO (f)->resy) f 989 src/frame.h #define FRAME_RES(f) \ f 990 src/frame.h (eassert (FRAME_WINDOW_P (f)), \ f 991 src/frame.h FRAME_DISPLAY_INFO (f)->font_resolution) f 994 src/frame.h #define FRAME_RES(f) (FRAME_RES_Y (f)) f 1001 src/frame.h #define FRAME_RES_X(f) default_pixels_per_inch_x () f 1002 src/frame.h #define FRAME_RES_Y(f) default_pixels_per_inch_y () f 1003 src/frame.h #define FRAME_RES(f) default_pixels_per_inch_y () f 1028 src/frame.h #define FRAME_LIVE_P(f) ((f)->terminal != 0) f 1031 src/frame.h #define FRAME_MINIBUF_ONLY_P(f) \ f 1032 src/frame.h EQ (FRAME_ROOT_WINDOW (f), FRAME_MINIBUF_WINDOW (f)) f 1036 src/frame.h #define FRAME_HAS_MINIBUF_P(f) \ f 1037 src/frame.h (WINDOWP (f->minibuffer_window) \ f 1038 src/frame.h && XFRAME (XWINDOW (f->minibuffer_window)->frame) == f) f 1042 src/frame.h # define FRAME_SCALE_FACTOR(f) (FRAME_NS_P (f) ? ns_frame_scale_factor (f) : 1) f 1044 src/frame.h # define FRAME_SCALE_FACTOR(f) (FRAME_PGTK_P (f) ? pgtk_frame_scale_factor (f) : 1) f 1046 src/frame.h # define FRAME_SCALE_FACTOR(f) 1 f 1051 src/frame.h #define FRAME_PIXEL_WIDTH(f) ((f)->pixel_width) f 1052 src/frame.h #define FRAME_PIXEL_HEIGHT(f) ((f)->pixel_height) f 1053 src/frame.h #define FRAME_TOTAL_COLS(f) ((f)->total_cols) f 1054 src/frame.h #define FRAME_TOTAL_LINES(f) ((f)->total_lines) f 1058 src/frame.h #define FRAME_TEXT_WIDTH(f) (f)->text_width f 1059 src/frame.h #define FRAME_TEXT_HEIGHT(f) (f)->text_height f 1060 src/frame.h #define FRAME_COLS(f) ((f)->text_cols) f 1061 src/frame.h #define FRAME_LINES(f) ((f)->text_lines) f 1065 src/frame.h #define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar f 1067 src/frame.h #define FRAME_EXTERNAL_MENU_BAR(f) false f 1071 src/frame.h #define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines f 1072 src/frame.h #define FRAME_MENU_BAR_HEIGHT(f) (f)->menu_bar_height f 1075 src/frame.h #define FRAME_TAB_BAR_LINES(f) (f)->tab_bar_lines f 1076 src/frame.h #define FRAME_TAB_BAR_HEIGHT(f) (f)->tab_bar_height f 1080 src/frame.h #define FRAME_EXTERNAL_TOOL_BAR(f) (f)->external_tool_bar f 1082 src/frame.h #define FRAME_EXTERNAL_TOOL_BAR(f) false f 1089 src/frame.h #define FRAME_TOOL_BAR_POSITION(f) (f)->tool_bar_position f 1092 src/frame.h #define FRAME_TOOL_BAR_LINES(f) (f)->tool_bar_lines f 1093 src/frame.h #define FRAME_TOOL_BAR_HEIGHT(f) (f)->tool_bar_height f 1098 src/frame.h #define FRAME_TOOL_BAR_TOP_HEIGHT(f) \ f 1099 src/frame.h ((BASE_EQ ((f)->tool_bar_position, Qtop)) \ f 1100 src/frame.h ? (f)->tool_bar_height : 0) f 1102 src/frame.h #define FRAME_TOOL_BAR_TOP_LINES(f) \ f 1103 src/frame.h ((BASE_EQ ((f)->tool_bar_position, Qtop)) \ f 1104 src/frame.h ? (f)->tool_bar_lines : 0) f 1108 src/frame.h #define FRAME_TOOL_BAR_BOTTOM_HEIGHT(f) \ f 1109 src/frame.h ((BASE_EQ ((f)->tool_bar_position, Qbottom)) \ f 1110 src/frame.h ? (f)->tool_bar_height : 0) f 1112 src/frame.h #define FRAME_TOOL_BAR_BOTTOM_LINES(f) \ f 1113 src/frame.h ((BASE_EQ ((f)->tool_bar_position, Qbottom)) \ f 1114 src/frame.h ? (f)->tool_bar_lines : 0) f 1131 src/frame.h #define FRAME_BOTTOM_MARGIN(f) \ f 1132 src/frame.h (FRAME_TOOL_BAR_BOTTOM_LINES (f)) f 1136 src/frame.h #define FRAME_BOTTOM_MARGIN_HEIGHT(f) \ f 1137 src/frame.h (FRAME_TOOL_BAR_BOTTOM_HEIGHT (f)) f 1152 src/frame.h #define FRAME_VISIBLE_P(f) (f)->visible f 1161 src/frame.h #define FRAME_REDISPLAY_P(f) (FRAME_VISIBLE_P (f)) f 1163 src/frame.h #define FRAME_REDISPLAY_P(f) (FRAME_VISIBLE_P (f) \ f 1164 src/frame.h || (FRAME_X_P (f) \ f 1165 src/frame.h && FRAME_X_VISIBLE (f))) f 1169 src/frame.h #define FRAME_OBSCURED_P(f) ((f)->visible > 1) f 1172 src/frame.h #define FRAME_ICONIFIED_P(f) (f)->iconified f 1175 src/frame.h #define SET_FRAME_GARBAGED(f) \ f 1176 src/frame.h (frame_garbaged = true, fset_redisplay (f), f->garbaged = true) f 1179 src/frame.h #define FRAME_GARBAGED_P(f) (f)->garbaged f 1182 src/frame.h #define FRAME_NO_SPLIT_P(f) (f)->no_split f 1185 src/frame.h #define FRAME_WANTS_MODELINE_P(f) (f)->wants_modeline f 1189 src/frame.h #define FRAME_WINDOWS_FROZEN(f) (f)->frozen_window_starts f 1193 src/frame.h #define FRAME_WINDOW_CHANGE(f) (f)->window_change f 1197 src/frame.h #define FRAME_WINDOW_STATE_CHANGE(f) (f)->window_state_change f 1200 src/frame.h #define FRAME_MINIBUF_WINDOW(f) f->minibuffer_window f 1203 src/frame.h #define FRAME_ROOT_WINDOW(f) f->root_window f 1206 src/frame.h #define FRAME_SELECTED_WINDOW(f) f->selected_window f 1208 src/frame.h #define FRAME_OLD_SELECTED_WINDOW(f) f->old_selected_window f 1210 src/frame.h #define FRAME_INSERT_COST(f) (f)->insert_line_cost f 1211 src/frame.h #define FRAME_DELETE_COST(f) (f)->delete_line_cost f 1212 src/frame.h #define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost f 1213 src/frame.h #define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost f 1214 src/frame.h #define FRAME_FOCUS_FRAME(f) f->focus_frame f 1219 src/frame.h #define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) ((f)->vertical_scroll_bar_type) f 1220 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS(f) \ f 1221 src/frame.h ((f)->vertical_scroll_bar_type != vertical_scroll_bar_none) f 1222 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) \ f 1223 src/frame.h ((f)->vertical_scroll_bar_type == vertical_scroll_bar_left) f 1224 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) \ f 1225 src/frame.h ((f)->vertical_scroll_bar_type == vertical_scroll_bar_right) f 1228 src/frame.h #define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) \ f 1229 src/frame.h ((void) (f), vertical_scroll_bar_none) f 1230 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS(f) ((void) (f), 0) f 1231 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) ((void) (f), 0) f 1232 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) ((void) (f), 0) f 1236 src/frame.h #define FRAME_UNDECORATED(f) ((f)->undecorated) f 1238 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((void) (f), 0) f 1240 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((f)->override_redirect) f 1242 src/frame.h #define FRAME_PARENT_FRAME(f) \ f 1243 src/frame.h (NILP ((f)->parent_frame) \ f 1245 src/frame.h : XFRAME ((f)->parent_frame)) f 1246 src/frame.h #define FRAME_SKIP_TASKBAR(f) ((f)->skip_taskbar) f 1247 src/frame.h #define FRAME_NO_FOCUS_ON_MAP(f) ((f)->no_focus_on_map) f 1248 src/frame.h #define FRAME_NO_ACCEPT_FOCUS(f) ((f)->no_accept_focus) f 1249 src/frame.h #define FRAME_NO_SPECIAL_GLYPHS(f) ((f)->no_special_glyphs) f 1250 src/frame.h #define FRAME_Z_GROUP(f) ((f)->z_group) f 1251 src/frame.h #define FRAME_Z_GROUP_NONE(f) ((f)->z_group == z_group_none) f 1252 src/frame.h #define FRAME_Z_GROUP_ABOVE(f) ((f)->z_group == z_group_above) f 1253 src/frame.h #define FRAME_Z_GROUP_ABOVE_SUSPENDED(f) \ f 1254 src/frame.h ((f)->z_group == z_group_above_suspended) f 1255 src/frame.h #define FRAME_Z_GROUP_BELOW(f) ((f)->z_group == z_group_below) f 1256 src/frame.h #define FRAME_TOOLTIP_P(f) ((f)->tooltip) f 1258 src/frame.h #define FRAME_NS_APPEARANCE(f) ((f)->ns_appearance) f 1259 src/frame.h #define FRAME_NS_TRANSPARENT_TITLEBAR(f) ((f)->ns_transparent_titlebar) f 1262 src/frame.h #define FRAME_UNDECORATED(f) ((void) (f), 0) f 1263 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((void) (f), 0) f 1264 src/frame.h #define FRAME_PARENT_FRAME(f) ((void) (f), NULL) f 1265 src/frame.h #define FRAME_SKIP_TASKBAR(f) ((void) (f), 0) f 1266 src/frame.h #define FRAME_NO_FOCUS_ON_MAP(f) ((void) (f), 0) f 1267 src/frame.h #define FRAME_NO_ACCEPT_FOCUS(f) ((void) (f), 0) f 1268 src/frame.h #define FRAME_NO_SPECIAL_GLYPHS(f) ((void) (f), 0) f 1269 src/frame.h #define FRAME_Z_GROUP(f) ((void) (f), z_group_none) f 1270 src/frame.h #define FRAME_Z_GROUP_NONE(f) ((void) (f), true) f 1271 src/frame.h #define FRAME_Z_GROUP_ABOVE(f) ((void) (f), false) f 1272 src/frame.h #define FRAME_Z_GROUP_BELOW(f) ((void) (f), false) f 1273 src/frame.h #define FRAME_TOOLTIP_P(f) ((void) f, false) f 1278 src/frame.h #define FRAME_HAS_HORIZONTAL_SCROLL_BARS(f) \ f 1279 src/frame.h ((f)->horizontal_scroll_bars) f 1281 src/frame.h #define FRAME_HAS_HORIZONTAL_SCROLL_BARS(f) ((void) (f), 0) f 1287 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_WIDTH(f) ((f)->config_scroll_bar_width) f 1292 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_HEIGHT(f) ((f)->config_scroll_bar_height) f 1297 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_COLS(f) ((f)->config_scroll_bar_cols) f 1302 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_LINES(f) ((f)->config_scroll_bar_lines) f 1305 src/frame.h #define FRAME_LEFT_SCROLL_BAR_AREA_WIDTH(f) \ f 1306 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ f 1307 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1311 src/frame.h #define FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH(f) \ f 1312 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ f 1313 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1320 src/frame.h #define FRAME_LEFT_SCROLL_BAR_COLS(f) \ f 1321 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ f 1322 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1329 src/frame.h #define FRAME_RIGHT_SCROLL_BAR_COLS(f) \ f 1330 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ f 1331 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1336 src/frame.h #define FRAME_SCROLL_BAR_AREA_WIDTH(f) \ f 1337 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1338 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1343 src/frame.h #define FRAME_SCROLL_BAR_AREA_HEIGHT(f) \ f 1344 src/frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1345 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) \ f 1349 src/frame.h #define FRAME_SCROLL_BAR_COLS(f) \ f 1350 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1351 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1355 src/frame.h #define FRAME_SCROLL_BAR_LINES(f) \ f 1356 src/frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1357 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_LINES (f) \ f 1361 src/frame.h #define FRAME_CURSOR_X_LIMIT(f) \ f 1362 src/frame.h (FRAME_COLS (f) + FRAME_LEFT_SCROLL_BAR_COLS (f)) f 1365 src/frame.h #define FRAME_SCROLL_BARS(f) (f->scroll_bars) f 1366 src/frame.h #define FRAME_CONDEMNED_SCROLL_BARS(f) (f->condemned_scroll_bars) f 1368 src/frame.h #define FRAME_MENU_BAR_ITEMS(f) (f->menu_bar_items) f 1369 src/frame.h #define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate) f 1371 src/frame.h #define FRAME_DESIRED_CURSOR(f) ((f)->desired_cursor) f 1372 src/frame.h #define FRAME_BLINK_OFF_CURSOR(f) ((f)->blink_off_cursor) f 1373 src/frame.h #define FRAME_CURSOR_WIDTH(f) ((f)->cursor_width) f 1374 src/frame.h #define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->blink_off_cursor_width) f 1376 src/frame.h #define FRAME_FOREGROUND_PIXEL(f) ((f)->foreground_pixel) f 1377 src/frame.h #define FRAME_BACKGROUND_PIXEL(f) ((f)->background_pixel) f 1386 src/frame.h #define FRAME_MESSAGE_BUF_SIZE(f) (((int) FRAME_COLS (f)) * 4) f 1437 src/frame.h SET_FRAME_VISIBLE (struct frame *f, int v) f 1442 src/frame.h if (v == 1 && f->visible != 1) f 1444 src/frame.h if (FRAME_GARBAGED_P (f)) f 1447 src/frame.h f->visible = v; f 1452 src/frame.h SET_FRAME_ICONIFIED (struct frame *f, int i) f 1460 src/frame.h f->iconified = i; f 1467 src/frame.h XSETFRAME (frame, f); f 1469 src/frame.h if (FRAME_WINDOW_P (f)) f 1504 src/frame.h window_system_available (struct frame *f) f 1507 src/frame.h return f ? FRAME_WINDOW_P (f) || FRAME_MSDOS_P (f) : display_available (); f 1567 src/frame.h FRAME_FRINGE_COLS (struct frame *f) f 1569 src/frame.h return frame_dimension (f->fringe_cols); f 1575 src/frame.h FRAME_LEFT_FRINGE_WIDTH (struct frame *f) f 1577 src/frame.h return frame_dimension (f->left_fringe_width); f 1580 src/frame.h FRAME_RIGHT_FRINGE_WIDTH (struct frame *f) f 1582 src/frame.h return frame_dimension (f->right_fringe_width); f 1588 src/frame.h FRAME_TOTAL_FRINGE_WIDTH (struct frame *f) f 1590 src/frame.h return FRAME_LEFT_FRINGE_WIDTH (f) + FRAME_RIGHT_FRINGE_WIDTH (f); f 1594 src/frame.h FRAME_CHILD_FRAME_BORDER_WIDTH (struct frame *f) f 1596 src/frame.h return frame_dimension (f->child_frame_border_width); f 1603 src/frame.h FRAME_INTERNAL_BORDER_WIDTH (struct frame *f) f 1606 src/frame.h return (FRAME_PARENT_FRAME(f) f 1607 src/frame.h ? (FRAME_CHILD_FRAME_BORDER_WIDTH(f) >= 0 f 1608 src/frame.h ? FRAME_CHILD_FRAME_BORDER_WIDTH(f) f 1609 src/frame.h : frame_dimension (f->internal_border_width)) f 1610 src/frame.h : frame_dimension (f->internal_border_width)); f 1612 src/frame.h return frame_dimension (f->internal_border_width); f 1618 src/frame.h FRAME_RIGHT_DIVIDER_WIDTH (struct frame *f) f 1620 src/frame.h return frame_dimension (f->right_divider_width); f 1624 src/frame.h FRAME_BOTTOM_DIVIDER_WIDTH (struct frame *f) f 1626 src/frame.h return frame_dimension (f->bottom_divider_width); f 1632 src/frame.h FACE_FROM_ID (struct frame *f, int id) f 1634 src/frame.h eassert (0 <= id && id < FRAME_FACE_CACHE (f)->used); f 1635 src/frame.h return FRAME_FACE_CACHE (f)->faces_by_id[id]; f 1642 src/frame.h FACE_FROM_ID_OR_NULL (struct frame *f, int id) f 1644 src/frame.h int used = FRAME_FACE_CACHE (f)->used; f 1646 src/frame.h return 0 <= id && id < used ? FRAME_FACE_CACHE (f)->faces_by_id[id] : NULL; f 1654 src/frame.h IMAGE_FROM_ID (struct frame *f, int id) f 1656 src/frame.h eassert (0 <= id && id < FRAME_IMAGE_CACHE (f)->used); f 1657 src/frame.h return FRAME_IMAGE_CACHE (f)->images[id]; f 1664 src/frame.h IMAGE_OPT_FROM_ID (struct frame *f, int id) f 1666 src/frame.h int used = FRAME_IMAGE_CACHE (f)->used; f 1668 src/frame.h return 0 <= id && id < used ? FRAME_IMAGE_CACHE (f)->images[id] : NULL; f 1718 src/frame.h #define FRAME_LINE_TO_PIXEL_Y(f, row) \ f 1719 src/frame.h (((row) < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1720 src/frame.h + (row) * FRAME_LINE_HEIGHT (f)) f 1722 src/frame.h #define FRAME_COL_TO_PIXEL_X(f, col) \ f 1723 src/frame.h (FRAME_INTERNAL_BORDER_WIDTH (f) \ f 1724 src/frame.h + (col) * FRAME_COLUMN_WIDTH (f)) f 1728 src/frame.h #define FRAME_TEXT_COLS_TO_PIXEL_WIDTH(f, cols) \ f 1729 src/frame.h ((cols) * FRAME_COLUMN_WIDTH (f) \ f 1730 src/frame.h + FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1731 src/frame.h + FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1732 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1734 src/frame.h #define FRAME_TEXT_LINES_TO_PIXEL_HEIGHT(f, lines) \ f 1735 src/frame.h ((lines) * FRAME_LINE_HEIGHT (f) \ f 1736 src/frame.h + FRAME_TOP_MARGIN_HEIGHT (f) \ f 1737 src/frame.h + FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1738 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1742 src/frame.h #define FRAME_PIXEL_Y_TO_LINE(f, y) \ f 1743 src/frame.h (((y) < FRAME_TOP_MARGIN_HEIGHT (f) \ f 1745 src/frame.h : ((y) < (FRAME_TOP_MARGIN_HEIGHT (f) \ f 1746 src/frame.h + FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1747 src/frame.h ? (y) - (FRAME_TOP_MARGIN_HEIGHT (f) \ f 1748 src/frame.h + FRAME_INTERNAL_BORDER_WIDTH (f) \ f 1750 src/frame.h + FRAME_LINE_HEIGHT (f) - 1) \ f 1751 src/frame.h : (y) - FRAME_INTERNAL_BORDER_WIDTH (f))) \ f 1752 src/frame.h / FRAME_LINE_HEIGHT (f)) f 1754 src/frame.h #define FRAME_PIXEL_X_TO_COL(f, x) \ f 1755 src/frame.h (((x) - FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1756 src/frame.h / FRAME_COLUMN_WIDTH (f)) f 1760 src/frame.h #define FRAME_PIXEL_WIDTH_TO_TEXT_COLS(f, width) \ f 1762 src/frame.h - FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1763 src/frame.h - FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1764 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1765 src/frame.h / FRAME_COLUMN_WIDTH (f)) f 1767 src/frame.h #define FRAME_PIXEL_HEIGHT_TO_TEXT_LINES(f, height) \ f 1769 src/frame.h - FRAME_MARGIN_HEIGHT (f) \ f 1770 src/frame.h - FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1771 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1772 src/frame.h / FRAME_LINE_HEIGHT (f)) f 1776 src/frame.h #define FRAME_TEXT_TO_PIXEL_WIDTH(f, width) \ f 1778 src/frame.h + FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1779 src/frame.h + FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1780 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1782 src/frame.h #define FRAME_TEXT_TO_PIXEL_HEIGHT(f, height) \ f 1784 src/frame.h + FRAME_MARGIN_HEIGHT (f) \ f 1785 src/frame.h + FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1786 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1790 src/frame.h #define FRAME_PIXEL_TO_TEXT_WIDTH(f, width) \ f 1792 src/frame.h - FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1793 src/frame.h - FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1794 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1796 src/frame.h #define FRAME_PIXEL_TO_TEXT_HEIGHT(f, height) \ f 1798 src/frame.h - FRAME_MARGIN_HEIGHT (f) \ f 1799 src/frame.h - FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1800 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1802 src/frame.h #define FRAME_INNER_WIDTH(f) \ f 1803 src/frame.h (FRAME_PIXEL_WIDTH (f) \ f 1804 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1806 src/frame.h #define FRAME_INNER_HEIGHT(f) \ f 1807 src/frame.h (FRAME_PIXEL_HEIGHT (f) \ f 1808 src/frame.h - FRAME_MARGIN_HEIGHT (f) \ f 1809 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1812 src/frame.h #define FRAME_SMALLEST_CHAR_WIDTH(f) \ f 1813 src/frame.h FRAME_DISPLAY_INFO (f)->smallest_char_width f 1816 src/frame.h #define FRAME_SMALLEST_FONT_HEIGHT(f) \ f 1817 src/frame.h FRAME_DISPLAY_INFO (f)->smallest_font_height f 1865 src/frame.h extern void set_frame_menubar (struct frame *f, bool deep_p); f 1866 src/frame.h extern void frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y); f 1869 src/frame.h extern enum internal_border_part frame_internal_border_part (struct frame *f, int x, int y); f 1883 src/frame.h gui_set_bitmap_icon (struct frame *f) f 1885 src/frame.h Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist); f 1888 src/frame.h && FRAME_TERMINAL (f)->set_bitmap_icon_hook) f 1889 src/frame.h FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, XCDR (obj)); f 1896 src/frame.h flush_frame (struct frame *f) f 1898 src/frame.h struct redisplay_interface *rif = FRAME_RIF (f); f 1901 src/frame.h rif->flush_display (f); f 578 src/fringe.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 608 src/fringe.c face_id = NILP (face) ? lookup_named_face (w, f, Qfringe, false) f 609 src/fringe.c : lookup_derived_face (w, f, face, FRINGE_FACE_ID, 0); f 642 src/fringe.c p.face = FACE_FROM_ID_OR_NULL (f, face_id); f 650 src/fringe.c prepare_face_for_display (f, p.face); f 676 src/fringe.c && !FRAME_RIGHT_DIVIDER_WIDTH (f) f 711 src/fringe.c FRAME_RIF (f)->draw_fringe_bitmap (w, row, &p); f 1853 src/fringe.c gui_define_fringe_bitmap (struct frame *f, int n) f 1855 src/fringe.c struct redisplay_interface *rif = FRAME_RIF (f); f 120 src/ftcrfont.c ftcrfont_list (struct frame *f, Lisp_Object spec) f 122 src/ftcrfont.c return ftfont_list2 (f, spec, Qftcr); f 126 src/ftcrfont.c ftcrfont_match (struct frame *f, Lisp_Object spec) f 128 src/ftcrfont.c return ftfont_match2 (f, spec, Qftcr); f 132 src/ftcrfont.c ftcrfont_open (struct frame *f, Lisp_Object entity, int pixel_size) f 536 src/ftcrfont.c struct frame *f = s->f; f 559 src/ftcrfont.c cr = x_begin_cr_clip (f, s->gc); f 561 src/ftcrfont.c cr = pgtk_begin_cr_clip (f); f 566 src/ftcrfont.c EmacsWindow_begin_cr_critical_section (FRAME_HAIKU_WINDOW (f)); f 567 src/ftcrfont.c cr = haiku_begin_cr_clip (f, s); f 570 src/ftcrfont.c EmacsWindow_end_cr_critical_section (FRAME_HAIKU_WINDOW (f)); f 574 src/ftcrfont.c BView_cr_dump_clipping (FRAME_HAIKU_DRAWABLE (f), cr); f 581 src/ftcrfont.c x_set_cr_source_with_gc_background (f, s->gc, s->hl != DRAW_CURSOR); f 583 src/ftcrfont.c pgtk_set_cr_source_with_color (f, s->xgcv.background, f 610 src/ftcrfont.c x_set_cr_source_with_gc_foreground (f, s->gc, false); f 612 src/ftcrfont.c pgtk_set_cr_source_with_color (f, s->xgcv.foreground, false); f 625 src/ftcrfont.c x_end_cr_clip (f); f 627 src/ftcrfont.c pgtk_end_cr_clip (f); f 631 src/ftcrfont.c EmacsWindow_end_cr_critical_section (FRAME_HAIKU_WINDOW (f)); f 643 src/ftcrfont.c ftcrfont_cached_font_ok (struct frame *f, Lisp_Object font_object, f 663 src/ftcrfont.c ftcrhbfont_list (struct frame *f, Lisp_Object spec) f 665 src/ftcrfont.c return ftfont_list2 (f, spec, Qftcrhb); f 669 src/ftcrfont.c ftcrhbfont_match (struct frame *f, Lisp_Object spec) f 671 src/ftcrfont.c return ftfont_match2 (f, spec, Qftcrhb); f 485 src/ftfont.c ftfont_get_cache (struct frame *f) f 842 src/ftfont.c ftfont_list (struct frame *f, Lisp_Object spec) f 1064 src/ftfont.c ftfont_list2 (struct frame *f, Lisp_Object spec, Lisp_Object type) f 1066 src/ftfont.c Lisp_Object list = ftfont_list (f, spec); f 1074 src/ftfont.c ftfont_match (struct frame *f, Lisp_Object spec) f 1124 src/ftfont.c ftfont_match2 (struct frame *f, Lisp_Object spec, Lisp_Object type) f 1126 src/ftfont.c Lisp_Object entity = ftfont_match (f, spec); f 1134 src/ftfont.c ftfont_list_family (struct frame *f) f 1329 src/ftfont.c ftfont_open (struct frame *f, Lisp_Object entity, int pixel_size) f 1956 src/ftfont.c int ap = anchor->f.f1.AnchorPoint; f 1968 src/ftfont.c if (anchor->f.f2.XDeviceTable.offset f 1969 src/ftfont.c && anchor->f.f2.XDeviceTable.DeltaValue) f 1970 src/ftfont.c *x += DEVICE_DELTA (anchor->f.f2.XDeviceTable, x_ppem); f 1971 src/ftfont.c if (anchor->f.f2.YDeviceTable.offset f 1972 src/ftfont.c && anchor->f.f2.YDeviceTable.DeltaValue) f 1973 src/ftfont.c *y += DEVICE_DELTA (anchor->f.f2.YDeviceTable, y_ppem); f 2111 src/ftfont.c *g = in_glyphs[otfg->f.index.from]; f 2121 src/ftfont.c if (otfg->f.index.from < otfg->f.index.to) f 2124 src/ftfont.c for (j = otfg->f.index.from + 1; j <= otfg->f.index.to; j++) f 2145 src/ftfont.c && otfg->f.index.from == otfg[-1].f.index.from); f 2149 src/ftfont.c *g = in_glyphs[otfg->f.index.to]; f 2201 src/ftfont.c for (j = otfg->f.index.from; j <= otfg->f.index.to; j++) f 2278 src/ftfont.c int format = otfg->f.f1.format; f 2282 src/ftfont.c = otfg->f.f1.value->XPlacement * x_scale / 0x10000; f 2285 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->XPlaDevice, x_ppem); f 2288 src/ftfont.c = - (otfg->f.f1.value->YPlacement * y_scale / 0x10000); f 2291 src/ftfont.c -= DEVICE_DELTA (otfg->f.f1.value->YPlaDevice, y_ppem); f 2294 src/ftfont.c += otfg->f.f1.value->XAdvance * x_scale / 0x10000; f 2297 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->XAdvDevice, x_ppem); f 2300 src/ftfont.c += otfg->f.f1.value->YAdvance * y_scale / 0x10000; f 2303 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->YAdvDevice, y_ppem); f 2338 src/ftfont.c base_x = otfg->f.f4.base_anchor->XCoordinate * x_scale / 0x10000; f 2339 src/ftfont.c base_y = otfg->f.f4.base_anchor->YCoordinate * y_scale / 0x10000; f 2340 src/ftfont.c mark_x = otfg->f.f4.mark_anchor->XCoordinate * x_scale / 0x10000; f 2341 src/ftfont.c mark_y = otfg->f.f4.mark_anchor->YCoordinate * y_scale / 0x10000; f 2343 src/ftfont.c if (otfg->f.f4.base_anchor->AnchorFormat != 1) f 2344 src/ftfont.c adjust_anchor (ft_face, otfg->f.f4.base_anchor, prev->g.code, f 2346 src/ftfont.c if (otfg->f.f4.mark_anchor->AnchorFormat != 1) f 2347 src/ftfont.c adjust_anchor (ft_face, otfg->f.f4.mark_anchor, g->g.code, f 2402 src/ftfont.c for (j = otfg->f.index.from; j <= otfg->f.index.to; j++) f 2516 src/ftfont.c *g = in_glyphs[otfg->f.index.from]; f 2526 src/ftfont.c if (otfg->f.index.from < otfg->f.index.to) f 2529 src/ftfont.c for (j = from + otfg->f.index.from + 1; f 2530 src/ftfont.c j <= from + otfg->f.index.to; j++) f 2541 src/ftfont.c && otfg->f.index.from == otfg[-1].f.index.from); f 2545 src/ftfont.c *g = in_glyphs[otfg->f.index.to]; f 2598 src/ftfont.c int format = otfg->f.f1.format; f 2602 src/ftfont.c = otfg->f.f1.value->XPlacement * x_scale / 0x10000; f 2605 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->XPlaDevice, x_ppem); f 2608 src/ftfont.c = - (otfg->f.f1.value->YPlacement * y_scale / 0x10000); f 2611 src/ftfont.c -= DEVICE_DELTA (otfg->f.f1.value->YPlaDevice, y_ppem); f 2614 src/ftfont.c += otfg->f.f1.value->XAdvance * x_scale / 0x10000; f 2617 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->XAdvDevice, x_ppem); f 2620 src/ftfont.c += otfg->f.f1.value->YAdvance * y_scale / 0x10000; f 2623 src/ftfont.c += DEVICE_DELTA (otfg->f.f1.value->YAdvDevice, y_ppem); f 2646 src/ftfont.c base_x = otfg->f.f4.base_anchor->XCoordinate * x_scale / 0x10000; f 2647 src/ftfont.c base_y = otfg->f.f4.base_anchor->YCoordinate * y_scale / 0x10000; f 2648 src/ftfont.c mark_x = otfg->f.f4.mark_anchor->XCoordinate * x_scale / 0x10000; f 2649 src/ftfont.c mark_y = otfg->f.f4.mark_anchor->YCoordinate * y_scale / 0x10000; f 2651 src/ftfont.c if (otfg->f.f4.base_anchor->AnchorFormat != 1) f 2652 src/ftfont.c adjust_anchor (ft_face, otfg->f.f4.base_anchor, prev->g.code, f 2654 src/ftfont.c if (otfg->f.f4.mark_anchor->AnchorFormat != 1) f 2655 src/ftfont.c adjust_anchor (ft_face, otfg->f.f4.mark_anchor, g->g.code, f 2749 src/ftfont.c otf_gstring.glyphs[i].f.index.from = LGLYPH_FROM (g); f 2750 src/ftfont.c otf_gstring.glyphs[i].f.index.to = LGLYPH_TO (g); f 2756 src/ftfont.c Lisp_Object g0 = LGSTRING_GLYPH (lgstring, otfg->f.index.from); f 2757 src/ftfont.c Lisp_Object g1 = LGSTRING_GLYPH (lgstring, otfg->f.index.to); f 201 src/gtkutil.c xg_set_screen (GtkWidget *w, struct frame *f) f 204 src/gtkutil.c if (FRAME_X_DISPLAY (f) != DEFAULT_GDK_DISPLAY ()) f 206 src/gtkutil.c GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); f 215 src/gtkutil.c if (FRAME_X_DISPLAY (f) != DEFAULT_GDK_DISPLAY ()) f 217 src/gtkutil.c GdkScreen *gscreen = gdk_display_get_default_screen (FRAME_X_DISPLAY (f)); f 284 src/gtkutil.c xg_get_scale (struct frame *f) f 290 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 291 src/gtkutil.c return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f)); f 381 src/gtkutil.c xg_get_pixbuf_from_pix_and_mask (struct frame *f, f 390 src/gtkutil.c if (FRAME_DISPLAY_INFO (f)->red_bits != 8) f 392 src/gtkutil.c XGetGeometry (FRAME_X_DISPLAY (f), pix, &wunused, &iunused, &iunused, f 396 src/gtkutil.c XImage *xim = XGetImage (FRAME_X_DISPLAY (f), pix, 0, 0, width, height, f 401 src/gtkutil.c : XGetImage (FRAME_X_DISPLAY (f), mask, 0, 0, f 506 src/gtkutil.c xg_get_image_for_pixmap (struct frame *f, f 580 src/gtkutil.c icon_buf = xg_get_pixbuf_from_pix_and_mask (f, img->pixmap, img->mask); f 735 src/gtkutil.c xg_check_special_colors (struct frame *f, f 759 src/gtkutil.c while (FRAME_PARENT_FRAME (f)) f 760 src/gtkutil.c f = FRAME_PARENT_FRAME (f); f 763 src/gtkutil.c if (!FRAME_GTK_WIDGET (f) || !(get_bg || get_fg)) f 768 src/gtkutil.c gsty = gtk_widget_get_style_context (FRAME_GTK_OUTER_WIDGET (f)); f 791 src/gtkutil.c success_p = x_parse_color (f, buf, color) != 0; f 794 src/gtkutil.c success_p = pgtk_parse_color (f, buf, color) != 0; f 797 src/gtkutil.c gsty = gtk_widget_get_style (FRAME_GTK_WIDGET (f)); f 828 src/gtkutil.c struct frame *f = user_data; f 829 src/gtkutil.c xp_output *x = f->output_data.xp; f 850 src/gtkutil.c struct frame *f = user_data; f 851 src/gtkutil.c xp_output *x = f->output_data.xp; f 883 src/gtkutil.c G_CALLBACK (hierarchy_ch_cb), f); f 893 src/gtkutil.c xg_prepare_tooltip (struct frame *f, f 898 src/gtkutil.c xp_output *x = f->output_data.xp; f 922 src/gtkutil.c (gpointer)f); f 947 src/gtkutil.c xg_show_tooltip (struct frame *f, int root_x, int root_y) f 949 src/gtkutil.c xp_output *x = f->output_data.xp; f 954 src/gtkutil.c gtk_window_move (x->ttip_window, root_x / xg_get_scale (f), f 955 src/gtkutil.c root_y / xg_get_scale (f)); f 959 src/gtkutil.c gtk_window_move (x->ttip_window, root_x / xg_get_scale (f), f 960 src/gtkutil.c root_y / xg_get_scale (f)); f 971 src/gtkutil.c xg_hide_tooltip (struct frame *f) f 973 src/gtkutil.c if (f->output_data.xp->ttip_window) f 975 src/gtkutil.c GtkWindow *win = f->output_data.xp->ttip_window; f 996 src/gtkutil.c xg_show_tooltip (struct frame *f, f 1000 src/gtkutil.c gtk_widget_set_tooltip_text (FRAME_GTK_OUTER_WIDGET (f) f 1001 src/gtkutil.c ? FRAME_GTK_OUTER_WIDGET (f) f 1002 src/gtkutil.c : FRAME_GTK_WIDGET (f), f 1007 src/gtkutil.c xg_hide_tooltip (struct frame *f) f 1009 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1010 src/gtkutil.c gtk_widget_set_tooltip_text (FRAME_GTK_OUTER_WIDGET (f), NULL); f 1011 src/gtkutil.c gtk_widget_set_tooltip_text (FRAME_GTK_WIDGET (f), NULL); f 1059 src/gtkutil.c xg_set_geometry (struct frame *f) f 1061 src/gtkutil.c if (f->size_hint_flags & (USPosition | PPosition)) f 1063 src/gtkutil.c int scale = xg_get_scale (f); f 1072 src/gtkutil.c if (f->size_hint_flags & XNegative) f 1073 src/gtkutil.c f->left_pos = (x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 1074 src/gtkutil.c - FRAME_PIXEL_WIDTH (f) + f->left_pos); f 1076 src/gtkutil.c if (f->size_hint_flags & YNegative) f 1077 src/gtkutil.c f->top_pos = (x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 1078 src/gtkutil.c - FRAME_PIXEL_HEIGHT (f) + f->top_pos); f 1080 src/gtkutil.c if (f->size_hint_flags & XNegative) f 1081 src/gtkutil.c f->left_pos = (pgtk_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 1082 src/gtkutil.c - FRAME_PIXEL_WIDTH (f) + f->left_pos); f 1084 src/gtkutil.c if (f->size_hint_flags & YNegative) f 1085 src/gtkutil.c f->top_pos = (pgtk_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 1086 src/gtkutil.c - FRAME_PIXEL_HEIGHT (f) + f->top_pos); f 1090 src/gtkutil.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1091 src/gtkutil.c f->left_pos / scale, f->top_pos / scale); f 1094 src/gtkutil.c f->size_hint_flags &= ~ (XNegative | YNegative); f 1100 src/gtkutil.c int left = f->left_pos / scale; f 1101 src/gtkutil.c int xneg = f->size_hint_flags & XNegative; f 1102 src/gtkutil.c int top = f->top_pos / scale; f 1103 src/gtkutil.c int yneg = f->size_hint_flags & YNegative; f 1113 src/gtkutil.c FRAME_PIXEL_WIDTH (f), f 1114 src/gtkutil.c FRAME_PIXEL_HEIGHT (f), f 1122 src/gtkutil.c if (!gtk_window_parse_geometry (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1135 src/gtkutil.c xg_frame_resized (struct frame *f, int width, int height) f 1138 src/gtkutil.c if (width != FRAME_PIXEL_WIDTH (f) f 1139 src/gtkutil.c || height != FRAME_PIXEL_HEIGHT (f) f 1140 src/gtkutil.c || (f->new_size_p f 1141 src/gtkutil.c && ((f->new_width >= 0 && width != f->new_width) f 1142 src/gtkutil.c || (f->new_height >= 0 && height != f->new_height)))) f 1146 src/gtkutil.c (f, build_string ("xg_frame_resized, changed"), f 1147 src/gtkutil.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 1148 src/gtkutil.c f->new_size_p ? f->new_width : -1, f 1149 src/gtkutil.c f->new_size_p ? f->new_height : -1); f 1151 src/gtkutil.c FRAME_RIF (f)->clear_under_internal_border (f); f 1152 src/gtkutil.c change_frame_size (f, width, height, false, true, false); f 1153 src/gtkutil.c SET_FRAME_GARBAGED (f); f 1154 src/gtkutil.c cancel_mouse_face (f); f 1158 src/gtkutil.c (f, build_string ("xg_frame_resized, unchanged"), f 1159 src/gtkutil.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 1160 src/gtkutil.c f->new_size_p ? f->new_width : -1, f 1161 src/gtkutil.c f->new_size_p ? f->new_height : -1); f 1168 src/gtkutil.c xg_frame_set_char_size (struct frame *f, int width, int height) f 1170 src/gtkutil.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1173 src/gtkutil.c = height + FRAME_TOOLBAR_HEIGHT (f) + FRAME_MENUBAR_HEIGHT (f); f 1174 src/gtkutil.c int outer_width = width + FRAME_TOOLBAR_WIDTH (f); f 1179 src/gtkutil.c gtk_window_get_size (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1182 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1184 src/gtkutil.c gtk_window_get_size (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1190 src/gtkutil.c gtk_widget_get_allocation (FRAME_GTK_WIDGET (f), &alloc); f 1197 src/gtkutil.c FRAME_RIF (f)->clear_under_internal_border (f); f 1199 src/gtkutil.c outer_height /= xg_get_scale (f); f 1200 src/gtkutil.c outer_width /= xg_get_scale (f); f 1202 src/gtkutil.c xg_wm_set_size_hint (f, 0, 0); f 1213 src/gtkutil.c if (EQ (fullscreen, Qfullwidth) && width == FRAME_PIXEL_WIDTH (f)) f 1215 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1218 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1220 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1225 src/gtkutil.c gtk_widget_set_size_request (FRAME_GTK_WIDGET (f), f 1229 src/gtkutil.c else if (EQ (fullscreen, Qfullheight) && height == FRAME_PIXEL_HEIGHT (f)) f 1231 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1234 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1236 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1241 src/gtkutil.c gtk_widget_set_size_request (FRAME_GTK_WIDGET (f), f 1245 src/gtkutil.c else if (FRAME_PARENT_FRAME (f) && FRAME_VISIBLE_P (f)) f 1260 src/gtkutil.c gtk_widget_hide (FRAME_GTK_OUTER_WIDGET (f)); f 1262 src/gtkutil.c gtk_widget_hide (FRAME_WIDGET (f)); f 1268 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1271 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1273 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1278 src/gtkutil.c gtk_widget_set_size_request (FRAME_GTK_WIDGET (f), f 1287 src/gtkutil.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 1289 src/gtkutil.c gtk_widget_show_all (FRAME_WIDGET (f)); f 1300 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1303 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1305 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1310 src/gtkutil.c gtk_widget_set_size_request (FRAME_GTK_WIDGET (f), f 1317 src/gtkutil.c SET_FRAME_GARBAGED (f); f 1318 src/gtkutil.c cancel_mouse_face (f); f 1327 src/gtkutil.c if (FRAME_VISIBLE_P (f) && !was_visible) f 1331 src/gtkutil.c (f, build_string ("xg_frame_set_char_size, visible"), f 1332 src/gtkutil.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 1333 src/gtkutil.c f->new_width, f->new_height); f 1339 src/gtkutil.c x_wait_for_event (f, ConfigureNotify); f 1345 src/gtkutil.c store_frame_param (f, Qfullscreen, fullscreen); f 1346 src/gtkutil.c gui_set_fullscreen (f, fullscreen, fullscreen); f 1353 src/gtkutil.c (f, build_string ("xg_frame_set_char_size, invisible"), f 1354 src/gtkutil.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 1355 src/gtkutil.c f->new_width, f->new_height); f 1357 src/gtkutil.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, width), f 1358 src/gtkutil.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, height), f 1368 src/gtkutil.c xg_height_or_width_changed (struct frame *f) f 1370 src/gtkutil.c gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1371 src/gtkutil.c FRAME_TOTAL_PIXEL_WIDTH (f), f 1372 src/gtkutil.c FRAME_TOTAL_PIXEL_HEIGHT (f)); f 1373 src/gtkutil.c f->output_data.xp->hint_flags = 0; f 1374 src/gtkutil.c x_wm_set_size_hint (f, 0, 0); f 1411 src/gtkutil.c xg_set_widget_bg (struct frame *f, GtkWidget *w, unsigned long pixel) f 1417 src/gtkutil.c if (XQueryColor (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), &xbg)) f 1445 src/gtkutil.c gtk_widget_modify_bg (FRAME_GTK_WIDGET (f), GTK_STATE_NORMAL, &bg); f 1488 src/gtkutil.c struct frame *f = XFRAME (frame); f 1489 src/gtkutil.c if (FRAME_LIVE_P (f) f 1491 src/gtkutil.c && FRAME_X_P (f) f 1493 src/gtkutil.c && FRAME_PGTK_P (f) f 1495 src/gtkutil.c && FRAME_X_DISPLAY (f) == dpy) f 1497 src/gtkutil.c FRAME_TERMINAL (f)->set_scroll_bar_default_width_hook (f); f 1498 src/gtkutil.c FRAME_TERMINAL (f)->set_scroll_bar_default_height_hook (f); f 1499 src/gtkutil.c xg_frame_set_char_size (f, FRAME_PIXEL_WIDTH (f), f 1500 src/gtkutil.c FRAME_PIXEL_HEIGHT (f)); f 1522 src/gtkutil.c xg_create_frame_widgets (struct frame *f) f 1539 src/gtkutil.c if (FRAME_X_EMBEDDED_P (f)) f 1541 src/gtkutil.c GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); f 1542 src/gtkutil.c wtop = gtk_plug_new_for_display (gdpy, f->output_data.xp->parent_desc); f 1547 src/gtkutil.c if (f->tooltip) f 1555 src/gtkutil.c gtk_widget_set_app_paintable (wtop, f->alpha_background != 1.0); f 1558 src/gtkutil.c G_CALLBACK (xg_widget_style_updated), f); f 1570 src/gtkutil.c xg_set_screen (wtop, f); f 1578 src/gtkutil.c wfixed = emacs_fixed_new (f); f 1600 src/gtkutil.c if (! NILP (f->title)) f 1601 src/gtkutil.c title = SSDATA (ENCODE_UTF_8 (f->title)); f 1602 src/gtkutil.c else if (! NILP (f->name)) f 1603 src/gtkutil.c title = SSDATA (ENCODE_UTF_8 (f->name)); f 1608 src/gtkutil.c if (FRAME_UNDECORATED (f)) f 1611 src/gtkutil.c store_frame_param (f, Qundecorated, Qt); f 1614 src/gtkutil.c FRAME_GTK_OUTER_WIDGET (f) = wtop; f 1615 src/gtkutil.c FRAME_GTK_WIDGET (f) = wfixed; f 1616 src/gtkutil.c f->output_data.xp->vbox_widget = wvbox; f 1617 src/gtkutil.c f->output_data.xp->hbox_widget = whbox; f 1625 src/gtkutil.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 1626 src/gtkutil.c update_frame_tool_bar (f); f 1648 src/gtkutil.c G_CALLBACK (delete_cb), f); f 1654 src/gtkutil.c xg_set_geometry (f); f 1655 src/gtkutil.c f->win_gravity f 1656 src/gtkutil.c = gtk_window_get_gravity (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 1680 src/gtkutil.c XVisualIDFromVisual (FRAME_X_VISUAL (f))); f 1695 src/gtkutil.c FRAME_X_WINDOW (f) = GTK_WIDGET_TO_X_WIN (wfixed); f 1696 src/gtkutil.c initial_set_up_x_back_buffer (f); f 1701 src/gtkutil.c xg_set_widget_bg (f, wfixed, FRAME_BACKGROUND_PIXEL (f)); f 1721 src/gtkutil.c if (FRAME_OVERRIDE_REDIRECT (f)) f 1730 src/gtkutil.c f->output_data.xp->ttip_widget = 0; f 1731 src/gtkutil.c f->output_data.xp->ttip_lbl = 0; f 1732 src/gtkutil.c f->output_data.xp->ttip_window = 0; f 1735 src/gtkutil.c g_signal_connect (wtop, "query-tooltip", G_CALLBACK (qttip_cb), f); f 1742 src/gtkutil.c G_CALLBACK (xg_im_context_commit), f); f 1747 src/gtkutil.c FRAME_X_OUTPUT (f)->im_context = imc; f 1776 src/gtkutil.c xg_create_frame_outer_widgets (struct frame *f) f 1788 src/gtkutil.c xg_set_screen (wtop, f); f 1800 src/gtkutil.c if (! NILP (f->title)) f 1801 src/gtkutil.c title = SSDATA (ENCODE_UTF_8 (f->title)); f 1802 src/gtkutil.c else if (! NILP (f->name)) f 1803 src/gtkutil.c title = SSDATA (ENCODE_UTF_8 (f->name)); f 1808 src/gtkutil.c if (FRAME_UNDECORATED (f)) f 1811 src/gtkutil.c store_frame_param (f, Qundecorated, Qt); f 1814 src/gtkutil.c FRAME_GTK_OUTER_WIDGET (f) = wtop; f 1815 src/gtkutil.c f->output_data.xp->vbox_widget = wvbox; f 1816 src/gtkutil.c f->output_data.xp->hbox_widget = whbox; f 1821 src/gtkutil.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 1822 src/gtkutil.c update_frame_tool_bar (f); f 1833 src/gtkutil.c xg_set_geometry (f); f 1834 src/gtkutil.c f->win_gravity f 1835 src/gtkutil.c = gtk_window_get_gravity (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 1839 src/gtkutil.c if (FRAME_OVERRIDE_REDIRECT (f)) f 1848 src/gtkutil.c f->output_data.xp->ttip_widget = 0; f 1849 src/gtkutil.c f->output_data.xp->ttip_lbl = 0; f 1850 src/gtkutil.c f->output_data.xp->ttip_window = 0; f 1853 src/gtkutil.c g_signal_connect (wtop, "query-tooltip", G_CALLBACK (qttip_cb), f); f 1877 src/gtkutil.c xg_free_frame_widgets (struct frame *f) f 1879 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1881 src/gtkutil.c xp_output *x = f->output_data.xp; f 1883 src/gtkutil.c = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 1891 src/gtkutil.c eassert (!FRAME_X_DOUBLE_BUFFERED_P (f)); f 1893 src/gtkutil.c g_object_unref (FRAME_X_OUTPUT (f)->im_context); f 1895 src/gtkutil.c gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f)); f 1896 src/gtkutil.c FRAME_X_WINDOW (f) = 0; /* Set to avoid XDestroyWindow in xterm.c */ f 1898 src/gtkutil.c FRAME_X_RAW_DRAWABLE (f) = 0; f 1900 src/gtkutil.c FRAME_GTK_OUTER_WIDGET (f) = 0; f 1920 src/gtkutil.c xg_wm_set_size_hint (struct frame *f, long int flags, bool user_position) f 1927 src/gtkutil.c int win_gravity = f->win_gravity; f 1929 src/gtkutil.c int scale = xg_get_scale (f); f 1935 src/gtkutil.c || !FRAME_GTK_OUTER_WIDGET (f) f 1936 src/gtkutil.c || FRAME_PARENT_FRAME (f)) f 1939 src/gtkutil.c XSETFRAME (frame, f); f 1943 src/gtkutil.c && (x_wm_supports (f, FRAME_DISPLAY_INFO (f)->Xatom_net_wm_state) || f 1944 src/gtkutil.c x_wm_supports (f, FRAME_DISPLAY_INFO (f)->Xatom_net_wm_state_fullscreen)) f 1957 src/gtkutil.c f->output_data.xp->size_hints = size_hints; f 1958 src/gtkutil.c f->output_data.xp->hint_flags = hint_flags; f 1961 src/gtkutil.c flags = f->size_hint_flags; f 1963 src/gtkutil.c size_hints = f->output_data.xp->size_hints; f 1964 src/gtkutil.c hint_flags = f->output_data.xp->hint_flags; f 1967 src/gtkutil.c size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f); f 1968 src/gtkutil.c size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f); f 1974 src/gtkutil.c base_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 1) + FRAME_TOOLBAR_WIDTH (f); f 1975 src/gtkutil.c base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 1) f 1976 src/gtkutil.c + FRAME_MENUBAR_HEIGHT (f) + FRAME_TOOLBAR_HEIGHT (f); f 2026 src/gtkutil.c if (hint_flags != f->output_data.xp->hint_flags f 2028 src/gtkutil.c &f->output_data.xp->size_hints, f 2032 src/gtkutil.c gtk_window_set_geometry_hints (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 2034 src/gtkutil.c f->output_data.xp->size_hints = size_hints; f 2035 src/gtkutil.c f->output_data.xp->hint_flags = hint_flags; f 2047 src/gtkutil.c xg_set_background_color (struct frame *f, unsigned long bg) f 2049 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 2052 src/gtkutil.c xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f)); f 2056 src/gtkutil.c for (bar = FRAME_SCROLL_BARS (f); f 2061 src/gtkutil.c FRAME_X_DISPLAY (f)); f 2063 src/gtkutil.c xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); f 2073 src/gtkutil.c xg_set_undecorated (struct frame *f, Lisp_Object undecorated) f 2076 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2079 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 2082 src/gtkutil.c gtk_window_set_decorated (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 2117 src/gtkutil.c xg_set_skip_taskbar (struct frame *f, Lisp_Object skip_taskbar) f 2121 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 2123 src/gtkutil.c (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 2126 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 2128 src/gtkutil.c (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 2137 src/gtkutil.c xg_set_no_focus_on_map (struct frame *f, Lisp_Object no_focus_on_map) f 2140 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2144 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 2146 src/gtkutil.c GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 2156 src/gtkutil.c xg_set_no_accept_focus (struct frame *f, Lisp_Object no_accept_focus) f 2160 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2162 src/gtkutil.c if (FRAME_WIDGET (f)) f 2163 src/gtkutil.c gtk_widget_set_can_focus (FRAME_WIDGET (f), g_no_accept_focus); f 2168 src/gtkutil.c if (FRAME_GTK_WIDGET (f)) f 2170 src/gtkutil.c GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 2177 src/gtkutil.c xg_set_override_redirect (struct frame *f, Lisp_Object override_redirect) f 2181 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f)) f 2183 src/gtkutil.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 2196 src/gtkutil.c xg_set_frame_icon (struct frame *f, Pixmap icon_pixmap, Pixmap icon_mask) f 2199 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2202 src/gtkutil.c GdkPixbuf *gp = xg_get_pixbuf_from_pix_and_mask (f, f 2206 src/gtkutil.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), gp); f 2457 src/gtkutil.c xg_dialog_run (struct frame *f, GtkWidget *w) f 2462 src/gtkutil.c xg_set_screen (w, f); f 2464 src/gtkutil.c GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 2573 src/gtkutil.c xg_get_file_with_chooser (struct frame *f, f 2583 src/gtkutil.c GtkWindow *gwin = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 2692 src/gtkutil.c xg_get_file_with_selection (struct frame *f, f 2734 src/gtkutil.c xg_get_file_name (struct frame *f, f 2746 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2753 src/gtkutil.c w = xg_get_file_with_selection (f, prompt, default_filename, f 2756 src/gtkutil.c w = xg_get_file_with_chooser (f, prompt, default_filename, f 2760 src/gtkutil.c w = xg_get_file_with_chooser (f, prompt, default_filename, f 2766 src/gtkutil.c filesel_done = xg_dialog_run (f, w); f 2841 src/gtkutil.c xg_get_font (struct frame *f, const char *default_name) f 2848 src/gtkutil.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 2853 src/gtkutil.c ("Pick a font", GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 2887 src/gtkutil.c done = xg_dialog_run (f, w); f 2965 src/gtkutil.c make_cl_data (xg_menu_cb_data *cl_data, struct frame *f, GCallback highlight_cb) f 2970 src/gtkutil.c cl_data->f = f; f 2971 src/gtkutil.c cl_data->menu_bar_vector = f->menu_bar_vector; f 2972 src/gtkutil.c cl_data->menu_bar_items_used = f->menu_bar_items_used; f 2997 src/gtkutil.c struct frame *f, f 3002 src/gtkutil.c cl_data->f = f; f 3003 src/gtkutil.c cl_data->menu_bar_vector = f->menu_bar_vector; f 3004 src/gtkutil.c cl_data->menu_bar_items_used = f->menu_bar_items_used; f 3047 src/gtkutil.c struct frame *f = XFRAME (frame); f 3049 src/gtkutil.c if ((FRAME_X_P (f) || FRAME_PGTK_P (f)) && FRAME_GTK_OUTER_WIDGET (f)) f 3052 src/gtkutil.c = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 3247 src/gtkutil.c struct frame *f, f 3299 src/gtkutil.c struct frame *f = user_data; f 3306 src/gtkutil.c set_frame_menubar (f, true); f 3335 src/gtkutil.c struct frame *f, f 3354 src/gtkutil.c xg_set_screen (wmenu, f); f 3377 src/gtkutil.c G_CALLBACK (menu_bar_button_pressed_cb), f); f 3387 src/gtkutil.c cl_data = make_cl_data (cl_data, f, highlight_cb); f 3432 src/gtkutil.c f, f 3443 src/gtkutil.c f, f 3479 src/gtkutil.c xg_create_widget (const char *type, const char *name, struct frame *f, f 3490 src/gtkutil.c xg_set_screen (w, f); f 3492 src/gtkutil.c GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 3500 src/gtkutil.c f, f 3516 src/gtkutil.c xg_set_cursor (w, FRAME_DISPLAY_INFO (f)->xg_cursor); f 3584 src/gtkutil.c struct frame *f, f 3612 src/gtkutil.c create_menus (val, f, select_cb, deactivate_cb, highlight_cb, f 3709 src/gtkutil.c f, f 3717 src/gtkutil.c GtkWidget *submenu = create_menus (NULL, f, f 3757 src/gtkutil.c xg_update_menubar (menubar, f, list, iter, pos, val, f 3906 src/gtkutil.c struct frame *f, f 3979 src/gtkutil.c nsub = xg_update_submenu (sub, f, cur->contents, f 4009 src/gtkutil.c f, f 4035 src/gtkutil.c xg_modify_menubar_widgets (GtkWidget *menubar, struct frame *f, f 4047 src/gtkutil.c xg_update_menubar (menubar, f, &list, list, 0, val->contents, f 4059 src/gtkutil.c update_cl_data (cl_data, f, highlight_cb); f 4080 src/gtkutil.c f, f 4091 src/gtkutil.c xg_set_screen (newsub, f); f 4109 src/gtkutil.c struct frame *f = user_data; f 4111 src/gtkutil.c req.height *= xg_get_scale (f); f 4112 src/gtkutil.c if (FRAME_MENUBAR_HEIGHT (f) != req.height) f 4114 src/gtkutil.c FRAME_MENUBAR_HEIGHT (f) = req.height; f 4115 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qmenu_bar_lines); f 4123 src/gtkutil.c xg_update_frame_menubar (struct frame *f) f 4125 src/gtkutil.c xp_output *x = f->output_data.xp; f 4127 src/gtkutil.c int scale = xg_get_scale (f); f 4141 src/gtkutil.c g_signal_connect (x->menubar_widget, "map", G_CALLBACK (menubar_map_cb), f); f 4144 src/gtkutil.c req.height *= xg_get_scale (f); f 4147 src/gtkutil.c if (FRAME_DISPLAY_INFO (f)->n_planes == 32) f 4157 src/gtkutil.c if (FRAME_MENUBAR_HEIGHT (f) != (req.height * scale)) f 4159 src/gtkutil.c FRAME_MENUBAR_HEIGHT (f) = req.height * scale; f 4160 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qmenu_bar_lines); f 4169 src/gtkutil.c free_frame_menubar (struct frame *f) f 4171 src/gtkutil.c xp_output *x = f->output_data.xp; f 4181 src/gtkutil.c FRAME_MENUBAR_HEIGHT (f) = 0; f 4182 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qmenu_bar_lines); f 4189 src/gtkutil.c xg_event_is_for_menubar (struct frame *f, const XEvent *event) f 4191 src/gtkutil.c struct x_output *x = f->output_data.x; f 4207 src/gtkutil.c && xev->event_x < FRAME_PIXEL_WIDTH (f) f 4209 src/gtkutil.c && xev->event_y < FRAME_MENUBAR_HEIGHT (f))) f 4215 src/gtkutil.c && event->xbutton.x < FRAME_PIXEL_WIDTH (f) f 4217 src/gtkutil.c && event->xbutton.y < FRAME_MENUBAR_HEIGHT (f) f 4221 src/gtkutil.c gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); f 4240 src/gtkutil.c int scale = xg_get_scale (f); f 4450 src/gtkutil.c xg_get_default_scrollbar_width (struct frame *f) f 4452 src/gtkutil.c return scroll_bar_width_for_theme * xg_get_scale (f); f 4456 src/gtkutil.c xg_get_default_scrollbar_height (struct frame *f) f 4459 src/gtkutil.c return scroll_bar_width_for_theme * xg_get_scale (f); f 4525 src/gtkutil.c xg_finish_scroll_bar_creation (struct frame *f, f 4542 src/gtkutil.c g_object_set_data (G_OBJECT (wscroll), XG_FRAME_DATA, (gpointer) f); f 4574 src/gtkutil.c gtk_fixed_put (GTK_FIXED (f->output_data.xp->edit_widget), webox, -1, -1); f 4577 src/gtkutil.c xg_set_widget_bg (f, webox, FRAME_BACKGROUND_PIXEL (f)); f 4594 src/gtkutil.c xg_set_cursor (webox, FRAME_DISPLAY_INFO (f)->xg_cursor); f 4598 src/gtkutil.c foreground_provider = FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider; f 4599 src/gtkutil.c background_provider = FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider; f 4626 src/gtkutil.c xg_create_scroll_bar (struct frame *f, f 4646 src/gtkutil.c xg_finish_scroll_bar_creation (f, wscroll, bar, scroll_callback, f 4658 src/gtkutil.c xg_create_horizontal_scroll_bar (struct frame *f, f 4678 src/gtkutil.c xg_finish_scroll_bar_creation (f, wscroll, bar, scroll_callback, f 4686 src/gtkutil.c xg_remove_scroll_bar (struct frame *f, ptrdiff_t scrollbar_id) f 4689 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4695 src/gtkutil.c SET_FRAME_GARBAGED (f); f 4705 src/gtkutil.c xg_update_scrollbar_pos (struct frame *f, f 4713 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4716 src/gtkutil.c GtkWidget *wfixed = f->output_data.xp->edit_widget; f 4722 src/gtkutil.c int scale = xg_get_scale (f); f 4771 src/gtkutil.c x_clear_area (f, oldx, oldy, oldw, oldh); f 4773 src/gtkutil.c pgtk_clear_area (f, oldx, oldy, oldw, oldh); f 4780 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4785 src/gtkutil.c XLowerWindow (FRAME_X_DISPLAY (f), GTK_WIDGET_TO_X_WIN (webox)); f 4796 src/gtkutil.c XSync (FRAME_X_DISPLAY (f), False); f 4800 src/gtkutil.c SET_FRAME_GARBAGED (f); f 4801 src/gtkutil.c cancel_mouse_face (f); f 4812 src/gtkutil.c xg_update_horizontal_scrollbar_pos (struct frame *f, f 4820 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4824 src/gtkutil.c GtkWidget *wfixed = f->output_data.xp->edit_widget; f 4830 src/gtkutil.c int scale = xg_get_scale (f); f 4874 src/gtkutil.c x_clear_area (f, oldx, oldy, oldw, oldh); f 4876 src/gtkutil.c pgtk_clear_area (f, oldx, oldy, oldw, oldh); f 4885 src/gtkutil.c xg_get_widget_from_map (scrollbar_id, FRAME_X_DISPLAY (f)); f 4890 src/gtkutil.c XLowerWindow (FRAME_X_DISPLAY (f), GTK_WIDGET_TO_X_WIN (webox)); f 4897 src/gtkutil.c XSync (FRAME_X_DISPLAY (f), False); f 4901 src/gtkutil.c SET_FRAME_GARBAGED (f); f 4902 src/gtkutil.c cancel_mouse_face (f); f 4925 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4927 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4966 src/gtkutil.c new_step = size / max (1, FRAME_LINES (f)); f 5013 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 5015 src/gtkutil.c FRAME_X_DISPLAY (f)); f 5047 src/gtkutil.c xg_event_is_for_scrollbar (struct frame *f, const EVENT *event, f 5054 src/gtkutil.c if (f && ((FRAME_DISPLAY_INFO (f)->supports_xi2 f 5057 src/gtkutil.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 5064 src/gtkutil.c if (f f 5075 src/gtkutil.c GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); f 5077 src/gtkutil.c GdkDisplay *gdpy = FRAME_X_DISPLAY (f); f 5092 src/gtkutil.c retval = gwin != gtk_widget_get_window (f->output_data.xp->edit_widget); f 5095 src/gtkutil.c else if (f && ((FRAME_DISPLAY_INFO (f)->supports_xi2 f 5098 src/gtkutil.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 5106 src/gtkutil.c else if (f f 5173 src/gtkutil.c #define GETSETUP(f) make_float (f (page_setup, GTK_UNIT_POINTS)) f 5190 src/gtkutil.c struct frame *f = XFRAME (Fnth (make_fixnum (page_nr), frames)); f 5194 src/gtkutil.c x_cr_draw_frame (cr, f); f 5196 src/gtkutil.c pgtk_cr_draw_frame (cr, f); f 5279 src/gtkutil.c struct frame *f = g_object_get_data (G_OBJECT (w), XG_FRAME_DATA); f 5284 src/gtkutil.c if (! f || ! f->n_tool_bar_items || NILP (f->tool_bar_items)) f 5289 src/gtkutil.c key = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_KEY); f 5290 src/gtkutil.c XSETFRAME (frame, f); f 5299 src/gtkutil.c event.modifiers = x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), mod); f 5301 src/gtkutil.c event.modifiers = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), mod); f 5307 src/gtkutil.c FRAME_TERMINAL (f)->focus_frame_hook (f, false); f 5338 src/gtkutil.c struct frame *f = g_object_get_data (G_OBJECT (w), XG_FRAME_DATA); f 5341 src/gtkutil.c if (! f || ! f->n_tool_bar_items || NILP (f->tool_bar_items)) f 5347 src/gtkutil.c help = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_HELP); f 5350 src/gtkutil.c help = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_CAPTION); f 5355 src/gtkutil.c XSETFRAME (frame, f); f 5397 src/gtkutil.c xg_pack_tool_bar (struct frame *f, Lisp_Object pos) f 5399 src/gtkutil.c xp_output *x = f->output_data.xp; f 5434 src/gtkutil.c static bool xg_update_tool_bar_sizes (struct frame *f); f 5444 src/gtkutil.c struct frame *f = user_data; f 5446 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 5447 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, false, Qtool_bar_lines); f 5453 src/gtkutil.c xg_create_tool_bar (struct frame *f) f 5455 src/gtkutil.c xp_output *x = f->output_data.xp; f 5460 src/gtkutil.c = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5470 src/gtkutil.c g_object_set_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5483 src/gtkutil.c G_CALLBACK (tb_size_cb), f); f 5491 src/gtkutil.c #define PROP(IDX) AREF (f->tool_bar_items, i * TOOL_BAR_ITEM_NSLOTS + (IDX)) f 5497 src/gtkutil.c find_rtl_image (struct frame *f, Lisp_Object image, Lisp_Object rtl) f 5504 src/gtkutil.c for (i = 0; i < f->n_tool_bar_items; ++i) f 5523 src/gtkutil.c xg_make_tool_item (struct frame *f, f 5582 src/gtkutil.c g_object_set_data (G_OBJECT (weventbox), XG_FRAME_DATA, (gpointer)f); f 5601 src/gtkutil.c g_object_set_data (G_OBJECT (wb), XG_FRAME_DATA, (gpointer)f); f 5692 src/gtkutil.c xg_update_tool_bar_sizes (struct frame *f) f 5694 src/gtkutil.c xp_output *x = f->output_data.xp; f 5698 src/gtkutil.c int scale = xg_get_scale (f); f 5724 src/gtkutil.c if (nl != FRAME_TOOLBAR_LEFT_WIDTH (f) f 5725 src/gtkutil.c || nr != FRAME_TOOLBAR_RIGHT_WIDTH (f) f 5726 src/gtkutil.c || nt != FRAME_TOOLBAR_TOP_HEIGHT (f) f 5727 src/gtkutil.c || nb != FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 5729 src/gtkutil.c FRAME_TOOLBAR_RIGHT_WIDTH (f) = FRAME_TOOLBAR_LEFT_WIDTH (f) f 5730 src/gtkutil.c = FRAME_TOOLBAR_TOP_HEIGHT (f) = FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = 0; f 5731 src/gtkutil.c FRAME_TOOLBAR_LEFT_WIDTH (f) = nl; f 5732 src/gtkutil.c FRAME_TOOLBAR_RIGHT_WIDTH (f) = nr; f 5733 src/gtkutil.c FRAME_TOOLBAR_TOP_HEIGHT (f) = nt; f 5734 src/gtkutil.c FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = nb; f 5782 src/gtkutil.c update_frame_tool_bar (struct frame *f) f 5785 src/gtkutil.c xp_output *x = f->output_data.xp; f 5797 src/gtkutil.c if (! FRAME_GTK_WIDGET (f)) f 5801 src/gtkutil.c if (! FRAME_GTK_OUTER_WIDGET (f)) f 5829 src/gtkutil.c xg_create_tool_bar (f); f 5839 src/gtkutil.c tbinfo = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5842 src/gtkutil.c if (! NILP (tbinfo->last_tool_bar) && ! NILP (f->tool_bar_items) f 5843 src/gtkutil.c && tbinfo->n_last_items == f->n_tool_bar_items f 5847 src/gtkutil.c && ! NILP (Fequal (tbinfo->last_tool_bar, f->tool_bar_items))) f 5853 src/gtkutil.c tbinfo->last_tool_bar = f->tool_bar_items; f 5854 src/gtkutil.c tbinfo->n_last_items = f->n_tool_bar_items; f 5863 src/gtkutil.c for (i = j = 0; i < f->n_tool_bar_items; ++i) f 5955 src/gtkutil.c image = find_rtl_image (f, image, rtl); f 5974 src/gtkutil.c img_id = lookup_image (f, image, -1); f 5975 src/gtkutil.c img = IMAGE_FROM_ID (f, img_id); f 5976 src/gtkutil.c prepare_image_for_display (f, img); f 6035 src/gtkutil.c w = xg_get_image_for_pixmap (f, img, x->widget, NULL); f 6056 src/gtkutil.c ti = xg_make_tool_item (f, w, &wbutton, f 6078 src/gtkutil.c if (f->n_tool_bar_items != 0) f 6081 src/gtkutil.c xg_pack_tool_bar (f, FRAME_TOOL_BAR_POSITION (f)); f 6083 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 6086 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6088 src/gtkutil.c f->tool_bar_resized = f->tool_bar_redisplayed; f 6098 src/gtkutil.c free_frame_tool_bar (struct frame *f) f 6100 src/gtkutil.c xp_output *x = f->output_data.xp; f 6123 src/gtkutil.c FRAME_TOOLBAR_TOP_HEIGHT (f) = FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = 0; f 6124 src/gtkutil.c FRAME_TOOLBAR_LEFT_WIDTH (f) = FRAME_TOOLBAR_RIGHT_WIDTH (f) = 0; f 6126 src/gtkutil.c tbinfo = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6131 src/gtkutil.c g_object_set_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6136 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6143 src/gtkutil.c xg_change_toolbar_position (struct frame *f, Lisp_Object pos) f 6145 src/gtkutil.c xp_output *x = f->output_data.xp; f 6163 src/gtkutil.c xg_pack_tool_bar (f, pos); f 6166 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 6167 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6294 src/gtkutil.c struct frame *f = user_data; f 6319 src/gtkutil.c dpyinfo = FRAME_DISPLAY_INFO (f); f 6334 src/gtkutil.c XSETFRAME (ie.frame_or_window, f); f 6384 src/gtkutil.c struct frame *f = NULL; f 6399 src/gtkutil.c f = XFRAME (tem); f 6404 src/gtkutil.c if (!f) f 6412 src/gtkutil.c = FRAME_DISPLAY_INFO (f)->pending_keystroke_time; f 6415 src/gtkutil.c FRAME_DISPLAY_INFO (f)->pending_keystroke_time = 0; f 6419 src/gtkutil.c && !FRAME_DISPLAY_INFO (f)->prefer_native_input) f 6423 src/gtkutil.c XSETFRAME (inev.ie.frame_or_window, f); f 6425 src/gtkutil.c xstate = xg_virtual_mods_to_x (FRAME_DISPLAY_INFO (f), f 6429 src/gtkutil.c |= x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), xstate); f 6435 src/gtkutil.c source = xi_device_from_id (FRAME_DISPLAY_INFO (f), f 6436 src/gtkutil.c FRAME_DISPLAY_INFO (f)->pending_keystroke_source); f 6553 src/gtkutil.c XNoOp (FRAME_X_DISPLAY (f)); f 6665 src/gtkutil.c struct frame *f = user_data; f 6667 src/gtkutil.c if (f->alpha_background < 1.0) f 6670 src/gtkutil.c XChangeProperty (FRAME_X_DISPLAY (f), f 6671 src/gtkutil.c FRAME_X_WINDOW (f), f 6672 src/gtkutil.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 6676 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f) f 6677 src/gtkutil.c && gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f))) f 6678 src/gtkutil.c gdk_window_set_opaque_region (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 67 src/gtkutil.h struct frame *f; f 88 src/gtkutil.h extern char *xg_get_file_name (struct frame *f, f 94 src/gtkutil.h extern Lisp_Object xg_get_font (struct frame *f, const char *); f 98 src/gtkutil.h struct frame *f, f 105 src/gtkutil.h struct frame *f, f 112 src/gtkutil.h extern void xg_update_frame_menubar (struct frame *f); f 118 src/gtkutil.h extern void xg_create_scroll_bar (struct frame *f, f 123 src/gtkutil.h extern void xg_create_horizontal_scroll_bar (struct frame *f, f 128 src/gtkutil.h extern void xg_remove_scroll_bar (struct frame *f, ptrdiff_t scrollbar_id); f 130 src/gtkutil.h extern void xg_update_scrollbar_pos (struct frame *f, f 136 src/gtkutil.h extern void xg_update_horizontal_scrollbar_pos (struct frame *f, f 153 src/gtkutil.h extern int xg_get_default_scrollbar_width (struct frame *f); f 154 src/gtkutil.h extern int xg_get_default_scrollbar_height (struct frame *f); f 158 src/gtkutil.h extern void update_frame_tool_bar (struct frame *f); f 159 src/gtkutil.h extern void free_frame_tool_bar (struct frame *f); f 160 src/gtkutil.h extern void xg_change_toolbar_position (struct frame *f, Lisp_Object pos); f 162 src/gtkutil.h extern void xg_frame_resized (struct frame *f, f 165 src/gtkutil.h extern void xg_frame_set_char_size (struct frame *f, int width, int height); f 168 src/gtkutil.h extern int xg_get_scale (struct frame *f); f 179 src/gtkutil.h extern bool xg_create_frame_widgets (struct frame *f); f 180 src/gtkutil.h extern void xg_free_frame_widgets (struct frame *f); f 181 src/gtkutil.h extern void xg_set_background_color (struct frame *f, unsigned long bg); f 182 src/gtkutil.h extern bool xg_check_special_colors (struct frame *f, f 186 src/gtkutil.h extern void xg_create_frame_outer_widgets (struct frame *f); f 190 src/gtkutil.h extern void xg_set_frame_icon (struct frame *f, f 195 src/gtkutil.h extern void xg_set_undecorated (struct frame *f, Lisp_Object undecorated); f 197 src/gtkutil.h extern void xg_set_skip_taskbar (struct frame *f, Lisp_Object skip_taskbar); f 198 src/gtkutil.h extern void xg_set_no_focus_on_map (struct frame *f, Lisp_Object no_focus_on_map); f 199 src/gtkutil.h extern void xg_set_no_accept_focus (struct frame *f, Lisp_Object no_accept_focus); f 200 src/gtkutil.h extern void xg_set_override_redirect (struct frame *f, Lisp_Object override_redirect); f 202 src/gtkutil.h extern bool xg_prepare_tooltip (struct frame *f, f 207 src/gtkutil.h extern void xg_show_tooltip (struct frame *f, int root_x, int root_y); f 209 src/gtkutil.h extern void xg_show_tooltip (struct frame *f, Lisp_Object string); f 211 src/gtkutil.h extern bool xg_hide_tooltip (struct frame *f); f 868 src/haiku_font_support.cc font_family f; f 870 src/haiku_font_support.cc be_fixed_font->GetFamilyAndStyle (&f, &s); f 873 src/haiku_font_support.cc strncpy (ptn->family, f, sizeof ptn->family - 1); f 880 src/haiku_font_support.cc font_family f; f 882 src/haiku_font_support.cc be_plain_font->GetFamilyAndStyle (&f, &s); f 885 src/haiku_font_support.cc strncpy (ptn->family, f, sizeof ptn->family - 1); f 732 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f = next) f 734 src/haiku_support.cc if (f->window->LockLooper ()) f 736 src/haiku_support.cc f->window->Unparent (); f 737 src/haiku_support.cc f->window->UnlockLooper (); f 738 src/haiku_support.cc next = f->next; f 739 src/haiku_support.cc delete f; f 775 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 776 src/haiku_support.cc f = f->next) f 777 src/haiku_support.cc f->window->UpwardsSubsetChildren (w); f 797 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 798 src/haiku_support.cc f = f->next) f 799 src/haiku_support.cc f->window->UpwardsUnSubsetChildren (w); f 874 src/haiku_support.cc struct child_frame *f = new struct child_frame; f 876 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 877 src/haiku_support.cc f = f->next) f 879 src/haiku_support.cc if (window == f->window) f 883 src/haiku_support.cc f->window = window; f 884 src/haiku_support.cc f->next = subset_windows; f 885 src/haiku_support.cc f->xoff = -1; f 886 src/haiku_support.cc f->yoff = -1; f 888 src/haiku_support.cc subset_windows = f; f 904 src/haiku_support.cc DoMove (struct child_frame *f) f 907 src/haiku_support.cc f->window->MoveToIncludingFrame (frame.left + f->xoff, f 908 src/haiku_support.cc frame.top + f->yoff); f 912 src/haiku_support.cc DoUpdateWorkspace (struct child_frame *f) f 914 src/haiku_support.cc f->window->SetWorkspaces (this->Workspaces ()); f 924 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 925 src/haiku_support.cc f = f->next) f 927 src/haiku_support.cc if (window == f->window) f 929 src/haiku_support.cc f->xoff = xoff; f 930 src/haiku_support.cc f->yoff = yoff; f 932 src/haiku_support.cc DoMove (f); f 1142 src/haiku_support.cc struct child_frame *f; f 1174 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1175 src/haiku_support.cc DoMove (f); f 1185 src/haiku_support.cc struct child_frame *f; f 1189 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1190 src/haiku_support.cc DoUpdateWorkspace (f); f 1390 src/haiku_support.cc for (struct child_frame *f; f; f = f->next) f 1391 src/haiku_support.cc if (f->window == c) f 1393 src/haiku_support.cc r->top -= f->yoff; f 1394 src/haiku_support.cc r->bottom -= f->yoff; f 1395 src/haiku_support.cc r->left -= f->xoff; f 1396 src/haiku_support.cc r->right -= f->xoff; f 113 src/haikufns.c haiku_update_after_decoration_change (struct frame *f) f 120 src/haikufns.c if (!FRAME_OUTPUT_DATA (f)->configury_done) f 123 src/haikufns.c be_send_move_frame_event (FRAME_HAIKU_WINDOW (f)); f 127 src/haikufns.c haiku_change_tool_bar_height (struct frame *f, int height) f 129 src/haikufns.c int unit = FRAME_LINE_HEIGHT (f); f 130 src/haikufns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 132 src/haikufns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 135 src/haikufns.c fset_redisplay (f); f 137 src/haikufns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 138 src/haikufns.c FRAME_TOOL_BAR_LINES (f) = lines; f 139 src/haikufns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 141 src/haikufns.c if (FRAME_HAIKU_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 143 src/haikufns.c clear_frame (f); f 144 src/haikufns.c clear_current_matrices (f); f 147 src/haikufns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 148 src/haikufns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 150 src/haikufns.c if (!f->tool_bar_resized) f 155 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 158 src/haikufns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 160 src/haikufns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 164 src/haikufns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 168 src/haikufns.c adjust_frame_glyphs (f); f 169 src/haikufns.c SET_FRAME_GARBAGED (f); f 171 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 172 src/haikufns.c haiku_clear_under_internal_border (f); f 176 src/haikufns.c haiku_change_tab_bar_height (struct frame *f, int height) f 178 src/haikufns.c int unit = FRAME_LINE_HEIGHT (f); f 179 src/haikufns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 191 src/haikufns.c fset_redisplay (f); f 194 src/haikufns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 195 src/haikufns.c FRAME_TAB_BAR_LINES (f) = lines; f 196 src/haikufns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 198 src/haikufns.c if (FRAME_HAIKU_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 200 src/haikufns.c clear_frame (f); f 201 src/haikufns.c clear_current_matrices (f); f 204 src/haikufns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 205 src/haikufns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 207 src/haikufns.c if (!f->tab_bar_resized) f 209 src/haikufns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 214 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 217 src/haikufns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 219 src/haikufns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 223 src/haikufns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 227 src/haikufns.c adjust_frame_glyphs (f); f 228 src/haikufns.c SET_FRAME_GARBAGED (f); f 229 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 230 src/haikufns.c haiku_clear_under_internal_border (f); f 234 src/haikufns.c haiku_set_no_focus_on_map (struct frame *f, Lisp_Object value, f 238 src/haikufns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (value); f 242 src/haikufns.c haiku_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 244 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 249 src/haikufns.c if (FRAME_MINIBUF_ONLY_P (f)) f 258 src/haikufns.c haiku_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 262 src/haikufns.c haiku_set_tool_bar_position (struct frame *f, f 273 src/haikufns.c fset_tool_bar_position (f, new_value); f 280 src/haikufns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_position); f 281 src/haikufns.c adjust_frame_glyphs (f); f 282 src/haikufns.c SET_FRAME_GARBAGED (f); f 284 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 285 src/haikufns.c haiku_clear_under_internal_border (f); f 289 src/haikufns.c haiku_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 291 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 293 src/haikufns.c int olines = FRAME_TAB_BAR_LINES (f); f 297 src/haikufns.c if (FRAME_MINIBUF_ONLY_P (f)) f 307 src/haikufns.c haiku_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 311 src/haikufns.c gamma_correct (struct frame *f, Emacs_Color *color) f 313 src/haikufns.c if (f->gamma) f 315 src/haikufns.c color->red = (pow (color->red / 65535.0, f->gamma) f 317 src/haikufns.c color->green = (pow (color->green / 65535.0, f->gamma) f 319 src/haikufns.c color->blue = (pow (color->blue / 65535.0, f->gamma) f 440 src/haikufns.c struct frame *f = decode_window_system_frame (object); f 441 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 448 src/haikufns.c haiku_set_title_bar_text (struct frame *f, Lisp_Object text) f 450 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 453 src/haikufns.c BWindow_retitle (FRAME_HAIKU_WINDOW (f), SSDATA (ENCODE_UTF_8 (text))); f 459 src/haikufns.c haiku_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 462 src/haikufns.c if (EQ (name, f->title)) f 467 src/haikufns.c fset_title (f, name); f 470 src/haikufns.c name = f->name; f 472 src/haikufns.c haiku_set_title_bar_text (f, name); f 476 src/haikufns.c haiku_set_child_frame_border_width (struct frame *f, f 488 src/haikufns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 490 src/haikufns.c f->child_frame_border_width = border; f 492 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 493 src/haikufns.c adjust_frame_size (f, -1, -1, 3, 0, Qchild_frame_border_width); f 495 src/haikufns.c SET_FRAME_GARBAGED (f); f 500 src/haikufns.c haiku_set_parent_frame (struct frame *f, Lisp_Object new_value, f 510 src/haikufns.c store_frame_param (f, Qparent_frame, old_value); f 523 src/haikufns.c EmacsWindow_unparent (FRAME_HAIKU_WINDOW (f)); f 524 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = NULL; f 529 src/haikufns.c EmacsWindow_parent_to (FRAME_HAIKU_WINDOW (f), f 531 src/haikufns.c BWindow_set_offset (FRAME_HAIKU_WINDOW (f), f 532 src/haikufns.c f->left_pos, f->top_pos); f 536 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = FRAME_HAIKU_WINDOW (p); f 538 src/haikufns.c fset_parent_frame (f, new_value); f 543 src/haikufns.c haiku_set_z_group (struct frame *f, Lisp_Object new_value, f 550 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 558 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_NONE); f 559 src/haikufns.c FRAME_Z_GROUP (f) = z_group_none; f 563 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_ABOVE); f 564 src/haikufns.c FRAME_Z_GROUP (f) = z_group_above; f 568 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_BELOW); f 569 src/haikufns.c FRAME_Z_GROUP (f) = z_group_below; f 580 src/haikufns.c haiku_update_after_decoration_change (f); f 584 src/haikufns.c haiku_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 586 src/haikufns.c haiku_set_name (f, arg, 1); f 590 src/haikufns.c haiku_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 593 src/haikufns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 596 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 597 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), f 598 src/haikufns.c FRAME_NO_ACCEPT_FOCUS (f)); f 603 src/haikufns.c initial_setup_back_buffer (struct frame *f) f 606 src/haikufns.c if (NILP (CDR (Fassq (Qinhibit_double_buffering, f->param_alist)))) f 607 src/haikufns.c EmacsView_set_up_double_buffering (FRAME_HAIKU_VIEW (f)); f 614 src/haikufns.c struct frame *f = XFRAME (frame); f 619 src/haikufns.c if (!FRAME_LIVE_P (f)) f 626 src/haikufns.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 636 src/haikufns.c if (FRAME_IMAGE_CACHE (f) != NULL f 637 src/haikufns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 638 src/haikufns.c FRAME_IMAGE_CACHE (f)->refcount++; f 640 src/haikufns.c haiku_free_frame_resources (f); f 641 src/haikufns.c free_glyphs (f); f 660 src/haikufns.c haiku_decode_color (struct frame *f, Lisp_Object color_name) f 673 src/haikufns.c haiku_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 678 src/haikufns.c fg = haiku_decode_color (f, arg); f 679 src/haikufns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 680 src/haikufns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 681 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 683 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 688 src/haikufns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 690 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 691 src/haikufns.c redraw_frame (f); f 698 src/haikufns.c struct frame *f, *cascade_target; f 752 src/haikufns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 755 src/haikufns.c f = make_minibuffer_frame (); f 759 src/haikufns.c f = make_frame_without_minibuffer (tem, kb, display); f 761 src/haikufns.c f = make_frame (1); f 763 src/haikufns.c XSETFRAME (frame, f); f 765 src/haikufns.c f->terminal = dpyinfo->terminal; f 767 src/haikufns.c f->output_method = output_haiku; f 768 src/haikufns.c f->output_data.haiku = xzalloc (sizeof *f->output_data.haiku); f 769 src/haikufns.c f->output_data.haiku->wait_for_event_type = -1; f 770 src/haikufns.c f->output_data.haiku->relief_background = -1; f 772 src/haikufns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, parms, Qicon_name, f 775 src/haikufns.c if (! STRINGP (f->icon_name)) f 776 src/haikufns.c fset_icon_name (f, Qnil); f 778 src/haikufns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 787 src/haikufns.c fset_name (f, Vinvocation_name); f 788 src/haikufns.c f->explicit_name = 0; f 792 src/haikufns.c fset_name (f, name); f 793 src/haikufns.c f->explicit_name = 1; f 798 src/haikufns.c register_font_driver (&ftcrfont_driver, f); f 800 src/haikufns.c register_font_driver (&ftcrhbfont_driver, f); f 803 src/haikufns.c register_font_driver (&haikufont_driver, f); f 806 src/haikufns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 808 src/haikufns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 811 src/haikufns.c FRAME_RIF (f)->default_font_parameter (f, parms); f 813 src/haikufns.c if (!FRAME_FONT (f)) f 819 src/haikufns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 821 src/haikufns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (0), f 824 src/haikufns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 827 src/haikufns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 829 src/haikufns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 831 src/haikufns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, Qt, f 834 src/haikufns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 837 src/haikufns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 839 src/haikufns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 841 src/haikufns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("font-color"), f 843 src/haikufns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 845 src/haikufns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 847 src/haikufns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 849 src/haikufns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 852 src/haikufns.c init_frame_faces (f); f 858 src/haikufns.c store_frame_param (f, Qmin_width, tem); f 862 src/haikufns.c store_frame_param (f, Qmin_height, tem); f 864 src/haikufns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 865 src/haikufns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, 1, f 868 src/haikufns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 870 src/haikufns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 876 src/haikufns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 880 src/haikufns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 884 src/haikufns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 888 src/haikufns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, "bufferPredicate", f 890 src/haikufns.c gui_default_parameter (f, parms, Qtitle, Qnil, "title", "Title", f 894 src/haikufns.c window_prompting = gui_figure_window_size (f, parms, false, true); f 898 src/haikufns.c f->no_split = minibuffer_only || (!BASE_EQ (tem, Qunbound) && !NILP (tem)); f 900 src/haikufns.c f->terminal->reference_count++; f 902 src/haikufns.c FRAME_OUTPUT_DATA (f)->window = BWindow_new (&FRAME_OUTPUT_DATA (f)->view); f 904 src/haikufns.c if (!FRAME_OUTPUT_DATA (f)->window) f 908 src/haikufns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 909 src/haikufns.c initialize_frame_menubar (f); f 929 src/haikufns.c fset_parent_frame (f, parent_frame); f 930 src/haikufns.c store_frame_param (f, Qparent_frame, parent_frame); f 933 src/haikufns.c haiku_set_parent_frame (f, parent_frame, Qnil); f 935 src/haikufns.c gui_default_parameter (f, parms, Qundecorated, Qnil, NULL, NULL, RES_TYPE_BOOLEAN); f 936 src/haikufns.c gui_default_parameter (f, parms, Qoverride_redirect, Qnil, NULL, NULL, RES_TYPE_BOOLEAN); f 938 src/haikufns.c gui_default_parameter (f, parms, Qicon_type, Qnil, f 940 src/haikufns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 942 src/haikufns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 944 src/haikufns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 946 src/haikufns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 949 src/haikufns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 952 src/haikufns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 954 src/haikufns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 956 src/haikufns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 959 src/haikufns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 963 src/haikufns.c f->can_set_window_size = true; f 965 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 975 src/haikufns.c haiku_iconify_frame (f); f 977 src/haikufns.c haiku_visualize_frame (f); f 980 src/haikufns.c f->was_invisible = true; f 983 src/haikufns.c if (FRAME_HAS_MINIBUF_P (f) f 989 src/haikufns.c gui_default_parameter (f, parms, Quse_frame_synchronization, Qt, f 992 src/haikufns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 997 src/haikufns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 1001 src/haikufns.c haiku_set_offset (f, f->left_pos, f->top_pos, 1); f 1003 src/haikufns.c haiku_set_offset (f, cascade_target->left_pos + 15, f 1006 src/haikufns.c BWindow_center_on_screen (FRAME_HAIKU_WINDOW (f)); f 1009 src/haikufns.c FRAME_OUTPUT_DATA (f)->configury_done = true; f 1011 src/haikufns.c if (f->want_fullscreen != FULLSCREEN_NONE) f 1012 src/haikufns.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 1033 src/haikufns.c struct frame *f; f 1054 src/haikufns.c f = make_frame (false); f 1055 src/haikufns.c f->wants_modeline = false; f 1056 src/haikufns.c XSETFRAME (frame, f); f 1059 src/haikufns.c f->terminal = dpyinfo->terminal; f 1065 src/haikufns.c f->output_method = output_haiku; f 1066 src/haikufns.c f->output_data.haiku = xzalloc (sizeof *f->output_data.haiku); f 1067 src/haikufns.c f->output_data.haiku->wait_for_event_type = -1; f 1068 src/haikufns.c f->output_data.haiku->relief_background = -1; f 1070 src/haikufns.c f->tooltip = true; f 1071 src/haikufns.c fset_icon_name (f, Qnil); f 1072 src/haikufns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 1074 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = NULL; f 1079 src/haikufns.c f->explicit_name = false; f 1082 src/haikufns.c fset_name (f, name); f 1083 src/haikufns.c f->explicit_name = true; f 1089 src/haikufns.c register_font_driver (&ftcrfont_driver, f); f 1091 src/haikufns.c register_font_driver (&ftcrhbfont_driver, f); f 1094 src/haikufns.c register_font_driver (&haikufont_driver, f); f 1097 src/haikufns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 1099 src/haikufns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 1104 src/haikufns.c FRAME_RIF (f)->default_font_parameter (f, parms); f 1121 src/haikufns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 1125 src/haikufns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 1127 src/haikufns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 1131 src/haikufns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 1134 src/haikufns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 1139 src/haikufns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("font-color"), f 1141 src/haikufns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 1143 src/haikufns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 1145 src/haikufns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 1151 src/haikufns.c init_frame_faces (f); f 1153 src/haikufns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1157 src/haikufns.c gui_figure_window_size (f, parms, false, false); f 1163 src/haikufns.c window = BWindow_new (&FRAME_OUTPUT_DATA (f)->view); f 1165 src/haikufns.c FRAME_OUTPUT_DATA (f)->window = window; f 1173 src/haikufns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1175 src/haikufns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1177 src/haikufns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1179 src/haikufns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1181 src/haikufns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 1184 src/haikufns.c initial_setup_back_buffer (f); f 1233 src/haikufns.c f->no_split = true; f 1237 src/haikufns.c f->terminal->reference_count++; f 1243 src/haikufns.c f->can_set_window_size = true; f 1244 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1260 src/haikufns.c compute_tip_xy (struct frame *f, f 1290 src/haikufns.c BView_get_mouse (FRAME_HAIKU_VIEW (f), &x, &y); f 1291 src/haikufns.c BView_convert_to_screen (FRAME_HAIKU_VIEW (f), &x, &y); f 1383 src/haikufns.c haiku_set_undecorated (struct frame *f, Lisp_Object new_value, f 1390 src/haikufns.c FRAME_UNDECORATED (f) = !NILP (new_value); f 1391 src/haikufns.c BWindow_change_decoration (FRAME_HAIKU_WINDOW (f), NILP (new_value)); f 1394 src/haikufns.c haiku_update_after_decoration_change (f); f 1398 src/haikufns.c haiku_set_override_redirect (struct frame *f, Lisp_Object new_value, f 1405 src/haikufns.c BWindow_set_override_redirect (FRAME_HAIKU_WINDOW (f), f 1407 src/haikufns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 1410 src/haikufns.c haiku_update_after_decoration_change (f); f 1414 src/haikufns.c haiku_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1418 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 1426 src/haikufns.c fset_redisplay (f); f 1430 src/haikufns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 1431 src/haikufns.c if (FRAME_HAIKU_P (f) && !FRAME_HAIKU_MENU_BAR (f)) f 1432 src/haikufns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = 1; f 1436 src/haikufns.c FRAME_MENU_BAR_LINES (f) = 0; f 1437 src/haikufns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1439 src/haikufns.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 1440 src/haikufns.c free_frame_menubar (f); f 1442 src/haikufns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 1443 src/haikufns.c FRAME_HAIKU_MENU_BAR (f) = 0; f 1446 src/haikufns.c adjust_frame_glyphs (f); f 1458 src/haikufns.c struct frame *f, *parent; f 1467 src/haikufns.c f = decode_window_system_frame (frame); f 1468 src/haikufns.c parent = FRAME_PARENT_FRAME (f); f 1469 src/haikufns.c window = FRAME_HAIKU_WINDOW (f); f 1478 src/haikufns.c native_x = FRAME_OUTPUT_DATA (f)->frame_x; f 1479 src/haikufns.c native_y = FRAME_OUTPUT_DATA (f)->frame_y; f 1491 src/haikufns.c internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 1494 src/haikufns.c inner_right = (native_x + FRAME_PIXEL_WIDTH (f) f 1496 src/haikufns.c inner_bottom = (native_y + FRAME_PIXEL_HEIGHT (f) f 1499 src/haikufns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 1501 src/haikufns.c ? (FRAME_PIXEL_WIDTH (f) - 2 f 1506 src/haikufns.c tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 1511 src/haikufns.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qtop)) f 1522 src/haikufns.c native_x + FRAME_PIXEL_WIDTH (f), f 1523 src/haikufns.c native_y + FRAME_PIXEL_HEIGHT (f)); f 1541 src/haikufns.c Fcons (make_fixnum (FRAME_PIXEL_WIDTH (f) f 1542 src/haikufns.c - (FRAME_INTERNAL_BORDER_WIDTH (f) f 1544 src/haikufns.c make_fixnum (FRAME_MENU_BAR_HEIGHT (f)))), f 1549 src/haikufns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 1551 src/haikufns.c Fcons (make_fixnum (FRAME_PIXEL_WIDTH (f) f 1552 src/haikufns.c - (FRAME_INTERNAL_BORDER_WIDTH (f) f 1554 src/haikufns.c make_fixnum (FRAME_TOOL_BAR_HEIGHT (f)))), f 1556 src/haikufns.c make_fixnum (FRAME_INTERNAL_BORDER_WIDTH (f)))); f 1560 src/haikufns.c haiku_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1564 src/haikufns.c background = haiku_decode_color (f, arg); f 1566 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = background; f 1567 src/haikufns.c FRAME_BACKGROUND_PIXEL (f) = background; f 1569 src/haikufns.c if (FRAME_HAIKU_VIEW (f)) f 1571 src/haikufns.c BView_draw_lock (FRAME_HAIKU_DRAWABLE (f), false, 0, 0, 0, 0); f 1572 src/haikufns.c BView_SetViewColor (FRAME_HAIKU_DRAWABLE (f), background); f 1573 src/haikufns.c BView_draw_unlock (FRAME_HAIKU_DRAWABLE (f)); f 1575 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = background; f 1576 src/haikufns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 1578 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 1579 src/haikufns.c redraw_frame (f); f 1584 src/haikufns.c haiku_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1588 src/haikufns.c pixel = haiku_decode_color (f, arg); f 1592 src/haikufns.c fore_pixel = haiku_decode_color (f, Vx_cursor_fore_pixel); f 1593 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = fore_pixel; f 1596 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = FRAME_BACKGROUND_PIXEL (f); f 1598 src/haikufns.c haiku_query_color (pixel, &FRAME_CURSOR_COLOR (f)); f 1600 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 1602 src/haikufns.c gui_update_cursor (f, false); f 1603 src/haikufns.c gui_update_cursor (f, true); f 1606 src/haikufns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 1610 src/haikufns.c haiku_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1612 src/haikufns.c set_frame_cursor_types (f, arg); f 1668 src/haikufns.c haiku_free_frame_resources (struct frame *f) f 1676 src/haikufns.c check_window_system (f); f 1679 src/haikufns.c hlinfo = MOUSE_HL_INFO (f); f 1680 src/haikufns.c window = FRAME_HAIKU_WINDOW (f); f 1681 src/haikufns.c drawable = FRAME_HAIKU_VIEW (f); f 1682 src/haikufns.c mbar = FRAME_HAIKU_MENU_BAR (f); f 1683 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1685 src/haikufns.c free_frame_faces (f); f 1686 src/haikufns.c haiku_free_custom_cursors (f); f 1689 src/haikufns.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) f 1695 src/haikufns.c if (f == dpyinfo->highlight_frame) f 1697 src/haikufns.c if (f == dpyinfo->focused_frame) f 1699 src/haikufns.c if (f == dpyinfo->last_mouse_motion_frame) f 1701 src/haikufns.c if (f == dpyinfo->last_mouse_frame) f 1703 src/haikufns.c if (f == dpyinfo->focus_event_frame) f 1706 src/haikufns.c if (f == hlinfo->mouse_face_mouse_frame) f 1712 src/haikufns.c if (f->output_data.haiku->menu_bar_open_p) f 1715 src/haikufns.c f->output_data.haiku->menu_bar_open_p = 0; f 1725 src/haikufns.c if (FRAME_OUTPUT_DATA (f)->saved_menu_event) f 1726 src/haikufns.c xfree (FRAME_OUTPUT_DATA (f)->saved_menu_event); f 1728 src/haikufns.c xfree (FRAME_OUTPUT_DATA (f)); f 1729 src/haikufns.c FRAME_OUTPUT_DATA (f) = NULL; f 1749 src/haikufns.c haiku_visualize_frame (struct frame *f) f 1753 src/haikufns.c if (!FRAME_VISIBLE_P (f)) f 1755 src/haikufns.c if (FRAME_NO_FOCUS_ON_MAP (f)) f 1756 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), 1); f 1757 src/haikufns.c BWindow_set_visible (FRAME_HAIKU_WINDOW (f), 1); f 1758 src/haikufns.c if (FRAME_NO_FOCUS_ON_MAP (f) && f 1759 src/haikufns.c !FRAME_NO_ACCEPT_FOCUS (f)) f 1760 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), 0); f 1761 src/haikufns.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 1763 src/haikufns.c haiku_set_offset (f, f->left_pos, f->top_pos, 0); f 1765 src/haikufns.c SET_FRAME_VISIBLE (f, 1); f 1766 src/haikufns.c SET_FRAME_ICONIFIED (f, 0); f 1773 src/haikufns.c haiku_unvisualize_frame (struct frame *f) f 1777 src/haikufns.c BWindow_set_visible (FRAME_HAIKU_WINDOW (f), 0); f 1778 src/haikufns.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 1779 src/haikufns.c SET_FRAME_VISIBLE (f, 0); f 1780 src/haikufns.c SET_FRAME_ICONIFIED (f, 0); f 1786 src/haikufns.c haiku_set_internal_border_width (struct frame *f, Lisp_Object arg, f 1789 src/haikufns.c int old_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 1795 src/haikufns.c f->internal_border_width = new_width; f 1797 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 1799 src/haikufns.c adjust_frame_size (f, -1, -1, 3, 0, Qinternal_border_width); f 1800 src/haikufns.c haiku_clear_under_internal_border (f); f 1803 src/haikufns.c SET_FRAME_GARBAGED (f); f 1807 src/haikufns.c haiku_set_frame_visible_invisible (struct frame *f, bool visible_p) f 1810 src/haikufns.c haiku_visualize_frame (f); f 1812 src/haikufns.c haiku_unvisualize_frame (f); f 1816 src/haikufns.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 1820 src/haikufns.c BView_convert_to_screen (FRAME_HAIKU_VIEW (f), &pix_x, &pix_y); f 1851 src/haikufns.c haiku_set_name (struct frame *f, Lisp_Object name, bool explicit_p) f 1857 src/haikufns.c if (f->explicit_name && NILP (name)) f 1860 src/haikufns.c f->explicit_name = !NILP (name); f 1862 src/haikufns.c else if (f->explicit_name) f 1865 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1870 src/haikufns.c if (!NILP (Fstring_equal (name, f->name))) f 1873 src/haikufns.c fset_name (f, name); f 1875 src/haikufns.c if (!NILP (f->title)) f 1876 src/haikufns.c name = f->title; f 1878 src/haikufns.c haiku_set_title_bar_text (f, name); f 1882 src/haikufns.c haiku_set_inhibit_double_buffering (struct frame *f, f 1887 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 1892 src/haikufns.c EmacsView_set_up_double_buffering (FRAME_HAIKU_VIEW (f)); f 1895 src/haikufns.c EmacsView_disable_double_buffering (FRAME_HAIKU_VIEW (f)); f 1898 src/haikufns.c SET_FRAME_GARBAGED (f); f 1904 src/haikufns.c haiku_set_sticky (struct frame *f, Lisp_Object new_value, f 1908 src/haikufns.c BWindow_set_sticky (FRAME_HAIKU_WINDOW (f), !NILP (new_value)); f 2066 src/haikufns.c haiku_free_custom_cursors (struct frame *f) f 2075 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 2076 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2099 src/haikufns.c haiku_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2118 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 2122 src/haikufns.c haiku_free_custom_cursors (f); f 2145 src/haikufns.c FRAME_BACKGROUND_PIXEL (f)); f 2161 src/haikufns.c FRAME_BACKGROUND_PIXEL (f)); f 2170 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 2177 src/haikufns.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2182 src/haikufns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 2186 src/haikufns.c haiku_set_use_frame_synchronization (struct frame *f, Lisp_Object arg, f 2189 src/haikufns.c be_set_use_frame_synchronization (FRAME_HAIKU_VIEW (f), !NILP (arg)); f 2222 src/haikufns.c struct frame *f = SELECTED_FRAME (); f 2226 src/haikufns.c if (FRAME_INITIAL_P (f) || !FRAME_HAIKU_P (f)) f 2230 src/haikufns.c view = FRAME_HAIKU_VIEW (f); f 2398 src/haikufns.c struct frame *f, *tip_f; f 2421 src/haikufns.c f = decode_window_system_frame (frame); f 2450 src/haikufns.c struct frame *f = decode_window_system_frame (frame); f 2471 src/haikufns.c compute_tip_xy (f, parms, dx, dy, width, height, &root_x, &root_y); f 2472 src/haikufns.c BView_convert_from_screen (FRAME_HAIKU_VIEW (f), &root_x, &root_y); f 2473 src/haikufns.c be_show_sticky_tooltip (FRAME_HAIKU_VIEW (f), SSDATA (string), f 2678 src/haikufns.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2689 src/haikufns.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2690 src/haikufns.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2794 src/haikufns.c struct frame *f = decode_window_system_frame (frame); f 2796 src/haikufns.c return EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f)) ? Qt : Qnil; f 2804 src/haikufns.c struct frame *f; f 2808 src/haikufns.c f = decode_window_system_frame (terminal); f 2810 src/haikufns.c if (FRAME_HAIKU_VIEW (f) f 2811 src/haikufns.c && EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f))) f 2812 src/haikufns.c return FRAME_PARENT_FRAME (f) ? Qwhen_mapped : Qalways; f 2905 src/haikufns.c struct frame *f; f 2926 src/haikufns.c f = decode_window_system_frame (frame); f 2933 src/haikufns.c FRAME_HAIKU_WINDOW (f), f 2982 src/haikufns.c struct frame *f = XFRAME (tail); f 2983 src/haikufns.c if (!FRAME_HAIKU_P (f) || f 2986 src/haikufns.c !EQ (terminal, get_frame_param (f, Qparent_frame)))) f 3006 src/haikufns.c struct frame *f; f 3011 src/haikufns.c f = decode_window_system_frame (terminal); f 3012 src/haikufns.c return ((FRAME_HAIKU_VIEW (f) f 3013 src/haikufns.c && EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f))) f 660 src/haikufont.c haikufont_match (struct frame *f, Lisp_Object font_spec) f 679 src/haikufont.c haikufont_list (struct frame *f, Lisp_Object font_spec) f 757 src/haikufont.c haikufont_open (struct frame *f, Lisp_Object font_entity, int pixel_size) f 777 src/haikufont.c if (FRAME_FONT (f)) f 778 src/haikufont.c pixel_size = FRAME_FONT (f)->pixel_size; f 915 src/haikufont.c haikufont_prepare_face (struct frame *f, struct face *face) f 1088 src/haikufont.c struct frame *f = s->f; f 1092 src/haikufont.c void *view = FRAME_HAIKU_VIEW (f); f 1096 src/haikufont.c prepare_face_for_display (s->f, face); f 1165 src/haikufont.c haikufont_list_family (struct frame *f) f 1244 src/haikufont.c struct frame *f; f 1253 src/haikufont.c f = decode_window_system_frame (frame); f 1263 src/haikufont.c font = FRAME_FONT (f); f 71 src/haikuimage.c haiku_load_image (struct frame *f, struct image *img, f 191 src/haikumenu.c haiku_dialog_show (struct frame *f, Lisp_Object title, f 306 src/haikumenu.c haiku_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 313 src/haikumenu.c check_window_system (f); f 329 src/haikumenu.c selection = haiku_dialog_show (f, title, header, &error_name); f 383 src/haikumenu.c haiku_menu_show (struct frame *f, int x, int y, int menuflags, f 393 src/haikumenu.c view = FRAME_HAIKU_VIEW (f); f 399 src/haikumenu.c eassert (FRAME_HAIKU_P (f)); f 433 src/haikumenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 509 src/haikumenu.c free_frame_menubar (struct frame *f) f 513 src/haikumenu.c FRAME_MENU_BAR_LINES (f) = 0; f 514 src/haikumenu.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 515 src/haikumenu.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 518 src/haikumenu.c mbar = FRAME_HAIKU_MENU_BAR (f); f 519 src/haikumenu.c FRAME_HAIKU_MENU_BAR (f) = NULL; f 524 src/haikumenu.c if (FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 526 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 0; f 529 src/haikumenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 533 src/haikumenu.c initialize_frame_menubar (struct frame *f) f 537 src/haikumenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 538 src/haikumenu.c set_frame_menubar (f, true); f 542 src/haikumenu.c set_frame_menubar (struct frame *f, bool deep_p) f 544 src/haikumenu.c void *mbar = FRAME_HAIKU_MENU_BAR (f); f 545 src/haikumenu.c void *view = FRAME_HAIKU_VIEW (f); f 551 src/haikumenu.c mbar = FRAME_HAIKU_MENU_BAR (f) = BMenuBar_new (view); f 556 src/haikumenu.c if (FRAME_VISIBLE_P (f)) f 557 src/haikumenu.c haiku_wait_for_event (f, MENU_BAR_RESIZE); f 566 src/haikumenu.c int previous_menu_items_used = f->menu_bar_items_used; f 574 src/haikumenu.c XSETFRAME (Vmenu_updating_frame, f); f 578 src/haikumenu.c items = FRAME_MENU_BAR_ITEMS (f); f 608 src/haikumenu.c f->menu_bar_items_used = 0; f 617 src/haikumenu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 638 src/haikumenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 640 src/haikumenu.c items = FRAME_MENU_BAR_ITEMS (f); f 644 src/haikumenu.c memcpy (previous_items, xvector_contents (f->menu_bar_vector), f 651 src/haikumenu.c menu_items = f->menu_bar_vector; f 726 src/haikumenu.c fset_menu_bar_vector (f, menu_items); f 727 src/haikumenu.c f->menu_bar_items_used = menu_items_used; f 735 src/haikumenu.c run_menu_bar_help_event (struct frame *f, int mb_idx) f 739 src/haikumenu.c XSETFRAME (frame, f); f 749 src/haikumenu.c vec = f->menu_bar_vector; f 775 src/haikumenu.c struct frame *f = decode_window_system_frame (frame); f 778 src/haikumenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 781 src/haikumenu.c set_frame_menubar (f, 1); f 782 src/haikumenu.c rc = BMenuBar_start_tracking (FRAME_HAIKU_MENU_BAR (f)); f 788 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 799 src/haikumenu.c haiku_activate_menubar (struct frame *f) f 803 src/haikumenu.c if (!FRAME_HAIKU_MENU_BAR (f)) f 806 src/haikumenu.c set_frame_menubar (f, true); f 808 src/haikumenu.c if (FRAME_OUTPUT_DATA (f)->saved_menu_event) f 811 src/haikumenu.c rc = be_replay_menu_bar_event (FRAME_HAIKU_MENU_BAR (f), f 812 src/haikumenu.c FRAME_OUTPUT_DATA (f)->saved_menu_event); f 813 src/haikumenu.c xfree (FRAME_OUTPUT_DATA (f)->saved_menu_event); f 814 src/haikumenu.c FRAME_OUTPUT_DATA (f)->saved_menu_event = NULL; f 820 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 826 src/haikumenu.c rc = BMenuBar_start_tracking (FRAME_HAIKU_MENU_BAR (f)); f 832 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 893 src/haikuselect.c struct frame *f; f 897 src/haikuselect.c f = decode_window_system_frame (frame); f 899 src/haikuselect.c if (!FRAME_VISIBLE_P (f)) f 902 src/haikuselect.c haiku_dnd_frame = f; f 911 src/haikuselect.c rc = be_drag_message (FRAME_HAIKU_VIEW (f), be_message, f 926 src/haikuselect.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 79 src/haikuterm.c struct frame *f; f 83 src/haikuterm.c f = XFRAME (tem); f 84 src/haikuterm.c if (!FRAME_HAIKU_P (f)) f 87 src/haikuterm.c eassert (FRAME_DISPLAY_INFO (f) == x_display_list); f 89 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f) == window) f 90 src/haikuterm.c return f; f 97 src/haikuterm.c haiku_coords_from_parent (struct frame *f, int *x, int *y) f 99 src/haikuterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 106 src/haikuterm.c haiku_toolkit_position (struct frame *f, int x, int y, f 109 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->menubar) f 110 src/haikuterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 111 src/haikuterm.c && y >= 0 && y < FRAME_MENU_BAR_HEIGHT (f)); f 141 src/haikuterm.c haiku_update_size_hints (struct frame *f) f 143 src/haikuterm.c if (f->tooltip) f 147 src/haikuterm.c BWindow_set_size_alignment (FRAME_HAIKU_WINDOW (f), f 149 src/haikuterm.c ? 1 : FRAME_COLUMN_WIDTH (f)), f 151 src/haikuterm.c ? 1 : FRAME_LINE_HEIGHT (f))); f 166 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), f 167 src/haikuterm.c FRAME_PIXEL_WIDTH (s->f), f 168 src/haikuterm.c FRAME_PIXEL_HEIGHT (s->f), f 172 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), r[0].x, f 174 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), r[0].x, f 184 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), f 185 src/haikuterm.c FRAME_PIXEL_WIDTH (s->f), f 186 src/haikuterm.c FRAME_PIXEL_HEIGHT (s->f), f 190 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), r[1].x, r[1].y, f 192 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), r[1].x, f 201 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), s->x, s->y, f 203 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), s->x, f 208 src/haikuterm.c haiku_flip_buffers (struct frame *f) f 210 src/haikuterm.c void *view = FRAME_OUTPUT_DATA (f)->view; f 214 src/haikuterm.c FRAME_DIRTY_P (f) = 0; f 222 src/haikuterm.c haiku_frame_up_to_date (struct frame *f) f 225 src/haikuterm.c FRAME_MOUSE_UPDATE (f); f 226 src/haikuterm.c if (FRAME_DIRTY_P (f) && !buffer_flipping_blocked_p ()) f 227 src/haikuterm.c haiku_flip_buffers (f); f 237 src/haikuterm.c FRAME_COMPLETE_P (f) = true; f 242 src/haikuterm.c haiku_buffer_flipping_unblocked_hook (struct frame *f) f 244 src/haikuterm.c if (FRAME_DIRTY_P (f)) f 245 src/haikuterm.c haiku_flip_buffers (f); f 249 src/haikuterm.c haiku_clear_frame_area (struct frame *f, int x, int y, f 252 src/haikuterm.c void *vw = FRAME_HAIKU_DRAWABLE (f); f 257 src/haikuterm.c BView_SetHighColor (vw, FRAME_BACKGROUND_PIXEL (f)); f 265 src/haikuterm.c haiku_clear_frame (struct frame *f) f 267 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 269 src/haikuterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 271 src/haikuterm.c FRAME_COMPLETE_P (f) = false; f 274 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 275 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 277 src/haikuterm.c BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), f 278 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 279 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); f 280 src/haikuterm.c BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) , f 281 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 293 src/haikuterm.c haiku_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 303 src/haikuterm.c FRAME_FONTSET (f) = fontset; f 305 src/haikuterm.c if (FRAME_FONT (f) == font) f 308 src/haikuterm.c FRAME_FONT (f) = font; f 309 src/haikuterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 310 src/haikuterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 313 src/haikuterm.c FRAME_LINE_HEIGHT (f) = ascent + descent; f 314 src/haikuterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 316 src/haikuterm.c unit = FRAME_COLUMN_WIDTH (f); f 317 src/haikuterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 318 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 319 src/haikuterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 321 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 323 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f) && !FRAME_TOOLTIP_P (f)) f 324 src/haikuterm.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 325 src/haikuterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), f 400 src/haikuterm.c haiku_frame_raise_lower (struct frame *f, bool raise_p) f 405 src/haikuterm.c BWindow_activate (FRAME_HAIKU_WINDOW (f)); f 406 src/haikuterm.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 412 src/haikuterm.c BWindow_send_behind (FRAME_HAIKU_WINDOW (f), NULL); f 413 src/haikuterm.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 573 src/haikuterm.c haiku_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 575 src/haikuterm.c haiku_set_name (f, arg, 0); f 579 src/haikuterm.c haiku_query_frame_background_color (struct frame *f, Emacs_Color *bgcolor) f 581 src/haikuterm.c haiku_query_color (FRAME_BACKGROUND_PIXEL (f), bgcolor); f 585 src/haikuterm.c haiku_defined_color (struct frame *f, const char *name, f 592 src/haikuterm.c if (rc && f->gamma && alloc) f 593 src/haikuterm.c gamma_correct (f, color); f 604 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 634 src/haikuterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 635 src/haikuterm.c rgbin = IMAGE_BACKGROUND (s->img, s->f, 0); f 639 src/haikuterm.c di = FRAME_OUTPUT_DATA (s->f); f 642 src/haikuterm.c rgbin = FRAME_CURSOR_COLOR (s->f).pixel; f 668 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 729 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (s->f)); f 777 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 819 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1021 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1031 src/haikuterm.c FRAME_BACKGROUND_PIXEL (s->f) : f 1038 src/haikuterm.c haiku_get_bitmap_rec (struct frame *f, ptrdiff_t id) f 1040 src/haikuterm.c return &FRAME_DISPLAY_INFO (f)->bitmaps[id - 1]; f 1083 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 1084 src/haikuterm.c rec = haiku_get_bitmap_rec (s->f, s->face->stipple); f 1150 src/haikuterm.c face_id = MOUSE_HL_INFO (s->f)->mouse_face_face_id; f 1151 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (s->f, face_id); f 1153 src/haikuterm.c face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 1156 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil); f 1158 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil); f 1160 src/haikuterm.c face = FACE_FROM_ID (s->f, face_id); f 1161 src/haikuterm.c prepare_face_for_display (s->f, s->face); f 1181 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1186 src/haikuterm.c BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg); f 1206 src/haikuterm.c off = VCENTER_BASELINE_OFFSET (ft, s->f) - off; f 1299 src/haikuterm.c BView_SetHighColor (FRAME_HAIKU_DRAWABLE (s->f), color); f 1300 src/haikuterm.c BView_SetPenSize (FRAME_HAIKU_DRAWABLE (s->f), 1); f 1301 src/haikuterm.c BView_StrokeRectangle (FRAME_HAIKU_DRAWABLE (s->f), f 1341 src/haikuterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 1345 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1411 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1418 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1426 src/haikuterm.c struct frame *f = WINDOW_XFRAME (w); f 1438 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (f), x, y, width, height); f 1442 src/haikuterm.c haiku_update_begin (struct frame *f) f 1446 src/haikuterm.c FRAME_COMPLETE_P (f) = false; f 1450 src/haikuterm.c haiku_update_end (struct frame *f) f 1452 src/haikuterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 1453 src/haikuterm.c BWindow_Flush (FRAME_HAIKU_WINDOW (f)); f 1461 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1482 src/haikuterm.c BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg); f 1683 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 1799 src/haikuterm.c BView_SetHighColor (view, FRAME_CURSOR_COLOR (s->f).pixel); f 1816 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f);; f 1821 src/haikuterm.c prepare_face_for_display (s->f, s->face); f 1835 src/haikuterm.c prepare_face_for_display (s->f, next->face); f 1990 src/haikuterm.c struct frame *f; f 1998 src/haikuterm.c && (f = XFRAME (w->frame), f 1999 src/haikuterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 2007 src/haikuterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 2009 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 2014 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2018 src/haikuterm.c ? FRAME_BACKGROUND_PIXEL (f) f 2021 src/haikuterm.c BView_FillRectangle (view, FRAME_PIXEL_WIDTH (f) - width, f 2023 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (f), f 2025 src/haikuterm.c BView_invalidate_region (view, FRAME_PIXEL_WIDTH (f) - width, f 2032 src/haikuterm.c haiku_clear_frame_area (f, 0, y, width, height); f 2033 src/haikuterm.c haiku_clear_frame_area (f, FRAME_PIXEL_WIDTH (f) - width, f 2041 src/haikuterm.c haiku_set_window_size (struct frame *f, bool change_gravity, f 2049 src/haikuterm.c XSETFRAME (frame, f); f 2053 src/haikuterm.c && f->want_fullscreen == FULLSCREEN_NONE f 2057 src/haikuterm.c && FRAME_OUTPUT_DATA (f)->configury_done) f 2060 src/haikuterm.c haiku_update_size_hints (f); f 2062 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f)) f 2065 src/haikuterm.c BWindow_resize (FRAME_HAIKU_WINDOW (f), f 2068 src/haikuterm.c if (FRAME_VISIBLE_P (f) f 2069 src/haikuterm.c && (width != FRAME_PIXEL_WIDTH (f) f 2070 src/haikuterm.c || height != FRAME_PIXEL_HEIGHT (f))) f 2071 src/haikuterm.c haiku_wait_for_event (f, FRAME_RESIZED); f 2081 src/haikuterm.c struct frame *f; f 2087 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2088 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2102 src/haikuterm.c foreground = FRAME_CURSOR_COLOR (f).pixel; f 2134 src/haikuterm.c struct frame *f; f 2142 src/haikuterm.c f = XFRAME (w->frame); f 2161 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2162 src/haikuterm.c face = FACE_FROM_ID (f, cursor_glyph->face_id); f 2169 src/haikuterm.c if (face->background == FRAME_CURSOR_COLOR (f).pixel) f 2172 src/haikuterm.c foreground = FRAME_CURSOR_COLOR (f).pixel; f 2185 src/haikuterm.c width = FRAME_CURSOR_WIDTH (f); f 2277 src/haikuterm.c haiku_show_hourglass (struct frame *f) f 2279 src/haikuterm.c if (FRAME_TOOLTIP_P (f) f 2280 src/haikuterm.c || FRAME_OUTPUT_DATA (f)->hourglass_p) f 2284 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_p = 1; f 2286 src/haikuterm.c if (FRAME_HAIKU_VIEW (f)) f 2287 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2288 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_cursor); f 2293 src/haikuterm.c haiku_hide_hourglass (struct frame *f) f 2295 src/haikuterm.c if (FRAME_TOOLTIP_P (f) f 2296 src/haikuterm.c || !FRAME_OUTPUT_DATA (f)->hourglass_p) f 2300 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_p = 0; f 2302 src/haikuterm.c if (FRAME_HAIKU_VIEW (f)) f 2303 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2304 src/haikuterm.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2343 src/haikuterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2346 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 2347 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2358 src/haikuterm.c haiku_set_scroll_bar_default_width (struct frame *f) f 2362 src/haikuterm.c unit = FRAME_COLUMN_WIDTH (f); f 2365 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = size; f 2366 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (size + unit - 1) / unit; f 2370 src/haikuterm.c haiku_set_scroll_bar_default_height (struct frame *f) f 2374 src/haikuterm.c height = FRAME_LINE_HEIGHT (f); f 2377 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = size; f 2378 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (size + height - 1) / height; f 2384 src/haikuterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2385 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 2387 src/haikuterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 2389 src/haikuterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 2390 src/haikuterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 2393 src/haikuterm.c : FRAME_FOREGROUND_PIXEL (f)); f 2396 src/haikuterm.c : FRAME_FOREGROUND_PIXEL (f)); f 2397 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2460 src/haikuterm.c struct frame *f; f 2466 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2471 src/haikuterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 2474 src/haikuterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 2476 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); f 2488 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2491 src/haikuterm.c fset_scroll_bars (f, barobj); f 2500 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2505 src/haikuterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 2508 src/haikuterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 2510 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); f 2522 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2525 src/haikuterm.c fset_scroll_bars (f, barobj); f 2532 src/haikuterm.c haiku_judge_scroll_bars (struct frame *f) f 2536 src/haikuterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 2540 src/haikuterm.c fset_condemned_scroll_bars (f, Qnil); f 2560 src/haikuterm.c struct frame *f; f 2566 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2567 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2588 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2592 src/haikuterm.c fset_scroll_bars (f, barobj); f 2719 src/haikuterm.c struct frame *f; f 2724 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2725 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2748 src/haikuterm.c rec = haiku_get_bitmap_rec (f, face->stipple); f 2756 src/haikuterm.c 0, 0, FRAME_PIXEL_WIDTH (f), f 2757 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 2840 src/haikuterm.c struct frame *f = XFRAME (w->frame); f 2841 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2963 src/haikuterm.c haiku_flush (struct frame *f) f 2967 src/haikuterm.c if (FRAME_DIRTY_P (f) && !buffer_flipping_blocked_p ()) f 2968 src/haikuterm.c haiku_flip_buffers (f); f 2972 src/haikuterm.c FRAME_COMPLETE_P (f) = true; f 2974 src/haikuterm.c if (FRAME_VISIBLE_P (f) && !FRAME_TOOLTIP_P (f)) f 2975 src/haikuterm.c BWindow_Flush (FRAME_HAIKU_WINDOW (f)); f 2979 src/haikuterm.c haiku_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 2981 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 2985 src/haikuterm.c if (!f->pointer_invisible && FRAME_HAIKU_VIEW (f) f 2986 src/haikuterm.c && !FRAME_OUTPUT_DATA (f)->hourglass_p) f 2987 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), cursor); f 2989 src/haikuterm.c FRAME_OUTPUT_DATA (f)->current_cursor = cursor; f 2993 src/haikuterm.c haiku_default_font_parameter (struct frame *f, Lisp_Object parms) f 2995 src/haikuterm.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3007 src/haikuterm.c font = font_open_by_spec (f, Ffont_get_system_font ()); f 3027 src/haikuterm.c = font_open_by_name (f, build_unibyte_string (names[i])); f 3035 src/haikuterm.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", f 3072 src/haikuterm.c haiku_make_fullscreen_consistent (struct frame *f) f 3077 src/haikuterm.c output = FRAME_OUTPUT_DATA (f); f 3090 src/haikuterm.c store_frame_param (f, Qfullscreen, lval); f 3094 src/haikuterm.c haiku_flush_dirty_back_buffer_on (struct frame *f) f 3096 src/haikuterm.c if (FRAME_GARBAGED_P (f) f 3100 src/haikuterm.c || !FRAME_COMPLETE_P (f) f 3101 src/haikuterm.c || !FRAME_DIRTY_P (f)) f 3104 src/haikuterm.c haiku_flip_buffers (f); f 3110 src/haikuterm.c haiku_wait_for_event (struct frame *f, int type) f 3124 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = type; f 3126 src/haikuterm.c while (FRAME_OUTPUT_DATA (f)->wait_for_event_type == type) f 3180 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3182 src/haikuterm.c if (!f) f 3186 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3192 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3194 src/haikuterm.c if (!f) f 3200 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->wait_for_event_type f 3202 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = -1; f 3204 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 3206 src/haikuterm.c if (FRAME_PIXEL_WIDTH (f) != width f 3207 src/haikuterm.c || FRAME_PIXEL_HEIGHT (f) != height) f 3208 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3210 src/haikuterm.c FRAME_PIXEL_WIDTH (f) = width; f 3211 src/haikuterm.c FRAME_PIXEL_HEIGHT (f) = height; f 3213 src/haikuterm.c haiku_clear_under_internal_border (f); f 3218 src/haikuterm.c haiku_flush (f); f 3222 src/haikuterm.c BView_draw_lock (FRAME_HAIKU_DRAWABLE (f), false, 0, 0, 0, 0); f 3223 src/haikuterm.c BView_resize_to (FRAME_HAIKU_DRAWABLE (f), width, height); f 3224 src/haikuterm.c BView_draw_unlock (FRAME_HAIKU_DRAWABLE (f)); f 3226 src/haikuterm.c if (width != FRAME_PIXEL_WIDTH (f) f 3227 src/haikuterm.c || height != FRAME_PIXEL_HEIGHT (f) f 3228 src/haikuterm.c || (f->new_size_p f 3229 src/haikuterm.c && ((f->new_width >= 0 && width != f->new_width) f 3230 src/haikuterm.c || (f->new_height >= 0 && height != f->new_height)))) f 3232 src/haikuterm.c change_frame_size (f, width, height, false, true, false); f 3233 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3234 src/haikuterm.c cancel_mouse_face (f); f 3235 src/haikuterm.c haiku_clear_under_internal_border (f); f 3243 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3245 src/haikuterm.c if (!f) f 3248 src/haikuterm.c expose_frame (f, b->x, b->y, b->width, b->height); f 3249 src/haikuterm.c haiku_clear_under_internal_border (f); f 3256 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3258 src/haikuterm.c if (!f) f 3264 src/haikuterm.c && (f == 0 f 3265 src/haikuterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 3266 src/haikuterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window))) f 3294 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3300 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3302 src/haikuterm.c if (!f) f 3305 src/haikuterm.c if ((x_display_list->focus_event_frame != f && b->activated_p) f 3306 src/haikuterm.c || (x_display_list->focus_event_frame == f && !b->activated_p)) f 3308 src/haikuterm.c haiku_new_focus_frame (b->activated_p ? f : NULL); f 3310 src/haikuterm.c x_display_list->focus_event_frame = f; f 3314 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3322 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3324 src/haikuterm.c if (!f) f 3327 src/haikuterm.c if (b->y > 0 && b->y <= FRAME_PIXEL_HEIGHT (f) f 3328 src/haikuterm.c && b->x > 0 && b->x <= FRAME_PIXEL_WIDTH (f)) f 3331 src/haikuterm.c if (f->auto_lower && !popup_activated_p) f 3332 src/haikuterm.c haiku_frame_raise_lower (f, 0); f 3339 src/haikuterm.c struct frame *f = haiku_mouse_or_wdesc_frame (b->window, true); f 3343 src/haikuterm.c if (!f) f 3346 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 3365 src/haikuterm.c XSETFRAME (frame, f); f 3374 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3379 src/haikuterm.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3381 src/haikuterm.c if (f == hlinfo->mouse_face_mouse_frame) f 3388 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3391 src/haikuterm.c if (f == x_display_list->last_mouse_glyph_frame) f 3394 src/haikuterm.c if (f->auto_lower && !popup_activated_p f 3396 src/haikuterm.c && !BView_inside_scroll_bar (FRAME_HAIKU_VIEW (f), f 3402 src/haikuterm.c if (b->x > FRAME_PIXEL_WIDTH (f) f 3403 src/haikuterm.c || b->y >= FRAME_MENU_BAR_HEIGHT (f) f 3406 src/haikuterm.c haiku_frame_raise_lower (f, 0); f 3419 src/haikuterm.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3427 src/haikuterm.c && f == dpyinfo->last_mouse_motion_frame f 3434 src/haikuterm.c dpyinfo->last_mouse_motion_frame = f; f 3452 src/haikuterm.c || (f != hlinfo->mouse_face_mouse_frame f 3459 src/haikuterm.c if (f != dpyinfo->last_mouse_glyph_frame f 3463 src/haikuterm.c f->mouse_moved = true; f 3464 src/haikuterm.c note_mouse_highlight (f, b->x, b->y); f 3465 src/haikuterm.c remember_mouse_glyph (f, b->x, b->y, f 3466 src/haikuterm.c &FRAME_DISPLAY_INFO (f)->last_mouse_glyph); f 3467 src/haikuterm.c dpyinfo->last_mouse_glyph_frame = f; f 3475 src/haikuterm.c Lisp_Object window = window_from_coordinates (f, b->x, b->y, 0, 0, 0); f 3483 src/haikuterm.c || f == SELECTED_FRAME ())) f 3492 src/haikuterm.c if (f->auto_raise) f 3494 src/haikuterm.c if (!BWindow_is_active (FRAME_HAIKU_WINDOW (f))) f 3495 src/haikuterm.c haiku_frame_raise_lower (f, 1); f 3517 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3526 src/haikuterm.c if (FRAME_DIRTY_P (f)) f 3527 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3534 src/haikuterm.c struct frame *f = haiku_mouse_or_wdesc_frame (b->window, false); f 3540 src/haikuterm.c if (popup_activated_p || !f) f 3551 src/haikuterm.c if (WINDOWP (f->tab_bar_window) f 3552 src/haikuterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 3558 src/haikuterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 3559 src/haikuterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 3564 src/haikuterm.c (f, x, y, type == BUTTON_DOWN, inev.modifiers); f 3565 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3569 src/haikuterm.c if (WINDOWP (f->tool_bar_window) f 3570 src/haikuterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 3576 src/haikuterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 3577 src/haikuterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 3579 src/haikuterm.c || f->last_tool_bar_item != -1)); f 3584 src/haikuterm.c (f, x, y, type == BUTTON_DOWN, inev.modifiers); f 3585 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3599 src/haikuterm.c x_display_list->last_mouse_frame = f; f 3601 src/haikuterm.c if (f && !tab_bar_p) f 3602 src/haikuterm.c f->last_tab_bar_item = -1; f 3603 src/haikuterm.c if (f && !tool_bar_p) f 3604 src/haikuterm.c f->last_tool_bar_item = -1; f 3624 src/haikuterm.c f->mouse_moved = false; f 3647 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3655 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3657 src/haikuterm.c if (!f) f 3662 src/haikuterm.c SET_FRAME_VISIBLE (f, 1); f 3663 src/haikuterm.c SET_FRAME_ICONIFIED (f, 0); f 3669 src/haikuterm.c if (!EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f))) f 3671 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3672 src/haikuterm.c expose_frame (f, 0, 0, 0, 0); f 3677 src/haikuterm.c SET_FRAME_VISIBLE (f, 0); f 3678 src/haikuterm.c SET_FRAME_ICONIFIED (f, 1); f 3682 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3688 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3692 src/haikuterm.c if (!f) f 3695 src/haikuterm.c FRAME_OUTPUT_DATA (f)->frame_x = b->x; f 3696 src/haikuterm.c FRAME_OUTPUT_DATA (f)->frame_y = b->y; f 3698 src/haikuterm.c if (FRAME_PARENT_FRAME (f)) f 3699 src/haikuterm.c haiku_coords_from_parent (f, &b->x, &b->y); f 3704 src/haikuterm.c if (left != f->left_pos || top != f->top_pos) f 3711 src/haikuterm.c f->left_pos = left; f 3712 src/haikuterm.c f->top_pos = top; f 3714 src/haikuterm.c p = FRAME_PARENT_FRAME (f); f 3720 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3723 src/haikuterm.c haiku_make_fullscreen_consistent (f); f 3827 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3832 src/haikuterm.c if (!f) f 3835 src/haikuterm.c BView_get_mouse (FRAME_HAIKU_VIEW (f), &x, &y); f 3837 src/haikuterm.c wheel_window = window_from_coordinates (f, x, y, 0, false, false); f 3841 src/haikuterm.c scroll_width = FRAME_PIXEL_WIDTH (f); f 3842 src/haikuterm.c scroll_height = FRAME_PIXEL_HEIGHT (f); f 3865 src/haikuterm.c if (fabsf (py) >= FRAME_LINE_HEIGHT (f) f 3866 src/haikuterm.c || fabsf (px) >= FRAME_COLUMN_WIDTH (f) f 3878 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3896 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3898 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3901 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->wait_for_event_type f 3903 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = -1; f 3905 src/haikuterm.c int old_height = FRAME_MENU_BAR_HEIGHT (f); f 3907 src/haikuterm.c FRAME_MENU_BAR_HEIGHT (f) = b->height; f 3908 src/haikuterm.c FRAME_MENU_BAR_LINES (f) f 3909 src/haikuterm.c = (b->height + FRAME_LINE_HEIGHT (f)) / FRAME_LINE_HEIGHT (f); f 3913 src/haikuterm.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 3914 src/haikuterm.c haiku_clear_under_internal_border (f); f 3921 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3923 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3926 src/haikuterm.c if (!FRAME_OUTPUT_DATA (f)->saved_menu_event) f 3927 src/haikuterm.c FRAME_OUTPUT_DATA (f)->saved_menu_event = xmalloc (sizeof *b); f 3928 src/haikuterm.c *FRAME_OUTPUT_DATA (f)->saved_menu_event = *b; f 3930 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3937 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3939 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3944 src/haikuterm.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 3952 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 3954 src/haikuterm.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 0; f 3963 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3965 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3968 src/haikuterm.c find_and_call_menu_selection (f, f->menu_bar_items_used, f 3969 src/haikuterm.c f->menu_bar_vector, b->ptr); f 3979 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3980 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f) f 3981 src/haikuterm.c || !FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 3984 src/haikuterm.c run_menu_bar_help_event (f, b->mb_idx); f 3990 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3992 src/haikuterm.c if (!f) f 3996 src/haikuterm.c f->want_fullscreen = FULLSCREEN_NONE; f 3998 src/haikuterm.c f->want_fullscreen = FULLSCREEN_MAXIMIZED; f 4000 src/haikuterm.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 4006 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 4008 src/haikuterm.c if (!f) f 4019 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 4102 src/haikuterm.c haiku_get_focus_frame (struct frame *f) f 4107 src/haikuterm.c focus = FRAME_DISPLAY_INFO (f)->focused_frame; f 4123 src/haikuterm.c haiku_delete_window (struct frame *f) f 4125 src/haikuterm.c check_window_system (f); f 4126 src/haikuterm.c haiku_free_frame_resources (f); f 4130 src/haikuterm.c haiku_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4136 src/haikuterm.c haiku_flash (struct frame *f) f 4139 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4141 src/haikuterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 4143 src/haikuterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 4144 src/haikuterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 4146 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4155 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4156 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4159 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4162 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4163 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4168 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 4169 src/haikuterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 4174 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4175 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4179 src/haikuterm.c flush_frame (f); f 4182 src/haikuterm.c haiku_flip_buffers (f); f 4201 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4202 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4205 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4208 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4209 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4214 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 4215 src/haikuterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 4220 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4221 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4225 src/haikuterm.c flush_frame (f); f 4227 src/haikuterm.c haiku_flip_buffers (f); f 4231 src/haikuterm.c haiku_beep (struct frame *f) f 4235 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4239 src/haikuterm.c haiku_flash (f); f 4248 src/haikuterm.c haiku_toggle_invisible_pointer (struct frame *f, bool invisible_p) f 4250 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4252 src/haikuterm.c if (view && !FRAME_TOOLTIP_P (f)) f 4256 src/haikuterm.c ? FRAME_OUTPUT_DATA (f)->no_cursor f 4257 src/haikuterm.c : FRAME_OUTPUT_DATA (f)->current_cursor)); f 4258 src/haikuterm.c f->pointer_invisible = invisible_p; f 4264 src/haikuterm.c haiku_fullscreen (struct frame *f) f 4272 src/haikuterm.c if (!FRAME_OUTPUT_DATA (f)->configury_done) f 4275 src/haikuterm.c if (f->want_fullscreen == FULLSCREEN_MAXIMIZED) f 4277 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_BOTH) f 4279 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_WIDTH) f 4281 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_HEIGHT) f 4286 src/haikuterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4287 src/haikuterm.c be_set_window_fullscreen_mode (FRAME_HAIKU_WINDOW (f), mode); f 4288 src/haikuterm.c FRAME_OUTPUT_DATA (f)->fullscreen_mode = mode; f 4290 src/haikuterm.c haiku_update_size_hints (f); f 4291 src/haikuterm.c haiku_make_fullscreen_consistent (f); f 4459 src/haikuterm.c haiku_clear_under_internal_border (struct frame *f) f 4461 src/haikuterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4464 src/haikuterm.c && FRAME_FACE_CACHE (f)) f 4466 src/haikuterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4467 src/haikuterm.c int width = FRAME_PIXEL_WIDTH (f); f 4468 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4469 src/haikuterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4470 src/haikuterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 4471 src/haikuterm.c int face_id = (FRAME_PARENT_FRAME (f) f 4473 src/haikuterm.c ? lookup_basic_face (NULL, f, f 4477 src/haikuterm.c ? lookup_basic_face (NULL, f, f 4480 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4481 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4484 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4485 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4487 src/haikuterm.c BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), f 4488 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4493 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); f 4521 src/haikuterm.c struct frame *f; f 4523 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 4524 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 4582 src/haikuterm.c haiku_begin_cr_clip (struct frame *f, struct glyph_string *s) f 4584 src/haikuterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 4608 src/haikuterm.c unsigned long background = FRAME_CURSOR_COLOR (s->f).pixel; f 4614 src/haikuterm.c foreground = FRAME_OUTPUT_DATA (s->f)->cursor_fg; f 281 src/haikuterm.h #define FRAME_DIRTY_P(f) (FRAME_OUTPUT_DATA (f)->dirty_p) f 282 src/haikuterm.h #define FRAME_COMPLETE_P(f) (FRAME_OUTPUT_DATA (f)->complete_p) f 283 src/haikuterm.h #define MAKE_FRAME_DIRTY(f) (FRAME_DIRTY_P (f) = 1) f 284 src/haikuterm.h #define FRAME_OUTPUT_DATA(f) ((f)->output_data.haiku) f 285 src/haikuterm.h #define FRAME_HAIKU_WINDOW(f) (FRAME_OUTPUT_DATA (f)->window) f 286 src/haikuterm.h #define FRAME_HAIKU_VIEW(f) (FRAME_OUTPUT_DATA (f)->view) f 287 src/haikuterm.h #define FRAME_HAIKU_DRAWABLE(f) ((MAKE_FRAME_DIRTY (f)), FRAME_HAIKU_VIEW (f)) f 288 src/haikuterm.h #define FRAME_HAIKU_MENU_BAR(f) (FRAME_OUTPUT_DATA (f)->menubar) f 289 src/haikuterm.h #define FRAME_DISPLAY_INFO(f) (FRAME_OUTPUT_DATA (f)->display_info) f 290 src/haikuterm.h #define FRAME_FONT(f) (FRAME_OUTPUT_DATA (f)->font) f 291 src/haikuterm.h #define FRAME_FONTSET(f) (FRAME_OUTPUT_DATA (f)->fontset) f 292 src/haikuterm.h #define FRAME_NATIVE_WINDOW(f) (FRAME_OUTPUT_DATA (f)->window) f 293 src/haikuterm.h #define FRAME_BASELINE_OFFSET(f) (FRAME_OUTPUT_DATA (f)->baseline_offset) f 294 src/haikuterm.h #define FRAME_CURSOR_COLOR(f) (FRAME_OUTPUT_DATA (f)->cursor_color) f 297 src/haikuterm.h #define FRAME_CR_CONTEXT(f) \ f 298 src/haikuterm.h (FRAME_HAIKU_VIEW (f) \ f 299 src/haikuterm.h ? EmacsView_cairo_context (FRAME_HAIKU_DRAWABLE (f)) \ f 208 src/image.c static unsigned long lookup_rgb_color (struct frame *f, int r, int g, int b); f 259 src/image.c image_pix_container_create_from_bitmap_data (struct frame *f, f 375 src/image.c x_bitmap_height (struct frame *f, ptrdiff_t id) f 377 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].height; f 381 src/image.c x_bitmap_width (struct frame *f, ptrdiff_t id) f 383 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].width; f 388 src/image.c x_bitmap_stipple (struct frame *f, Pixmap pixmap) f 390 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 401 src/image.c = cairo_xlib_surface_create_for_bitmap (FRAME_X_DISPLAY (f), f 403 src/image.c FRAME_X_SCREEN (f), f 424 src/image.c image_bitmap_pixmap (struct frame *f, ptrdiff_t id) f 427 src/image.c return (ptrdiff_t) FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].pixmap; f 433 src/image.c x_bitmap_mask (struct frame *f, ptrdiff_t id) f 435 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].mask; f 442 src/image.c image_allocate_bitmap_record (struct frame *f) f 444 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 463 src/image.c image_reference_bitmap (struct frame *f, ptrdiff_t id) f 465 src/image.c ++FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].refcount; f 568 src/image.c image_create_bitmap_from_data (struct frame *f, char *bits, f 571 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 576 src/image.c bitmap = XCreateBitmapFromData (FRAME_X_DISPLAY (f), f 635 src/image.c ? f->foreground_pixel f 636 src/image.c : f->background_pixel)); f 641 src/image.c id = image_allocate_bitmap_record (f); f 658 src/image.c = f->foreground_pixel & 0xffffffff; f 660 src/image.c = f->background_pixel & 0xffffffff; f 709 src/image.c image_create_bitmap_from_file (struct frame *f, Lisp_Object file) f 714 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 731 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 749 src/image.c id = image_allocate_bitmap_record (f); f 776 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 785 src/image.c id = image_allocate_bitmap_record (f); f 826 src/image.c result = XReadBitmapFile (FRAME_X_DISPLAY (f), f 833 src/image.c id = image_allocate_bitmap_record (f); f 882 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 900 src/image.c id = image_allocate_bitmap_record (f); f 909 src/image.c = f->foreground_pixel & 0xffffffff; f 911 src/image.c = f->background_pixel & 0xffffffff; f 921 src/image.c ? f->foreground_pixel f 922 src/image.c : f->background_pixel)); f 972 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 985 src/image.c id = image_allocate_bitmap_record (f); f 1059 src/image.c image_destroy_bitmap (struct frame *f, ptrdiff_t id) f 1061 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1110 src/image.c #define image_get_x_image_or_dc(f, img, mask_p, dummy) \ f 1111 src/image.c image_get_x_image (f, img, mask_p) f 1136 src/image.c x_create_bitmap_mask (struct frame *f, ptrdiff_t id) f 1146 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1151 src/image.c pixmap = image_bitmap_pixmap (f, id); f 1152 src/image.c width = x_bitmap_width (f, id); f 1153 src/image.c height = x_bitmap_height (f, id); f 1156 src/image.c ximg = XGetImage (FRAME_X_DISPLAY (f), pixmap, 0, 0, width, height, f 1165 src/image.c result = x_create_x_image_and_pixmap (f, width, height, 1, &mask_img, &mask); f 1216 src/image.c gc = XCreateGC (FRAME_X_DISPLAY (f), mask, 0, NULL); f 1217 src/image.c XPutImage (FRAME_X_DISPLAY (f), mask, gc, mask_img, 0, 0, 0, 0, f 1219 src/image.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 1250 src/image.c bool (*load_img) (struct frame *f, struct image *img); f 1253 src/image.c void (*free_img) (struct frame *f, struct image *img); f 1266 src/image.c # define IMAGE_TYPE_INIT(f) f f 1268 src/image.c # define IMAGE_TYPE_INIT(f) f 1579 src/image.c struct frame *f = decode_window_system_frame (frame); f 1580 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1581 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1586 src/image.c size = Fcons (make_float ((double) width / FRAME_COLUMN_WIDTH (f)), f 1587 src/image.c make_float ((double) height / FRAME_LINE_HEIGHT (f))); f 1609 src/image.c struct frame *f = decode_window_system_frame (frame); f 1610 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1611 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1632 src/image.c struct frame *f = decode_window_system_frame (frame); f 1633 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1634 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1672 src/image.c free_image (struct frame *f, struct image *img) f 1676 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 1691 src/image.c XRenderFreePicture (FRAME_X_DISPLAY (f), img->picture); f 1693 src/image.c XRenderFreePicture (FRAME_X_DISPLAY (f), img->mask_picture); f 1697 src/image.c img->type->free_img (f, img); f 1706 src/image.c check_image_size (struct frame *f, int width, int height) f 1718 src/image.c if (f != NULL) f 1720 src/image.c w = FRAME_PIXEL_WIDTH (f); f 1721 src/image.c h = FRAME_PIXEL_HEIGHT (f); f 1736 src/image.c prepare_image_for_display (struct frame *f, struct image *img) f 1744 src/image.c img->load_failed_p = ! img->type->load_img (f, img); f 1755 src/image.c IMAGE_BACKGROUND (img, f, img->pixmap); f 1756 src/image.c IMAGE_BACKGROUND_TRANSPARENT (img, f, img->mask); f 1761 src/image.c img->type->free_img (f, img); f 1770 src/image.c image_sync_to_pixmaps (f, img); f 1873 src/image.c image_background (struct image *img, struct frame *f, Emacs_Pix_Context pimg) f 1884 src/image.c pimg = image_get_x_image_or_dc (f, img, 0, &prev); f 1895 src/image.c bg = image_alloc_image_color (f, img, build_string (color_name), 0); f 1915 src/image.c image_background_transparent (struct image *img, struct frame *f, f 1929 src/image.c mask = image_get_x_image_or_dc (f, img, 1, &prev); f 1962 src/image.c image_clear_image_1 (struct frame *f, struct image *img, int flags) f 1968 src/image.c FRAME_TERMINAL (f)->free_pixmap (f, img->pixmap); f 1987 src/image.c FRAME_TERMINAL (f)->free_pixmap (f, img->mask); f 2005 src/image.c x_free_colors (f, img->colors, img->ncolors); f 2024 src/image.c image_clear_image (struct frame *f, struct image *img) f 2027 src/image.c image_clear_image_1 (f, img, f 2041 src/image.c image_alloc_image_color (struct frame *f, struct image *img, f 2049 src/image.c if (FRAME_TERMINAL (f)->defined_color_hook (f, f 2077 src/image.c static void cache_image (struct frame *f, struct image *img); f 2097 src/image.c search_image_cache (struct frame *f, Lisp_Object spec, EMACS_UINT hash, f 2102 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2172 src/image.c uncache_image (struct frame *f, Lisp_Object spec) f 2181 src/image.c while ((img = search_image_cache (f, spec, hash, 0, 0, 0, NULL, true))) f 2183 src/image.c free_image (f, img); f 2186 src/image.c SET_FRAME_GARBAGED (f); f 2195 src/image.c free_image_cache (struct frame *f) f 2197 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2206 src/image.c free_image (f, c->images[i]); f 2210 src/image.c FRAME_IMAGE_CACHE (f) = NULL; f 2224 src/image.c clear_image_cache (struct frame *f, Lisp_Object filter) f 2226 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2228 src/image.c if (c && !f->inhibit_clear_image_cache) f 2245 src/image.c free_image (f, img); f 2276 src/image.c free_image (f, img); f 2399 src/image.c image_frame_cache_size (struct frame *f) f 2401 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2433 src/image.c struct frame *f = XFRAME (frame); f 2434 src/image.c if (FRAME_WINDOW_P (f)) f 2435 src/image.c uncache_image (f, spec); f 2449 src/image.c postprocess_image (struct frame *f, struct image *img) f 2471 src/image.c image_build_heuristic_mask (f, img, mask); f 2479 src/image.c image_build_heuristic_mask (f, img, Qt); f 2484 src/image.c image_build_heuristic_mask (f, img, XCAR (XCDR (mask))); f 2486 src/image.c image_build_heuristic_mask (f, img, XCDR (mask)); f 2489 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 2496 src/image.c image_disable_image (f, img); f 2498 src/image.c image_laplace (f, img); f 2500 src/image.c image_emboss (f, img); f 2507 src/image.c image_edge_detection (f, img, f 2839 src/image.c image_set_transform (struct frame *f, struct image *img) f 2888 src/image.c width = img->width / FRAME_SCALE_FACTOR (f); f 2889 src/image.c height = img->height / FRAME_SCALE_FACTOR (f); f 3196 src/image.c XRenderSetPictureFilter (FRAME_X_DISPLAY (f), img->picture, f 3198 src/image.c XRenderSetPictureTransform (FRAME_X_DISPLAY (f), img->picture, &tmat); f 3202 src/image.c XRenderSetPictureFilter (FRAME_X_DISPLAY (f), img->mask_picture, f 3204 src/image.c XRenderSetPictureTransform (FRAME_X_DISPLAY (f), img->mask_picture, f 3239 src/image.c image = image_get_x_image (f, img, false); f 3294 src/image.c image = image_get_x_image (f, img, true); f 3332 src/image.c lookup_image (struct frame *f, Lisp_Object spec, int face_id) f 3337 src/image.c if (FRAME_FACE_CACHE (f) == NULL) f 3338 src/image.c init_frame_faces (f); f 3339 src/image.c if (FRAME_FACE_CACHE (f)->used == 0) f 3340 src/image.c recompute_basic_faces (f); f 3341 src/image.c if (face_id < 0 || face_id >= FRAME_FACE_CACHE (f)->used) f 3344 src/image.c struct face *face = FACE_FROM_ID (f, face_id); f 3352 src/image.c eassert (FRAME_WINDOW_P (f)); f 3357 src/image.c img = search_image_cache (f, spec, hash, foreground, background, f 3361 src/image.c free_image (f, img); f 3370 src/image.c cache_image (f, img); f 3376 src/image.c img->load_failed_p = ! img->type->load_img (f, img); f 3430 src/image.c = image_alloc_image_color (f, img, bg, background); f 3438 src/image.c postprocess_image (f, img); f 3444 src/image.c image_set_transform (f, img); f 3463 src/image.c cache_image (struct frame *f, struct image *img) f 3465 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 3469 src/image.c c = FRAME_IMAGE_CACHE (f) = make_image_cache (); f 3670 src/image.c x_create_x_image_and_pixmap (struct frame *f, int width, int height, int depth, f 3674 src/image.c Display *display = FRAME_X_DISPLAY (f); f 3675 src/image.c Drawable drawable = FRAME_X_DRAWABLE (f); f 3681 src/image.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 3683 src/image.c *ximg = XCreateImage (display, FRAME_X_VISUAL (f), f 3748 src/image.c x_create_xrender_picture (struct frame *f, Emacs_Pixmap pixmap, int depth) f 3751 src/image.c Display *display = FRAME_X_DISPLAY (f); f 3753 src/image.c if (FRAME_DISPLAY_INFO (f)->xrender_supported_p) f 3756 src/image.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 3829 src/image.c image_create_x_image_and_pixmap_1 (struct frame *f, int width, int height, int depth, f 3848 src/image.c if (!x_create_x_image_and_pixmap (f, width, height, depth, pimg, pixmap)) f 3852 src/image.c *picture = x_create_xrender_picture (f, *pixmap, depth); f 3946 src/image.c hdc = get_frame_dc (f); f 3956 src/image.c release_frame_dc (f, hdc); f 4019 src/image.c gui_put_x_image (struct frame *f, Emacs_Pix_Container pimg, f 4028 src/image.c gc = XCreateGC (FRAME_X_DISPLAY (f), pixmap, 0, NULL); f 4029 src/image.c XPutImage (FRAME_X_DISPLAY (f), pixmap, gc, pimg, 0, 0, 0, 0, f 4031 src/image.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 4046 src/image.c image_create_x_image_and_pixmap (struct frame *f, struct image *img, f 4056 src/image.c return image_create_x_image_and_pixmap_1 (f, width, height, depth, ximg, f 4068 src/image.c image_put_x_image (struct frame *f, struct image *img, Emacs_Pix_Container ximg, f 4083 src/image.c gui_put_x_image (f, ximg, !mask_p ? img->pixmap : img->mask, f 4094 src/image.c image_sync_to_pixmaps (struct frame *f, struct image *img) f 4098 src/image.c gui_put_x_image (f, img->ximg, img->pixmap, img->width, img->height); f 4104 src/image.c gui_put_x_image (f, img->mask_img, img->mask, img->width, img->height); f 4117 src/image.c image_get_x_image_or_dc (struct frame *f, struct image *img, bool mask_p, f 4120 src/image.c HDC frame_dc = get_frame_dc (f); f 4123 src/image.c release_frame_dc (f, frame_dc); f 4141 src/image.c image_get_x_image (struct frame *f, struct image *img, bool mask_p) f 4152 src/image.c return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, f 4157 src/image.c return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, f 4704 src/image.c convert_mono_to_color_image (struct frame *f, struct image *img, f 4711 src/image.c hdc = get_frame_dc (f); f 4715 src/image.c release_frame_dc (f, hdc); f 4745 src/image.c Create_Pixmap_From_Bitmap_Data (struct frame *f, struct image *img, char *data, f 4751 src/image.c FRAME_TERMINAL (f)->query_colors (f, fgbg, ARRAYELTS (fgbg)); f 4752 src/image.c fg = lookup_rgb_color (f, fgbg[0].red, fgbg[0].green, fgbg[0].blue); f 4753 src/image.c bg = lookup_rgb_color (f, fgbg[1].red, fgbg[1].green, fgbg[1].blue); f 4755 src/image.c = image_pix_container_create_from_bitmap_data (f, data, img->width, f 4759 src/image.c = XCreatePixmapFromBitmapData (FRAME_X_DISPLAY (f), f 4760 src/image.c FRAME_X_DRAWABLE (f), f 4764 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 4767 src/image.c img->picture = x_create_xrender_picture (f, img->pixmap, 0); f 4775 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 4785 src/image.c convert_mono_to_color_image (f, img, fg, bg); f 4818 src/image.c xbm_read_bitmap_data (struct frame *f, char *contents, char *end, f 4873 src/image.c if (!check_image_size (f, *width, *height)) f 4979 src/image.c xbm_load_image (struct frame *f, struct image *img, char *contents, char *end) f 4985 src/image.c rc = xbm_read_bitmap_data (f, contents, end, &img->width, &img->height, f 5001 src/image.c foreground = image_alloc_image_color (f, img, value, foreground); f 5007 src/image.c background = image_alloc_image_color (f, img, value, background); f 5014 src/image.c Create_Pixmap_From_Bitmap_Data (f, img, data, f 5023 src/image.c image_clear_image (f, img); f 5053 src/image.c xbm_load (struct frame *f, struct image *img) f 5080 src/image.c success_p = xbm_load_image (f, img, contents, contents + size); f 5109 src/image.c if (!check_image_size (f, img->width, img->height)) f 5120 src/image.c foreground = image_alloc_image_color (f, f 5130 src/image.c background = image_alloc_image_color (f, f 5138 src/image.c success_p = xbm_load_image (f, img, SSDATA (data), f 5181 src/image.c Create_Pixmap_From_Bitmap_Data (f, img, bits, f 5193 src/image.c image_clear_image (f, img); f 5213 src/image.c static bool xpm_load (struct frame *f, struct image *img); f 5328 src/image.c xpm_init_color_cache (struct frame *f, XpmAttributes *attrs) f 5340 src/image.c if (x_parse_color (f, attrs->colorsymbols[i].value, &color)) f 5342 src/image.c color.pixel = lookup_rgb_color (f, color.red, color.green, f 5344 src/image.c xpm_cache_color (f, attrs->colorsymbols[i].name, &color, -1); f 5385 src/image.c xpm_cache_color (struct frame *f, char *color_name, XColor *color, int bucket) f 5408 src/image.c xpm_lookup_color (struct frame *f, char *color_name, XColor *color) f 5419 src/image.c else if (x_parse_color (f, color_name, color)) f 5421 src/image.c color->pixel = lookup_rgb_color (f, color->red, color->green, f 5423 src/image.c p = xpm_cache_color (f, color_name, color, h); f 5430 src/image.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 5431 src/image.c p = xpm_cache_color (f, color_name, color, h); f 5547 src/image.c x_create_bitmap_from_xpm_data (struct frame *f, const char **bits) f 5549 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5557 src/image.c attrs.visual = FRAME_X_VISUAL (f); f 5558 src/image.c attrs.colormap = FRAME_X_COLORMAP (f); f 5563 src/image.c attrs.color_closure = f; f 5567 src/image.c xpm_init_color_cache (f, &attrs); f 5570 src/image.c rc = XpmCreatePixmapFromData (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5578 src/image.c id = image_allocate_bitmap_record (f); f 5605 src/image.c xpm_load (struct frame *f, struct image *img) f 5622 src/image.c attrs.visual = FRAME_X_VISUAL (f); f 5623 src/image.c attrs.colormap = FRAME_X_COLORMAP (f); f 5624 src/image.c attrs.depth = FRAME_DISPLAY_INFO (f)->n_planes; f 5633 src/image.c attrs.color_closure = f; f 5702 src/image.c xpm_init_color_cache (f, &attrs); f 5709 src/image.c HDC frame_dc = get_frame_dc (f); f 5711 src/image.c release_frame_dc (f, frame_dc); f 5742 src/image.c rc = XpmReadFileToImage (FRAME_X_DISPLAY (f), SSDATA (file), f 5766 src/image.c rc = XpmCreateImageFromBuffer (FRAME_X_DISPLAY (f), SSDATA (buffer), f 5775 src/image.c img->pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5780 src/image.c image_clear_image (f, img); f 5786 src/image.c img->picture = x_create_xrender_picture (f, img->pixmap, f 5791 src/image.c img->mask = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5797 src/image.c image_clear_image (f, img); f 5803 src/image.c (f, img->mask, img->mask_img->depth); f 5867 src/image.c IMAGE_BACKGROUND (img, f, img->ximg); f 5871 src/image.c image_background_transparent (img, f, img->mask_img); f 6102 src/image.c xpm_load_image (struct frame *f, f 6164 src/image.c if (!check_image_size (f, width, height)) f 6170 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0) f 6172 src/image.c || !image_create_x_image_and_pixmap (f, img, width, height, 1, f 6183 src/image.c XSETFRAME (frame, f); f 6256 src/image.c else if (FRAME_TERMINAL (f)->defined_color_hook f 6257 src/image.c (f, SSDATA (XCDR (specified_color)), &cdef, false, false)) f 6259 src/image.c = make_fixnum (lookup_rgb_color (f, cdef.red, cdef.green, f 6267 src/image.c else if (FRAME_TERMINAL (f)->defined_color_hook f 6268 src/image.c (f, max_color, &cdef, false, false)) f 6269 src/image.c color_val = make_fixnum (lookup_rgb_color (f, cdef.red, cdef.green, f 6278 src/image.c unsigned long frame_fg = FRAME_FOREGROUND_PIXEL (f); f 6282 src/image.c FRAME_TERMINAL (f)->query_colors (f, &color, 1); f 6283 src/image.c frame_fg = lookup_rgb_color (f, color.red, color.green, color.blue); f 6317 src/image.c IMAGE_BACKGROUND (img, f, ximg); f 6319 src/image.c image_put_x_image (f, img, ximg, 0); f 6325 src/image.c image_background_transparent (img, f, mask_img); f 6327 src/image.c image_put_x_image (f, img, mask_img, 1); f 6332 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 6341 src/image.c image_clear_image (f, img); f 6350 src/image.c xpm_load (struct frame *f, f 6376 src/image.c success_p = xpm_load_image (f, img, contents, contents + size); f 6389 src/image.c success_p = xpm_load_image (f, img, SSDATA (data), f 6480 src/image.c lookup_rgb_color (struct frame *f, int r, int g, int b) f 6491 src/image.c dpyinfo = FRAME_DISPLAY_INFO (f); f 6495 src/image.c if (f->gamma) f 6499 src/image.c gamma_correct (f, &color); f 6522 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6529 src/image.c cmap = FRAME_X_COLORMAP (f); f 6530 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 6543 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6571 src/image.c lookup_pixel_color (struct frame *f, unsigned long pixel) f 6587 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6590 src/image.c cmap = FRAME_X_COLORMAP (f); f 6592 src/image.c x_query_colors (f, &color, 1); f 6593 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 6596 src/image.c cmap = DefaultColormapOfScreen (FRAME_X_SCREEN (f)); f 6599 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 6616 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6653 src/image.c lookup_rgb_color (struct frame *f, int r, int g, int b) f 6707 src/image.c image_to_emacs_colors (struct frame *f, struct image *img, bool rgb_p) f 6724 src/image.c ximg = image_get_x_image_or_dc (f, img, 0, &prev); f 6738 src/image.c FRAME_TERMINAL (f)->query_colors (f, row, img->width); f 6810 src/image.c image_from_emacs_colors (struct frame *f, struct image *img, Emacs_Color *colors) f 6824 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP | CLEAR_IMAGE_COLORS); f 6825 src/image.c image_create_x_image_and_pixmap (f, img, img->width, img->height, 0, f 6832 src/image.c pixel = lookup_rgb_color (f, p->red, p->green, p->blue); f 6838 src/image.c image_put_x_image (f, img, ximage, false); f 6855 src/image.c image_detect_edges (struct frame *f, struct image *img, f 6858 src/image.c Emacs_Color *colors = image_to_emacs_colors (f, img, 1); f 6916 src/image.c image_from_emacs_colors (f, img, new); f 6926 src/image.c image_emboss (struct frame *f, struct image *img) f 6928 src/image.c image_detect_edges (f, img, emboss_matrix, 0xffff / 2); f 6937 src/image.c image_laplace (struct frame *f, struct image *img) f 6939 src/image.c image_detect_edges (f, img, laplace_matrix, 45000); f 6955 src/image.c image_edge_detection (struct frame *f, struct image *img, f 6978 src/image.c image_detect_edges (f, img, trans, XFLOATINT (color_adjust)); f 6986 src/image.c image_pixmap_draw_cross (struct frame *f, Emacs_Pixmap pixmap, f 7011 src/image.c Display *dpy = FRAME_X_DISPLAY (f); f 7040 src/image.c image_disable_image (struct frame *f, struct image *img) f 7042 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 7054 src/image.c Emacs_Color *colors = image_to_emacs_colors (f, img, 1); f 7068 src/image.c image_from_emacs_colors (f, img, colors); f 7079 src/image.c #define CrossForeground(f) BLACK_PIX_DEFAULT (f) f 7080 src/image.c #define MaskForeground(f) WHITE_PIX_DEFAULT (f) f 7082 src/image.c #define CrossForeground(f) 0 f 7083 src/image.c #define MaskForeground(f) PIX_MASK_DRAW f 7087 src/image.c image_sync_to_pixmaps (f, img); f 7089 src/image.c image_pixmap_draw_cross (f, img->pixmap, 0, 0, img->width, img->height, f 7090 src/image.c CrossForeground (f)); f 7092 src/image.c image_pixmap_draw_cross (f, img->mask, 0, 0, img->width, img->height, f 7093 src/image.c MaskForeground (f)); f 7099 src/image.c hdc = get_frame_dc (f); f 7101 src/image.c release_frame_dc (f, hdc); f 7105 src/image.c SetTextColor (bmpdc, BLACK_PIX_DEFAULT (f)); f 7114 src/image.c SetTextColor (bmpdc, WHITE_PIX_DEFAULT (f)); f 7135 src/image.c image_build_heuristic_mask (struct frame *f, struct image *img, f 7151 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 7156 src/image.c if (! image_create_x_image_and_pixmap (f, img, img->width, img->height, 1, f 7167 src/image.c ximg = image_get_x_image_or_dc (f, img, 0, &prev); f 7193 src/image.c image_alloc_image_color (f, img, build_string (color_name), 0)); f 7195 src/image.c bg = lookup_rgb_color (f, rgb[0], rgb[1], rgb[2]); f 7218 src/image.c image_background_transparent (img, f, mask_img); f 7221 src/image.c image_put_x_image (f, img, mask_img, 1); f 7237 src/image.c image_background_transparent (img, f, ximg); f 7374 src/image.c pbm_load (struct frame *f, struct image *img) f 7477 src/image.c if (!check_image_size (f, width, height)) f 7483 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 7503 src/image.c fg = image_alloc_image_color (f, img, fmt[PBM_FOREGROUND].value, fg); f 7507 src/image.c bg = image_alloc_image_color (f, img, fmt[PBM_BACKGROUND].value, bg); f 7515 src/image.c FRAME_TERMINAL (f)->query_colors (f, fgbg, ARRAYELTS (fgbg)); f 7516 src/image.c fg = lookup_rgb_color (f, fgbg[0].red, fgbg[0].green, fgbg[0].blue); f 7517 src/image.c bg = lookup_rgb_color (f, fgbg[1].red, fgbg[1].green, fgbg[1].blue); f 7530 src/image.c image_clear_image (f, img); f 7568 src/image.c image_clear_image (f, img); f 7607 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 7625 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 7628 src/image.c image_put_x_image (f, img, ximg, 0); f 7713 src/image.c native_image_load (struct frame *f, struct image *img) f 7721 src/image.c return w32_load_image (f, img, image_file, f 7724 src/image.c return ns_load_image (f, img, image_file, f 7727 src/image.c return haiku_load_image (f, img, image_file, f 8030 src/image.c png_load_body (struct frame *f, struct image *img, struct png_load_context *c) f 8163 src/image.c && check_image_size (f, width, height))) f 8171 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 8224 src/image.c ? FRAME_TERMINAL (f)->defined_color_hook (f, f 8229 src/image.c : (FRAME_TERMINAL (f)->query_frame_background_color (f, &color), f 8280 src/image.c && !image_create_x_image_and_pixmap (f, img, width, height, 1, f 8284 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP); f 8302 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 8336 src/image.c img->background = lookup_rgb_color (f, bg->red, bg->green, bg->blue); f 8341 src/image.c = image_alloc_image_color (f, img, build_string (color_name), 0); f 8363 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 8366 src/image.c image_put_x_image (f, img, ximg, 0); f 8373 src/image.c image_background_transparent (img, f, (Emacs_Pix_Context)mask_img); f 8375 src/image.c image_put_x_image (f, img, mask_img, 1); f 8382 src/image.c png_load (struct frame *f, struct image *img) f 8385 src/image.c return png_load_body (f, img, &c); f 8769 src/image.c jpeg_load_body (struct frame *f, struct image *img, f 8843 src/image.c image_clear_image (f, img); f 8866 src/image.c if (!check_image_size (f, width, height)) f 8873 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 8907 src/image.c colors[i] = lookup_rgb_color (f, r, g, b); f 8937 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 8940 src/image.c image_put_x_image (f, img, ximg, 0); f 8946 src/image.c jpeg_load (struct frame *f, struct image *img) f 8949 src/image.c return jpeg_load_body (f, img, &mgr); f 9223 src/image.c tiff_load (struct frame *f, struct image *img) f 9312 src/image.c if (!check_image_size (f, width, height)) f 9321 src/image.c && image_create_x_image_and_pixmap (f, img, width, height, 0, f 9363 src/image.c PUT_PIXEL (ximg, x, height - 1 - y, lookup_rgb_color (f, r, g, b)); f 9379 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 9382 src/image.c image_put_x_image (f, img, ximg, 0); f 9437 src/image.c gif_clear_image (struct frame *f, struct image *img) f 9440 src/image.c image_clear_image (f, img); f 9634 src/image.c gif_load (struct frame *f, struct image *img) f 9752 src/image.c if (!check_image_size (f, gif->SWidth, gif->SHeight)) f 9835 src/image.c if (!check_image_size (f, width, height)) f 9843 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 9861 src/image.c frame_bg = FRAME_BACKGROUND_PIXEL (f); f 9865 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &color); f 9866 src/image.c frame_bg = lookup_rgb_color (f, color.red, color.green, color.blue); f 9893 src/image.c bgcolor = image_alloc_image_color (f, img, specified_bg, f 9894 src/image.c FRAME_BACKGROUND_PIXEL (f)); f 9897 src/image.c FRAME_TERMINAL (f)->query_colors (f, &color, 1); f 9898 src/image.c bgcolor = lookup_rgb_color (f, color.red, color.green, color.blue); f 9990 src/image.c pixel_colors[i] = lookup_rgb_color (f, r, g, b); f 10099 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 10102 src/image.c image_put_x_image (f, img, ximg, 0); f 10249 src/image.c #define WebPGetFeatures(d,s,f) \ f 10250 src/image.c fn_WebPGetFeaturesInternal(d,s,f,WEBP_DECODER_ABI_VERSION) f 10278 src/image.c webp_load (struct frame *f, struct image *img) f 10446 src/image.c && check_image_size (f, width, height))) f 10454 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, false)) f 10460 src/image.c && !image_create_x_image_and_pixmap (f, img, width, height, 1, f 10464 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP); f 10486 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 10508 src/image.c image_put_x_image (f, img, ximg, 0); f 10515 src/image.c image_background_transparent (img, f, (Emacs_Pix_Context)mask_img); f 10517 src/image.c image_put_x_image (f, img, mask_img, 1); f 10609 src/image.c imagemagick_clear_image (struct frame *f, f 10612 src/image.c image_clear_image (f, img); f 10916 src/image.c imagemagick_load_image (struct frame *f, struct image *img, f 11043 src/image.c || !FRAME_TERMINAL (f)->defined_color_hook (f, f 11048 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &bgcolor); f 11150 src/image.c && check_image_size (f, image_width, image_height))) f 11176 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, imagedepth, f 11217 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, f 11255 src/image.c lookup_rgb_color (f, f 11274 src/image.c image_put_x_image (f, img, ximg, 0); f 11302 src/image.c imagemagick_load (struct frame *f, struct image *img) f 11321 src/image.c success_p = imagemagick_load_image (f, img, 0, 0, SSDATA (file)); f 11335 src/image.c success_p = imagemagick_load_image (f, img, SDATA (data), f 11682 src/image.c svg_load (struct frame *f, struct image *img) f 11711 src/image.c success_p = svg_load_image (f, img, contents, size, f 11729 src/image.c success_p = svg_load_image (f, img, SSDATA (data), SBYTES (data), f 11792 src/image.c svg_load_image (struct frame *f, struct image *img, char *contents, f 11837 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11838 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11870 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11871 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11912 src/image.c double dpi = FRAME_DISPLAY_INFO (f)->resx; f 11979 src/image.c width = scale_image_size (width, 1, FRAME_SCALE_FACTOR (f)); f 11980 src/image.c height = scale_image_size (height, 1, FRAME_SCALE_FACTOR (f)); f 11986 src/image.c if (! check_image_size (f, width, height)) f 12028 src/image.c foreground = image_alloc_image_color (f, img, value, img->face_foreground); f 12032 src/image.c background = image_alloc_image_color (f, img, value, img->face_background); f 12065 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 12066 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 12076 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 12077 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 12124 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 12147 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, red << 8, green << 8, blue << 8)); f 12166 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 12169 src/image.c image_put_x_image (f, img, ximg, 0); f 12306 src/image.c gs_load (struct frame *f, struct image *img) f 12321 src/image.c in_width *= FRAME_RES_X (f); f 12324 src/image.c in_height *= FRAME_RES_Y (f); f 12327 src/image.c && check_image_size (f, in_width, in_height))) f 12342 src/image.c img->pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 12344 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 12358 src/image.c printnum1 = FRAME_X_DRAWABLE (f); f 12364 src/image.c printnum1 = FRAME_FOREGROUND_PIXEL (f); f 12365 src/image.c printnum2 = FRAME_BACKGROUND_PIXEL (f); f 12370 src/image.c XSETFRAME (frame, f); f 12389 src/image.c x_kill_gs_process (Pixmap pixmap, struct frame *f) f 12391 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 12417 src/image.c if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 12424 src/image.c ximg = XGetImage (FRAME_X_DISPLAY (f), img->pixmap, f 12440 src/image.c lookup_pixel_color (f, pixel); f 12460 src/image.c postprocess_image (f, img); f 12510 src/image.c struct frame *f = decode_live_frame (frame); f 12511 src/image.c if (FRAME_WINDOW_P (f)) f 12518 src/image.c if (FRAME_DISPLAY_INFO (f)->xrender_supported_p) f 2107 src/indent.c struct frame *f = XFRAME (w->frame); f 2108 src/indent.c return make_float ((double) pixel_width / FRAME_COLUMN_WIDTH (f)); f 913 src/keyboard.c temporarily_switch_to_single_kboard (struct frame *f) f 918 src/keyboard.c if (f != NULL && FRAME_KBOARD (f) != current_kboard) f 927 src/keyboard.c FRAME_TERMINAL (f)->id); f 934 src/keyboard.c else if (f != NULL) f 935 src/keyboard.c current_kboard = FRAME_KBOARD (f); f 2244 src/keyboard.c struct frame *f = some_mouse_moved (); f 2247 src/keyboard.c if (f) f 2248 src/keyboard.c f->mouse_moved = true; f 4176 src/keyboard.c struct frame *f; f 4179 src/keyboard.c f = (XFRAME (event->ie.frame_or_window)); f 4180 src/keyboard.c if (FRAME_LIVE_P (f) && FRAME_TERMINAL (f)->activate_menubar_hook) f 4181 src/keyboard.c FRAME_TERMINAL (f)->activate_menubar_hook (f); f 4401 src/keyboard.c struct frame *f, *movement_frame = some_mouse_moved (); f 4407 src/keyboard.c f = movement_frame; f 4415 src/keyboard.c if (f && FRAME_TERMINAL (f)->mouse_position_hook) f 4416 src/keyboard.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, 0, &bar_window, f 4424 src/keyboard.c if (!NILP (x) && f) f 4428 src/keyboard.c frame = FRAME_FOCUS_FRAME (f); f 4430 src/keyboard.c XSETFRAME (frame, f); f 4441 src/keyboard.c obj = make_lispy_movement (f, bar_window, part, x, y, t); f 5535 src/keyboard.c make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y, f 5545 src/keyboard.c Lisp_Object window_or_frame = f f 5546 src/keyboard.c ? window_from_coordinates (f, mx, my, &part, true, true) f 5554 src/keyboard.c if (f && ((WINDOWP (f->tab_bar_window) f 5555 src/keyboard.c && EQ (window_or_frame, f->tab_bar_window)) f 5557 src/keyboard.c || (WINDOWP (f->tool_bar_window) f 5558 src/keyboard.c && EQ (window_or_frame, f->tool_bar_window)) f 5576 src/keyboard.c posn = EQ (window_or_frame, f->tab_bar_window) ? Qtab_bar : Qtool_bar; f 5584 src/keyboard.c if (f && FRAME_TERMINAL (f)->toolkit_position_hook) f 5586 src/keyboard.c FRAME_TERMINAL (f)->toolkit_position_hook (f, mx, my, &menu_bar_p, f 5598 src/keyboard.c if (f f 5599 src/keyboard.c && !FRAME_WINDOW_P (f) f 5600 src/keyboard.c && FRAME_TAB_BAR_LINES (f) > 0 f 5601 src/keyboard.c && my >= FRAME_MENU_BAR_LINES (f) f 5602 src/keyboard.c && my < FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f)) f 5804 src/keyboard.c else if (f) f 5807 src/keyboard.c XSETFRAME (window_or_frame, f); f 5812 src/keyboard.c if (FRAME_WINDOW_P (f) f 5813 src/keyboard.c && FRAME_LIVE_P (f) f 5815 src/keyboard.c && FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 5816 src/keyboard.c && !NILP (get_frame_param (f, Qdrag_internal_border))) f 5819 src/keyboard.c = frame_internal_border_part (f, xret, yret); f 5849 src/keyboard.c toolkit_menubar_in_use (struct frame *f) f 5852 src/keyboard.c return !(!FRAME_WINDOW_P (f)); f 5875 src/keyboard.c coords_in_menu_bar_window (struct frame *f, int x, int y) f 5879 src/keyboard.c if (!WINDOWP (f->menu_bar_window)) f 5882 src/keyboard.c window = XWINDOW (f->menu_bar_window); f 5898 src/keyboard.c coords_in_tab_bar_window (struct frame *f, int x, int y) f 5902 src/keyboard.c if (!WINDOWP (f->tab_bar_window)) f 5905 src/keyboard.c window = XWINDOW (f->tab_bar_window); f 6154 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6159 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6167 src/keyboard.c if (!toolkit_menubar_in_use (f) f 6171 src/keyboard.c && (!FRAME_WINDOW_P (f) f 6172 src/keyboard.c || coords_in_menu_bar_window (f, XFIXNUM (event->x), f 6178 src/keyboard.c if (FRAME_WINDOW_P (f)) f 6180 src/keyboard.c struct window *menu_w = XWINDOW (f->menu_bar_window); f 6186 src/keyboard.c x_y_to_hpos_vpos (XWINDOW (f->menu_bar_window), x, y, &column, &row, f 6191 src/keyboard.c pixel_to_glyph_coords (f, XFIXNUM (event->x), XFIXNUM (event->y), f 6201 src/keyboard.c if (row >= 0 && row < FRAME_MENU_BAR_LINES (f) f 6208 src/keyboard.c items = FRAME_MENU_BAR_ITEMS (f); f 6241 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6271 src/keyboard.c struct frame *f; f 6275 src/keyboard.c f = XFRAME (XWINDOW (event->frame_or_window)->frame); f 6277 src/keyboard.c f = XFRAME (event->frame_or_window); f 6281 src/keyboard.c if (FRAME_WINDOW_P (f)) f 6447 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6451 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6454 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6552 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6554 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6557 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6566 src/keyboard.c struct frame *f; f 6572 src/keyboard.c f = XFRAME (event->frame_or_window); f 6574 src/keyboard.c if (!FRAME_LIVE_P (f)) f 6582 src/keyboard.c if (coords_in_menu_bar_window (f, XFIXNUM (x), XFIXNUM (y))) f 6591 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6599 src/keyboard.c if (coords_in_tab_bar_window (f, XFIXNUM (event->x), f 6604 src/keyboard.c && get_tab_bar_item_kbd (f, XFIXNUM (event->x), f 6609 src/keyboard.c x = Fcopy_sequence (AREF (f->tab_bar_items, f 6614 src/keyboard.c AUTO_LIST2 (y, Qmenu_item, list3 (AREF (f->tab_bar_items, f 6617 src/keyboard.c AREF (f->tab_bar_items, f 6643 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6652 src/keyboard.c if (!FRAME_LIVE_P (f)) f 6666 src/keyboard.c if (!NILP (f->menu_bar_window)) f 6668 src/keyboard.c x_y_to_hpos_vpos (XWINDOW (f->menu_bar_window), XFIXNUM (x), f 6672 src/keyboard.c if (row >= 0 && row < FRAME_MENU_BAR_LINES (f)) f 6678 src/keyboard.c items = FRAME_MENU_BAR_ITEMS (f); f 6715 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6723 src/keyboard.c if (coords_in_tab_bar_window (f, XFIXNUM (event->x), f 6728 src/keyboard.c && get_tab_bar_item_kbd (f, XFIXNUM (event->x), f 6733 src/keyboard.c x = Fcopy_sequence (AREF (f->tab_bar_items, f 6738 src/keyboard.c AUTO_LIST2 (y, Qmenu_item, list3 (AREF (f->tab_bar_items, f 6741 src/keyboard.c AREF (f->tab_bar_items, f 6760 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6769 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6774 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6785 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6788 src/keyboard.c if (!FRAME_LIVE_P (f)) f 6803 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6888 src/keyboard.c struct frame *f; f 6892 src/keyboard.c f = XFRAME (event->frame_or_window); f 6897 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6900 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 7822 src/keyboard.c struct frame *f = XFRAME (frame); f 7823 src/keyboard.c if (FRAME_TERMINAL (f) == t) f 7824 src/keyboard.c frame_make_pointer_visible (f); f 2955 src/lisp.h XFLOAT_DATA (Lisp_Object f) f 2957 src/lisp.h return XFLOAT (f)->u.data; f 3224 src/lisp.h #define CALLMANY(f, array) (f) (ARRAYELTS (array), array) f 3232 src/lisp.h #define CALLN(f, ...) CALLMANY (f, ((Lisp_Object []) {__VA_ARGS__})) f 82 src/macfont.h extern void mac_register_font_driver (struct frame *f); f 627 src/menu.c struct frame *f = XFRAME (Vmenu_updating_frame); f 676 src/menu.c if (!FRAME_TERMCAP_P (f)) f 752 src/menu.c if (!FRAME_TERMCAP_P (f)) f 885 src/menu.c find_and_call_menu_selection (struct frame *f, int menu_bar_items_used, f 929 src/menu.c XSETFRAME (frame, f); f 972 src/menu.c find_and_return_menu_selection (struct frame *f, bool keymaps, void *client_data) f 1073 src/menu.c struct frame *f = decode_any_frame (frame); f 1075 src/menu.c if (!FRAME_LIVE_P (f)) f 1078 src/menu.c pixel_to_glyph_coords (f, XFIXNUM (x), XFIXNUM (y), &col, &row, NULL, 1); f 1079 src/menu.c if (0 <= row && row < FRAME_MENU_BAR_LINES (f)) f 1086 src/menu.c items = FRAME_MENU_BAR_ITEMS (f); f 1119 src/menu.c struct frame *f; f 1243 src/menu.c f = XFRAME (window); f 1251 src/menu.c f = XFRAME (WINDOW_FRAME (win)); f 1285 src/menu.c XSETFRAME (Vmenu_updating_frame, f); f 1374 src/menu.c if (!FRAME_TERMCAP_P (f)) f 1384 src/menu.c if (current_popup_menu && FRAME_W32_P (f)) f 1387 src/menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1410 src/menu.c if (!FRAME_INITIAL_P (f)) f 1411 src/menu.c selection = FRAME_TERMINAL (f)->menu_show_hook (f, xpos, ypos, menuflags, f 1421 src/menu.c if (FRAME_W32_P (f)) f 1422 src/menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1483 src/menu.c emulate_dialog_with_menu (struct frame *f, Lisp_Object contents) f 1488 src/menu.c if (FRAME_WINDOW_P (f)) f 1490 src/menu.c x_coord = FRAME_PIXEL_WIDTH (f); f 1491 src/menu.c y_coord = FRAME_PIXEL_HEIGHT (f); f 1495 src/menu.c x_coord = FRAME_COLS (f); f 1500 src/menu.c y_coord = FRAME_TOTAL_LINES (f); f 1503 src/menu.c XSETFRAME (frame, f); f 1536 src/menu.c struct frame *f = NULL; f 1564 src/menu.c f = XFRAME (window); f 1568 src/menu.c f = XFRAME (WINDOW_FRAME (XWINDOW (window))); f 1577 src/menu.c eassume (f && FRAME_LIVE_P (f)); f 1578 src/menu.c XSETFRAME (Vmenu_updating_frame, f); f 1592 src/menu.c if (FRAME_TERMINAL (f)->popup_dialog_hook) f 1595 src/menu.c = FRAME_TERMINAL (f)->popup_dialog_hook (f, header, contents); f 1605 src/menu.c return emulate_dialog_with_menu (f, contents); f 198 src/minibuf.c struct frame *f = XFRAME (frame); f 200 src/minibuf.c minibuf_window = f->minibuffer_window; f 204 src/minibuf.c if (FRAME_LIVE_P (f) f 205 src/minibuf.c && !EQ (f->minibuffer_window, of->minibuffer_window) f 206 src/minibuf.c && WINDOW_LIVE_P (f->minibuffer_window) /* F not a tooltip frame */ f 209 src/minibuf.c zip_minibuffer_stacks (f->minibuffer_window, of->minibuffer_window); f 221 src/minibuf.c struct frame *f; f 232 src/minibuf.c f = XFRAME (frame); f 233 src/minibuf.c if (FRAME_LIVE_P (f) f 234 src/minibuf.c && WINDOW_LIVE_P (f->minibuffer_window) f 235 src/minibuf.c && EQ (XWINDOW (f->minibuffer_window)->contents, innermost_MB)) f 236 src/minibuf.c return f->minibuffer_window; f 1105 src/minibuf.c struct frame *f; f 1113 src/minibuf.c f = XFRAME (exp_MB_frame); f 1114 src/minibuf.c window = f->minibuffer_window; f 1250 src/minibuf.c struct frame *f; f 1256 src/minibuf.c f = XFRAME (exp_MB_frame); f 1257 src/minibuf.c window = f->minibuffer_window; f 1259 src/minibuf.c if (FRAME_LIVE_P (f)) f 310 src/msdos.c mouse_get_pos (struct frame **f, int insist, Lisp_Object *bar_window, f 321 src/msdos.c *f = SELECTED_FRAME (); f 610 src/msdos.c struct frame *f = SELECTED_FRAME (); f 611 src/msdos.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 614 src/msdos.c if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f) f 653 src/msdos.c msdos_set_cursor_shape (struct frame *f, int start_line, int width) f 658 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 663 src/msdos.c if (f && f != SELECTED_FRAME ()) f 734 src/msdos.c IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type) f 739 src/msdos.c msdos_set_cursor_shape (f, DEFAULT_CURSOR_START, DEFAULT_CURSOR_WIDTH); f 753 src/msdos.c msdos_set_cursor_shape (f, width >= 0 ? DEFAULT_CURSOR_START : 0, f 763 src/msdos.c msdos_set_cursor_shape (f, start_line, width); f 771 src/msdos.c msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH); f 776 src/msdos.c IT_ring_bell (struct frame *f) f 873 src/msdos.c IT_write_glyphs (struct frame *f, struct glyph *str, int str_len) f 878 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 885 src/msdos.c struct coding_system *coding = FRAME_TERMINAL_CODING (f); f 975 src/msdos.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 976 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1029 src/msdos.c IT_write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 1038 src/msdos.c IT_clear_end_of_line (struct frame *f, int first_unused) f 1042 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1070 src/msdos.c IT_clear_screen (struct frame *f) f 1072 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1094 src/msdos.c IT_clear_to_end (struct frame *f) f 1096 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1103 src/msdos.c IT_clear_end_of_line (f, screen_size_X); f 1109 src/msdos.c IT_cursor_to (struct frame *f, int y, int x) f 1111 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1164 src/msdos.c IT_cmgoto (struct frame *f) f 1169 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1186 src/msdos.c && WINDOW_TOP_EDGE_LINE (XWINDOW (FRAME_MINIBUF_WINDOW (f))) <= new_pos_Y) f 1233 src/msdos.c IT_update_begin (struct frame *f) f 1235 src/msdos.c struct tty_display_info *display_info = FRAME_DISPLAY_INFO (f); f 1244 src/msdos.c if (f && f == mouse_face_frame) f 1251 src/msdos.c if (FRAME_GARBAGED_P (f)) f 1290 src/msdos.c IT_update_end (struct frame *f) f 1292 src/msdos.c struct tty_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1300 src/msdos.c IT_frame_up_to_date (struct frame *f) f 1305 src/msdos.c FRAME_MOUSE_UPDATE (f); f 1313 src/msdos.c sw = XWINDOW (f->selected_window); f 1314 src/msdos.c frame_desired_cursor = Fcdr (Fassq (Qcursor_type, f->param_alist)); f 1316 src/msdos.c && FRAME_HAS_MINIBUF_P (f) f 1317 src/msdos.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window) f 1332 src/msdos.c IT_set_cursor_type (f, new_cursor); f 1334 src/msdos.c IT_cmgoto (f); /* position cursor when update is done */ f 1374 src/msdos.c IT_insert_glyphs (struct frame *f, struct glyph *start, int len) f 1383 src/msdos.c IT_write_glyphs (f, start, len); f 1387 src/msdos.c IT_delete_glyphs (struct frame *f, int n) f 1551 src/msdos.c struct frame *f; f 1554 src/msdos.c f = XFRAME (frame); f 1560 src/msdos.c initial_screen_colors[0] = FRAME_FOREGROUND_PIXEL (f); f 1561 src/msdos.c initial_screen_colors[1] = FRAME_BACKGROUND_PIXEL (f); f 1567 src/msdos.c IT_set_frame_parameters (struct frame *f, Lisp_Object alist) f 1576 src/msdos.c int reverse = EQ (Fcdr (Fassq (Qreverse, f->param_alist)), Qt); f 1579 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1583 src/msdos.c if (!f->default_face_done_p f 1586 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = initial_screen_colors[0]; f 1587 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = initial_screen_colors[1]; f 1588 src/msdos.c init_frame_faces (f); f 1589 src/msdos.c f->default_face_done_p = 1; f 1591 src/msdos.c orig_fg = reverse ? FRAME_BACKGROUND_PIXEL (f) : FRAME_FOREGROUND_PIXEL (f); f 1592 src/msdos.c orig_bg = reverse ? FRAME_FOREGROUND_PIXEL (f) : FRAME_BACKGROUND_PIXEL (f); f 1631 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1640 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1643 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1650 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1651 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1661 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1670 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1674 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1680 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1682 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1691 src/msdos.c x_set_title (f, val); f 1697 src/msdos.c IT_set_cursor_type (f, val); f 1713 src/msdos.c store_frame_param (f, prop, val); f 1722 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = orig_bg; f 1723 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, f 1724 src/msdos.c tty_color_name (f, orig_bg)); f 1729 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = orig_fg; f 1730 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, f 1731 src/msdos.c tty_color_name (f, orig_fg)); f 1739 src/msdos.c if (f == SELECTED_FRAME ()) f 1740 src/msdos.c redraw_frame (f); f 28 src/msdos.h #define tcdrain(f) _dos_commit(f) f 108 src/msdos.h #define FRAME_FONT(f) ((f)->output_data.tty->font) f 109 src/msdos.h #define FRAME_DISPLAY_INFO(f) (&the_only_display_info) f 436 src/nsterm.h - (instancetype) initWithEmacsFrame: (struct frame *) f; f 437 src/nsterm.h - (instancetype) initWithEmacsFrame: (struct frame *) f f 440 src/nsterm.h - (void) createToolbar: (struct frame *) f; f 500 src/nsterm.h - (instancetype) initFrameFromEmacs: (struct frame *) f; f 550 src/nsterm.h - (Lisp_Object)runMenuAt: (NSPoint)p forFrame: (struct frame *)f f 1014 src/nsterm.h #define FRAME_DISPLAY_INFO(f) ((f)->output_data.ns->display_info) f 1015 src/nsterm.h #define FRAME_OUTPUT_DATA(f) ((f)->output_data.ns) f 1016 src/nsterm.h #define FRAME_NS_WINDOW(f) ((f)->output_data.ns->window_desc) f 1017 src/nsterm.h #define FRAME_NATIVE_WINDOW(f) FRAME_NS_WINDOW (f) f 1019 src/nsterm.h #define FRAME_FOREGROUND_COLOR(f) ((f)->output_data.ns->foreground_color) f 1020 src/nsterm.h #define FRAME_BACKGROUND_COLOR(f) ((f)->output_data.ns->background_color) f 1022 src/nsterm.h #define NS_FACE_FOREGROUND(f) ((f)->foreground) f 1023 src/nsterm.h #define NS_FACE_BACKGROUND(f) ((f)->background) f 1025 src/nsterm.h #define FRAME_DEFAULT_FACE(f) FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) f 1027 src/nsterm.h #define FRAME_NS_VIEW(f) ((f)->output_data.ns->view) f 1028 src/nsterm.h #define FRAME_CURSOR_COLOR(f) ((f)->output_data.ns->cursor_color) f 1029 src/nsterm.h #define FRAME_POINTER_TYPE(f) ((f)->output_data.ns->current_pointer) f 1031 src/nsterm.h #define FRAME_FONT(f) ((f)->output_data.ns->font) f 1040 src/nsterm.h #define FRAME_NS_TITLEBAR_HEIGHT(f) \ f 1041 src/nsterm.h (NSHeight([FRAME_NS_VIEW (f) frame]) == 0 ? \ f 1043 src/nsterm.h : (int)(NSHeight([FRAME_NS_VIEW (f) window].frame) \ f 1045 src/nsterm.h [[FRAME_NS_VIEW (f) window] frame] \ f 1046 src/nsterm.h styleMask:[[FRAME_NS_VIEW (f) window] styleMask]]))) f 1049 src/nsterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 1050 src/nsterm.h (([[FRAME_NS_VIEW (f) window] toolbar] == nil \ f 1051 src/nsterm.h || ! [[FRAME_NS_VIEW (f) window] toolbar].isVisible) ? \ f 1054 src/nsterm.h [[FRAME_NS_VIEW (f) window] frame] \ f 1055 src/nsterm.h styleMask:[[FRAME_NS_VIEW (f) window] styleMask]]) \ f 1056 src/nsterm.h - NSHeight([[[FRAME_NS_VIEW (f) window] contentView] frame]))) f 1059 src/nsterm.h #define NS_SCROLL_BAR_WIDTH(f) \ f 1060 src/nsterm.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1061 src/nsterm.h ? rint (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 \ f 1062 src/nsterm.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1063 src/nsterm.h : (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f))) \ f 1067 src/nsterm.h #define NS_SCROLL_BAR_HEIGHT(f) \ f 1068 src/nsterm.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1069 src/nsterm.h ? rint (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) > 0 \ f 1070 src/nsterm.h ? FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) \ f 1071 src/nsterm.h : (FRAME_SCROLL_BAR_LINES (f) * FRAME_LINE_HEIGHT (f))) \ f 1076 src/nsterm.h #define NS_SCROLL_BAR_ADJUST(w, f) \ f 1078 src/nsterm.h (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f) \ f 1079 src/nsterm.h - NS_SCROLL_BAR_WIDTH (f)) : 0) f 1083 src/nsterm.h #define NS_SCROLL_BAR_ADJUST_HORIZONTALLY(w, f) \ f 1085 src/nsterm.h (FRAME_SCROLL_BAR_LINES (f) * FRAME_LINE_HEIGHT (f) \ f 1086 src/nsterm.h - NS_SCROLL_BAR_HEIGHT (f)) : 0) f 1088 src/nsterm.h #define FRAME_NS_FONT_TABLE(f) (FRAME_DISPLAY_INFO (f)->font_table) f 1090 src/nsterm.h #define FRAME_FONTSET(f) ((f)->output_data.ns->fontset) f 1092 src/nsterm.h #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.ns->baseline_offset) f 1093 src/nsterm.h #define BLACK_PIX_DEFAULT(f) 0x000000 f 1094 src/nsterm.h #define WHITE_PIX_DEFAULT(f) 0xFFFFFF f 1098 src/nsterm.h #define FIRST_CHAR_POSITION(f) \ f 1099 src/nsterm.h (! (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) ? 0 \ f 1100 src/nsterm.h : FRAME_SCROLL_BAR_COLS (f)) f 1123 src/nsterm.h extern Lisp_Object ns_list_fonts (struct frame *f, Lisp_Object pattern, f 1125 src/nsterm.h extern void ns_clear_frame (struct frame *f); f 1127 src/nsterm.h extern void ns_set_offset (struct frame *f, int xoff, int yoff, f 1143 src/nsterm.h ns_defined_color (struct frame *f, f 1157 src/nsterm.h extern void ns_implicitly_set_name (struct frame *f, Lisp_Object arg, f 1159 src/nsterm.h extern void ns_set_scroll_bar_default_width (struct frame *f); f 1160 src/nsterm.h extern void ns_set_scroll_bar_default_height (struct frame *f); f 1161 src/nsterm.h extern void ns_change_tab_bar_height (struct frame *f, int height); f 1175 src/nsterm.h extern void update_frame_tool_bar (struct frame *f); f 1177 src/nsterm.h extern void update_frame_tool_bar_1 (struct frame *f, EmacsToolbar *toolbar); f 1180 src/nsterm.h extern void free_frame_tool_bar (struct frame *f); f 1181 src/nsterm.h extern Lisp_Object find_and_return_menu_selection (struct frame *f, f 1208 src/nsterm.h extern bool ns_load_image (struct frame *f, struct image *img, f 1225 src/nsterm.h extern void ns_make_frame_visible (struct frame *f); f 1226 src/nsterm.h extern void ns_make_frame_invisible (struct frame *f); f 1227 src/nsterm.h extern void ns_iconify_frame (struct frame *f); f 1228 src/nsterm.h extern void ns_set_undecorated (struct frame *f, Lisp_Object new_value, f 1230 src/nsterm.h extern void ns_set_parent_frame (struct frame *f, Lisp_Object new_value, f 1232 src/nsterm.h extern void ns_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, f 1234 src/nsterm.h extern void ns_set_no_accept_focus (struct frame *f, Lisp_Object new_value, f 1236 src/nsterm.h extern void ns_set_z_group (struct frame *f, Lisp_Object new_value, f 1239 src/nsterm.h extern void ns_set_appearance (struct frame *f, Lisp_Object new_value, f 1241 src/nsterm.h extern void ns_set_transparent_titlebar (struct frame *f, f 1251 src/nsterm.h extern unsigned long ns_get_rgb_color (struct frame *f, f 43 src/pgtkfns.c static int x_decode_color (struct frame *f, Lisp_Object color_name, f 108 src/pgtkfns.c struct frame *f = decode_window_system_frame (object); f 109 src/pgtkfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 178 src/pgtkfns.c pgtk_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 183 src/pgtkfns.c old_fg = FRAME_FOREGROUND_COLOR (f); f 184 src/pgtkfns.c fg = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 185 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 186 src/pgtkfns.c FRAME_X_OUTPUT (f)->foreground_color = fg; f 188 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 190 src/pgtkfns.c if (FRAME_X_OUTPUT (f)->cursor_color == old_fg) f 192 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color = fg; f 193 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_xgcv.background = fg; f 196 src/pgtkfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 197 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 198 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 205 src/pgtkfns.c pgtk_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 210 src/pgtkfns.c bg = x_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 211 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 214 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 215 src/pgtkfns.c pgtk_clear_frame (f); f 217 src/pgtkfns.c FRAME_X_OUTPUT (f)->background_color = bg; f 218 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_xgcv.foreground = bg; f 220 src/pgtkfns.c xg_set_background_color (f, bg); f 221 src/pgtkfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 223 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 224 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 229 src/pgtkfns.c pgtk_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 231 src/pgtkfns.c gui_set_alpha_background (f, arg, oldval); f 236 src/pgtkfns.c gtk_widget_set_app_paintable (FRAME_GTK_OUTER_WIDGET (f), f 237 src/pgtkfns.c f->alpha_background != 1.0); f 239 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f) f 240 src/pgtkfns.c && gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)) f 241 src/pgtkfns.c && f->alpha_background != 1.0) f 242 src/pgtkfns.c gdk_window_set_opaque_region (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 247 src/pgtkfns.c pgtk_set_border_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 252 src/pgtkfns.c pix = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 253 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel = pix; f 254 src/pgtkfns.c pgtk_frame_rehighlight (FRAME_DISPLAY_INFO (f)); f 258 src/pgtkfns.c pgtk_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 261 src/pgtkfns.c struct pgtk_output *x = f->output_data.pgtk; f 265 src/pgtkfns.c fore_pixel = x_decode_color (f, Vx_cursor_fore_pixel, f 266 src/pgtkfns.c WHITE_PIX_DEFAULT (f)); f 269 src/pgtkfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 271 src/pgtkfns.c pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 274 src/pgtkfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 279 src/pgtkfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 286 src/pgtkfns.c if (FRAME_X_WINDOW (f) != 0) f 291 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 293 src/pgtkfns.c gui_update_cursor (f, false); f 294 src/pgtkfns.c gui_update_cursor (f, true); f 298 src/pgtkfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 302 src/pgtkfns.c pgtk_set_name_internal (struct frame *f, Lisp_Object name) f 304 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 314 src/pgtkfns.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 322 src/pgtkfns.c pgtk_set_name (struct frame *f, Lisp_Object name, int explicit) f 330 src/pgtkfns.c if (f->explicit_name && NILP (name)) f 333 src/pgtkfns.c f->explicit_name = !NILP (name); f 335 src/pgtkfns.c else if (f->explicit_name) f 344 src/pgtkfns.c if (!NILP (Fstring_equal (name, f->name))) f 347 src/pgtkfns.c fset_name (f, name); f 350 src/pgtkfns.c if (!NILP (f->title)) f 351 src/pgtkfns.c name = f->title; f 353 src/pgtkfns.c pgtk_set_name_internal (f, name); f 361 src/pgtkfns.c pgtk_explicitly_set_name (struct frame *f, Lisp_Object arg, f 364 src/pgtkfns.c pgtk_set_name (f, arg, true); f 372 src/pgtkfns.c pgtk_implicitly_set_name (struct frame *f, Lisp_Object arg, f 375 src/pgtkfns.c pgtk_set_name (f, arg, false); f 383 src/pgtkfns.c pgtk_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 386 src/pgtkfns.c if (EQ (name, f->title)) f 391 src/pgtkfns.c fset_title (f, name); f 394 src/pgtkfns.c name = f->name; f 398 src/pgtkfns.c pgtk_set_name_internal (f, name); f 402 src/pgtkfns.c pgtk_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 409 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 418 src/pgtkfns.c fset_redisplay (f); f 420 src/pgtkfns.c FRAME_MENU_BAR_LINES (f) = 0; f 421 src/pgtkfns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 424 src/pgtkfns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 425 src/pgtkfns.c if (FRAME_PGTK_P (f) && f->output_data.pgtk->menubar_widget == 0) f 427 src/pgtkfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 431 src/pgtkfns.c if (FRAME_EXTERNAL_MENU_BAR (f) == 1) f 432 src/pgtkfns.c free_frame_menubar (f); f 433 src/pgtkfns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 434 src/pgtkfns.c if (FRAME_X_P (f)) f 435 src/pgtkfns.c f->output_data.pgtk->menubar_widget = 0; f 438 src/pgtkfns.c adjust_frame_glyphs (f); f 448 src/pgtkfns.c pgtk_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 453 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 462 src/pgtkfns.c pgtk_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 467 src/pgtkfns.c pgtk_change_tab_bar_height (struct frame *f, int height) f 469 src/pgtkfns.c int unit = FRAME_LINE_HEIGHT (f); f 470 src/pgtkfns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 482 src/pgtkfns.c fset_redisplay (f); f 485 src/pgtkfns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 486 src/pgtkfns.c FRAME_TAB_BAR_LINES (f) = lines; f 487 src/pgtkfns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 489 src/pgtkfns.c if (FRAME_X_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 491 src/pgtkfns.c clear_frame (f); f 492 src/pgtkfns.c clear_current_matrices (f); f 495 src/pgtkfns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 496 src/pgtkfns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 498 src/pgtkfns.c if (!f->tab_bar_resized) f 500 src/pgtkfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 505 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 508 src/pgtkfns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 510 src/pgtkfns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 514 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 518 src/pgtkfns.c adjust_frame_glyphs (f); f 519 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 520 src/pgtkfns.c if (FRAME_X_WINDOW (f)) f 521 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 526 src/pgtkfns.c x_change_tool_bar_height (struct frame *f, int height) f 528 src/pgtkfns.c FRAME_TOOL_BAR_LINES (f) = 0; f 529 src/pgtkfns.c FRAME_TOOL_BAR_HEIGHT (f) = 0; f 532 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) = true; f 533 src/pgtkfns.c if (FRAME_X_P (f) && f->output_data.pgtk->toolbar_widget == 0) f 535 src/pgtkfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 536 src/pgtkfns.c update_frame_tool_bar (f); f 540 src/pgtkfns.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 541 src/pgtkfns.c free_frame_tool_bar (f); f 542 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) = false; f 548 src/pgtkfns.c pgtk_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 553 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 562 src/pgtkfns.c x_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 567 src/pgtkfns.c pgtk_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 578 src/pgtkfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 580 src/pgtkfns.c f->child_frame_border_width = border; f 582 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 584 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, f 586 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 592 src/pgtkfns.c pgtk_set_internal_border_width (struct frame *f, Lisp_Object arg, f 597 src/pgtkfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 599 src/pgtkfns.c f->internal_border_width = border; f 601 src/pgtkfns.c if (FRAME_X_WINDOW (f)) f 603 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 604 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 610 src/pgtkfns.c pgtk_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 624 src/pgtkfns.c result = pgtk_text_icon (f, f 625 src/pgtkfns.c SSDATA ((!NILP (f->icon_name) f 626 src/pgtkfns.c ? f->icon_name : f->name))); f 628 src/pgtkfns.c result = FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, arg); f 640 src/pgtkfns.c pgtk_set_icon_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 652 src/pgtkfns.c fset_icon_name (f, arg); f 656 src/pgtkfns.c result = pgtk_text_icon (f, f 657 src/pgtkfns.c SSDATA ((!NILP (f->icon_name) f 658 src/pgtkfns.c ? f->icon_name f 659 src/pgtkfns.c : !NILP (f->title) f 660 src/pgtkfns.c ? f->title : f->name))); f 672 src/pgtkfns.c pgtk_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 674 src/pgtkfns.c set_frame_cursor_types (f, arg); f 678 src/pgtkfns.c pgtk_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 683 src/pgtkfns.c pgtk_set_undecorated (struct frame *f, Lisp_Object new_value, f 688 src/pgtkfns.c FRAME_UNDECORATED (f) = NILP (new_value) ? false : true; f 689 src/pgtkfns.c xg_set_undecorated (f, new_value); f 694 src/pgtkfns.c pgtk_set_skip_taskbar (struct frame *f, Lisp_Object new_value, f 699 src/pgtkfns.c xg_set_skip_taskbar (f, new_value); f 700 src/pgtkfns.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 705 src/pgtkfns.c pgtk_set_override_redirect (struct frame *f, Lisp_Object new_value, f 712 src/pgtkfns.c pgtk_make_frame_invisible (f); f 714 src/pgtkfns.c xg_set_override_redirect (f, new_value); f 716 src/pgtkfns.c pgtk_make_frame_visible (f); f 717 src/pgtkfns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 723 src/pgtkfns.c xg_set_icon (struct frame *f, Lisp_Object file) f 728 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 744 src/pgtkfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 760 src/pgtkfns.c xg_set_icon_from_xpm_data (struct frame *f, const char **data) f 767 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 770 src/pgtkfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf); f 776 src/pgtkfns.c pgtk_set_sticky (struct frame *f, Lisp_Object new_value, f 779 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 783 src/pgtkfns.c gtk_window_stick (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 785 src/pgtkfns.c gtk_window_unstick (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 789 src/pgtkfns.c pgtk_set_tool_bar_position (struct frame *f, f 798 src/pgtkfns.c xg_change_toolbar_position (f, new_value); f 799 src/pgtkfns.c fset_tool_bar_position (f, new_value); f 807 src/pgtkfns.c pgtk_set_scroll_bar_foreground (struct frame *f, Lisp_Object new_value, f 811 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider; f 813 src/pgtkfns.c if (FRAME_TOOLTIP_P (f)) f 819 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, new_value); f 825 src/pgtkfns.c if (!pgtk_parse_color (f, SSDATA (new_value), &rgb)) f 832 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, new_value); f 840 src/pgtkfns.c pgtk_set_scroll_bar_background (struct frame *f, Lisp_Object new_value, f 844 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_background_css_provider; f 849 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, new_value); f 855 src/pgtkfns.c if (!pgtk_parse_color (f, SSDATA (new_value), &rgb)) f 865 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, new_value); f 899 src/pgtkfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 902 src/pgtkfns.c XSETFRAME (frame, f); f 903 src/pgtkfns.c if (!FRAME_VISIBLE_P (f)) f 1005 src/pgtkfns.c struct frame *f = XFRAME (frame); f 1010 src/pgtkfns.c if (!FRAME_LIVE_P (f)) f 1023 src/pgtkfns.c if (FRAME_IMAGE_CACHE (f) != NULL f 1024 src/pgtkfns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 1025 src/pgtkfns.c FRAME_IMAGE_CACHE (f)->refcount++; f 1027 src/pgtkfns.c pgtk_free_frame_resources (f); f 1028 src/pgtkfns.c free_glyphs (f); f 1046 src/pgtkfns.c x_decode_color (struct frame *f, Lisp_Object color_name, int mono_color) f 1053 src/pgtkfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 1058 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color_name), &cdef, true, 0)) f 1065 src/pgtkfns.c pgtk_default_font_parameter (struct frame *f, Lisp_Object parms) f 1067 src/pgtkfns.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1082 src/pgtkfns.c font = font_open_by_name (f, build_unibyte_string (system_font)); f 1110 src/pgtkfns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 1119 src/pgtkfns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", f 1126 src/pgtkfns.c struct frame *f = timer->client_data; f 1127 src/pgtkfns.c double scale_factor = FRAME_SCALE_FACTOR (f); f 1129 src/pgtkfns.c if (scale_factor != FRAME_X_OUTPUT (f)->watched_scale_factor) f 1131 src/pgtkfns.c FRAME_X_OUTPUT (f)->watched_scale_factor = scale_factor; f 1132 src/pgtkfns.c pgtk_cr_update_surface_desired_size (f, f 1133 src/pgtkfns.c FRAME_CR_SURFACE_DESIRED_WIDTH (f), f 1134 src/pgtkfns.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f), f 1198 src/pgtkfns.c struct frame *f; f 1252 src/pgtkfns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 1255 src/pgtkfns.c f = make_minibuffer_frame (); f 1259 src/pgtkfns.c f = make_frame_without_minibuffer (tem, kb, display); f 1261 src/pgtkfns.c f = make_frame (true); f 1275 src/pgtkfns.c fset_parent_frame (f, parent_frame); f 1276 src/pgtkfns.c store_frame_param (f, Qparent_frame, parent_frame); f 1285 src/pgtkfns.c FRAME_UNDECORATED (f) = undecorated; f 1286 src/pgtkfns.c store_frame_param (f, Qundecorated, undecorated ? Qt : Qnil); f 1295 src/pgtkfns.c FRAME_OVERRIDE_REDIRECT (f) = override_redirect; f 1296 src/pgtkfns.c store_frame_param (f, Qoverride_redirect, override_redirect ? Qt : Qnil); f 1298 src/pgtkfns.c XSETFRAME (frame, f); f 1300 src/pgtkfns.c f->terminal = dpyinfo->terminal; f 1302 src/pgtkfns.c f->output_method = output_pgtk; f 1303 src/pgtkfns.c FRAME_X_OUTPUT (f) = xzalloc (sizeof *FRAME_X_OUTPUT (f)); f 1304 src/pgtkfns.c FRAME_FONTSET (f) = -1; f 1305 src/pgtkfns.c FRAME_X_OUTPUT (f)->white_relief.pixel = -1; f 1306 src/pgtkfns.c FRAME_X_OUTPUT (f)->black_relief.pixel = -1; f 1308 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider = f 1310 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_background_css_provider = f 1313 src/pgtkfns.c fset_icon_name (f, f 1316 src/pgtkfns.c if (!STRINGP (f->icon_name)) f 1317 src/pgtkfns.c fset_icon_name (f, Qnil); f 1319 src/pgtkfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 1332 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 1333 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 1334 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color = -1; f 1335 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_foreground_color = -1; f 1336 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel = -1; f 1337 src/pgtkfns.c FRAME_X_OUTPUT (f)->mouse_color = -1; f 1340 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) f 1341 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1342 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) f 1343 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1344 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color f 1345 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1346 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_foreground_color f 1347 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1348 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel f 1349 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1350 src/pgtkfns.c FRAME_X_OUTPUT (f)->mouse_color f 1351 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1357 src/pgtkfns.c FRAME_X_OUTPUT (f)->parent_desc = (Window) XFIXNAT (parent); f 1358 src/pgtkfns.c FRAME_X_OUTPUT (f)->explicit_parent = true; f 1362 src/pgtkfns.c FRAME_X_OUTPUT (f)->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 1363 src/pgtkfns.c FRAME_X_OUTPUT (f)->explicit_parent = false; f 1370 src/pgtkfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 1371 src/pgtkfns.c f->explicit_name = false; f 1375 src/pgtkfns.c fset_name (f, name); f 1376 src/pgtkfns.c f->explicit_name = true; f 1381 src/pgtkfns.c register_font_driver (&ftcrfont_driver, f); f 1383 src/pgtkfns.c register_font_driver (&ftcrhbfont_driver, f); f 1387 src/pgtkfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 1389 src/pgtkfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 1394 src/pgtkfns.c pgtk_default_font_parameter (f, parms); f 1395 src/pgtkfns.c if (!FRAME_FONT (f)) f 1401 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 1415 src/pgtkfns.c gui_default_parameter (f, parms, Qinternal_border_width, f 1434 src/pgtkfns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 1437 src/pgtkfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 1439 src/pgtkfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 1441 src/pgtkfns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, f 1444 src/pgtkfns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 1448 src/pgtkfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 1450 src/pgtkfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 1452 src/pgtkfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 1454 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 1456 src/pgtkfns.c gui_default_parameter (f, parms, Qscreen_gamma, Qnil, f 1458 src/pgtkfns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 1460 src/pgtkfns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 1462 src/pgtkfns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 1464 src/pgtkfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 1467 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_foreground, Qnil, f 1470 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_background, Qnil, f 1477 src/pgtkfns.c init_frame_faces (f); f 1495 src/pgtkfns.c store_frame_param (f, Qmin_width, tem); f 1499 src/pgtkfns.c store_frame_param (f, Qmin_height, tem); f 1500 src/pgtkfns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 1501 src/pgtkfns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 1509 src/pgtkfns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 1513 src/pgtkfns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 1517 src/pgtkfns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 1522 src/pgtkfns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, f 1525 src/pgtkfns.c gui_default_parameter (f, parms, Qtitle, Qnil, f 1527 src/pgtkfns.c gui_default_parameter (f, parms, Qwait_for_wm, Qt, f 1529 src/pgtkfns.c gui_default_parameter (f, parms, Qtool_bar_position, f 1530 src/pgtkfns.c FRAME_TOOL_BAR_POSITION (f), 0, 0, RES_TYPE_SYMBOL); f 1531 src/pgtkfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1537 src/pgtkfns.c gui_figure_window_size (f, parms, true, true); f 1542 src/pgtkfns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 1544 src/pgtkfns.c xg_create_frame_widgets (f); f 1545 src/pgtkfns.c pgtk_set_event_handler (f); f 1547 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1548 src/pgtkfns.c gtk_widget_realize (FRAME_GTK_OUTER_WIDGET (f)); f 1552 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 1553 src/pgtkfns.c gtk_widget_realize (FRAME_GTK_WIDGET (f)); f 1556 src/pgtkfns.c FRAME_X_OUTPUT (f)->FIELD = gdk_cursor_new_for_display (FRAME_X_DISPLAY (f), GDK_ ## NAME) f 1577 src/pgtkfns.c f->terminal->reference_count++; f 1578 src/pgtkfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 1583 src/pgtkfns.c gui_default_parameter (f, parms, Qicon_type, Qt, f 1586 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1588 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1590 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1592 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 1594 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 1597 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1599 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 1608 src/pgtkfns.c GtkWidget *fixed = FRAME_GTK_WIDGET (f); f 1613 src/pgtkfns.c gtk_fixed_put (GTK_FIXED (fixed_of_p), fixed, f->left_pos, f->top_pos); f 1617 src/pgtkfns.c gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f)); f 1618 src/pgtkfns.c FRAME_GTK_OUTER_WIDGET (f) = NULL; f 1619 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->vbox_widget = NULL; f 1620 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->hbox_widget = NULL; f 1621 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->menubar_widget = NULL; f 1622 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->toolbar_widget = NULL; f 1623 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_widget = NULL; f 1624 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_lbl = NULL; f 1625 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_window = NULL; f 1630 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1632 src/pgtkfns.c GList *w = gtk_container_get_children (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f))); f 1637 src/pgtkfns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 1639 src/pgtkfns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 1643 src/pgtkfns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 1647 src/pgtkfns.c initialize_frame_menubar (f); f 1652 src/pgtkfns.c f->can_set_window_size = true; f 1658 src/pgtkfns.c xg_wm_set_size_hint (f, window_prompting, false); f 1661 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1667 src/pgtkfns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 1673 src/pgtkfns.c if (!FRAME_X_OUTPUT (f)->explicit_parent) f 1687 src/pgtkfns.c f->was_invisible = true; f 1688 src/pgtkfns.c pgtk_iconify_frame (f); f 1696 src/pgtkfns.c pgtk_make_frame_visible (f); f 1698 src/pgtkfns.c f->was_invisible = true; f 1704 src/pgtkfns.c f->was_invisible f 1705 src/pgtkfns.c = (f->was_invisible f 1708 src/pgtkfns.c store_frame_param (f, Qvisibility, visibility); f 1712 src/pgtkfns.c gui_default_parameter (f, parms, Qskip_taskbar, Qnil, f 1715 src/pgtkfns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 1720 src/pgtkfns.c if (FRAME_HAS_MINIBUF_P (f) f 1729 src/pgtkfns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 1731 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_color_css_provider = NULL; f 1733 src/pgtkfns.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = NULL; f 1734 src/pgtkfns.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 1735 src/pgtkfns.c FRAME_X_OUTPUT (f)->watched_scale_factor = 1.0; f 1737 src/pgtkfns.c FRAME_X_OUTPUT (f)->scale_factor_atimer = start_atimer(ATIMER_CONTINUOUS, f 1740 src/pgtkfns.c f); f 2257 src/pgtkfns.c pgtk_set_scroll_bar_default_width (struct frame *f) f 2259 src/pgtkfns.c int unit = FRAME_COLUMN_WIDTH (f); f 2260 src/pgtkfns.c int minw = xg_get_default_scrollbar_width (f); f 2262 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (minw + unit - 1) / unit; f 2263 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = minw; f 2267 src/pgtkfns.c pgtk_set_scroll_bar_default_height (struct frame *f) f 2269 src/pgtkfns.c int height = FRAME_LINE_HEIGHT (f); f 2270 src/pgtkfns.c int min_height = xg_get_default_scrollbar_height (f); f 2272 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = min_height; f 2273 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (min_height + height - 1) / height; f 2321 src/pgtkfns.c struct frame *f = decode_window_system_frame (frame); f 2325 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color), &col, false, false)) f 2337 src/pgtkfns.c struct frame *f = decode_window_system_frame (frame); f 2341 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color), &col, false, false)) f 2492 src/pgtkfns.c struct frame *f = XFRAME (frame); f 2494 src/pgtkfns.c if (FRAME_PGTK_P (f) f 2495 src/pgtkfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 2496 src/pgtkfns.c && !FRAME_TOOLTIP_P (f)) f 2498 src/pgtkfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 2564 src/pgtkfns.c pgtk_frame_scale_factor (struct frame *f) f 2566 src/pgtkfns.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2571 src/pgtkfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 2659 src/pgtkfns.c struct frame *f; f 2679 src/pgtkfns.c f = make_frame (false); f 2680 src/pgtkfns.c f->wants_modeline = false; f 2681 src/pgtkfns.c XSETFRAME (frame, f); f 2684 src/pgtkfns.c f->terminal = dpyinfo->terminal; f 2690 src/pgtkfns.c f->output_method = output_pgtk; f 2691 src/pgtkfns.c f->output_data.pgtk = xzalloc (sizeof *f->output_data.pgtk); f 2692 src/pgtkfns.c FRAME_FONTSET (f) = -1; f 2693 src/pgtkfns.c f->output_data.pgtk->white_relief.pixel = -1; f 2694 src/pgtkfns.c f->output_data.pgtk->black_relief.pixel = -1; f 2696 src/pgtkfns.c f->tooltip = true; f 2697 src/pgtkfns.c fset_icon_name (f, Qnil); f 2698 src/pgtkfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 2699 src/pgtkfns.c f->output_data.pgtk->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 2700 src/pgtkfns.c f->output_data.pgtk->explicit_parent = false; f 2710 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 2711 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 2712 src/pgtkfns.c f->output_data.pgtk->border_pixel = -1; f 2715 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) f 2716 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2717 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) f 2718 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2719 src/pgtkfns.c f->output_data.pgtk->border_pixel f 2720 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2727 src/pgtkfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 2728 src/pgtkfns.c f->explicit_name = false; f 2732 src/pgtkfns.c fset_name (f, name); f 2733 src/pgtkfns.c f->explicit_name = true; f 2738 src/pgtkfns.c register_font_driver (&ftcrfont_driver, f); f 2740 src/pgtkfns.c register_font_driver (&ftcrhbfont_driver, f); f 2744 src/pgtkfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 2746 src/pgtkfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 2751 src/pgtkfns.c pgtk_default_font_parameter (f, parms); f 2753 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 2771 src/pgtkfns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 2774 src/pgtkfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 2776 src/pgtkfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 2780 src/pgtkfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 2782 src/pgtkfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 2784 src/pgtkfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 2786 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 2788 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 2790 src/pgtkfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 2796 src/pgtkfns.c init_frame_faces (f); f 2798 src/pgtkfns.c f->output_data.pgtk->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 2800 src/pgtkfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 2804 src/pgtkfns.c gui_figure_window_size (f, parms, false, false); f 2806 src/pgtkfns.c xg_create_frame_widgets (f); f 2807 src/pgtkfns.c pgtk_set_event_handler (f); f 2808 src/pgtkfns.c tip_window = FRAME_GTK_OUTER_WIDGET (f); f 2815 src/pgtkfns.c f->output_data.pgtk->current_cursor = f->output_data.pgtk->text_cursor; f 2817 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 2819 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 2821 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 2823 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 2825 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 2871 src/pgtkfns.c f->no_split = true; f 2875 src/pgtkfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 2876 src/pgtkfns.c f->terminal->reference_count++; f 2882 src/pgtkfns.c f->can_set_window_size = true; f 2883 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 2904 src/pgtkfns.c compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, f 2924 src/pgtkfns.c gdk_display_get_default_seat (FRAME_DISPLAY_INFO (f)->gdpy); f 2932 src/pgtkfns.c XSETFRAME (frame, f); f 2965 src/pgtkfns.c max_x = pgtk_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 2966 src/pgtkfns.c max_y = pgtk_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 3039 src/pgtkfns.c struct frame *f = XFRAME (tip_last_frame); f 3041 src/pgtkfns.c if (FRAME_LIVE_P (f)) f 3043 src/pgtkfns.c if (xg_hide_tooltip (f)) f 3057 src/pgtkfns.c struct frame *f = XFRAME (tip_frame); f 3059 src/pgtkfns.c if (FRAME_LIVE_P (f)) f 3070 src/pgtkfns.c pgtk_make_frame_invisible (f); f 3118 src/pgtkfns.c struct frame *f, *tip_f; f 3141 src/pgtkfns.c f = decode_window_system_frame (frame); f 3143 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 3170 src/pgtkfns.c xg_show_tooltip (f, string); f 3278 src/pgtkfns.c if (NILP (tip_frame = x_create_tip_frame (FRAME_DISPLAY_INFO (f), parms, f))) f 3374 src/pgtkfns.c f->output_data.pgtk->current_cursor); f 3412 src/pgtkfns.c struct frame *f = decode_live_frame (frame); f 3416 src/pgtkfns.c int border = fullscreen ? 0 : f->border_width; f 3418 src/pgtkfns.c int native_width = FRAME_PIXEL_WIDTH (f); f 3419 src/pgtkfns.c int native_height = FRAME_PIXEL_HEIGHT (f); f 3426 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 3427 src/pgtkfns.c gtk_window_get_position (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 3433 src/pgtkfns.c if (FRAME_GTK_WIDGET (f) == NULL) f 3436 src/pgtkfns.c gtk_widget_get_allocation (FRAME_GTK_WIDGET (f), &alloc); f 3445 src/pgtkfns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 3447 src/pgtkfns.c int tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 3451 src/pgtkfns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 3467 src/pgtkfns.c + FRAME_TOOL_BAR_TOP_HEIGHT (f) f 3471 src/pgtkfns.c - FRAME_TOOL_BAR_BOTTOM_HEIGHT (f))); f 3492 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) ? Qt : Qnil), f 3493 src/pgtkfns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 3576 src/pgtkfns.c struct frame *f = SELECTED_FRAME (); f 3577 src/pgtkfns.c GtkWidget *widget = gtk_widget_get_toplevel (FRAME_WIDGET (f)); f 3598 src/pgtkfns.c struct frame *f = SELECTED_FRAME (); f 3599 src/pgtkfns.c GtkWidget *widget = gtk_widget_get_toplevel (FRAME_WIDGET (f)); f 3671 src/pgtkfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 3674 src/pgtkfns.c XSETFRAME (frame, f); f 3675 src/pgtkfns.c if (!FRAME_VISIBLE_P (f)) f 3716 src/pgtkfns.c struct frame *f = SELECTED_FRAME (); f 3723 src/pgtkfns.c check_window_system (f); f 3744 src/pgtkfns.c fn = xg_get_file_name (f, SSDATA (prompt), cdef_file, f 3784 src/pgtkfns.c struct frame *f = decode_window_system_frame (frame); f 3801 src/pgtkfns.c XSETFONT (font, FRAME_FONT (f)); f 3812 src/pgtkfns.c font = xg_get_font (f, default_name); f 33 src/pgtkim.c struct frame *f = dpyinfo->im.focused_frame; f 37 src/pgtkim.c if (f == NULL) f 40 src/pgtkim.c pgtk_enqueue_string (f, str); f 70 src/pgtkim.c struct frame *f = dpyinfo->im.focused_frame; f 77 src/pgtkim.c if (f == NULL) f 147 src/pgtkim.c pgtk_enqueue_preedit (f, list); f 157 src/pgtkim.c struct frame *f = dpyinfo->im.focused_frame; f 161 src/pgtkim.c if (f == NULL) f 164 src/pgtkim.c pgtk_enqueue_preedit (f, Qnil); f 173 src/pgtkim.c pgtk_im_focus_in (struct frame *f) f 175 src/pgtkim.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 181 src/pgtkim.c (FRAME_GTK_WIDGET (f))); f 184 src/pgtkim.c dpyinfo->im.focused_frame = f; f 188 src/pgtkim.c pgtk_im_focus_out (struct frame *f) f 190 src/pgtkim.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 191 src/pgtkim.c if (dpyinfo->im.focused_frame == f) f 204 src/pgtkim.c pgtk_im_filter_keypress (struct frame *f, GdkEventKey * ev) f 206 src/pgtkim.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 216 src/pgtkim.c pgtk_im_set_cursor_location (struct frame *f, int x, int y, int width, f 219 src/pgtkim.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 220 src/pgtkim.c if (dpyinfo->im.context != NULL && dpyinfo->im.focused_frame == f) f 62 src/pgtkmenu.c struct frame *f = XFRAME (frame); f 64 src/pgtkmenu.c if (in_use && FRAME_Z_GROUP_ABOVE (f)) f 65 src/pgtkmenu.c pgtk_set_z_group (f, Qabove_suspended, Qabove); f 66 src/pgtkmenu.c else if (!in_use && FRAME_Z_GROUP_ABOVE_SUSPENDED (f)) f 67 src/pgtkmenu.c pgtk_set_z_group (f, Qabove, Qabove_suspended); f 76 src/pgtkmenu.c struct frame *f; f 79 src/pgtkmenu.c f = decode_window_system_frame (frame); f 81 src/pgtkmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 82 src/pgtkmenu.c set_frame_menubar (f, true); f 84 src/pgtkmenu.c menubar = FRAME_X_OUTPUT (f)->menubar_widget; f 115 src/pgtkmenu.c pgtk_activate_menubar (struct frame *f) f 117 src/pgtkmenu.c set_frame_menubar (f, true); f 137 src/pgtkmenu.c show_help_event (struct frame *f, GtkWidget *widget, Lisp_Object help) f 174 src/pgtkmenu.c show_help_event (popup_activated_flag <= 1 ? cb_data->cl_data->f : NULL, f 196 src/pgtkmenu.c if (!cb_data || !cb_data->cl_data || !cb_data->cl_data->f) f 219 src/pgtkmenu.c find_and_call_menu_selection (cb_data->cl_data->f, f 229 src/pgtkmenu.c update_frame_menubar (struct frame *f) f 231 src/pgtkmenu.c xg_update_frame_menubar (f); f 239 src/pgtkmenu.c set_frame_menubar (struct frame *f, bool deep_p) f 250 src/pgtkmenu.c menubar_widget = f->output_data.pgtk->menubar_widget; f 252 src/pgtkmenu.c XSETFRAME (Vmenu_updating_frame, f); f 262 src/pgtkmenu.c int previous_menu_items_used = f->menu_bar_items_used; f 272 src/pgtkmenu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 293 src/pgtkmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 295 src/pgtkmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 299 src/pgtkmenu.c memcpy (previous_items, xvector_contents (f->menu_bar_vector), f 306 src/pgtkmenu.c menu_items = f->menu_bar_vector; f 381 src/pgtkmenu.c fset_menu_bar_vector (f, menu_items); f 382 src/pgtkmenu.c f->menu_bar_items_used = menu_items_used; f 411 src/pgtkmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 438 src/pgtkmenu.c f->menu_bar_items_used = 0; f 449 src/pgtkmenu.c f, f 459 src/pgtkmenu.c = xg_create_widget ("menubar", "menubar", f, first_wv, f 464 src/pgtkmenu.c f->output_data.pgtk->menubar_widget = menubar_widget; f 468 src/pgtkmenu.c update_frame_menubar (f); f 481 src/pgtkmenu.c initialize_frame_menubar (struct frame *f) f 485 src/pgtkmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 486 src/pgtkmenu.c set_frame_menubar (f, true); f 534 src/pgtkmenu.c create_and_show_popup_menu (struct frame *f, widget_value * first_wv, f 540 src/pgtkmenu.c eassert (FRAME_PGTK_P (f)); f 543 src/pgtkmenu.c menu = xg_create_widget ("popup", first_wv->name, f, first_wv, f 554 src/pgtkmenu.c FRAME_DISPLAY_INFO (f)->last_click_event); f 563 src/pgtkmenu.c gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 566 src/pgtkmenu.c FRAME_DISPLAY_INFO (f)->last_click_event); f 584 src/pgtkmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 594 src/pgtkmenu.c pgtk_menu_show (struct frame *f, int x, int y, int menuflags, f 607 src/pgtkmenu.c eassert (FRAME_PGTK_P (f)); f 782 src/pgtkmenu.c create_and_show_popup_menu (f, first_wv, x, y, menuflags & MENU_FOR_CLICK); f 865 src/pgtkmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 869 src/pgtkmenu.c eassert (FRAME_PGTK_P (f)); f 871 src/pgtkmenu.c menu = xg_create_widget ("dialog", first_wv->name, f, first_wv, f 896 src/pgtkmenu.c pgtk_dialog_show (struct frame *f, Lisp_Object title, f 911 src/pgtkmenu.c eassert (FRAME_PGTK_P (f)); f 1014 src/pgtkmenu.c create_and_show_dialog (f, first_wv); f 1052 src/pgtkmenu.c pgtk_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 1059 src/pgtkmenu.c check_window_system (f); f 1076 src/pgtkmenu.c selection = pgtk_dialog_show (f, title, header, &error_name); f 70 src/pgtkselect.c struct frame *f; f 74 src/pgtkselect.c f = XFRAME (selected_frame); f 75 src/pgtkselect.c if (FRAME_PGTK_P (f) && FRAME_LIVE_P (f)) f 76 src/pgtkselect.c return f; f 80 src/pgtkselect.c f = XFRAME (frame); f 81 src/pgtkselect.c if (FRAME_PGTK_P (f) && FRAME_LIVE_P (f)) f 82 src/pgtkselect.c return f; f 92 src/pgtkselect.c f = XFRAME (frame); f 93 src/pgtkselect.c if (FRAME_LIVE_P (f) && f->terminal == t) f 94 src/pgtkselect.c return f; f 99 src/pgtkselect.c f = XFRAME (object); f 100 src/pgtkselect.c if (FRAME_PGTK_P (f) && FRAME_LIVE_P (f)) f 101 src/pgtkselect.c return f; f 146 src/pgtkselect.c struct frame *f = XFRAME (frame); f 147 src/pgtkselect.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 162 src/pgtkselect.c FRAME_GDK_WINDOW (f), f 203 src/pgtkselect.c gtk_selection_clear_targets (FRAME_GTK_WIDGET (f), selection_atom); f 217 src/pgtkselect.c gtk_selection_add_targets (FRAME_GTK_WIDGET (f), f 791 src/pgtkselect.c pgtk_clear_frame_selections (struct frame *f) f 795 src/pgtkselect.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 798 src/pgtkselect.c XSETFRAME (frame, f); f 1011 src/pgtkselect.c struct frame *f = XFRAME (frame); f 1012 src/pgtkselect.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1013 src/pgtkselect.c GdkWindow *requestor_window = FRAME_GDK_WINDOW (f); f 1025 src/pgtkselect.c if (!FRAME_LIVE_P (f)) f 1622 src/pgtkselect.c struct frame *f = frame_for_pgtk_selection (terminal); f 1629 src/pgtkselect.c if (!f) f 1643 src/pgtkselect.c FRAME_DISPLAY_INFO (f)); f 1645 src/pgtkselect.c if (NILP (val) && FRAME_LIVE_P (f)) f 1648 src/pgtkselect.c XSETFRAME (frame, f); f 1677 src/pgtkselect.c struct frame *f = frame_for_pgtk_selection (terminal); f 1680 src/pgtkselect.c if (!f) f 1683 src/pgtkselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1719 src/pgtkselect.c struct frame *f = frame_for_pgtk_selection (terminal); f 1725 src/pgtkselect.c if (f && !NILP (LOCAL_SELECTION (selection, FRAME_DISPLAY_INFO (f)))) f 1746 src/pgtkselect.c struct frame *f = frame_for_pgtk_selection (terminal); f 1753 src/pgtkselect.c if (!f) f 1756 src/pgtkselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1799 src/pgtkselect.c struct frame *f; f 1807 src/pgtkselect.c f = decode_window_system_frame (frame); f 1833 src/pgtkselect.c gtk_drag_dest_set_target_list (FRAME_GTK_WIDGET (f), list); f 70 src/pgtkterm.c #define FRAME_CR_CONTEXT(f) ((f)->output_data.pgtk->cr_context) f 71 src/pgtkterm.c #define FRAME_CR_ACTIVE_CONTEXT(f) ((f)->output_data.pgtk->cr_active) f 72 src/pgtkterm.c #define FRAME_CR_SURFACE(f) (cairo_get_target (FRAME_CR_CONTEXT (f))) f 229 src/pgtkterm.c pgtk_toolkit_position (struct frame *f, int x, int y, f 235 src/pgtkterm.c y += (FRAME_MENUBAR_HEIGHT (f) f 236 src/pgtkterm.c + FRAME_TOOLBAR_TOP_HEIGHT (f)); f 237 src/pgtkterm.c x += FRAME_TOOLBAR_LEFT_WIDTH (f); f 239 src/pgtkterm.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 240 src/pgtkterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 241 src/pgtkterm.c && y >= 0 && y < FRAME_MENUBAR_HEIGHT (f)); f 243 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->toolbar_widget) f 245 src/pgtkterm.c scale = xg_get_scale (f); f 251 src/pgtkterm.c *tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 283 src/pgtkterm.c flip_cr_context (struct frame *f) f 285 src/pgtkterm.c cairo_t *cr = FRAME_CR_ACTIVE_CONTEXT (f); f 288 src/pgtkterm.c if (cr != FRAME_CR_CONTEXT (f)) f 292 src/pgtkterm.c FRAME_CR_ACTIVE_CONTEXT (f) f 293 src/pgtkterm.c = cairo_reference (FRAME_CR_CONTEXT (f)); f 409 src/pgtkterm.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 419 src/pgtkterm.c pgtk_raise_frame (struct frame *f) f 425 src/pgtkterm.c if (FRAME_VISIBLE_P (f)) f 426 src/pgtkterm.c gdk_window_raise (gtk_widget_get_window (FRAME_WIDGET (f))); f 433 src/pgtkterm.c pgtk_lower_frame (struct frame *f) f 435 src/pgtkterm.c if (FRAME_VISIBLE_P (f)) f 438 src/pgtkterm.c gdk_window_lower (gtk_widget_get_window (FRAME_WIDGET (f))); f 444 src/pgtkterm.c pgtk_frame_raise_lower (struct frame *f, bool raise_flag) f 447 src/pgtkterm.c pgtk_raise_frame (f); f 449 src/pgtkterm.c pgtk_lower_frame (f); f 455 src/pgtkterm.c pgtk_free_frame_resources (struct frame *f) f 460 src/pgtkterm.c check_window_system (f); f 461 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 462 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 467 src/pgtkterm.c kill_frame_xwidget_views (f); f 469 src/pgtkterm.c free_frame_faces (f); f 471 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->scale_factor_atimer != NULL) f 473 src/pgtkterm.c cancel_atimer (FRAME_X_OUTPUT (f)->scale_factor_atimer); f 474 src/pgtkterm.c FRAME_X_OUTPUT (f)->scale_factor_atimer = NULL; f 478 src/pgtkterm.c do { if (f == dpyinfo->FIELD) dpyinfo->FIELD = 0; } while (false) f 490 src/pgtkterm.c if (f == hlinfo->mouse_face_mouse_frame) f 493 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->text_cursor); f 494 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->nontext_cursor); f 495 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->modeline_cursor); f 496 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->hand_cursor); f 497 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->hourglass_cursor); f 498 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->horizontal_drag_cursor); f 499 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->vertical_drag_cursor); f 500 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->left_edge_cursor); f 501 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->right_edge_cursor); f 502 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->top_edge_cursor); f 503 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->bottom_edge_cursor); f 504 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->top_left_corner_cursor); f 505 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->top_right_corner_cursor); f 506 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->bottom_right_corner_cursor); f 507 src/pgtkterm.c g_clear_object (&FRAME_X_OUTPUT (f)->bottom_left_corner_cursor); f 510 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->border_color_css_provider != NULL) f 512 src/pgtkterm.c GtkStyleContext *ctxt = gtk_widget_get_style_context (FRAME_WIDGET (f)); f 513 src/pgtkterm.c GtkCssProvider *old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 516 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = NULL; f 519 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider != NULL) f 522 src/pgtkterm.c = FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider; f 524 src/pgtkterm.c FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider = NULL; f 527 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->scrollbar_background_css_provider != NULL) f 530 src/pgtkterm.c = FRAME_X_OUTPUT (f)->scrollbar_background_css_provider; f 532 src/pgtkterm.c FRAME_X_OUTPUT (f)->scrollbar_background_css_provider = NULL; f 535 src/pgtkterm.c gtk_widget_destroy (FRAME_WIDGET (f)); f 537 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->cr_surface_visible_bell != NULL) f 539 src/pgtkterm.c cairo_surface_destroy (FRAME_X_OUTPUT (f)->cr_surface_visible_bell); f 540 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = NULL; f 543 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 545 src/pgtkterm.c cancel_atimer (FRAME_X_OUTPUT (f)->atimer_visible_bell); f 546 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 549 src/pgtkterm.c xfree (f->output_data.pgtk); f 550 src/pgtkterm.c f->output_data.pgtk = NULL; f 556 src/pgtkterm.c pgtk_destroy_window (struct frame *f) f 561 src/pgtkterm.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 563 src/pgtkterm.c check_window_system (f); f 565 src/pgtkterm.c pgtk_free_frame_resources (f); f 574 src/pgtkterm.c pgtk_calc_absolute_position (struct frame *f) f 576 src/pgtkterm.c int flags = f->size_hint_flags; f 577 src/pgtkterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 586 src/pgtkterm.c if ((flags & XNegative) && (f->left_pos <= 0)) f 588 src/pgtkterm.c int width = FRAME_PIXEL_WIDTH (f); f 592 src/pgtkterm.c if (f->output_data.pgtk->has_been_visible && !p) f 597 src/pgtkterm.c XSETFRAME (frame, f); f 605 src/pgtkterm.c f->left_pos = (FRAME_PIXEL_WIDTH (p) - width - 2 * f->border_width f 606 src/pgtkterm.c + f->left_pos); f 608 src/pgtkterm.c f->left_pos = (pgtk_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 609 src/pgtkterm.c - width + f->left_pos); f 613 src/pgtkterm.c if ((flags & YNegative) && (f->top_pos <= 0)) f 615 src/pgtkterm.c int height = FRAME_PIXEL_HEIGHT (f); f 617 src/pgtkterm.c if (f->output_data.pgtk->has_been_visible && !p) f 622 src/pgtkterm.c XSETFRAME (frame, f); f 631 src/pgtkterm.c f->top_pos = (FRAME_PIXEL_HEIGHT (p) - height - 2 * f->border_width f 632 src/pgtkterm.c + f->top_pos); f 634 src/pgtkterm.c f->top_pos = (pgtk_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 635 src/pgtkterm.c - height + f->top_pos); f 641 src/pgtkterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 651 src/pgtkterm.c pgtk_set_offset (struct frame *f, int xoff, int yoff, int change_gravity) f 655 src/pgtkterm.c f->top_pos = yoff; f 656 src/pgtkterm.c f->left_pos = xoff; f 657 src/pgtkterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 659 src/pgtkterm.c f->size_hint_flags |= XNegative; f 661 src/pgtkterm.c f->size_hint_flags |= YNegative; f 662 src/pgtkterm.c f->win_gravity = NorthWestGravity; f 665 src/pgtkterm.c pgtk_calc_absolute_position (f); f 668 src/pgtkterm.c xg_wm_set_size_hint (f, 0, false); f 672 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 673 src/pgtkterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 674 src/pgtkterm.c f->left_pos, f->top_pos); f 677 src/pgtkterm.c GtkWidget *fixed = FRAME_GTK_WIDGET (f); f 680 src/pgtkterm.c f->left_pos, f->top_pos); f 688 src/pgtkterm.c pgtk_set_window_size (struct frame *f, bool change_gravity, f 700 src/pgtkterm.c gtk_widget_get_size_request (FRAME_GTK_WIDGET (f), &pixelwidth, f 706 src/pgtkterm.c for (GtkWidget * w = FRAME_GTK_WIDGET (f); w != NULL; f 713 src/pgtkterm.c f->output_data.pgtk->preferred_width = pixelwidth; f 714 src/pgtkterm.c f->output_data.pgtk->preferred_height = pixelheight; f 715 src/pgtkterm.c xg_wm_set_size_hint (f, 0, 0); f 716 src/pgtkterm.c xg_frame_set_char_size (f, pixelwidth, pixelheight); f 717 src/pgtkterm.c gtk_widget_queue_resize (FRAME_WIDGET (f)); f 723 src/pgtkterm.c pgtk_iconify_frame (struct frame *f) f 729 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 730 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = NULL; f 734 src/pgtkterm.c if (FRAME_ICONIFIED_P (f)) f 740 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 742 src/pgtkterm.c if (!FRAME_VISIBLE_P (f)) f 743 src/pgtkterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 745 src/pgtkterm.c window = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 781 src/pgtkterm.c pgtk_wait_for_map_event (struct frame *f, bool multiple_times) f 790 src/pgtkterm.c = g_signal_connect (FRAME_WIDGET (f), "map-event", f 810 src/pgtkterm.c g_signal_handler_disconnect (FRAME_WIDGET (f), id); f 818 src/pgtkterm.c pgtk_make_frame_visible (struct frame *f) f 820 src/pgtkterm.c GtkWidget *win = FRAME_GTK_OUTER_WIDGET (f); f 822 src/pgtkterm.c if (!FRAME_VISIBLE_P (f)) f 824 src/pgtkterm.c gtk_widget_show (FRAME_WIDGET (f)); f 828 src/pgtkterm.c pgtk_wait_for_map_event (f, false); f 834 src/pgtkterm.c pgtk_make_frame_invisible (struct frame *f) f 836 src/pgtkterm.c gtk_widget_hide (FRAME_WIDGET (f)); f 840 src/pgtkterm.c pgtk_wait_for_map_event (f, true); f 842 src/pgtkterm.c SET_FRAME_VISIBLE (f, 0); f 843 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 847 src/pgtkterm.c pgtk_make_frame_visible_invisible (struct frame *f, bool visible) f 850 src/pgtkterm.c pgtk_make_frame_visible (f); f 852 src/pgtkterm.c pgtk_make_frame_invisible (f); f 856 src/pgtkterm.c pgtk_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 863 src/pgtkterm.c FRAME_FONTSET (f) = fontset; f 865 src/pgtkterm.c if (FRAME_FONT (f) == font) f 872 src/pgtkterm.c FRAME_FONT (f) = font; f 874 src/pgtkterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 875 src/pgtkterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 877 src/pgtkterm.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 880 src/pgtkterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 883 src/pgtkterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 885 src/pgtkterm.c int wid = FRAME_COLUMN_WIDTH (f); f 886 src/pgtkterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 887 src/pgtkterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + wid - 1) / wid; f 891 src/pgtkterm.c int wid = FRAME_COLUMN_WIDTH (f); f 892 src/pgtkterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + wid - 1) / wid; f 896 src/pgtkterm.c if (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) > 0) f 898 src/pgtkterm.c int height = FRAME_LINE_HEIGHT (f); f 899 src/pgtkterm.c FRAME_CONFIG_SCROLL_BAR_LINES (f) f 900 src/pgtkterm.c = (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) + height - 1) / height; f 904 src/pgtkterm.c int height = FRAME_LINE_HEIGHT (f); f 905 src/pgtkterm.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (14 + height - 1) / height; f 909 src/pgtkterm.c if (FRAME_GTK_WIDGET (f) != NULL) f 910 src/pgtkterm.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 911 src/pgtkterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, f 936 src/pgtkterm.c pgtk_set_parent_frame (struct frame *f, Lisp_Object new_value, f 946 src/pgtkterm.c store_frame_param (f, Qparent_frame, old_value); f 950 src/pgtkterm.c if (p != FRAME_PARENT_FRAME (f)) f 956 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f) != FRAME_DISPLAY_INFO (p)) f 960 src/pgtkterm.c GtkWidget *fixed = FRAME_GTK_WIDGET (f); f 967 src/pgtkterm.c GtkCssProvider *provider = FRAME_X_OUTPUT (f)->border_color_css_provider; f 968 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = NULL; f 970 src/pgtkterm.c GtkStyleContext *ctxt = gtk_widget_get_style_context (FRAME_WIDGET (f)); f 981 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 983 src/pgtkterm.c gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f)); f 984 src/pgtkterm.c FRAME_GTK_OUTER_WIDGET (f) = NULL; f 985 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->vbox_widget = NULL; f 986 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->hbox_widget = NULL; f 987 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->menubar_widget = NULL; f 988 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->toolbar_widget = NULL; f 989 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->ttip_widget = NULL; f 990 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->ttip_lbl = NULL; f 991 src/pgtkterm.c FRAME_OUTPUT_DATA (f)->ttip_window = NULL; f 997 src/pgtkterm.c xg_create_frame_outer_widgets (f); f 998 src/pgtkterm.c pgtk_set_event_handler (f); f 999 src/pgtkterm.c gtk_box_pack_start (GTK_BOX (f->output_data.pgtk->hbox_widget), f 1001 src/pgtkterm.c f->output_data.pgtk->preferred_width = alloc.width; f 1002 src/pgtkterm.c f->output_data.pgtk->preferred_height = alloc.height; f 1003 src/pgtkterm.c xg_wm_set_size_hint (f, 0, 0); f 1004 src/pgtkterm.c xg_frame_set_char_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, alloc.width), f 1005 src/pgtkterm.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, alloc.height)); f 1006 src/pgtkterm.c gtk_widget_queue_resize (FRAME_WIDGET (f)); f 1007 src/pgtkterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 1012 src/pgtkterm.c gtk_fixed_put (GTK_FIXED (fixed_of_p), fixed, f->left_pos, f->top_pos); f 1018 src/pgtkterm.c GtkStyleContext *ctxt = gtk_widget_get_style_context (FRAME_WIDGET (f)); f 1019 src/pgtkterm.c GtkCssProvider *old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 1020 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = provider; f 1036 src/pgtkterm.c fset_parent_frame (f, new_value); f 1042 src/pgtkterm.c pgtk_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, f 1047 src/pgtkterm.c xg_set_no_focus_on_map (f, new_value); f 1048 src/pgtkterm.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 1053 src/pgtkterm.c pgtk_set_no_accept_focus (struct frame *f, Lisp_Object new_value, f 1056 src/pgtkterm.c xg_set_no_accept_focus (f, new_value); f 1057 src/pgtkterm.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 1061 src/pgtkterm.c pgtk_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1063 src/pgtkterm.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 1068 src/pgtkterm.c gtk_window_set_keep_above (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1070 src/pgtkterm.c gtk_window_set_keep_below (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1072 src/pgtkterm.c FRAME_Z_GROUP (f) = z_group_none; f 1076 src/pgtkterm.c gtk_window_set_keep_above (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1078 src/pgtkterm.c gtk_window_set_keep_below (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1080 src/pgtkterm.c FRAME_Z_GROUP (f) = z_group_above; f 1084 src/pgtkterm.c gtk_window_set_keep_above (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1086 src/pgtkterm.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 1090 src/pgtkterm.c gtk_window_set_keep_above (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1092 src/pgtkterm.c gtk_window_set_keep_below (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1094 src/pgtkterm.c FRAME_Z_GROUP (f) = z_group_below; f 1125 src/pgtkterm.c if (s->font == FRAME_FONT (s->f) f 1126 src/pgtkterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 1127 src/pgtkterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) && !s->cmp) f 1128 src/pgtkterm.c s->xgcv = FRAME_X_OUTPUT (s->f)->cursor_xgcv; f 1134 src/pgtkterm.c xgcv.background = FRAME_X_OUTPUT (s->f)->cursor_color; f 1141 src/pgtkterm.c xgcv.foreground = FRAME_X_OUTPUT (s->f)->cursor_foreground_color; f 1163 src/pgtkterm.c prepare_face_for_display (s->f, s->face); f 1204 src/pgtkterm.c prepare_face_for_display (s->f, s->face); f 1321 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.background, x, y, w, h, f 1327 src/pgtkterm.c fill_background_by_face (struct frame *f, struct face *face, int x, int y, f 1330 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 1344 src/pgtkterm.c = FRAME_DISPLAY_INFO (f)->bitmaps[face->stipple - 1].pattern; f 1353 src/pgtkterm.c pgtk_end_cr_clip (f); f 1359 src/pgtkterm.c fill_background_by_face (s->f, s->face, x, y, width, height); f 1403 src/pgtkterm.c pgtk_draw_rectangle (struct frame *f, unsigned long color, int x, int y, f 1408 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1409 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, respect_alpha_background); f 1413 src/pgtkterm.c pgtk_end_cr_clip (f); f 1436 src/pgtkterm.c pgtk_draw_rectangle (s->f, f 1450 src/pgtkterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 1487 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, x, s->y, f 1628 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, f 1662 src/pgtkterm.c pgtk_compute_lighter_color (struct frame *f, unsigned long *pixel, f 1670 src/pgtkterm.c pgtk_query_color (f, &color); f 1726 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (struct frame *f, unsigned long color, int x, f 1731 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1732 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 1738 src/pgtkterm.c pgtk_end_cr_clip (f); f 1751 src/pgtkterm.c pgtk_erase_corners_for_relief (struct frame *f, unsigned long color, int x, f 1758 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1759 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 1780 src/pgtkterm.c pgtk_end_cr_clip (f); f 1784 src/pgtkterm.c pgtk_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 1788 src/pgtkterm.c struct pgtk_output *di = FRAME_X_OUTPUT (f); f 1795 src/pgtkterm.c pgtk_compute_lighter_color (f, &pixel, factor, delta); f 1805 src/pgtkterm.c struct pgtk_output *di = FRAME_X_OUTPUT (s->f); f 1812 src/pgtkterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 1813 src/pgtkterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 1825 src/pgtkterm.c pgtk_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 1826 src/pgtkterm.c WHITE_PIX_DEFAULT (s->f)); f 1827 src/pgtkterm.c pgtk_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 1828 src/pgtkterm.c BLACK_PIX_DEFAULT (s->f)); f 1833 src/pgtkterm.c pgtk_set_clip_rectangles (struct frame *f, cairo_t *cr, f 1854 src/pgtkterm.c pgtk_draw_relief_rect (struct frame *f, f 1863 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 1867 src/pgtkterm.c top_left_color = FRAME_X_OUTPUT (f)->white_relief.xgcv.foreground; f 1868 src/pgtkterm.c bottom_right_color = FRAME_X_OUTPUT (f)->black_relief.xgcv.foreground; f 1872 src/pgtkterm.c top_left_color = FRAME_X_OUTPUT (f)->black_relief.xgcv.foreground; f 1873 src/pgtkterm.c bottom_right_color = FRAME_X_OUTPUT (f)->white_relief.xgcv.foreground; f 1876 src/pgtkterm.c pgtk_set_clip_rectangles (f, cr, clip_rect, 1); f 1880 src/pgtkterm.c pgtk_fill_rectangle (f, top_left_color, left_x, top_y, f 1889 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, right_x + 1 - vwidth, top_y, f 1899 src/pgtkterm.c pgtk_fill_rectangle (f, top_left_color, left_x, top_y, f 1902 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (f, top_left_color, left_x, top_y, f 1908 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, f 1912 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (f, bottom_right_color, f 1917 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, top_y, f 1920 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, top_y, f 1923 src/pgtkterm.c pgtk_erase_corners_for_relief (f, FRAME_BACKGROUND_PIXEL (f), left_x, f 1927 src/pgtkterm.c pgtk_end_cr_clip (f); f 1945 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 1950 src/pgtkterm.c pgtk_set_clip_rectangles (s->f, cr, clip_rect, 1); f 1953 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1959 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1964 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1970 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1976 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2021 src/pgtkterm.c pgtk_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 2028 src/pgtkterm.c pgtk_draw_horizontal_wave (struct frame *f, unsigned long color, int x, int y, f 2035 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 2036 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 2065 src/pgtkterm.c pgtk_end_cr_clip (f); f 2073 src/pgtkterm.c pgtk_draw_horizontal_wave (s->f, color, s->x, s->ybase - wave_height + 3, f 2165 src/pgtkterm.c pgtk_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 2183 src/pgtkterm.c pgtk_cr_draw_image (struct frame *f, Emacs_GC *gc, cairo_pattern_t *image, f 2187 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2193 src/pgtkterm.c pgtk_set_cr_source_with_gc_background (f, gc, false); f 2210 src/pgtkterm.c pgtk_set_cr_source_with_gc_foreground (f, gc, false); f 2215 src/pgtkterm.c pgtk_end_cr_clip (f); f 2242 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2244 src/pgtkterm.c pgtk_cr_draw_image (s->f, &s->xgcv, s->img->cr_data, f 2258 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->xgcv.foreground, x - relief, f 2263 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2267 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->xgcv.foreground, x, y, f 2372 src/pgtkterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 2399 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2402 src/pgtkterm.c pgtk_set_clip_rectangles (s->f, cr, &r, 1); f 2407 src/pgtkterm.c pgtk_fill_rectangle (s->f, color, x, y, w, h, f 2410 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2452 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (next->f); f 2460 src/pgtkterm.c pgtk_end_cr_clip (next->f); f 2467 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2617 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 2622 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->underline_color, f 2634 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, s->x, s->y + dy, f 2637 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->overline_color, s->x, f 2657 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, s->x, glyph_y + dy, f 2660 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->strike_through_color, s->x, f 2724 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2731 src/pgtkterm.c pgtk_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 2733 src/pgtkterm.c if (!f->pointer_invisible && FRAME_X_OUTPUT (f)->current_cursor != cursor) f 2734 src/pgtkterm.c gdk_window_set_cursor (gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 2736 src/pgtkterm.c FRAME_X_OUTPUT (f)->current_cursor = cursor; f 2743 src/pgtkterm.c struct frame *f; f 2756 src/pgtkterm.c && (f = XFRAME (w->frame), f 2757 src/pgtkterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 2763 src/pgtkterm.c pgtk_clear_frame_area (f, 0, y, width, height); f 2764 src/pgtkterm.c pgtk_clear_frame_area (f, f 2765 src/pgtkterm.c FRAME_PIXEL_WIDTH (f) - width, y, width, height); f 2771 src/pgtkterm.c pgtk_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 2773 src/pgtkterm.c pgtk_clear_area (f, x, y, width, height); f 2781 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2797 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2798 src/pgtkterm.c pgtk_set_cr_source_with_color (f, FRAME_X_OUTPUT (f)->cursor_color, false); f 2812 src/pgtkterm.c pgtk_draw_rectangle (f, FRAME_X_OUTPUT (f)->cursor_color, f 2814 src/pgtkterm.c pgtk_end_cr_clip (f); f 2828 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 2853 src/pgtkterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 2856 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2863 src/pgtkterm.c if (face->background == FRAME_X_OUTPUT (f)->cursor_color) f 2866 src/pgtkterm.c color = FRAME_X_OUTPUT (f)->cursor_color; f 2875 src/pgtkterm.c width = FRAME_CURSOR_WIDTH (f); f 2885 src/pgtkterm.c pgtk_fill_rectangle (f, color, x, f 2905 src/pgtkterm.c pgtk_fill_rectangle (f, color, x, f 2911 src/pgtkterm.c pgtk_end_cr_clip (f); f 2922 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 2966 src/pgtkterm.c if (w == XWINDOW (f->selected_window)) f 2972 src/pgtkterm.c pgtk_im_set_cursor_location (f, frame_x, frame_y, f 2981 src/pgtkterm.c pgtk_copy_bits (struct frame *f, cairo_rectangle_t *src_rect, f 2988 src/pgtkterm.c = cairo_surface_create_similar (FRAME_CR_SURFACE (f), f 2994 src/pgtkterm.c cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), -src_rect->x, f 3001 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 3008 src/pgtkterm.c pgtk_end_cr_clip (f); f 3018 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 3053 src/pgtkterm.c GtkWidget *tem, *parent = FRAME_GTK_WIDGET (f); f 3122 src/pgtkterm.c gtk_fixed_move (GTK_FIXED (FRAME_GTK_WIDGET (f)), f 3142 src/pgtkterm.c pgtk_copy_bits (f, &src_rect, &dst_rect); f 3151 src/pgtkterm.c pgtk_bitmap_icon (struct frame *f, Lisp_Object file) f 3161 src/pgtkterm.c if (FRAME_GTK_WIDGET (f) == 0) f 3165 src/pgtkterm.c if (f->output_data.pgtk->icon_bitmap > 0) f 3166 src/pgtkterm.c image_destroy_bitmap (f, f->output_data.pgtk->icon_bitmap); f 3167 src/pgtkterm.c f->output_data.pgtk->icon_bitmap = 0; f 3173 src/pgtkterm.c if (xg_set_icon (f, file)) f 3175 src/pgtkterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 3180 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 3184 src/pgtkterm.c if (xg_set_icon (f, xg_default_icon_file) f 3185 src/pgtkterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 3187 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 3194 src/pgtkterm.c rc = image_create_bitmap_from_data (f, f 3201 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 3209 src/pgtkterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 3211 src/pgtkterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 3214 src/pgtkterm.c f->output_data.pgtk->icon_bitmap = bitmap_id; f 3224 src/pgtkterm.c pgtk_text_icon (struct frame *f, const char *icon_name) f 3226 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 3228 src/pgtkterm.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), NULL); f 3229 src/pgtkterm.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), icon_name); f 3246 src/pgtkterm.c pgtk_update_begin (struct frame *f) f 3248 src/pgtkterm.c pgtk_clear_under_internal_border (f); f 3256 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3260 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 3262 src/pgtkterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 3264 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->foreground, false); f 3269 src/pgtkterm.c pgtk_end_cr_clip (f); f 3277 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3278 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 3280 src/pgtkterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 3282 src/pgtkterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 3283 src/pgtkterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 3286 src/pgtkterm.c : FRAME_FOREGROUND_PIXEL (f)); f 3289 src/pgtkterm.c : FRAME_FOREGROUND_PIXEL (f)); f 3290 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 3295 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_first, false); f 3298 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3301 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_last, false); f 3308 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_first, false); f 3311 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3314 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_last, false); f 3320 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3325 src/pgtkterm.c pgtk_end_cr_clip (f); f 3332 src/pgtkterm.c pgtk_update_end (struct frame *f) f 3335 src/pgtkterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 3339 src/pgtkterm.c pgtk_frame_up_to_date (struct frame *f) f 3342 src/pgtkterm.c FRAME_MOUSE_UPDATE (f); f 3345 src/pgtkterm.c flip_cr_context (f); f 3346 src/pgtkterm.c gtk_widget_queue_draw (FRAME_GTK_WIDGET (f)); f 3537 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3540 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 3552 src/pgtkterm.c fill_background_by_face (f, face, p->bx, p->by, p->nx, p->ny); f 3555 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->background, true); f 3575 src/pgtkterm.c gui_define_fringe_bitmap (f, p->which); f 3580 src/pgtkterm.c : FRAME_X_OUTPUT (f)->cursor_color) f 3583 src/pgtkterm.c pgtk_cr_draw_image (f, &gcv, fringe_bmp[p->which], 0, p->dh, f 3587 src/pgtkterm.c pgtk_end_cr_clip (f); f 3600 src/pgtkterm.c pgtk_show_hourglass (struct frame *f) f 3602 src/pgtkterm.c struct pgtk_output *x = FRAME_X_OUTPUT (f); f 3609 src/pgtkterm.c gtk_fixed_put (GTK_FIXED (FRAME_GTK_WIDGET (f)), x->hourglass_widget, 0, 0); f 3629 src/pgtkterm.c pgtk_hide_hourglass (struct frame *f) f 3631 src/pgtkterm.c struct pgtk_output *x = FRAME_X_OUTPUT (f); f 3649 src/pgtkterm.c pgtk_flush_display (struct frame *f) f 3687 src/pgtkterm.c pgtk_clear_frame (struct frame *f) f 3689 src/pgtkterm.c if (!FRAME_DEFAULT_FACE (f)) f 3692 src/pgtkterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 3695 src/pgtkterm.c pgtk_clear_area (f, 0, 0, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 3702 src/pgtkterm.c struct frame *f = timer->client_data; f 3704 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->cr_surface_visible_bell != NULL) f 3706 src/pgtkterm.c cairo_surface_destroy (FRAME_X_OUTPUT (f)->cr_surface_visible_bell); f 3707 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = NULL; f 3710 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 3711 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 3717 src/pgtkterm.c pgtk_flash (struct frame *f) f 3724 src/pgtkterm.c if (!FRAME_CR_CONTEXT (f)) f 3729 src/pgtkterm.c surface_orig = FRAME_CR_SURFACE (f); f 3731 src/pgtkterm.c width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 3732 src/pgtkterm.c height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 3747 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 3749 src/pgtkterm.c flash_height = FRAME_LINE_HEIGHT (f); f 3751 src/pgtkterm.c flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 3752 src/pgtkterm.c flash_right = (FRAME_PIXEL_WIDTH (f) f 3753 src/pgtkterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)); f 3757 src/pgtkterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 3761 src/pgtkterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 3762 src/pgtkterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 3769 src/pgtkterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 3770 src/pgtkterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 3778 src/pgtkterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 3779 src/pgtkterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 3783 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = surface; f 3787 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 3789 src/pgtkterm.c cancel_atimer (FRAME_X_OUTPUT (f)->atimer_visible_bell); f 3790 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 3793 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell f 3794 src/pgtkterm.c = start_atimer (ATIMER_RELATIVE, delay, recover_from_visible_bell, f); f 3804 src/pgtkterm.c pgtk_ring_bell (struct frame *f) f 3808 src/pgtkterm.c pgtk_flash (f); f 3813 src/pgtkterm.c gtk_widget_error_bell (FRAME_GTK_WIDGET (f)); f 3989 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 3994 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4000 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (struct frame *f, f 4006 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4039 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4047 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); f 4049 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); f 4062 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4065 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4072 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 4075 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4089 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4092 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); f 4112 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4131 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4161 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4162 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4185 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4208 src/pgtkterm.c pgtk_clear_area (f, left, top, pixel_width, height); f 4238 src/pgtkterm.c pgtk_clear_area (f, f 4242 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 4303 src/pgtkterm.c struct frame *f; f 4313 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4318 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 4321 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4323 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4335 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4338 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4349 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4354 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 4357 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4359 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4371 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4374 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4384 src/pgtkterm.c pgtk_judge_scroll_bars (struct frame *f) f 4388 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 4392 src/pgtkterm.c fset_condemned_scroll_bars (f, Qnil); f 4409 src/pgtkterm.c set_fullscreen_state (struct frame *f) f 4411 src/pgtkterm.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 4414 src/pgtkterm.c GtkWindow *widget = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4415 src/pgtkterm.c switch (f->want_fullscreen) f 4420 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 4426 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 4432 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 4441 src/pgtkterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4445 src/pgtkterm.c pgtk_fullscreen_hook (struct frame *f) f 4447 src/pgtkterm.c if (FRAME_VISIBLE_P (f)) f 4450 src/pgtkterm.c set_fullscreen_state (f); f 4511 src/pgtkterm.c pgtk_query_frame_background_color (struct frame *f, Emacs_Color * bgcolor) f 4513 src/pgtkterm.c bgcolor->pixel = FRAME_BACKGROUND_PIXEL (f); f 4514 src/pgtkterm.c pgtk_query_color (f, bgcolor); f 4518 src/pgtkterm.c pgtk_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4528 src/pgtkterm.c pgtk_focus_frame (struct frame *f, bool noactivate) f 4534 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4536 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f) && !noactivate) f 4544 src/pgtkterm.c window = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4549 src/pgtkterm.c widget = FRAME_WIDGET (f); f 4566 src/pgtkterm.c pgtk_set_frame_alpha (struct frame *f) f 4568 src/pgtkterm.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4572 src/pgtkterm.c if (dpyinfo->highlight_frame == f) f 4573 src/pgtkterm.c alpha = f->alpha[0]; f 4575 src/pgtkterm.c alpha = f->alpha[1]; f 4590 src/pgtkterm.c set_opacity_recursively (FRAME_WIDGET (f), &alpha); f 4592 src/pgtkterm.c gtk_widget_queue_resize_no_redraw (FRAME_WIDGET (f)); f 4596 src/pgtkterm.c frame_highlight (struct frame *f) f 4599 src/pgtkterm.c GtkWidget *w = FRAME_WIDGET (f); f 4602 src/pgtkterm.c f->border_width, f 4603 src/pgtkterm.c ((unsigned int) FRAME_X_OUTPUT (f)->border_pixel f 4613 src/pgtkterm.c GtkCssProvider *old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4614 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4622 src/pgtkterm.c gui_update_cursor (f, true); f 4623 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4627 src/pgtkterm.c frame_unhighlight (struct frame *f) f 4636 src/pgtkterm.c w = FRAME_WIDGET (f); f 4639 src/pgtkterm.c f->border_width); f 4648 src/pgtkterm.c old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4649 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4657 src/pgtkterm.c gui_update_cursor (f, true); f 4658 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4705 src/pgtkterm.c pgtk_toggle_invisible_pointer (struct frame *f, bool invisible) f 4709 src/pgtkterm.c cursor = FRAME_DISPLAY_INFO (f)->invisible_cursor; f 4711 src/pgtkterm.c cursor = f->output_data.pgtk->current_cursor; f 4712 src/pgtkterm.c gdk_window_set_cursor (gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 4714 src/pgtkterm.c f->pointer_invisible = invisible; f 4718 src/pgtkterm.c gdk_display_flush (FRAME_X_DISPLAY (f)); f 4754 src/pgtkterm.c pgtk_buffer_flipping_unblocked_hook (struct frame *f) f 4757 src/pgtkterm.c flip_cr_context (f); f 4758 src/pgtkterm.c gtk_widget_queue_draw (FRAME_GTK_WIDGET (f)); f 4850 src/pgtkterm.c pgtk_window_is_of_frame (struct frame *f, GdkWindow *window) f 4855 src/pgtkterm.c data.emacs_gtk_fixed = FRAME_GTK_WIDGET (f); f 4856 src/pgtkterm.c pgtk_window_is_of_frame_recursive (FRAME_WIDGET (f), &data); f 4866 src/pgtkterm.c struct frame *f, *found = NULL; f 4875 src/pgtkterm.c f = XFRAME (frame); f 4876 src/pgtkterm.c if (FRAME_PGTK_P (f)) f 4878 src/pgtkterm.c if (pgtk_window_is_of_frame (f, window)) f 4879 src/pgtkterm.c found = f; f 4889 src/pgtkterm.c struct frame *f; f 4898 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 4899 src/pgtkterm.c frame_widget = FRAME_GTK_WIDGET (f); f 4905 src/pgtkterm.c if (f) f 4909 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 4916 src/pgtkterm.c inev.ie.modifiers = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 4919 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 4929 src/pgtkterm.c pgtk_fill_rectangle (struct frame *f, unsigned long color, int x, int y, f 4933 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 4934 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, respect_alpha_background); f 4937 src/pgtkterm.c pgtk_end_cr_clip (f); f 4941 src/pgtkterm.c pgtk_clear_under_internal_border (struct frame *f) f 4943 src/pgtkterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4944 src/pgtkterm.c && (!FRAME_GTK_OUTER_WIDGET (f) f 4945 src/pgtkterm.c || gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)))) f 4947 src/pgtkterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4948 src/pgtkterm.c int width = FRAME_PIXEL_WIDTH (f); f 4949 src/pgtkterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4950 src/pgtkterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4951 src/pgtkterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 4952 src/pgtkterm.c int face_id = (FRAME_PARENT_FRAME (f) f 4954 src/pgtkterm.c ? lookup_basic_face (NULL, f, f 4958 src/pgtkterm.c ? lookup_basic_face (NULL, f, f 4961 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4967 src/pgtkterm.c fill_background_by_face (f, face, 0, margin, width, border); f 4968 src/pgtkterm.c fill_background_by_face (f, face, 0, 0, border, height); f 4969 src/pgtkterm.c fill_background_by_face (f, face, width - border, 0, border, f 4971 src/pgtkterm.c fill_background_by_face (f, face, 0, (height f 4978 src/pgtkterm.c pgtk_clear_area (f, 0, 0, border, height); f 4979 src/pgtkterm.c pgtk_clear_area (f, 0, margin, width, border); f 4980 src/pgtkterm.c pgtk_clear_area (f, width - border, 0, border, height); f 4981 src/pgtkterm.c pgtk_clear_area (f, 0, height - bottom_margin - border, f 4992 src/pgtkterm.c struct frame *f; f 4999 src/pgtkterm.c f = pgtk_any_window_to_frame (win); f 5000 src/pgtkterm.c if (f != NULL) f 5002 src/pgtkterm.c src = FRAME_X_OUTPUT (f)->cr_surface_visible_bell; f 5003 src/pgtkterm.c if (src == NULL && FRAME_CR_ACTIVE_CONTEXT (f) != NULL) f 5004 src/pgtkterm.c src = cairo_get_target (FRAME_CR_ACTIVE_CONTEXT (f)); f 5019 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5021 src/pgtkterm.c if (!f) f 5022 src/pgtkterm.c f = user_data; f 5024 src/pgtkterm.c if (f) f 5026 src/pgtkterm.c xg_frame_resized (f, alloc->width, alloc->height); f 5027 src/pgtkterm.c pgtk_cr_update_surface_desired_size (f, alloc->width, alloc->height, false); f 5127 src/pgtkterm.c pgtk_enqueue_string (struct frame *f, gchar *str) f 5144 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5154 src/pgtkterm.c pgtk_enqueue_preedit (struct frame *f, Lisp_Object preedit) f 5161 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5173 src/pgtkterm.c struct frame *f; f 5176 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5178 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5189 src/pgtkterm.c if (f != 0) f 5210 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 5223 src/pgtkterm.c if (pgtk_im_filter_keypress (f, &event->key)) f 5227 src/pgtkterm.c state |= pgtk_emacs_to_gtk_modifiers (FRAME_DISPLAY_INFO (f), f 5248 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5250 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), modifiers); f 5262 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5276 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5291 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5373 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5381 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5391 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5437 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->configure.window); f 5439 src/pgtkterm.c if (f && widget == FRAME_GTK_OUTER_WIDGET (f)) f 5444 src/pgtkterm.c if (f) f 5445 src/pgtkterm.c XSETFRAME (frame, f); f 5452 src/pgtkterm.c if (f->win_gravity == NorthWestGravity) f 5454 src/pgtkterm.c &f->left_pos, &f->top_pos); f 5457 src/pgtkterm.c f->top_pos = event->configure.y; f 5458 src/pgtkterm.c f->left_pos = event->configure.x; f 5469 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5476 src/pgtkterm.c if (f) f 5478 src/pgtkterm.c bool iconified = FRAME_ICONIFIED_P (f); f 5482 src/pgtkterm.c if (!FRAME_X_OUTPUT (f)->has_been_visible) f 5483 src/pgtkterm.c set_fullscreen_state (f); f 5489 src/pgtkterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 5490 src/pgtkterm.c pgtk_set_z_group (f, Qabove, Qnil); f 5491 src/pgtkterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 5492 src/pgtkterm.c pgtk_set_z_group (f, Qbelow, Qnil); f 5495 src/pgtkterm.c SET_FRAME_VISIBLE (f, 1); f 5496 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5497 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5502 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5516 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->window_state.window); f 5527 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 5529 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 5534 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullheight); f 5539 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullwidth); f 5541 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 5564 src/pgtkterm.c SET_FRAME_ICONIFIED (f, true); f 5565 src/pgtkterm.c SET_FRAME_VISIBLE (f, false); f 5569 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5571 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5572 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5573 src/pgtkterm.c SET_FRAME_VISIBLE (f, true); f 5577 src/pgtkterm.c store_frame_param (f, Qsticky, Qt); f 5579 src/pgtkterm.c store_frame_param (f, Qsticky, Qnil); f 5590 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5597 src/pgtkterm.c if (f) f 5600 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5850 src/pgtkterm.c struct frame *f, *frame; f 5863 src/pgtkterm.c f = (gui_mouse_grabbed (dpyinfo) ? dpyinfo->last_mouse_frame f 5865 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5873 src/pgtkterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 5874 src/pgtkterm.c f = 0; f 5876 src/pgtkterm.c if (f) f 5890 src/pgtkterm.c && (f == XFRAME (selected_frame) || !NILP (focus_follows_mouse))) f 5894 src/pgtkterm.c (f, event->motion.x, event->motion.y, 0, false, false); f 5916 src/pgtkterm.c if (!note_mouse_movement (f, &event->motion)) f 5937 src/pgtkterm.c if (f) f 5938 src/pgtkterm.c XSETFRAME (frame, f); f 5958 src/pgtkterm.c struct frame *f) f 5965 src/pgtkterm.c result->modifiers = (pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 5972 src/pgtkterm.c XSETFRAME (result->frame_or_window, f); f 5974 src/pgtkterm.c result->device = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), f 5984 src/pgtkterm.c struct frame *f, *frame; f 6007 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6010 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6012 src/pgtkterm.c if (f && event->button.type == GDK_BUTTON_PRESS f 6013 src/pgtkterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 6021 src/pgtkterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 6024 src/pgtkterm.c gtk_widget_grab_focus (FRAME_GTK_WIDGET (f)); f 6026 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6027 src/pgtkterm.c gtk_window_present (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 6037 src/pgtkterm.c if (f) f 6040 src/pgtkterm.c if (WINDOWP (f->tab_bar_window) f 6041 src/pgtkterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 6047 src/pgtkterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 6048 src/pgtkterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 6052 src/pgtkterm.c (f, x, y, event->type == GDK_BUTTON_PRESS, f 6064 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6070 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6080 src/pgtkterm.c dpyinfo->last_mouse_frame = f; f 6092 src/pgtkterm.c if (f != 0) f 6093 src/pgtkterm.c f->mouse_moved = false; f 6104 src/pgtkterm.c struct frame *f, *frame; f 6117 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6119 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6124 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), event->scroll.state); f 6127 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6134 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6230 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6323 src/pgtkterm.c struct frame *f; f 6326 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6347 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6357 src/pgtkterm.c struct frame *f; f 6362 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6364 src/pgtkterm.c if (!f) f 6395 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6406 src/pgtkterm.c struct frame *f; f 6411 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6413 src/pgtkterm.c if (!f) f 6444 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6468 src/pgtkterm.c pgtk_set_event_handler (struct frame *f) f 6470 src/pgtkterm.c if (f->tooltip) f 6472 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6477 src/pgtkterm.c gtk_drag_dest_set (FRAME_GTK_WIDGET (f), 0, NULL, 0, f 6481 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6483 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6486 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "delete-event", f 6488 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "event", f 6490 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "configure-event", f 6494 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "map-event", f 6496 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "size-allocate", f 6497 src/pgtkterm.c G_CALLBACK (size_allocate), f); f 6498 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-press-event", f 6500 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-release-event", f 6502 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-in-event", f 6504 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-out-event", f 6506 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "enter-notify-event", f 6508 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "leave-notify-event", f 6510 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "motion-notify-event", f 6512 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-press-event", f 6514 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-release-event", f 6516 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "scroll-event", f 6518 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "configure-event", f 6520 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-leave", f 6522 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-motion", f 6524 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-drop", f 6526 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6528 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "property-notify-event", f 6530 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-clear-event", f 6532 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-request-event", f 6534 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-notify-event", f 6536 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "event", f 6599 src/pgtkterm.c struct frame *f; f 6603 src/pgtkterm.c f = XFRAME (tem); f 6605 src/pgtkterm.c if (FRAME_PGTK_P (f) f 6606 src/pgtkterm.c && (FRAME_GDK_WINDOW (f) == window)) f 6607 src/pgtkterm.c return f; f 6617 src/pgtkterm.c struct frame *f; f 6625 src/pgtkterm.c f = pgtk_find_selection_owner (event->selection.window); f 6627 src/pgtkterm.c if (f) f 6635 src/pgtkterm.c SELECTION_EVENT_DPYINFO (&inev.sie) = FRAME_DISPLAY_INFO (f); f 7009 src/pgtkterm.c pgtk_defined_color (struct frame *f, const char *name, f 7023 src/pgtkterm.c r = xg_check_special_colors (f, name, color_def); f 7025 src/pgtkterm.c r = pgtk_parse_color (f, name, color_def); f 7039 src/pgtkterm.c pgtk_parse_color (struct frame *f, const char *color_name, f 7060 src/pgtkterm.c pgtk_query_colors (struct frame *f, Emacs_Color * colors, int ncolors) f 7078 src/pgtkterm.c pgtk_query_color (struct frame *f, Emacs_Color * color) f 7080 src/pgtkterm.c pgtk_query_colors (f, color, 1); f 7084 src/pgtkterm.c pgtk_clear_area (struct frame *f, int x, int y, int width, int height) f 7090 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 7091 src/pgtkterm.c pgtk_set_cr_source_with_color (f, FRAME_X_OUTPUT (f)->background_color, f 7095 src/pgtkterm.c pgtk_end_cr_clip (f); f 7198 src/pgtkterm.c pgtk_cr_update_surface_desired_size (struct frame *f, int width, int height, bool force) f 7200 src/pgtkterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 7201 src/pgtkterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height f 7204 src/pgtkterm.c pgtk_cr_destroy_frame_context (f); f 7205 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 7206 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 7207 src/pgtkterm.c SET_FRAME_GARBAGED (f); f 7213 src/pgtkterm.c pgtk_begin_cr_clip (struct frame *f) f 7215 src/pgtkterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 7221 src/pgtkterm.c (FRAME_GTK_WIDGET (f)), f 7223 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f), f 7225 src/pgtkterm.c (f)); f 7227 src/pgtkterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 7237 src/pgtkterm.c pgtk_end_cr_clip (struct frame *f) f 7239 src/pgtkterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 7243 src/pgtkterm.c pgtk_set_cr_source_with_gc_foreground (struct frame *f, Emacs_GC *gc, f 7246 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->foreground, f 7251 src/pgtkterm.c pgtk_set_cr_source_with_gc_background (struct frame *f, Emacs_GC *gc, f 7254 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->background, f 7259 src/pgtkterm.c pgtk_set_cr_source_with_color (struct frame *f, unsigned long color, f 7264 src/pgtkterm.c pgtk_query_color (f, &col); f 7268 src/pgtkterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7270 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 7274 src/pgtkterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7276 src/pgtkterm.c f->alpha_background); f 7277 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 7282 src/pgtkterm.c pgtk_cr_draw_frame (cairo_t * cr, struct frame *f) f 7284 src/pgtkterm.c cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), 0, 0); f 7300 src/pgtkterm.c pgtk_cr_destroy_frame_context (struct frame *f) f 7302 src/pgtkterm.c if (FRAME_CR_CONTEXT (f) != NULL) f 7304 src/pgtkterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 7305 src/pgtkterm.c FRAME_CR_CONTEXT (f) = NULL; f 7320 src/pgtkterm.c struct frame *f; f 7331 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7333 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7334 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 7374 src/pgtkterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 7375 src/pgtkterm.c FRAME_CR_CONTEXT (f) = cr; f 7376 src/pgtkterm.c pgtk_clear_area (f, 0, 0, width, height); f 7377 src/pgtkterm.c expose_frame (f, 0, 0, width, height); f 7378 src/pgtkterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 7384 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7386 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7387 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 446 src/pgtkterm.h #define FRAME_X_OUTPUT(f) ((f)->output_data.pgtk) f 447 src/pgtkterm.h #define FRAME_OUTPUT_DATA(f) FRAME_X_OUTPUT (f) f 449 src/pgtkterm.h #define FRAME_DISPLAY_INFO(f) (FRAME_X_OUTPUT (f)->display_info) f 450 src/pgtkterm.h #define FRAME_FOREGROUND_COLOR(f) (FRAME_X_OUTPUT (f)->foreground_color) f 451 src/pgtkterm.h #define FRAME_BACKGROUND_COLOR(f) (FRAME_X_OUTPUT (f)->background_color) f 452 src/pgtkterm.h #define FRAME_CURSOR_COLOR(f) (FRAME_X_OUTPUT (f)->cursor_color) f 453 src/pgtkterm.h #define FRAME_POINTER_TYPE(f) (FRAME_X_OUTPUT (f)->current_pointer) f 454 src/pgtkterm.h #define FRAME_FONT(f) (FRAME_X_OUTPUT (f)->font) f 455 src/pgtkterm.h #define FRAME_GTK_OUTER_WIDGET(f) (FRAME_X_OUTPUT (f)->widget) f 456 src/pgtkterm.h #define FRAME_GTK_WIDGET(f) (FRAME_X_OUTPUT (f)->edit_widget) f 457 src/pgtkterm.h #define FRAME_WIDGET(f) (FRAME_GTK_OUTER_WIDGET (f) \ f 458 src/pgtkterm.h ? FRAME_GTK_OUTER_WIDGET (f) \ f 459 src/pgtkterm.h : FRAME_GTK_WIDGET (f)) f 461 src/pgtkterm.h #define FRAME_PGTK_VIEW(f) FRAME_GTK_WIDGET (f) f 462 src/pgtkterm.h #define FRAME_X_WINDOW(f) FRAME_GTK_OUTER_WIDGET (f) f 463 src/pgtkterm.h #define FRAME_NATIVE_WINDOW(f) GTK_WINDOW (FRAME_X_WINDOW (f)) f 464 src/pgtkterm.h #define FRAME_GDK_WINDOW(f) \ f 465 src/pgtkterm.h (gtk_widget_get_window (FRAME_GTK_WIDGET (f))) f 467 src/pgtkterm.h #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->gdpy) f 474 src/pgtkterm.h #define FRAME_DEFAULT_FACE(f) FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) f 475 src/pgtkterm.h #define FRAME_MENUBAR_HEIGHT(f) (FRAME_X_OUTPUT (f)->menubar_height) f 476 src/pgtkterm.h #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.pgtk->toolbar_top_height) f 477 src/pgtkterm.h #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ f 478 src/pgtkterm.h ((f)->output_data.pgtk->toolbar_bottom_height) f 479 src/pgtkterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 480 src/pgtkterm.h (FRAME_TOOLBAR_TOP_HEIGHT (f) + FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 481 src/pgtkterm.h #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.pgtk->toolbar_left_width) f 482 src/pgtkterm.h #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.pgtk->toolbar_right_width) f 483 src/pgtkterm.h #define FRAME_TOOLBAR_WIDTH(f) \ f 484 src/pgtkterm.h (FRAME_TOOLBAR_LEFT_WIDTH (f) + FRAME_TOOLBAR_RIGHT_WIDTH (f)) f 486 src/pgtkterm.h #define FRAME_FONTSET(f) (FRAME_X_OUTPUT (f)->fontset) f 488 src/pgtkterm.h #define FRAME_BASELINE_OFFSET(f) (FRAME_X_OUTPUT (f)->baseline_offset) f 489 src/pgtkterm.h #define BLACK_PIX_DEFAULT(f) 0x000000 f 490 src/pgtkterm.h #define WHITE_PIX_DEFAULT(f) 0xFFFFFF f 494 src/pgtkterm.h #define FIRST_CHAR_POSITION(f) \ f 495 src/pgtkterm.h (! (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) ? 0 \ f 496 src/pgtkterm.h : FRAME_SCROLL_BAR_COLS (f)) f 498 src/pgtkterm.h #define FRAME_CR_SURFACE_DESIRED_WIDTH(f) \ f 499 src/pgtkterm.h ((f)->output_data.pgtk->cr_surface_desired_width) f 500 src/pgtkterm.h #define FRAME_CR_SURFACE_DESIRED_HEIGHT(f) \ f 501 src/pgtkterm.h ((f)->output_data.pgtk->cr_surface_desired_height) f 576 src/profiler.c Lisp_Object f = AREF (bt, i); f 578 src/profiler.c = (COMPILEDP (f) ? XHASH (AREF (f, COMPILED_BYTECODE)) f 579 src/profiler.c : (CONSP (f) && CONSP (XCDR (f)) && EQ (Qclosure, XCAR (f))) f 580 src/profiler.c ? XHASH (XCDR (XCDR (f))) : XHASH (f)); f 3934 src/sfnt.c sfnt_poly_grid_ceil (sfnt_fixed f) f 3936 src/sfnt.c return (((f + (SFNT_POLY_START - 1)) f 440 src/sfntfont-android.c prepare_face_for_display (s->f, s->face); f 564 src/sfntfont-android.c bitmap_data = android_lock_bitmap (FRAME_ANDROID_DRAWABLE (s->f), f 603 src/sfntfont-android.c android_damage_window (FRAME_ANDROID_DRAWABLE (s->f), f 642 src/sfntfont-android.c sfntfont_android_get_cache (struct frame *f) f 1818 src/sfntfont.c sfntfont_list (struct frame *f, Lisp_Object font_spec) f 1866 src/sfntfont.c sfntfont_match (struct frame *f, Lisp_Object font_spec) f 1870 src/sfntfont.c matches = sfntfont_list (f, font_spec); f 2933 src/sfntfont.c sfntfont_open (struct frame *f, Lisp_Object font_entity, f 2953 src/sfntfont.c if (FRAME_FONT (f)) f 2954 src/sfntfont.c pixel_size = FRAME_FONT (f)->pixel_size; f 3115 src/sfntfont.c dpyinfo = FRAME_DISPLAY_INFO (f); f 3504 src/sfntfont.c sfntfont_list_family (struct frame *f) f 67 src/term.c static void tty_set_scroll_region (struct frame *f, int start, int stop); f 153 src/term.c tty_ring_bell (struct frame *f) f 155 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 247 src/term.c tty_update_end (struct frame *f) f 249 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 261 src/term.c tty_set_terminal_window (struct frame *f, int size) f 263 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 265 src/term.c tty->specified_window = size ? size : FRAME_TOTAL_LINES (f); f 266 src/term.c if (FRAME_SCROLL_REGION_OK (f)) f 267 src/term.c tty_set_scroll_region (f, 0, tty->specified_window); f 271 src/term.c tty_set_scroll_region (struct frame *f, int start, int stop) f 274 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 280 src/term.c FRAME_TOTAL_LINES (f), start, f 281 src/term.c FRAME_TOTAL_LINES (f) - stop, f 282 src/term.c FRAME_TOTAL_LINES (f)); f 284 src/term.c buf = tparam (tty->TS_set_window, 0, 0, start, 0, stop, FRAME_COLS (f)); f 401 src/term.c tty_cursor_to (struct frame *f, int vpos, int hpos) f 403 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 423 src/term.c tty_raw_cursor_to (struct frame *f, int row, int col) f 425 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 442 src/term.c tty_clear_to_end (struct frame *f) f 445 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 454 src/term.c for (i = curY (tty); i < FRAME_TOTAL_LINES (f); i++) f 456 src/term.c cursor_to (f, i, 0); f 457 src/term.c clear_end_of_line (f, FRAME_COLS (f)); f 465 src/term.c tty_clear_frame (struct frame *f) f 467 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 477 src/term.c cursor_to (f, 0, 0); f 478 src/term.c clear_to_end (f); f 487 src/term.c tty_clear_end_of_line (struct frame *f, int first_unused_hpos) f 490 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 753 src/term.c tty_write_glyphs (struct frame *f, struct glyph *string, int len) f 759 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 768 src/term.c && curY (tty) + 1 == FRAME_TOTAL_LINES (f) f 769 src/term.c && (curX (tty) + len) == FRAME_COLS (f)) f 779 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 780 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 796 src/term.c turn_on_face (f, face_id); f 814 src/term.c turn_off_face (f, face_id); f 824 src/term.c tty_write_glyphs_with_face (register struct frame *f, register struct glyph *string, f 830 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 839 src/term.c && curY (tty) + 1 == FRAME_TOTAL_LINES (f) f 840 src/term.c && (curX (tty) + len) == FRAME_COLS (f)) f 850 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 851 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 858 src/term.c turn_on_face (f, face_id); f 873 src/term.c turn_off_face (f, face_id); f 884 src/term.c tty_insert_glyphs (struct frame *f, struct glyph *start, int len) f 892 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 900 src/term.c write_glyphs (f, start, len); f 913 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 914 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 930 src/term.c turn_on_face (f, start->face_id); f 961 src/term.c turn_off_face (f, glyph->face_id); f 972 src/term.c tty_delete_glyphs (struct frame *f, int n) f 977 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 1005 src/term.c tty_ins_del_lines (struct frame *f, int vpos, int n) f 1007 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 1023 src/term.c if (FRAME_SCROLL_REGION_OK (f) f 1026 src/term.c if (!FRAME_MEMORY_BELOW_FRAME (f) f 1027 src/term.c && vpos + i >= FRAME_TOTAL_LINES (f)) f 1032 src/term.c raw_cursor_to (f, vpos, 0); f 1040 src/term.c raw_cursor_to (f, vpos, 0); f 1049 src/term.c tty_set_scroll_region (f, vpos, tty->specified_window); f 1051 src/term.c raw_cursor_to (f, tty->specified_window - 1, 0); f 1053 src/term.c raw_cursor_to (f, vpos, 0); f 1057 src/term.c tty_set_scroll_region (f, 0, tty->specified_window); f 1060 src/term.c if (!FRAME_SCROLL_REGION_OK (f) f 1061 src/term.c && FRAME_MEMORY_BELOW_FRAME (f) f 1064 src/term.c cursor_to (f, FRAME_TOTAL_LINES (f) + n, 0); f 1065 src/term.c clear_to_end (f); f 1120 src/term.c #define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_COLS ((f))]) f 1123 src/term.c calculate_ins_del_char_costs (struct frame *f) f 1125 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 1170 src/term.c p = &char_ins_del_cost (f)[0]; f 1171 src/term.c for (i = FRAME_COLS (f); --i >= 0;) f 1175 src/term.c p = &char_ins_del_cost (f)[0]; f 1179 src/term.c for (i = FRAME_COLS (f); --i >= 0;) f 1194 src/term.c register const char *f = (tty->TS_set_scroll_region f 1198 src/term.c FRAME_SCROLL_REGION_COST (frame) = string_cost (f); f 1222 src/term.c if (f && (!tty->TS_ins_line && !tty->TS_del_line)) f 1226 src/term.c f, f, 1); f 1680 src/term.c struct terminal *t = FRAME_TERMINAL (it->f); f 1969 src/term.c turn_on_face (struct frame *f, int face_id) f 1971 src/term.c struct face *face = FACE_FROM_ID (f, face_id); f 1974 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 2033 src/term.c turn_off_face (struct frame *f, int face_id) f 2035 src/term.c struct face *face = FACE_FROM_ID (f, face_id); f 2036 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 2210 src/term.c set_tty_color_mode (struct tty_display_info *tty, struct frame *f) f 2218 src/term.c tem = assq_no_quit (Qtty_color_mode, f->param_alist); f 2336 src/term.c FILE *f; f 2341 src/term.c f = t->display_info.tty->input; f 2343 src/term.c if (f) f 2353 src/term.c delete_keyboard_wait_descriptor (fileno (f)); f 2356 src/term.c if (f != t->display_info.tty->output) f 2358 src/term.c emacs_fclose (f); f 2437 src/term.c struct frame *f = XFRAME (t->display_info.tty->top_frame); f 2439 src/term.c int old_height = FRAME_COLS (f); f 2440 src/term.c int old_width = FRAME_TOTAL_LINES (f); f 2446 src/term.c change_frame_size (f, width, height, false, false, false); f 2523 src/term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2524 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 2537 src/term.c cursor_to (f, pos_y, pos_x); f 2540 src/term.c tty_write_glyphs_with_face (f, row->glyphs[TEXT_AREA] + start_hpos, f 2543 src/term.c write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 2545 src/term.c cursor_to (f, save_y, save_x); f 2613 src/term.c struct frame *f) f 2664 src/term.c XSETFRAME (result->frame_or_window, f); f 2672 src/term.c struct frame *f = XFRAME (tty->top_frame); f 2694 src/term.c f->mouse_moved = 1; f 2696 src/term.c count += update_mouse_position (f, event->x, event->y); f 2701 src/term.c f->mouse_moved = 0; f 2702 src/term.c term_mouse_click (&ie, event, f); f 2703 src/term.c ie.arg = tty_handle_tab_bar_click (f, event->x, event->y, f 2718 src/term.c struct frame *f = SELECTED_FRAME (); f 2720 src/term.c = ((f)->output_method == output_termcap f 2721 src/term.c ? (f)->terminal->display_info.tty : NULL); f 2766 src/term.c struct frame *f = SELECTED_FRAME (); f 2768 src/term.c = ((f)->output_method == output_termcap f 2769 src/term.c ? (f)->terminal->display_info.tty : NULL); f 3046 src/term.c save_and_enable_current_matrix (struct frame *f) f 3050 src/term.c saved->nrows = f->current_matrix->nrows; f 3055 src/term.c struct glyph_row *from = f->current_matrix->rows + i; f 3076 src/term.c restore_desired_matrix (struct frame *f, struct glyph_matrix *saved) f 3083 src/term.c struct glyph_row *to = f->desired_matrix->rows + i; f 3115 src/term.c screen_update (struct frame *f, struct glyph_matrix *mtx) f 3117 src/term.c restore_desired_matrix (f, mtx); f 3118 src/term.c update_frame_with_menu (f, -1, -1); f 3532 src/term.c tty_menu_last_menubar_item (struct frame *f) f 3536 src/term.c eassert (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)); f 3537 src/term.c if (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)) f 3539 src/term.c Lisp_Object items = FRAME_MENU_BAR_ITEMS (f); f 3561 src/term.c tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y) f 3563 src/term.c eassert (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)); f 3564 src/term.c if (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)) f 3566 src/term.c Lisp_Object items = FRAME_MENU_BAR_ITEMS (f); f 3567 src/term.c int last_i = tty_menu_last_menubar_item (f); f 3613 src/term.c tty_menu_show (struct frame *f, int x, int y, int menuflags, f 3627 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3648 src/term.c temporarily_switch_to_single_kboard (f); f 3651 src/term.c item_x = x += f->left_pos; f 3652 src/term.c item_y = y += f->top_pos; f 3751 src/term.c dispwidth = f->text_cols; f 3752 src/term.c dispheight = f->text_lines; f 3769 src/term.c if (FRAME_HAS_MINIBUF_P (f) && uly + height > dispheight - 2) f 3858 src/term.c tty_menu_new_item_coords (f, status, &item_x, &item_y); f 3870 src/term.c if (f != SELECTED_FRAME ()) f 3898 src/term.c create_tty_output (struct frame *f) f 3902 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3904 src/term.c t->display_info = FRAME_TERMINAL (f)->display_info.tty; f 3906 src/term.c f->output_data.tty = t; f 3912 src/term.c tty_free_frame_resources (struct frame *f) f 3914 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3915 src/term.c free_frame_faces (f); f 3916 src/term.c xfree (f->output_data.tty); f 3924 src/term.c tty_free_frame_resources (struct frame *f) f 3926 src/term.c eassert (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); f 3927 src/term.c free_frame_faces (f); f 4345 src/term.c struct frame *f = XFRAME (selected_frame); f 4354 src/term.c FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_none; f 4355 src/term.c FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) = 0; f 233 src/termchar.h #define FRAME_TTY(f) \ f 234 src/termchar.h (((f)->output_method == output_termcap \ f 235 src/termchar.h || (f)->output_method == output_msdos_raw) \ f 236 src/termchar.h ? (f)->terminal->display_info.tty \ f 553 src/termhooks.h void (*cursor_to_hook) (struct frame *f, int vpos, int hpos); f 560 src/termhooks.h void (*ins_del_lines_hook) (struct frame *f, int, int); f 562 src/termhooks.h void (*insert_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 563 src/termhooks.h void (*write_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 566 src/termhooks.h void (*ring_bell_hook) (struct frame *f); f 567 src/termhooks.h void (*toggle_invisible_pointer_hook) (struct frame *f, bool invisible); f 582 src/termhooks.h bool (*defined_color_hook) (struct frame *f, const char *color_name, f 602 src/termhooks.h void (*query_frame_background_color) (struct frame *f, Emacs_Color *bgcolor); f 609 src/termhooks.h void (*query_colors) (struct frame *f, Emacs_Color *colors, int ncolors); f 626 src/termhooks.h void (*mouse_position_hook) (struct frame **f, int, f 634 src/termhooks.h Lisp_Object (*get_focus_frame) (struct frame *f); f 637 src/termhooks.h void (*focus_frame_hook) (struct frame *f, bool noactivate); f 654 src/termhooks.h void (*frame_raise_lower_hook) (struct frame *f, bool raise_flag); f 658 src/termhooks.h void (*frame_visible_invisible_hook) (struct frame *f, bool visible); f 663 src/termhooks.h void (*fullscreen_hook) (struct frame *f); f 666 src/termhooks.h void (*iconify_frame_hook) (struct frame *f); f 672 src/termhooks.h void (*set_window_size_hook) (struct frame *f, bool change_gravity, f 681 src/termhooks.h void (*set_frame_offset_hook) (struct frame *f, register int xoff, f 685 src/termhooks.h void (*set_frame_alpha_hook) (struct frame *f); f 688 src/termhooks.h Lisp_Object (*set_new_font_hook) (struct frame *f, Lisp_Object font_object, f 692 src/termhooks.h bool (*set_bitmap_icon_hook) (struct frame *f, Lisp_Object file); f 696 src/termhooks.h void (*implicit_set_name_hook) (struct frame *f, Lisp_Object arg, f 700 src/termhooks.h Lisp_Object (*menu_show_hook) (struct frame *f, int x, int y, int menuflags, f 705 src/termhooks.h void (*activate_menubar_hook) (struct frame *f); f 709 src/termhooks.h Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, f 713 src/termhooks.h void (*change_tab_bar_height_hook) (struct frame *f, int height); f 716 src/termhooks.h void (*change_tool_bar_height_hook) (struct frame *f, int height); f 835 src/termhooks.h void (*free_pixmap) (struct frame *f, Emacs_Pixmap pixmap); f 901 src/termhooks.h #define FRAME_MUST_WRITE_SPACES(f) (FRAME_TTY (f)->must_write_spaces) f 902 src/termhooks.h #define FRAME_LINE_INS_DEL_OK(f) (FRAME_TTY (f)->line_ins_del_ok) f 903 src/termhooks.h #define FRAME_CHAR_INS_DEL_OK(f) (FRAME_TTY (f)->char_ins_del_ok) f 904 src/termhooks.h #define FRAME_SCROLL_REGION_OK(f) (FRAME_TTY (f)->scroll_region_ok) f 905 src/termhooks.h #define FRAME_SCROLL_REGION_COST(f) (FRAME_TTY (f)->scroll_region_cost) f 906 src/termhooks.h #define FRAME_MEMORY_BELOW_FRAME(f) (FRAME_TTY (f)->memory_below_frame) f 908 src/termhooks.h #define FRAME_TERMINAL_CODING(f) ((f)->terminal->terminal_coding) f 909 src/termhooks.h #define FRAME_KEYBOARD_CODING(f) ((f)->terminal->keyboard_coding) f 914 src/termhooks.h #define FRAME_RIF(f) ((f)->terminal->rif) f 916 src/termhooks.h #define FRAME_TERMINAL(f) ((f)->terminal) f 55 src/terminal.c ring_bell (struct frame *f) f 76 src/terminal.c else if (FRAME_TERMINAL (f)->ring_bell_hook) f 77 src/terminal.c (*FRAME_TERMINAL (f)->ring_bell_hook) (f); f 81 src/terminal.c update_begin (struct frame *f) f 83 src/terminal.c if (FRAME_TERMINAL (f)->update_begin_hook) f 84 src/terminal.c (*FRAME_TERMINAL (f)->update_begin_hook) (f); f 88 src/terminal.c update_end (struct frame *f) f 90 src/terminal.c if (FRAME_TERMINAL (f)->update_end_hook) f 91 src/terminal.c (*FRAME_TERMINAL (f)->update_end_hook) (f); f 100 src/terminal.c set_terminal_window (struct frame *f, int size) f 102 src/terminal.c if (FRAME_TERMINAL (f)->set_terminal_window_hook) f 103 src/terminal.c (*FRAME_TERMINAL (f)->set_terminal_window_hook) (f, size); f 110 src/terminal.c cursor_to (struct frame *f, int vpos, int hpos) f 112 src/terminal.c if (FRAME_TERMINAL (f)->cursor_to_hook) f 113 src/terminal.c (*FRAME_TERMINAL (f)->cursor_to_hook) (f, vpos, hpos); f 119 src/terminal.c raw_cursor_to (struct frame *f, int row, int col) f 121 src/terminal.c if (FRAME_TERMINAL (f)->raw_cursor_to_hook) f 122 src/terminal.c (*FRAME_TERMINAL (f)->raw_cursor_to_hook) (f, row, col); f 129 src/terminal.c clear_to_end (struct frame *f) f 131 src/terminal.c if (FRAME_TERMINAL (f)->clear_to_end_hook) f 132 src/terminal.c (*FRAME_TERMINAL (f)->clear_to_end_hook) (f); f 138 src/terminal.c clear_frame (struct frame *f) f 140 src/terminal.c if (FRAME_TERMINAL (f)->clear_frame_hook) f 141 src/terminal.c (*FRAME_TERMINAL (f)->clear_frame_hook) (f); f 150 src/terminal.c clear_end_of_line (struct frame *f, int first_unused_hpos) f 152 src/terminal.c if (FRAME_TERMINAL (f)->clear_end_of_line_hook) f 153 src/terminal.c (*FRAME_TERMINAL (f)->clear_end_of_line_hook) (f, first_unused_hpos); f 160 src/terminal.c write_glyphs (struct frame *f, struct glyph *string, int len) f 162 src/terminal.c if (FRAME_TERMINAL (f)->write_glyphs_hook) f 163 src/terminal.c (*FRAME_TERMINAL (f)->write_glyphs_hook) (f, string, len); f 171 src/terminal.c insert_glyphs (struct frame *f, struct glyph *start, int len) f 176 src/terminal.c if (FRAME_TERMINAL (f)->insert_glyphs_hook) f 177 src/terminal.c (*FRAME_TERMINAL (f)->insert_glyphs_hook) (f, start, len); f 183 src/terminal.c delete_glyphs (struct frame *f, int n) f 185 src/terminal.c if (FRAME_TERMINAL (f)->delete_glyphs_hook) f 186 src/terminal.c (*FRAME_TERMINAL (f)->delete_glyphs_hook) (f, n); f 192 src/terminal.c ins_del_lines (struct frame *f, int vpos, int n) f 194 src/terminal.c if (FRAME_TERMINAL (f)->ins_del_lines_hook) f 195 src/terminal.c (*FRAME_TERMINAL (f)->ins_del_lines_hook) (f, vpos, n); f 327 src/terminal.c struct frame *f = XFRAME (frame); f 328 src/terminal.c if (FRAME_LIVE_P (f) && f->terminal == terminal) f 613 src/terminal.c initial_free_frame_resources (struct frame *f) f 615 src/terminal.c eassert (FRAME_INITIAL_P (f)); f 616 src/terminal.c free_frame_faces (f); f 173 src/textconv.c textconv_query (struct frame *f, struct textconv_callback_struct *query, f 192 src/textconv.c select_window ((WINDOW_LIVE_P (f->old_selected_window) f 193 src/textconv.c ? f->old_selected_window f 194 src/textconv.c : f->selected_window), Qt); f 229 src/textconv.c && MARKERP (f->conversion.compose_region_start)) f 231 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 232 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 425 src/textconv.c sync_overlay (struct frame *f) f 427 src/textconv.c if (MARKERP (f->conversion.compose_region_start) f 430 src/textconv.c if (NILP (f->conversion.compose_region_overlay)) f 432 src/textconv.c f->conversion.compose_region_overlay f 433 src/textconv.c = Fmake_overlay (f->conversion.compose_region_start, f 434 src/textconv.c f->conversion.compose_region_end, Qnil, f 436 src/textconv.c Foverlay_put (f->conversion.compose_region_overlay, f 440 src/textconv.c Fmove_overlay (f->conversion.compose_region_overlay, f 441 src/textconv.c f->conversion.compose_region_start, f 442 src/textconv.c f->conversion.compose_region_end, Qnil); f 444 src/textconv.c else if (!NILP (f->conversion.compose_region_overlay)) f 446 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 447 src/textconv.c f->conversion.compose_region_overlay = Qnil; f 494 src/textconv.c reset_frame_state (struct frame *f) f 500 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 502 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 503 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 504 src/textconv.c f->conversion.compose_region_start = Qnil; f 505 src/textconv.c f->conversion.compose_region_end = Qnil; f 510 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 511 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 515 src/textconv.c next = f->conversion.actions; f 527 src/textconv.c f->conversion.actions = NULL; f 530 src/textconv.c f->conversion.batch_edit_count = 0; f 531 src/textconv.c f->conversion.batch_edit_flags = 0; f 576 src/textconv.c really_commit_text (struct frame *f, EMACS_INT position, f 585 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 594 src/textconv.c select_window (f->old_selected_window, Qt); f 601 src/textconv.c if (MARKERP (f->conversion.compose_region_start) || mark != -1) f 606 src/textconv.c if (MARKERP (f->conversion.compose_region_start)) f 608 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 609 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 672 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 674 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 675 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 676 src/textconv.c f->conversion.compose_region_start = Qnil; f 677 src/textconv.c f->conversion.compose_region_end = Qnil; f 682 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 683 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 750 src/textconv.c really_finish_composing_text (struct frame *f, bool update) f 752 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 754 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 755 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 756 src/textconv.c f->conversion.compose_region_start = Qnil; f 757 src/textconv.c f->conversion.compose_region_end = Qnil; f 761 src/textconv.c (*text_interface->compose_region_changed) (f); f 766 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 767 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 779 src/textconv.c really_set_composing_text (struct frame *f, ptrdiff_t position, f 788 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 797 src/textconv.c w = XWINDOW (f->old_selected_window); f 798 src/textconv.c select_window (f->old_selected_window, Qt); f 802 src/textconv.c if (!MARKERP (f->conversion.compose_region_start)) f 830 src/textconv.c f->conversion.compose_region_start f 832 src/textconv.c f->conversion.compose_region_end f 835 src/textconv.c Fset_marker_insertion_type (f->conversion.compose_region_end, f 842 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 843 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 875 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 895 src/textconv.c sync_overlay (f); f 901 src/textconv.c really_finish_composing_text (f, false); f 910 src/textconv.c if (f->conversion.batch_edit_count > 0) f 911 src/textconv.c f->conversion.batch_edit_flags |= PENDING_COMPOSE_CHANGE; f 913 src/textconv.c text_interface->compose_region_changed (f); f 922 src/textconv.c marker_position (f->conversion.compose_region_start), f 923 src/textconv.c marker_position (f->conversion.compose_region_end)); f 934 src/textconv.c really_set_composing_region (struct frame *f, ptrdiff_t start, f 942 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 950 src/textconv.c really_finish_composing_text (f, false); f 960 src/textconv.c select_window (f->old_selected_window, Qt); f 964 src/textconv.c if (!MARKERP (f->conversion.compose_region_start)) f 966 src/textconv.c f->conversion.compose_region_start = Fmake_marker (); f 967 src/textconv.c f->conversion.compose_region_end = Fmake_marker (); f 968 src/textconv.c Fset_marker_insertion_type (f->conversion.compose_region_end, f 972 src/textconv.c Fset_marker (f->conversion.compose_region_start, f 974 src/textconv.c Fset_marker (f->conversion.compose_region_end, f 976 src/textconv.c sync_overlay (f); f 993 src/textconv.c really_delete_surrounding_text (struct frame *f, ptrdiff_t left, f 1003 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1012 src/textconv.c select_window (f->old_selected_window, Qt); f 1027 src/textconv.c if (MARKERP (f->conversion.compose_region_start)) f 1029 src/textconv.c a = marker_position (f->conversion.compose_region_start); f 1030 src/textconv.c b = marker_position (f->conversion.compose_region_end); f 1085 src/textconv.c really_request_point_update (struct frame *f) f 1089 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1092 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1093 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1095 src/textconv.c text_interface->point_changed (f, f 1096 src/textconv.c XWINDOW (f->old_selected_window), f 1108 src/textconv.c really_set_point_and_mark (struct frame *f, ptrdiff_t point, f 1116 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1125 src/textconv.c select_window (f->old_selected_window, Qt); f 1129 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1130 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1132 src/textconv.c text_interface->point_changed (f, f 1133 src/textconv.c XWINDOW (f->old_selected_window), f 1184 src/textconv.c struct frame *f; f 1196 src/textconv.c f = WINDOW_XFRAME (context->w); f 1198 src/textconv.c if (!FRAME_LIVE_P (f)) f 1203 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1204 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1206 src/textconv.c text_interface->point_changed (f, context->w, NULL); f 1217 src/textconv.c handle_pending_conversion_events_1 (struct frame *f, f 1251 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window)) f 1253 src/textconv.c w = XWINDOW (f->old_selected_window); f 1264 src/textconv.c f->conversion.batch_edit_count++; f 1268 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1269 src/textconv.c f->conversion.batch_edit_count--; f 1271 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1274 src/textconv.c if (f->conversion.batch_edit_flags & PENDING_POINT_CHANGE) f 1275 src/textconv.c text_interface->point_changed (f, w, buffer); f 1277 src/textconv.c if (f->conversion.batch_edit_flags & PENDING_COMPOSE_CHANGE) f 1278 src/textconv.c text_interface->compose_region_changed (f); f 1280 src/textconv.c f->conversion.batch_edit_flags = 0; f 1284 src/textconv.c really_commit_text (f, XFIXNUM (XCAR (data)), XCDR (data)); f 1288 src/textconv.c really_finish_composing_text (f, !NILP (data)); f 1292 src/textconv.c really_set_composing_text (f, XFIXNUM (XCAR (data)), f 1297 src/textconv.c really_set_composing_region (f, XFIXNUM (XCAR (data)), f 1302 src/textconv.c really_set_point_and_mark (f, XFIXNUM (XCAR (data)), f 1307 src/textconv.c really_delete_surrounding_text (f, XFIXNUM (XCAR (data)), f 1312 src/textconv.c really_request_point_update (f); f 1353 src/textconv.c struct frame *f; f 1377 src/textconv.c f = XFRAME (frame); f 1394 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1395 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1397 src/textconv.c text_interface->point_changed (f, NULL, NULL); f 1405 src/textconv.c action = f->conversion.actions; f 1421 src/textconv.c f->conversion.actions = next; f 1424 src/textconv.c w = handle_pending_conversion_events_1 (f, action); f 1440 src/textconv.c start_batch_edit (struct frame *f, unsigned long counter) f 1449 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1461 src/textconv.c end_batch_edit (struct frame *f, unsigned long counter) f 1470 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1485 src/textconv.c commit_text (struct frame *f, Lisp_Object string, f 1495 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1510 src/textconv.c finish_composing_text (struct frame *f, unsigned long counter, f 1520 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1542 src/textconv.c set_composing_text (struct frame *f, Lisp_Object object, f 1553 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1566 src/textconv.c set_composing_region (struct frame *f, ptrdiff_t start, f 1583 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1594 src/textconv.c textconv_set_point_and_mark (struct frame *f, ptrdiff_t point, f 1608 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1618 src/textconv.c delete_surrounding_text (struct frame *f, ptrdiff_t left, f 1629 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1639 src/textconv.c request_point_update (struct frame *f, unsigned long counter) f 1648 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1662 src/textconv.c textconv_barrier (struct frame *f, unsigned long counter) f 1671 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1694 src/textconv.c get_extracted_text (struct frame *f, ptrdiff_t n, f 1704 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1717 src/textconv.c select_window (f->old_selected_window, Qt); f 1805 src/textconv.c get_surrounding_text (struct frame *f, ptrdiff_t left, f 1815 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1828 src/textconv.c select_window (f->old_selected_window, Qt); f 1914 src/textconv.c report_selected_window_change (struct frame *f) f 1918 src/textconv.c reset_frame_state (f); f 1928 src/textconv.c if (WINDOWP (f->selected_window)) f 1930 src/textconv.c w = XWINDOW (f->selected_window); f 1934 src/textconv.c text_interface->reset (f); f 1947 src/textconv.c report_point_change (struct frame *f, struct window *window, f 1953 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1954 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1956 src/textconv.c text_interface->point_changed (f, window, buffer); f 1966 src/textconv.c struct frame *f; f 1978 src/textconv.c f = XFRAME (frame); f 1979 src/textconv.c reset_frame_state (f); f 1981 src/textconv.c if (FRAME_WINDOW_P (f) && FRAME_VISIBLE_P (f)) f 1982 src/textconv.c text_interface->reset (f); f 1992 src/textconv.c struct frame *f; f 2005 src/textconv.c f = XFRAME (frame); f 2006 src/textconv.c reset_frame_state (f); f 2008 src/textconv.c if (FRAME_WINDOW_P (f) && FRAME_VISIBLE_P (f)) f 2009 src/textconv.c text_interface->reset (f); f 2036 src/textconv.c struct frame *f; f 2062 src/textconv.c f = XFRAME (frame); f 2064 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window) f 2065 src/textconv.c && FRAME_WINDOW_P (f) f 2068 src/textconv.c && EQ (XWINDOW (f->old_selected_window)->contents, f 2072 src/textconv.c reset_frame_state (f); f 2073 src/textconv.c text_interface->reset (f); f 2105 src/textconv.c struct frame *f; f 2136 src/textconv.c f = XFRAME (frame); f 2138 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window) f 2139 src/textconv.c && FRAME_WINDOW_P (f) f 2140 src/textconv.c && EQ (XWINDOW (f->old_selected_window)->contents, f 2144 src/textconv.c reset_frame_state (f); f 2145 src/textconv.c text_interface->reset (f); f 218 src/w32.c #define CTL_CODE(t,f,m,a) (((t)<<16)|((a)<<14)|((f)<<2)|(m)) f 43 src/w32console.c static void w32con_move_cursor (struct frame *f, int row, int col); f 44 src/w32console.c static void w32con_clear_to_end (struct frame *f); f 45 src/w32console.c static void w32con_clear_frame (struct frame *f); f 46 src/w32console.c static void w32con_clear_end_of_line (struct frame *f, int); f 47 src/w32console.c static void w32con_ins_del_lines (struct frame *f, int vpos, int n); f 48 src/w32console.c static void w32con_insert_glyphs (struct frame *f, struct glyph *start, int len); f 49 src/w32console.c static void w32con_write_glyphs (struct frame *f, struct glyph *string, int len); f 50 src/w32console.c static void w32con_delete_glyphs (struct frame *f, int n); f 53 src/w32console.c static void w32con_update_begin (struct frame * f); f 54 src/w32console.c static void w32con_update_end (struct frame * f); f 55 src/w32console.c static WORD w32_face_attributes (struct frame *f, int face_id); f 88 src/w32console.c w32con_move_cursor (struct frame *f, int row, int col) f 116 src/w32console.c w32con_clear_to_end (struct frame *f) f 118 src/w32console.c w32con_clear_end_of_line (f, FRAME_COLS (f) - 1); f 119 src/w32console.c w32con_ins_del_lines (f, cursor_coords.Y, FRAME_TOTAL_LINES (f) - cursor_coords.Y - 1); f 124 src/w32console.c w32con_clear_frame (struct frame *f) f 134 src/w32console.c n = FRAME_TOTAL_LINES (f) * info.dwSize.X; f 140 src/w32console.c w32con_move_cursor (f, 0, 0); f 151 src/w32console.c w32con_clear_end_of_line (struct frame *f, int end) f 160 src/w32console.c glyphs = xrealloc (glyphs, FRAME_COLS (f) * sizeof (struct glyph)); f 161 src/w32console.c glyphs_len = FRAME_COLS (f); f 173 src/w32console.c w32con_write_glyphs (f, glyphs, end - cursor_coords.X); f 178 src/w32console.c w32con_ins_del_lines (struct frame *f, int vpos, int n) f 189 src/w32console.c scroll.Bottom = FRAME_TOTAL_LINES (f); f 195 src/w32console.c scroll.Bottom = FRAME_TOTAL_LINES (f) - n; f 199 src/w32console.c clip.Right = scroll.Right = FRAME_COLS (f); f 200 src/w32console.c clip.Bottom = FRAME_TOTAL_LINES (f); f 222 src/w32console.c w32con_move_cursor (f, i, 0); f 223 src/w32console.c w32con_clear_end_of_line (f, FRAME_COLS (f)); f 235 src/w32console.c w32con_move_cursor (f, i, 0); f 236 src/w32console.c w32con_clear_end_of_line (f, FRAME_COLS (f)); f 251 src/w32console.c scroll_line (struct frame *f, int dist, int direction) f 261 src/w32console.c clip.Right = FRAME_COLS (f); f 266 src/w32console.c scroll.Right = FRAME_COLS (f) - 1; f 271 src/w32console.c scroll.Right = FRAME_COLS (f) - dist - 1; f 286 src/w32console.c w32con_insert_glyphs (struct frame *f, register struct glyph *start, f 289 src/w32console.c scroll_line (f, len, RIGHT); f 297 src/w32console.c w32con_write_glyphs (f, start, len); f 301 src/w32console.c w32con_clear_end_of_line (f, cursor_coords.X + len); f 306 src/w32console.c w32con_write_glyphs (struct frame *f, register struct glyph *string, f 320 src/w32console.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 321 src/w32console.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 337 src/w32console.c char_attr = w32_face_attributes (f, face_id); f 366 src/w32console.c w32con_move_cursor (f, cursor_coords.Y, cursor_coords.X); f 375 src/w32console.c w32con_write_glyphs_with_face (struct frame *f, register int x, register int y, f 388 src/w32console.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 389 src/w32console.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 399 src/w32console.c DWORD char_attr = w32_face_attributes (f, face_id); f 427 src/w32console.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 428 src/w32console.c struct tty_display_info *tty = FRAME_TTY (f); f 439 src/w32console.c w32con_write_glyphs_with_face (f, pos_x, pos_y, f 446 src/w32console.c w32con_move_cursor (f, pos_y, pos_x); f 447 src/w32console.c write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 448 src/w32console.c w32con_move_cursor (f, save_coords.Y, save_coords.X); f 453 src/w32console.c w32con_delete_glyphs (struct frame *f, int n) f 459 src/w32console.c scroll_line (f, n, LEFT); f 525 src/w32console.c w32con_update_begin (struct frame * f) f 530 src/w32console.c w32con_update_end (struct frame * f) f 630 src/w32console.c w32_face_attributes (struct frame *f, int face_id) f 633 src/w32console.c struct face *face = FACE_FROM_ID (f, face_id); f 358 src/w32fns.c struct frame *f; f 361 src/w32fns.c f = XFRAME (object); f 362 src/w32fns.c if (! FRAME_W32_P (f)) f 364 src/w32fns.c return FRAME_DISPLAY_INFO (f); f 375 src/w32fns.c struct frame *f; f 379 src/w32fns.c f = XFRAME (frame); f 380 src/w32fns.c if (!FRAME_W32_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 383 src/w32fns.c if (FRAME_W32_WINDOW (f) == wdesc) f 384 src/w32fns.c return f; f 413 src/w32fns.c w32_real_positions (struct frame *f, int *xptr, int *yptr) f 418 src/w32fns.c GetWindowRect (FRAME_W32_WINDOW (f), &rect); f 420 src/w32fns.c if (FRAME_PARENT_FRAME (f)) f 424 src/w32fns.c HWND parent_hwnd = FRAME_W32_WINDOW (FRAME_PARENT_FRAME (f)); f 925 src/w32fns.c w32_regenerate_palette (struct frame *f) f 933 src/w32fns.c if (! FRAME_DISPLAY_INFO (f)->has_palette) f 938 src/w32fns.c FRAME_DISPLAY_INFO (f)->num_colors * sizeof (PALETTEENTRY)); f 940 src/w32fns.c log_palette->palNumEntries = FRAME_DISPLAY_INFO (f)->num_colors; f 942 src/w32fns.c list = FRAME_DISPLAY_INFO (f)->color_list; f 944 src/w32fns.c i < FRAME_DISPLAY_INFO (f)->num_colors; f 952 src/w32fns.c if (FRAME_DISPLAY_INFO (f)->palette) f 953 src/w32fns.c DeleteObject (FRAME_DISPLAY_INFO (f)->palette); f 954 src/w32fns.c FRAME_DISPLAY_INFO (f)->palette = new_palette; f 957 src/w32fns.c release_frame_dc (f, get_frame_dc (f)); f 975 src/w32fns.c w32_map_color (struct frame *f, COLORREF color) f 977 src/w32fns.c struct w32_palette_entry * list = FRAME_DISPLAY_INFO (f)->color_list; f 997 src/w32fns.c list->next = FRAME_DISPLAY_INFO (f)->color_list; f 998 src/w32fns.c FRAME_DISPLAY_INFO (f)->color_list = list; f 999 src/w32fns.c FRAME_DISPLAY_INFO (f)->num_colors++; f 1002 src/w32fns.c FRAME_DISPLAY_INFO (f)->regen_palette = TRUE; f 1006 src/w32fns.c w32_unmap_color (struct frame *f, COLORREF color) f 1008 src/w32fns.c struct w32_palette_entry * list = FRAME_DISPLAY_INFO (f)->color_list; f 1009 src/w32fns.c struct w32_palette_entry **prev = &FRAME_DISPLAY_INFO (f)->color_list; f 1023 src/w32fns.c FRAME_DISPLAY_INFO (f)->num_colors--; f 1034 src/w32fns.c FRAME_DISPLAY_INFO (f)->regen_palette = TRUE; f 1042 src/w32fns.c gamma_correct (struct frame *f, COLORREF *color) f 1044 src/w32fns.c if (f->gamma) f 1047 src/w32fns.c pow (GetRValue (*color) / 255.0, f->gamma) * 255.0 + 0.5, f 1048 src/w32fns.c pow (GetGValue (*color) / 255.0, f->gamma) * 255.0 + 0.5, f 1049 src/w32fns.c pow (GetBValue (*color) / 255.0, f->gamma) * 255.0 + 0.5); f 1059 src/w32fns.c w32_defined_color (struct frame *f, const char *color, Emacs_Color *color_def, f 1069 src/w32fns.c if (f) f 1073 src/w32fns.c gamma_correct (f, &w32_color_ref); f 1131 src/w32fns.c w32_decode_color (struct frame *f, Lisp_Object arg, int def) f 1138 src/w32fns.c return BLACK_PIX_DEFAULT (f); f 1140 src/w32fns.c return WHITE_PIX_DEFAULT (f); f 1142 src/w32fns.c if ((FRAME_DISPLAY_INFO (f)->n_planes * FRAME_DISPLAY_INFO (f)->n_cbits) == 1) f 1147 src/w32fns.c if (w32_defined_color (f, SSDATA (arg), &cdef, true, false)) f 1165 src/w32fns.c w32_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1167 src/w32fns.c struct w32_output *x = f->output_data.w32; f 1170 src/w32fns.c fg = w32_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1171 src/w32fns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 1172 src/w32fns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 1174 src/w32fns.c if (FRAME_W32_WINDOW (f) != 0) f 1182 src/w32fns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 1183 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1184 src/w32fns.c redraw_frame (f); f 1189 src/w32fns.c w32_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1191 src/w32fns.c FRAME_BACKGROUND_PIXEL (f) f 1192 src/w32fns.c = w32_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 1194 src/w32fns.c if (FRAME_W32_WINDOW (f) != 0) f 1196 src/w32fns.c SetWindowLong (FRAME_W32_WINDOW (f), WND_BACKGROUND_INDEX, f 1197 src/w32fns.c FRAME_BACKGROUND_PIXEL (f)); f 1199 src/w32fns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 1201 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1202 src/w32fns.c redraw_frame (f); f 1207 src/w32fns.c w32_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1216 src/w32fns.c f->output_data.w32->mouse_pixel f 1217 src/w32fns.c = w32_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1218 src/w32fns.c mask_color = FRAME_BACKGROUND_PIXEL (f); f 1221 src/w32fns.c if (mask_color == f->output_data.w32->mouse_pixel f 1222 src/w32fns.c && mask_color == FRAME_BACKGROUND_PIXEL (f)) f 1223 src/w32fns.c f->output_data.w32->mouse_pixel = FRAME_FOREGROUND_PIXEL (f); f 1229 src/w32fns.c count = x_catch_errors (FRAME_W32_DISPLAY (f)); f 1234 src/w32fns.c cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XFIXNUM (Vx_pointer_shape)); f 1237 src/w32fns.c cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_xterm); f 1238 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "bad text pointer cursor: %s"); f 1243 src/w32fns.c nontext_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1247 src/w32fns.c nontext_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_left_ptr); f 1248 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "bad nontext pointer cursor: %s"); f 1253 src/w32fns.c hourglass_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1257 src/w32fns.c hourglass_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_watch); f 1258 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "bad busy pointer cursor: %s"); f 1260 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "bad nontext pointer cursor: %s"); f 1264 src/w32fns.c mode_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1268 src/w32fns.c mode_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_xterm); f 1269 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "bad modeline pointer cursor: %s"); f 1275 src/w32fns.c = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1279 src/w32fns.c hand_cursor = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_crosshair); f 1285 src/w32fns.c = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1290 src/w32fns.c = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_sb_h_double_arrow); f 1296 src/w32fns.c = XCreateFontCursor (FRAME_W32_DISPLAY (f), f 1301 src/w32fns.c = XCreateFontCursor (FRAME_W32_DISPLAY (f), XC_sb_v_double_arrow); f 1304 src/w32fns.c x_check_errors (FRAME_W32_DISPLAY (f), "can't set cursor shape: %s"); f 1305 src/w32fns.c x_uncatch_errors (FRAME_W32_DISPLAY (f), count); f 1310 src/w32fns.c fore_color.pixel = f->output_data.w32->mouse_pixel; f 1312 src/w32fns.c XQueryColor (FRAME_W32_DISPLAY (f), f 1313 src/w32fns.c DefaultColormap (FRAME_W32_DISPLAY (f), f 1314 src/w32fns.c DefaultScreen (FRAME_W32_DISPLAY (f))), f 1316 src/w32fns.c XQueryColor (FRAME_W32_DISPLAY (f), f 1317 src/w32fns.c DefaultColormap (FRAME_W32_DISPLAY (f), f 1318 src/w32fns.c DefaultScreen (FRAME_W32_DISPLAY (f))), f 1320 src/w32fns.c XRecolorCursor (FRAME_W32_DISPLAY (f), cursor, f 1322 src/w32fns.c XRecolorCursor (FRAME_W32_DISPLAY (f), nontext_cursor, f 1324 src/w32fns.c XRecolorCursor (FRAME_W32_DISPLAY (f), mode_cursor, f 1326 src/w32fns.c XRecolorCursor (FRAME_W32_DISPLAY (f), hand_cursor, f 1328 src/w32fns.c XRecolorCursor (FRAME_W32_DISPLAY (f), hourglass_cursor, f 1332 src/w32fns.c if (FRAME_W32_WINDOW (f) != 0) f 1333 src/w32fns.c XDefineCursor (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), cursor); f 1335 src/w32fns.c if (cursor != f->output_data.w32->text_cursor && f->output_data.w32->text_cursor != 0) f 1336 src/w32fns.c XFreeCursor (FRAME_W32_DISPLAY (f), f->output_data.w32->text_cursor); f 1337 src/w32fns.c f->output_data.w32->text_cursor = cursor; f 1339 src/w32fns.c if (nontext_cursor != f->output_data.w32->nontext_cursor f 1340 src/w32fns.c && f->output_data.w32->nontext_cursor != 0) f 1341 src/w32fns.c XFreeCursor (FRAME_W32_DISPLAY (f), f->output_data.w32->nontext_cursor); f 1342 src/w32fns.c f->output_data.w32->nontext_cursor = nontext_cursor; f 1344 src/w32fns.c if (hourglass_cursor != f->output_data.w32->hourglass_cursor f 1345 src/w32fns.c && f->output_data.w32->hourglass_cursor != 0) f 1346 src/w32fns.c XFreeCursor (FRAME_W32_DISPLAY (f), f->output_data.w32->hourglass_cursor); f 1347 src/w32fns.c f->output_data.w32->hourglass_cursor = hourglass_cursor; f 1349 src/w32fns.c if (mode_cursor != f->output_data.w32->modeline_cursor f 1350 src/w32fns.c && f->output_data.w32->modeline_cursor != 0) f 1351 src/w32fns.c XFreeCursor (FRAME_W32_DISPLAY (f), f->output_data.w32->modeline_cursor); f 1352 src/w32fns.c f->output_data.w32->modeline_cursor = mode_cursor; f 1354 src/w32fns.c if (hand_cursor != f->output_data.w32->hand_cursor f 1355 src/w32fns.c && f->output_data.w32->hand_cursor != 0) f 1356 src/w32fns.c XFreeCursor (FRAME_W32_DISPLAY (f), f->output_data.w32->hand_cursor); f 1357 src/w32fns.c f->output_data.w32->hand_cursor = hand_cursor; f 1359 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 1362 src/w32fns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 1367 src/w32fns.c w32_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1372 src/w32fns.c fore_pixel = w32_decode_color (f, Vx_cursor_fore_pixel, f 1373 src/w32fns.c WHITE_PIX_DEFAULT (f)); f 1375 src/w32fns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1377 src/w32fns.c pixel = w32_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1380 src/w32fns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 1382 src/w32fns.c pixel = f->output_data.w32->mouse_pixel; f 1384 src/w32fns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1387 src/w32fns.c f->output_data.w32->cursor_foreground_pixel = fore_pixel; f 1388 src/w32fns.c f->output_data.w32->cursor_pixel = pixel; f 1390 src/w32fns.c if (FRAME_W32_WINDOW (f) != 0) f 1394 src/w32fns.c f->output_data.w32->cursor_gc->foreground = fore_pixel; f 1395 src/w32fns.c f->output_data.w32->cursor_gc->background = pixel; f 1399 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1401 src/w32fns.c gui_update_cursor (f, 0); f 1402 src/w32fns.c gui_update_cursor (f, 1); f 1406 src/w32fns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 1414 src/w32fns.c w32_set_border_pixel (struct frame *f, int pix) f 1417 src/w32fns.c f->output_data.w32->border_pixel = pix; f 1419 src/w32fns.c if (FRAME_W32_WINDOW (f) != 0 && f->border_width > 0) f 1421 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1422 src/w32fns.c redraw_frame (f); f 1433 src/w32fns.c w32_set_border_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1438 src/w32fns.c pix = w32_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1439 src/w32fns.c w32_set_border_pixel (f, pix); f 1440 src/w32fns.c update_face_from_frame_parameter (f, Qborder_color, arg); f 1445 src/w32fns.c w32_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1447 src/w32fns.c set_frame_cursor_types (f, arg); f 1451 src/w32fns.c w32_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1467 src/w32fns.c result = FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, arg); f 1478 src/w32fns.c w32_set_icon_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1488 src/w32fns.c fset_icon_name (f, arg); f 1491 src/w32fns.c if (f->output_data.w32->icon_bitmap != 0) f 1496 src/w32fns.c result = x_text_icon (f, f 1497 src/w32fns.c SSDATA ((!NILP (f->icon_name) f 1498 src/w32fns.c ? f->icon_name f 1499 src/w32fns.c : !NILP (f->title) f 1500 src/w32fns.c ? f->title f 1501 src/w32fns.c : f->name))); f 1511 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1514 src/w32fns.c XtPopup (f->output_data.w32->widget, XtGrabNone); f 1516 src/w32fns.c XMapWindow (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f)); f 1519 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 1531 src/w32fns.c w32_clear_under_internal_border (struct frame *f) f 1533 src/w32fns.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 1538 src/w32fns.c int width = FRAME_PIXEL_WIDTH (f); f 1539 src/w32fns.c int height = FRAME_PIXEL_HEIGHT (f); f 1540 src/w32fns.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 1541 src/w32fns.c int face_id = (FRAME_PARENT_FRAME (f) f 1543 src/w32fns.c ? lookup_basic_face (NULL, f, f 1547 src/w32fns.c ? lookup_basic_face (NULL, f, f 1550 src/w32fns.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1553 src/w32fns.c HDC hdc = get_frame_dc (f); f 1559 src/w32fns.c w32_fill_area (f, hdc, color, 0, FRAME_TOP_MARGIN_HEIGHT (f), f 1561 src/w32fns.c w32_fill_area (f, hdc, color, 0, 0, border, height); f 1562 src/w32fns.c w32_fill_area (f, hdc, color, width - border, 0, border, height); f 1563 src/w32fns.c w32_fill_area (f, hdc, color, 0, height - bottom_margin - border, f 1568 src/w32fns.c w32_clear_area (f, hdc, 0, FRAME_TOP_MARGIN_HEIGHT (f), f 1570 src/w32fns.c w32_clear_area (f, hdc, 0, 0, border, height); f 1571 src/w32fns.c w32_clear_area (f, hdc, width - border, 0, border, height); f 1572 src/w32fns.c w32_clear_area (f, hdc, 0, height - bottom_margin - border, f 1575 src/w32fns.c release_frame_dc (f, hdc); f 1587 src/w32fns.c w32_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1598 src/w32fns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 1600 src/w32fns.c f->child_frame_border_width = border; f 1602 src/w32fns.c if (FRAME_NATIVE_WINDOW (f) != 0) f 1604 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 1606 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1607 src/w32fns.c w32_clear_under_internal_border (f); f 1620 src/w32fns.c w32_set_internal_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1625 src/w32fns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 1627 src/w32fns.c f->internal_border_width = border; f 1629 src/w32fns.c if (FRAME_NATIVE_WINDOW (f) != 0) f 1631 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 1633 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1634 src/w32fns.c w32_clear_under_internal_border (f); f 1649 src/w32fns.c w32_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1656 src/w32fns.c if (!FRAME_MINIBUF_ONLY_P (f) && !FRAME_PARENT_FRAME (f)) f 1658 src/w32fns.c boolean old = FRAME_EXTERNAL_MENU_BAR (f); f 1661 src/w32fns.c FRAME_MENU_BAR_LINES (f) = 0; f 1662 src/w32fns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1666 src/w32fns.c FRAME_EXTERNAL_MENU_BAR (f) = new; f 1671 src/w32fns.c set_frame_menubar (f, true); f 1675 src/w32fns.c free_frame_menubar (f); f 1684 src/w32fns.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1687 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1688 src/w32fns.c w32_clear_under_internal_border (f); f 1691 src/w32fns.c store_frame_param (f, Qmenu_bar_lines, make_fixnum (new ? 1 : 0)); f 1704 src/w32fns.c w32_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1709 src/w32fns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1718 src/w32fns.c w32_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1724 src/w32fns.c w32_change_tab_bar_height (struct frame *f, int height) f 1726 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 1727 src/w32fns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 1739 src/w32fns.c fset_redisplay (f); f 1742 src/w32fns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 1743 src/w32fns.c FRAME_TAB_BAR_LINES (f) = lines; f 1745 src/w32fns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 1746 src/w32fns.c store_frame_param (f, Qheight, make_fixnum (FRAME_LINES (f))); f 1754 src/w32fns.c if (FRAME_W32_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 1756 src/w32fns.c clear_frame (f); f 1757 src/w32fns.c clear_current_matrices (f); f 1760 src/w32fns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 1761 src/w32fns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 1763 src/w32fns.c if (!f->tab_bar_resized) f 1765 src/w32fns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1770 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1773 src/w32fns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 1775 src/w32fns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 1779 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 1783 src/w32fns.c adjust_frame_glyphs (f); f 1784 src/w32fns.c SET_FRAME_GARBAGED (f); f 1785 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1786 src/w32fns.c w32_clear_under_internal_border (f); f 1798 src/w32fns.c w32_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1803 src/w32fns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1812 src/w32fns.c w32_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1816 src/w32fns.c w32_set_tool_bar_position (struct frame *f, f 1827 src/w32fns.c fset_tool_bar_position (f, new_value); f 1834 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_position); f 1835 src/w32fns.c adjust_frame_glyphs (f); f 1836 src/w32fns.c SET_FRAME_GARBAGED (f); f 1838 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1839 src/w32fns.c w32_clear_under_internal_border (f); f 1849 src/w32fns.c w32_set_inhibit_double_buffering (struct frame *f, f 1857 src/w32fns.c FRAME_OUTPUT_DATA (f)->want_paint_buffer = 1; f 1860 src/w32fns.c FRAME_OUTPUT_DATA (f)->want_paint_buffer = 0; f 1861 src/w32fns.c w32_release_paint_buffer (f); f 1863 src/w32fns.c SET_FRAME_GARBAGED (f); f 1871 src/w32fns.c w32_change_tool_bar_height (struct frame *f, int height) f 1873 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 1874 src/w32fns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 1876 src/w32fns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1882 src/w32fns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 1883 src/w32fns.c FRAME_TOOL_BAR_LINES (f) = lines; f 1885 src/w32fns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 1886 src/w32fns.c store_frame_param (f, Qheight, make_fixnum (FRAME_LINES (f))); f 1888 src/w32fns.c if (FRAME_W32_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 1890 src/w32fns.c clear_frame (f); f 1891 src/w32fns.c clear_current_matrices (f); f 1894 src/w32fns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 1895 src/w32fns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 1897 src/w32fns.c if (!f->tool_bar_resized) f 1902 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1905 src/w32fns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 1907 src/w32fns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 1911 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 1915 src/w32fns.c adjust_frame_glyphs (f); f 1916 src/w32fns.c SET_FRAME_GARBAGED (f); f 1917 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1918 src/w32fns.c w32_clear_under_internal_border (f); f 1922 src/w32fns.c w32_set_title_bar_text (struct frame *f, Lisp_Object name) f 1924 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1928 src/w32fns.c GUI_FN (SetWindowText) (FRAME_W32_WINDOW (f), f 1953 src/w32fns.c SetWindowTextW (FRAME_W32_WINDOW (f), title_w); f 1956 src/w32fns.c SetWindowTextA (FRAME_W32_WINDOW (f), f 1960 src/w32fns.c SetWindowTextA (FRAME_W32_WINDOW (f), SSDATA (ENCODE_SYSTEM (name))); f 1978 src/w32fns.c w32_set_name (struct frame *f, Lisp_Object name, bool explicit) f 1986 src/w32fns.c if (f->explicit_name && NILP (name)) f 1989 src/w32fns.c f->explicit_name = ! NILP (name); f 1991 src/w32fns.c else if (f->explicit_name) f 1999 src/w32fns.c if (!strcmp (FRAME_DISPLAY_INFO (f)->w32_id_name, f 2000 src/w32fns.c SSDATA (f->name))) f 2002 src/w32fns.c name = build_string (FRAME_DISPLAY_INFO (f)->w32_id_name); f 2008 src/w32fns.c if (! NILP (Fstring_equal (name, f->name))) f 2011 src/w32fns.c fset_name (f, name); f 2015 src/w32fns.c if (! NILP (f->title)) f 2016 src/w32fns.c name = f->title; f 2018 src/w32fns.c w32_set_title_bar_text (f, name); f 2025 src/w32fns.c w32_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2027 src/w32fns.c w32_set_name (f, arg, true); f 2034 src/w32fns.c w32_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2036 src/w32fns.c w32_set_name (f, arg, false); f 2043 src/w32fns.c w32_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 2046 src/w32fns.c if (EQ (name, f->title)) f 2051 src/w32fns.c fset_title (f, name); f 2054 src/w32fns.c name = f->name; f 2056 src/w32fns.c w32_set_title_bar_text (f, name); f 2060 src/w32fns.c w32_set_scroll_bar_default_width (struct frame *f) f 2062 src/w32fns.c int unit = FRAME_COLUMN_WIDTH (f); f 2064 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = GetSystemMetrics (SM_CXVSCROLL); f 2065 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 2066 src/w32fns.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 2071 src/w32fns.c w32_set_scroll_bar_default_height (struct frame *f) f 2073 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 2075 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = GetSystemMetrics (SM_CXHSCROLL); f 2076 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) f 2077 src/w32fns.c = (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) + unit - 1) / unit; f 2093 src/w32fns.c w32_set_undecorated (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2095 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2097 src/w32fns.c Lisp_Object border_width = Fcdr (Fassq (Qborder_width, f->param_alist)); f 2100 src/w32fns.c if (!NILP (new_value) && !FRAME_UNDECORATED (f)) f 2109 src/w32fns.c FRAME_UNDECORATED (f) = true; f 2111 src/w32fns.c else if (NILP (new_value) && FRAME_UNDECORATED (f)) f 2118 src/w32fns.c FRAME_UNDECORATED (f) = false; f 2121 src/w32fns.c f->output_data.w32->dwStyle = GetWindowLong (hwnd, GWL_STYLE); f 2155 src/w32fns.c w32_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2164 src/w32fns.c store_frame_param (f, Qparent_frame, old_value); f 2168 src/w32fns.c if (p != FRAME_PARENT_FRAME (f)) f 2170 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2179 src/w32fns.c fset_parent_frame (f, new_value); f 2182 src/w32fns.c store_frame_param (f, Qparent_frame, old_value); f 2200 src/w32fns.c w32_set_skip_taskbar (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2204 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2218 src/w32fns.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 2234 src/w32fns.c w32_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2237 src/w32fns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 2253 src/w32fns.c w32_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2256 src/w32fns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 2278 src/w32fns.c w32_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2280 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2289 src/w32fns.c FRAME_Z_GROUP (f) = z_group_none; f 2298 src/w32fns.c FRAME_Z_GROUP (f) = z_group_above; f 2307 src/w32fns.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 2396 src/w32fns.c w32_createvscrollbar (struct frame *f, struct scroll_bar * bar) f 2406 src/w32fns.c FRAME_W32_WINDOW (f), NULL, hinst, NULL); f 2413 src/w32fns.c w32_createhscrollbar (struct frame *f, struct scroll_bar * bar) f 2423 src/w32fns.c FRAME_W32_WINDOW (f), NULL, hinst, NULL); f 2430 src/w32fns.c w32_createwindow (struct frame *f, int *coords) f 2435 src/w32fns.c Lisp_Object border_width = Fcdr (Fassq (Qborder_width, f->param_alist)); f 2437 src/w32fns.c if (FRAME_PARENT_FRAME (f) && FRAME_W32_P (FRAME_PARENT_FRAME (f))) f 2439 src/w32fns.c parent_hwnd = FRAME_W32_WINDOW (FRAME_PARENT_FRAME (f)); f 2440 src/w32fns.c f->output_data.w32->dwStyle = WS_CHILD | WS_CLIPSIBLINGS; f 2442 src/w32fns.c if (FRAME_UNDECORATED (f)) f 2446 src/w32fns.c f->output_data.w32->dwStyle |= WS_BORDER; f 2450 src/w32fns.c f->output_data.w32->dwStyle |= (WS_THICKFRAME | WS_CAPTION f 2454 src/w32fns.c else if (FRAME_UNDECORATED (f)) f 2458 src/w32fns.c f->output_data.w32->dwStyle = WS_POPUP; f 2462 src/w32fns.c f->output_data.w32->dwStyle |= WS_BORDER; f 2465 src/w32fns.c f->output_data.w32->dwStyle = WS_OVERLAPPEDWINDOW; f 2468 src/w32fns.c f->output_data.w32->dwStyle |= WS_CLIPCHILDREN; f 2471 src/w32fns.c rect.right = FRAME_PIXEL_WIDTH (f); f 2472 src/w32fns.c rect.bottom = FRAME_PIXEL_HEIGHT (f); f 2474 src/w32fns.c AdjustWindowRect (&rect, f->output_data.w32->dwStyle, f 2475 src/w32fns.c FRAME_EXTERNAL_MENU_BAR (f) && !parent_hwnd); f 2480 src/w32fns.c if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) f 2482 src/w32fns.c left = f->left_pos; f 2483 src/w32fns.c top = f->top_pos; f 2491 src/w32fns.c FRAME_W32_WINDOW (f) = hwnd f 2492 src/w32fns.c = CreateWindow (EMACS_CLASS, f->namebuf, f->output_data.w32->dwStyle, f 2498 src/w32fns.c if (FRAME_SKIP_TASKBAR (f)) f 2502 src/w32fns.c SetWindowLong (hwnd, WND_FONTWIDTH_INDEX, FRAME_COLUMN_WIDTH (f)); f 2503 src/w32fns.c SetWindowLong (hwnd, WND_LINEHEIGHT_INDEX, FRAME_LINE_HEIGHT (f)); f 2504 src/w32fns.c SetWindowLong (hwnd, WND_BORDER_INDEX, FRAME_INTERNAL_BORDER_WIDTH (f)); f 2505 src/w32fns.c SetWindowLong (hwnd, WND_VSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_WIDTH (f)); f 2506 src/w32fns.c SetWindowLong (hwnd, WND_HSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_HEIGHT (f)); f 2507 src/w32fns.c SetWindowLong (hwnd, WND_BACKGROUND_INDEX, FRAME_BACKGROUND_PIXEL (f)); f 2526 src/w32fns.c f->left_pos = rect.left; f 2527 src/w32fns.c f->top_pos = rect.top; f 4132 src/w32fns.c struct frame *f; f 4157 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4160 src/w32fns.c if (f && (w32_disable_double_buffering f 4161 src/w32fns.c || !FRAME_OUTPUT_DATA (f)->paint_buffer)) f 4163 src/w32fns.c HDC hdc = get_frame_dc (f); f 4165 src/w32fns.c w32_clear_rect (f, hdc, &wmsg.rect); f 4166 src/w32fns.c release_frame_dc (f, hdc); f 4170 src/w32fns.c f, f 4181 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4182 src/w32fns.c if (f) f 4185 src/w32fns.c release_frame_dc (f, get_frame_dc (f)); f 4194 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4195 src/w32fns.c if (f == 0) f 4216 src/w32fns.c f, f 4228 src/w32fns.c && FRAME_OUTPUT_DATA (f)->paint_dc) f 4229 src/w32fns.c BitBlt (FRAME_OUTPUT_DATA (f)->paint_buffer_handle, f 4230 src/w32fns.c 0, 0, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 4231 src/w32fns.c FRAME_OUTPUT_DATA (f)->paint_dc, 0, 0, SRCCOPY); f 4659 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4660 src/w32fns.c if (!(f && FRAME_LIVE_P (f))) f 4662 src/w32fns.c w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 4836 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4837 src/w32fns.c if (f && f->output_data.w32->menubar_active) f 4856 src/w32fns.c if (f && (msg == WM_LBUTTONDOWN || msg == WM_RBUTTONDOWN f 4858 src/w32fns.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 4865 src/w32fns.c if (FRAME_PARENT_FRAME (f) || f == p) f 4881 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4882 src/w32fns.c if (f) f 4888 src/w32fns.c if (f->output_data.w32->menubar_active) f 4899 src/w32fns.c if (f->pointer_invisible f 4901 src/w32fns.c f->pointer_invisible = false; f 5019 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5026 src/w32fns.c if (f) f 5027 src/w32fns.c f->output_data.w32->menubar_active = 0; f 5061 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5062 src/w32fns.c if (f f 5063 src/w32fns.c && (f->output_data.w32->menubar_active f 5069 src/w32fns.c || f->output_data.w32->menubar_widget == NULL)) f 5086 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5094 src/w32fns.c if (f && menubar_in_use && current_popup_menu == NULL) f 5098 src/w32fns.c if (f && f->output_data.w32->hourglass_p) f 5099 src/w32fns.c SetCursor (f->output_data.w32->hourglass_cursor); f 5117 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5118 src/w32fns.c if (f) f 5163 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5164 src/w32fns.c if (f) f 5224 src/w32fns.c if ((f = w32_window_to_frame (dpyinfo, hwnd)) f 5225 src/w32fns.c && FRAME_NO_ACCEPT_FOCUS (f) f 5227 src/w32fns.c && !FRAME_PARENT_FRAME (f)) f 5231 src/w32fns.c XSETFRAME (frame, f); f 5280 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5281 src/w32fns.c if (f && HIWORD (wParam) == 0) f 5345 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5346 src/w32fns.c if (f) f 5348 src/w32fns.c if (f->output_data.w32->hourglass_p f 5350 src/w32fns.c SetCursor (f->output_data.w32->hourglass_cursor); f 5351 src/w32fns.c else if (f->pointer_invisible) f 5354 src/w32fns.c SetCursor (f->output_data.w32->current_cursor); f 5364 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5365 src/w32fns.c if (f && cursor) f 5367 src/w32fns.c f->output_data.w32->current_cursor = cursor; f 5369 src/w32fns.c if (!f->output_data.w32->menubar_active f 5370 src/w32fns.c && !f->output_data.w32->hourglass_p) f 5372 src/w32fns.c if (f->pointer_invisible) f 5504 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5505 src/w32fns.c if (f) f 5506 src/w32fns.c f->output_data.w32->menubar_active = 1; f 5560 src/w32fns.c my_create_window (struct frame * f) f 5572 src/w32fns.c if (!(f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)) f 5596 src/w32fns.c (WPARAM)f, (LPARAM)coords)) f 5607 src/w32fns.c my_create_tip_window (struct frame *f) f 5612 src/w32fns.c rect.right = FRAME_PIXEL_WIDTH (f); f 5613 src/w32fns.c rect.bottom = FRAME_PIXEL_HEIGHT (f); f 5615 src/w32fns.c AdjustWindowRect (&rect, f->output_data.w32->dwStyle, false); f 5617 src/w32fns.c tip_window = FRAME_W32_WINDOW (f) f 5619 src/w32fns.c f->namebuf, f 5620 src/w32fns.c f->output_data.w32->dwStyle, f 5621 src/w32fns.c f->left_pos, f 5622 src/w32fns.c f->top_pos, f 5632 src/w32fns.c SetWindowLong (tip_window, WND_FONTWIDTH_INDEX, FRAME_COLUMN_WIDTH (f)); f 5633 src/w32fns.c SetWindowLong (tip_window, WND_LINEHEIGHT_INDEX, FRAME_LINE_HEIGHT (f)); f 5634 src/w32fns.c SetWindowLong (tip_window, WND_BORDER_INDEX, FRAME_INTERNAL_BORDER_WIDTH (f)); f 5635 src/w32fns.c SetWindowLong (tip_window, WND_BACKGROUND_INDEX, FRAME_BACKGROUND_PIXEL (f)); f 5650 src/w32fns.c w32_window (struct frame *f, long window_prompting, bool minibuffer_only) f 5659 src/w32fns.c f->namebuf = xlispstrdup (Vx_resource_name); f 5661 src/w32fns.c my_create_window (f); f 5671 src/w32fns.c int explicit = f->explicit_name; f 5673 src/w32fns.c f->explicit_name = 0; f 5674 src/w32fns.c name = f->name; f 5675 src/w32fns.c fset_name (f, Qnil); f 5676 src/w32fns.c w32_set_name (f, name, explicit); f 5681 src/w32fns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f) f 5682 src/w32fns.c && !FRAME_PARENT_FRAME (f)) f 5683 src/w32fns.c initialize_frame_menubar (f); f 5685 src/w32fns.c if (FRAME_W32_WINDOW (f) == 0) f 5694 src/w32fns.c w32_icon (struct frame *f, Lisp_Object parms) f 5722 src/w32fns.c w32_make_gc (struct frame *f) f 5732 src/w32fns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 5733 src/w32fns.c gc_values.background = f->output_data.w32->cursor_pixel; f 5734 src/w32fns.c f->output_data.w32->cursor_gc f 5735 src/w32fns.c = XCreateGC (NULL, FRAME_W32_WINDOW (f), f 5740 src/w32fns.c f->output_data.w32->white_relief.gc = 0; f 5741 src/w32fns.c f->output_data.w32->black_relief.gc = 0; f 5754 src/w32fns.c struct frame *f = XFRAME (frame); f 5760 src/w32fns.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5769 src/w32fns.c if (FRAME_IMAGE_CACHE (f) != NULL f 5770 src/w32fns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 5771 src/w32fns.c FRAME_IMAGE_CACHE (f)->refcount++; f 5774 src/w32fns.c w32_free_frame_resources (f); f 5775 src/w32fns.c free_glyphs (f); f 5798 src/w32fns.c w32_default_font_parameter (struct frame *f, Lisp_Object parms) f 5800 src/w32fns.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5823 src/w32fns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 5831 src/w32fns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); f 5839 src/w32fns.c struct frame *f; f 5901 src/w32fns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 5904 src/w32fns.c f = make_minibuffer_frame (); f 5908 src/w32fns.c f = make_frame_without_minibuffer (tem, kb, display); f 5910 src/w32fns.c f = make_frame (true); f 5912 src/w32fns.c XSETFRAME (frame, f); f 5926 src/w32fns.c fset_parent_frame (f, parent_frame); f 5927 src/w32fns.c store_frame_param (f, Qparent_frame, parent_frame); f 5931 src/w32fns.c FRAME_UNDECORATED (f) = !NILP (tem) && !BASE_EQ (tem, Qunbound); f 5932 src/w32fns.c store_frame_param (f, Qundecorated, FRAME_UNDECORATED (f) ? Qt : Qnil); f 5936 src/w32fns.c FRAME_SKIP_TASKBAR (f) = !NILP (tem) && !BASE_EQ (tem, Qunbound); f 5937 src/w32fns.c store_frame_param (f, Qskip_taskbar, f 5941 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = GetSystemMetrics (SM_CXVSCROLL); f 5942 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = GetSystemMetrics (SM_CXHSCROLL); f 5944 src/w32fns.c f->terminal = dpyinfo->terminal; f 5946 src/w32fns.c f->output_method = output_w32; f 5947 src/w32fns.c f->output_data.w32 = xzalloc (sizeof (struct w32_output)); f 5948 src/w32fns.c FRAME_FONTSET (f) = -1; f 5953 src/w32fns.c if (!f->terminal->reference_count) f 5954 src/w32fns.c gui_init_fringe (f->terminal->rif); f 5956 src/w32fns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, f 5962 src/w32fns.c if (! STRINGP (f->icon_name)) f 5963 src/w32fns.c fset_icon_name (f, Qnil); f 5972 src/w32fns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 5983 src/w32fns.c f->output_data.w32->parent_desc = (Window) (UINT_PTR) XFIXNAT (parent); f 5984 src/w32fns.c f->output_data.w32->explicit_parent = true; f 5988 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 5989 src/w32fns.c f->output_data.w32->explicit_parent = false; f 5996 src/w32fns.c fset_name (f, build_string (dpyinfo->w32_id_name)); f 5997 src/w32fns.c f->explicit_name = false; f 6001 src/w32fns.c fset_name (f, name); f 6002 src/w32fns.c f->explicit_name = true; f 6009 src/w32fns.c register_font_driver (&harfbuzz_font_driver, f); f 6011 src/w32fns.c register_font_driver (&uniscribe_font_driver, f); f 6012 src/w32fns.c register_font_driver (&w32font_driver, f); f 6014 src/w32fns.c gui_default_parameter (f, parameters, Qfont_backend, Qnil, f 6019 src/w32fns.c w32_default_font_parameter (f, parameters); f 6022 src/w32fns.c gui_default_parameter (f, parameters, Qborder_width, make_fixnum (0), f 6039 src/w32fns.c gui_default_parameter (f, parameters, Qinternal_border_width, make_fixnum (0), f 6056 src/w32fns.c gui_default_parameter (f, parameters, Qchild_frame_border_width, Qnil, f 6059 src/w32fns.c gui_default_parameter (f, parameters, Qright_divider_width, make_fixnum (0), f 6061 src/w32fns.c gui_default_parameter (f, parameters, Qbottom_divider_width, make_fixnum (0), f 6063 src/w32fns.c gui_default_parameter (f, parameters, Qvertical_scroll_bars, Qright, f 6065 src/w32fns.c gui_default_parameter (f, parameters, Qhorizontal_scroll_bars, Qnil, f 6069 src/w32fns.c gui_default_parameter (f, parameters, Qforeground_color, build_string ("black"), f 6071 src/w32fns.c gui_default_parameter (f, parameters, Qbackground_color, build_string ("white"), f 6073 src/w32fns.c gui_default_parameter (f, parameters, Qmouse_color, build_string ("black"), f 6075 src/w32fns.c gui_default_parameter (f, parameters, Qborder_color, build_string ("black"), f 6077 src/w32fns.c gui_default_parameter (f, parameters, Qscreen_gamma, Qnil, f 6079 src/w32fns.c gui_default_parameter (f, parameters, Qline_spacing, Qnil, f 6081 src/w32fns.c gui_default_parameter (f, parameters, Qleft_fringe, Qnil, f 6083 src/w32fns.c gui_default_parameter (f, parameters, Qright_fringe, Qnil, f 6085 src/w32fns.c gui_default_parameter (f, parameters, Qno_focus_on_map, Qnil, f 6087 src/w32fns.c gui_default_parameter (f, parameters, Qno_accept_focus, Qnil, f 6089 src/w32fns.c gui_default_parameter (f, parameters, Qno_special_glyphs, Qnil, f 6091 src/w32fns.c gui_default_parameter (f, parameters, Qalpha_background, Qnil, f 6097 src/w32fns.c if (!FRAME_NO_FOCUS_ON_MAP (f)) f 6098 src/w32fns.c gui_default_parameter (f, parameters, Qalpha, Qnil, f 6103 src/w32fns.c init_frame_faces (f); f 6120 src/w32fns.c store_frame_param (f, Qmin_width, tem); f 6124 src/w32fns.c store_frame_param (f, Qmin_height, tem); f 6125 src/w32fns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 6126 src/w32fns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 6134 src/w32fns.c gui_default_parameter (f, parameters, Qmenu_bar_lines, f 6141 src/w32fns.c store_frame_param (f, Qmenu_bar_lines, make_fixnum (0)); f 6143 src/w32fns.c gui_default_parameter (f, parameters, Qtab_bar_lines, f 6148 src/w32fns.c gui_default_parameter (f, parameters, Qtool_bar_lines, f 6153 src/w32fns.c gui_default_parameter (f, parameters, Qinhibit_double_buffering, Qnil, f 6157 src/w32fns.c gui_default_parameter (f, parameters, Qbuffer_predicate, Qnil, f 6159 src/w32fns.c gui_default_parameter (f, parameters, Qtitle, Qnil, f 6162 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 6163 src/w32fns.c f->output_data.w32->text_cursor = w32_load_cursor (IDC_IBEAM); f 6164 src/w32fns.c f->output_data.w32->nontext_cursor = w32_load_cursor (IDC_ARROW); f 6165 src/w32fns.c f->output_data.w32->modeline_cursor = w32_load_cursor (IDC_ARROW); f 6166 src/w32fns.c f->output_data.w32->hand_cursor = w32_load_cursor (IDC_HAND); f 6167 src/w32fns.c f->output_data.w32->hourglass_cursor = w32_load_cursor (IDC_WAIT); f 6168 src/w32fns.c f->output_data.w32->horizontal_drag_cursor = w32_load_cursor (IDC_SIZEWE); f 6169 src/w32fns.c f->output_data.w32->vertical_drag_cursor = w32_load_cursor (IDC_SIZENS); f 6170 src/w32fns.c f->output_data.w32->left_edge_cursor = w32_load_cursor (IDC_SIZEWE); f 6171 src/w32fns.c f->output_data.w32->top_left_corner_cursor = w32_load_cursor (IDC_SIZENWSE); f 6172 src/w32fns.c f->output_data.w32->top_edge_cursor = w32_load_cursor (IDC_SIZENS); f 6173 src/w32fns.c f->output_data.w32->top_right_corner_cursor = w32_load_cursor (IDC_SIZENESW); f 6174 src/w32fns.c f->output_data.w32->right_edge_cursor = w32_load_cursor (IDC_SIZEWE); f 6175 src/w32fns.c f->output_data.w32->bottom_right_corner_cursor = w32_load_cursor (IDC_SIZENWSE); f 6176 src/w32fns.c f->output_data.w32->bottom_edge_cursor = w32_load_cursor (IDC_SIZENS); f 6177 src/w32fns.c f->output_data.w32->bottom_left_corner_cursor = w32_load_cursor (IDC_SIZENESW); f 6179 src/w32fns.c f->output_data.w32->current_cursor = f->output_data.w32->nontext_cursor; f 6181 src/w32fns.c window_prompting = gui_figure_window_size (f, parameters, true, true); f 6185 src/w32fns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 6187 src/w32fns.c w32_window (f, window_prompting, minibuffer_only); f 6188 src/w32fns.c w32_icon (f, parameters); f 6190 src/w32fns.c w32_make_gc (f); f 6193 src/w32fns.c f->terminal->reference_count++; f 6194 src/w32fns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 6199 src/w32fns.c gui_default_parameter (f, parameters, Qicon_type, Qnil, f 6202 src/w32fns.c gui_default_parameter (f, parameters, Qauto_raise, Qnil, f 6204 src/w32fns.c gui_default_parameter (f, parameters, Qauto_lower, Qnil, f 6206 src/w32fns.c gui_default_parameter (f, parameters, Qcursor_type, Qbox, f 6208 src/w32fns.c gui_default_parameter (f, parameters, Qscroll_bar_width, Qnil, f 6210 src/w32fns.c gui_default_parameter (f, parameters, Qscroll_bar_height, Qnil, f 6214 src/w32fns.c f->can_set_window_size = true; f 6220 src/w32fns.c w32_wm_set_size_hint (f, window_prompting, false); f 6223 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 6229 src/w32fns.c gui_default_parameter (f, parameters, Qfullscreen, Qnil, f 6231 src/w32fns.c gui_default_parameter (f, parameters, Qz_group, Qnil, f 6234 src/w32fns.c gui_default_parameter (f, parameters, Qalpha_background, Qnil, f 6240 src/w32fns.c if (!f->output_data.w32->explicit_parent) f 6247 src/w32fns.c w32_iconify_frame (f); f 6254 src/w32fns.c w32_make_frame_visible (f); f 6256 src/w32fns.c f->was_invisible = true; f 6259 src/w32fns.c store_frame_param (f, Qvisibility, visibility); f 6263 src/w32fns.c if (FRAME_NO_FOCUS_ON_MAP (f)) f 6264 src/w32fns.c gui_default_parameter (f, parameters, Qalpha, Qnil, f 6269 src/w32fns.c if (FRAME_HAS_MINIBUF_P (f) f 6279 src/w32fns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 6293 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6297 src/w32fns.c if (w32_defined_color (f, SSDATA (color), &foo, false, false)) f 6308 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6312 src/w32fns.c if (w32_defined_color (f, SSDATA (color), &foo, false, false)) f 6532 src/w32fns.c struct frame *f = XFRAME (frame); f 6534 src/w32fns.c if (FRAME_W32_P (f) && !FRAME_TOOLTIP_P (f)) f 6537 src/w32fns.c monitor_from_window_fn (FRAME_W32_WINDOW (f), f 6619 src/w32fns.c struct frame *f = XFRAME (frame); f 6621 src/w32fns.c if (FRAME_W32_P (f) && !FRAME_TOOLTIP_P (f)) f 6873 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6880 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6881 src/w32fns.c XChangeProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 6886 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 6898 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6903 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6904 src/w32fns.c XDeleteProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), prop_atom); f 6907 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 6920 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6931 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6932 src/w32fns.c rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 6943 src/w32fns.c rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 7017 src/w32fns.c struct frame *f; f 7046 src/w32fns.c f = make_frame (false); f 7047 src/w32fns.c f->wants_modeline = false; f 7048 src/w32fns.c XSETFRAME (frame, f); f 7056 src/w32fns.c f->terminal = dpyinfo->terminal; f 7057 src/w32fns.c f->output_method = output_w32; f 7058 src/w32fns.c f->output_data.w32 = xzalloc (sizeof (struct w32_output)); f 7060 src/w32fns.c FRAME_FONTSET (f) = -1; f 7061 src/w32fns.c fset_icon_name (f, Qnil); f 7062 src/w32fns.c f->tooltip = true; f 7066 src/w32fns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 7069 src/w32fns.c FRAME_KBOARD (f) = kb; f 7075 src/w32fns.c fset_name (f, build_string (dpyinfo->w32_id_name)); f 7076 src/w32fns.c f->explicit_name = false; f 7080 src/w32fns.c fset_name (f, name); f 7081 src/w32fns.c f->explicit_name = true; f 7088 src/w32fns.c register_font_driver (&harfbuzz_font_driver, f); f 7090 src/w32fns.c register_font_driver (&uniscribe_font_driver, f); f 7091 src/w32fns.c register_font_driver (&w32font_driver, f); f 7093 src/w32fns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 7098 src/w32fns.c w32_default_font_parameter (f, parms); f 7100 src/w32fns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (2), f 7117 src/w32fns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 7121 src/w32fns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 7123 src/w32fns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 7125 src/w32fns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 7127 src/w32fns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 7129 src/w32fns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 7131 src/w32fns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qt, f 7137 src/w32fns.c init_frame_faces (f); f 7139 src/w32fns.c f->output_data.w32->dwStyle = WS_BORDER | WS_POPUP | WS_DISABLED; f 7140 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 7141 src/w32fns.c f->output_data.w32->explicit_parent = false; f 7143 src/w32fns.c gui_figure_window_size (f, parms, true, true); f 7146 src/w32fns.c f->fringe_cols = 0; f 7147 src/w32fns.c f->left_fringe_width = 0; f 7148 src/w32fns.c f->right_fringe_width = 0; f 7150 src/w32fns.c f->right_divider_width = 0; f 7151 src/w32fns.c f->bottom_divider_width = 0; f 7154 src/w32fns.c my_create_tip_window (f); f 7157 src/w32fns.c w32_make_gc (f); f 7159 src/w32fns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 7161 src/w32fns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 7163 src/w32fns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 7166 src/w32fns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 7168 src/w32fns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 7170 src/w32fns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 7202 src/w32fns.c f->no_split = true; f 7206 src/w32fns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 7207 src/w32fns.c f->terminal->reference_count++; f 7213 src/w32fns.c f->can_set_window_size = true; f 7214 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 7236 src/w32fns.c compute_tip_xy (struct frame *f, f 7259 src/w32fns.c max_x = w32_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 7260 src/w32fns.c max_y = w32_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 7540 src/w32fns.c struct frame *f; /* The value is unused. */ f 7541 src/w32fns.c if (NILP (tip_frame = w32_create_tip_frame (FRAME_DISPLAY_INFO (f), parms))) f 7823 src/w32fns.c struct frame *f = XFRAME (frame); f 7825 src/w32fns.c if (!NILP (in_progress) && FRAME_Z_GROUP_ABOVE (f)) f 7826 src/w32fns.c w32_set_z_group (f, Qabove_suspended, Qabove); f 7827 src/w32fns.c else if (NILP (in_progress) && FRAME_Z_GROUP_ABOVE_SUSPENDED (f)) f 7828 src/w32fns.c w32_set_z_group (f, Qabove, Qabove_suspended); f 7843 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 7998 src/w32fns.c file_details_w->hwndOwner = FRAME_W32_WINDOW (f); f 8032 src/w32fns.c file_details_a->hwndOwner = FRAME_W32_WINDOW (f); f 8243 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 8247 src/w32fns.c if (FRAME_W32_P (f)) f 8248 src/w32fns.c PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, XFIXNUM (command), 0); f 8939 src/w32fns.c struct frame *f = decode_live_frame (frame); f 8947 src/w32fns.c int tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 8948 src/w32fns.c int tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 8949 src/w32fns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 8951 src/w32fns.c if (FRAME_INITIAL_P (f) || !FRAME_W32_P (f)) f 8957 src/w32fns.c GetWindowInfo (FRAME_W32_WINDOW (f), &window); f 8970 src/w32fns.c if (get_title_bar_info_fn (FRAME_W32_WINDOW (f), &title_bar) f 8985 src/w32fns.c GetMenuBarInfo (FRAME_W32_WINDOW (f), 0xFFFFFFFD, 0, &menu_bar); f 9030 src/w32fns.c ? FRAME_TOOL_BAR_POSITION (f) f 9061 src/w32fns.c struct frame *f = decode_live_frame (frame); f 9063 src/w32fns.c if (FRAME_INITIAL_P (f) || !FRAME_W32_P (f)) f 9073 src/w32fns.c success = GetWindowRect (FRAME_W32_WINDOW (f), &rectangle); f 9093 src/w32fns.c success = GetClientRect (FRAME_W32_WINDOW (f), &rectangle); f 9104 src/w32fns.c success = ClientToScreen (FRAME_W32_WINDOW (f), &pt); f 9117 src/w32fns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 9121 src/w32fns.c + FRAME_TAB_BAR_HEIGHT (f) f 9122 src/w32fns.c + FRAME_TOOL_BAR_TOP_HEIGHT (f) f 9126 src/w32fns.c - FRAME_TOOL_BAR_BOTTOM_HEIGHT (f))); f 9148 src/w32fns.c struct frame *f = w32_window_to_frame (dpyinfo, window); f 9150 src/w32fns.c if (f) f 9152 src/w32fns.c XSETFRAME (frame, f); f 9846 src/w32fns.c w32_sys_ring_bell (struct frame *f) f 9985 src/w32fns.c add_tray_notification (struct frame *f, const char *icon, const char *tip, f 9991 src/w32fns.c if (FRAME_W32_P (f)) f 10015 src/w32fns.c nidw.hWnd = FRAME_W32_WINDOW (f); f 10159 src/w32fns.c delete_tray_notification (struct frame *f, int id) f 10161 src/w32fns.c if (FRAME_W32_P (f)) f 10166 src/w32fns.c nidw.hWnd = FRAME_W32_WINDOW (f); f 10246 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 10300 src/w32fns.c retval = add_tray_notification (f, icon, tip, severity, timeout, title, msg); f 10310 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 10313 src/w32fns.c delete_tray_notification (f, XFIXNUM (id)); f 226 src/w32font.c #define get_glyph_outline_w(h,uc,f,gm,b,v,m) \ f 227 src/w32font.c GetGlyphOutlineW(h,uc,f,gm,b,v,m) f 255 src/w32font.c w32font_get_cache (struct frame *f) f 257 src/w32font.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 267 src/w32font.c w32font_list (struct frame *f, Lisp_Object font_spec) f 269 src/w32font.c Lisp_Object fonts = w32font_list_internal (f, font_spec, 0); f 279 src/w32font.c w32font_match (struct frame *f, Lisp_Object font_spec) f 281 src/w32font.c Lisp_Object entity = w32font_match_internal (f, font_spec, 0); f 290 src/w32font.c w32font_list_family (struct frame *f) f 305 src/w32font.c dc = get_frame_dc (f); f 310 src/w32font.c release_frame_dc (f, dc); f 320 src/w32font.c w32font_open (struct frame *f, Lisp_Object font_entity, int pixel_size) f 330 src/w32font.c if (!w32font_open_internal (f, font_entity, pixel_size, font_object)) f 444 src/w32font.c struct frame * f UNINIT; f 494 src/w32font.c f = XFRAME (selected_frame); f 502 src/w32font.c dc = get_frame_dc (f); f 541 src/w32font.c release_frame_dc (f, dc); f 578 src/w32font.c f = XFRAME (selected_frame); f 586 src/w32font.c dc = get_frame_dc (f); f 615 src/w32font.c release_frame_dc (f, dc); f 816 src/w32font.c w32font_list_internal (struct frame *f, Lisp_Object font_spec, f 824 src/w32font.c XSETFRAME (match_data.frame, f); f 827 src/w32font.c fill_in_logfont (f, &match_data.pattern, font_spec); f 881 src/w32font.c dc = get_frame_dc (f); f 886 src/w32font.c release_frame_dc (f, dc); f 897 src/w32font.c w32font_match_internal (struct frame *f, Lisp_Object font_spec, f 904 src/w32font.c XSETFRAME (match_data.frame, f); f 908 src/w32font.c fill_in_logfont (f, &match_data.pattern, font_spec); f 940 src/w32font.c dc = get_frame_dc (f); f 945 src/w32font.c release_frame_dc (f, dc); f 952 src/w32font.c w32font_open_internal (struct frame *f, Lisp_Object font_entity, f 971 src/w32font.c fill_in_logfont (f, &logfont, font_entity); f 990 src/w32font.c dc = get_frame_dc (f); f 1012 src/w32font.c release_frame_dc (f, dc); f 2031 src/w32font.c fill_in_logfont (struct frame *f, LOGFONT *logfont, Lisp_Object font_spec) f 2034 src/w32font.c int dpi = FRAME_RES (f); f 2178 src/w32font.c struct frame *f = XFRAME (match_data->frame); f 2186 src/w32font.c dc = get_frame_dc (f); f 2212 src/w32font.c release_frame_dc (f, dc); f 2635 src/w32font.c struct frame *f = decode_window_system_frame (frame); f 2647 src/w32font.c cf.hwndOwner = FRAME_W32_WINDOW (f); f 2659 src/w32font.c hdc = GetDC (FRAME_W32_WINDOW (f)); f 2660 src/w32font.c oldobj = SelectObject (hdc, FONT_HANDLE (FRAME_FONT (f))); f 2673 src/w32font.c ReleaseDC (FRAME_W32_WINDOW (f), hdc); f 61 src/w32font.h #define FONT_HANDLE(f) (((struct w32font_info *)(f))->hfont) f 62 src/w32font.h #define FONT_TEXTMETRIC(f) (((struct w32font_info *)(f))->metrics) f 67 src/w32font.h Lisp_Object w32font_list_internal (struct frame *f, f 70 src/w32font.h Lisp_Object w32font_match_internal (struct frame *f, f 73 src/w32font.h int w32font_open_internal (struct frame *f, Lisp_Object font_entity, f 45 src/w32gui.h extern int w32_load_image (struct frame *f, struct image *img, f 383 src/w32image.c w32_image_bg_color (struct frame *f, struct image *img) f 392 src/w32image.c ? w32_defined_color (f, SSDATA (specified_bg), &color, false, false) f 393 src/w32image.c : (w32_query_frame_background_color (f, &color), true)) f 405 src/w32image.c w32_load_image (struct frame *f, struct image *img, f 454 src/w32image.c ARGB bg_color = w32_image_bg_color (f, img); f 408 src/w32inevt.c w32_console_mouse_position (struct frame **f, f 420 src/w32inevt.c *f = get_frame (); f 423 src/w32inevt.c (*f)->mouse_moved = 0; f 439 src/w32inevt.c struct frame *f = get_frame (); f 440 src/w32inevt.c f->mouse_moved = 1; f 475 src/w32inevt.c struct frame *f = get_frame (); f 476 src/w32inevt.c f->mouse_moved = 0; f 482 src/w32inevt.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 487 src/w32inevt.c if (f->mouse_moved) f 498 src/w32inevt.c Lisp_Object mouse_window = window_from_coordinates (f, mx, my, f 525 src/w32inevt.c note_mouse_highlight (f, mx, my); f 557 src/w32inevt.c XSETFRAME (emacs_ev->frame_or_window, f); f 591 src/w32inevt.c emacs_ev->arg = tty_handle_tab_bar_click (f, x, y, f 601 src/w32inevt.c XSETFRAME (emacs_ev->frame_or_window, f); f 610 src/w32inevt.c struct frame *f = get_frame (); f 612 src/w32inevt.c change_frame_size (f, event->dwSize.X, event->dwSize.Y, false, true, false); f 613 src/w32inevt.c SET_FRAME_GARBAGED (f); f 620 src/w32inevt.c struct frame *f = get_frame (); f 626 src/w32inevt.c change_frame_size (f, 1 + info.srWindow.Right - info.srWindow.Left, f 26 src/w32inevt.h extern void w32_console_mouse_position (struct frame **f, int insist, f 105 src/w32menu.c w32_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 108 src/w32menu.c check_window_system (f); f 114 src/w32menu.c return simple_dialog_show (f, contents, header); f 131 src/w32menu.c selection = w32_dialog_show (f, title, header, &error_name); f 135 src/w32menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 156 src/w32menu.c w32_activate_menubar (struct frame *f) f 158 src/w32menu.c set_frame_menubar (f, true); f 161 src/w32menu.c f->output_data.w32->menubar_active = 1; f 164 src/w32menu.c complete_deferred_msg (FRAME_W32_WINDOW (f), WM_INITMENU, 0); f 174 src/w32menu.c menubar_selection_callback (struct frame *f, void * client_data) f 182 src/w32menu.c if (!f) f 185 src/w32menu.c subprefix_stack = (Lisp_Object *) alloca (f->menu_bar_items_used * word_size); f 186 src/w32menu.c vector = f->menu_bar_vector; f 189 src/w32menu.c while (i < f->menu_bar_items_used) f 219 src/w32menu.c XSETFRAME (frame, f); f 246 src/w32menu.c w32_free_menu_strings (FRAME_W32_WINDOW (f)); f 249 src/w32menu.c f->output_data.w32->menubar_active = 0; f 256 src/w32menu.c w32_free_menu_strings (FRAME_W32_WINDOW (f)); f 257 src/w32menu.c f->output_data.w32->menubar_active = 0; f 264 src/w32menu.c set_frame_menubar (struct frame *f, bool deep_p) f 266 src/w32menu.c HMENU menubar_widget = f->output_data.w32->menubar_widget; f 274 src/w32menu.c if (f->output_data.w32->menubar_active) f 277 src/w32menu.c XSETFRAME (Vmenu_updating_frame, f); f 289 src/w32menu.c int previous_menu_items_used = f->menu_bar_items_used; f 299 src/w32menu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 318 src/w32menu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 320 src/w32menu.c items = FRAME_MENU_BAR_ITEMS (f); f 324 src/w32menu.c memcpy (previous_items, XVECTOR (f->menu_bar_vector)->contents, f 331 src/w32menu.c menu_items = f->menu_bar_vector; f 401 src/w32menu.c fset_menu_bar_vector (f, menu_items); f 402 src/w32menu.c f->menu_bar_items_used = menu_items_used; f 433 src/w32menu.c items = FRAME_MENU_BAR_ITEMS (f); f 460 src/w32menu.c f->menu_bar_items_used = 0; f 482 src/w32menu.c HMENU old_widget = f->output_data.w32->menubar_widget; f 484 src/w32menu.c f->output_data.w32->menubar_widget = menubar_widget; f 485 src/w32menu.c SetMenu (FRAME_W32_WINDOW (f), f->output_data.w32->menubar_widget); f 494 src/w32menu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 507 src/w32menu.c initialize_frame_menubar (struct frame *f) f 511 src/w32menu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 512 src/w32menu.c set_frame_menubar (f, true); f 519 src/w32menu.c free_frame_menubar (struct frame *f) f 524 src/w32menu.c HMENU old = GetMenu (FRAME_W32_WINDOW (f)); f 525 src/w32menu.c SetMenu (FRAME_W32_WINDOW (f), NULL); f 526 src/w32menu.c f->output_data.w32->menubar_widget = NULL; f 551 src/w32menu.c w32_menu_show (struct frame *f, int x, int y, int menuflags, f 754 src/w32menu.c ClientToScreen (FRAME_W32_WINDOW (f), &pos); f 757 src/w32menu.c menu_item_selection = SendMessage (FRAME_W32_WINDOW (f), f 764 src/w32menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 772 src/w32menu.c w32_free_menu_strings (FRAME_W32_WINDOW (f)); f 773 src/w32menu.c f->output_data.w32->menubar_active = 0; f 871 src/w32menu.c w32_dialog_show (struct frame *f, Lisp_Object title, f 986 src/w32menu.c f->output_data.w32->widget, true, 0, f 1000 src/w32menu.c popup_get_selection ((XEvent *) 0, FRAME_DISPLAY_INFO (f), dialog_id); f 1085 src/w32menu.c simple_dialog_show (struct frame *f, Lisp_Object contents, Lisp_Object header) f 1137 src/w32menu.c answer = unicode_message_box (FRAME_W32_WINDOW (f), text, title, type); f 1163 src/w32menu.c answer = MessageBox (FRAME_W32_WINDOW (f), text, title, type); f 1484 src/w32menu.c struct frame *f = w32_window_to_frame (&one_w32_display_info, owner); f 1525 src/w32menu.c if (f) f 1527 src/w32menu.c XSETFRAME (frame, f); f 1591 src/w32menu.c struct frame *f; f 1592 src/w32menu.c f = SELECTED_FRAME (); f 1593 src/w32menu.c return (f->output_data.w32->menubar_active > 0) ? Qt : Qnil; f 130 src/w32notify.c struct frame *f = SELECTED_FRAME (); f 146 src/w32notify.c if (FRAME_TERMCAP_P (f)) f 153 src/w32notify.c else if (FRAME_W32_P (f)) f 154 src/w32notify.c PostMessage (FRAME_W32_WINDOW (f), f 160 src/w32notify.c else if (FRAME_INITIAL_P (f) && noninteractive) f 279 src/w32term.c w32_show_back_buffer (struct frame *f) f 284 src/w32term.c output = FRAME_OUTPUT_DATA (f); f 298 src/w32term.c BitBlt (raw_dc, 0, 0, FRAME_PIXEL_WIDTH (f), f 299 src/w32term.c FRAME_PIXEL_HEIGHT (f), f 310 src/w32term.c w32_release_paint_buffer (struct frame *f) f 316 src/w32term.c if (FRAME_OUTPUT_DATA (f)->paint_buffer) f 318 src/w32term.c deselect_palette (f, FRAME_OUTPUT_DATA (f)->paint_buffer_handle); f 320 src/w32term.c SelectObject (FRAME_OUTPUT_DATA (f)->paint_dc, f 321 src/w32term.c FRAME_OUTPUT_DATA (f)->paint_dc_object); f 322 src/w32term.c ReleaseDC (FRAME_OUTPUT_DATA (f)->window_desc, f 323 src/w32term.c FRAME_OUTPUT_DATA (f)->paint_buffer_handle); f 324 src/w32term.c DeleteDC (FRAME_OUTPUT_DATA (f)->paint_dc); f 325 src/w32term.c DeleteObject (FRAME_OUTPUT_DATA (f)->paint_buffer); f 327 src/w32term.c FRAME_OUTPUT_DATA (f)->paint_buffer = NULL; f 328 src/w32term.c FRAME_OUTPUT_DATA (f)->paint_dc = NULL; f 329 src/w32term.c FRAME_OUTPUT_DATA (f)->paint_buffer_handle = NULL; f 410 src/w32term.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (s->f); f 503 src/w32term.c w32_fill_rect (struct frame *f, HDC hdc, COLORREF pix, RECT *lprect) f 513 src/w32term.c w32_clear_window (struct frame *f) f 516 src/w32term.c HDC hdc = get_frame_dc (f); f 523 src/w32term.c GetClientRect (FRAME_W32_WINDOW (f), &rect); f 524 src/w32term.c w32_clear_rect (f, hdc, &rect); f 527 src/w32term.c release_frame_dc (f, hdc); f 533 src/w32term.c w32_set_frame_alpha (struct frame *f) f 535 src/w32term.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 540 src/w32term.c HWND window = FRAME_W32_WINDOW (f); f 546 src/w32term.c if (dpyinfo->w32_focus_frame == f) f 547 src/w32term.c alpha = f->alpha[0]; f 549 src/w32term.c alpha = f->alpha[1]; f 613 src/w32term.c w32_update_begin (struct frame *f) f 615 src/w32term.c struct w32_display_info *display_info = FRAME_DISPLAY_INFO (f); f 617 src/w32term.c if (! FRAME_W32_P (f)) f 624 src/w32term.c w32_regenerate_palette (f); f 649 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 659 src/w32term.c hdc = get_frame_dc (f); f 660 src/w32term.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 662 src/w32term.c w32_fill_rect (f, hdc, face->foreground, &r); f 664 src/w32term.c w32_fill_rect (f, hdc, FRAME_FOREGROUND_PIXEL (f), &r); f 666 src/w32term.c release_frame_dc (f, hdc); f 675 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 676 src/w32term.c HDC hdc = get_frame_dc (f); f 677 src/w32term.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 679 src/w32term.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 681 src/w32term.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 682 src/w32term.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 685 src/w32term.c : FRAME_FOREGROUND_PIXEL (f)); f 688 src/w32term.c : FRAME_FOREGROUND_PIXEL (f)); f 694 src/w32term.c w32_fill_area_abs (f, hdc, color_first, x0, y0, x0 + 1, y1); f 695 src/w32term.c w32_fill_area_abs (f, hdc, color, x0 + 1, y0, x1 - 1, y1); f 696 src/w32term.c w32_fill_area_abs (f, hdc, color_last, x1 - 1, y0, x1, y1); f 702 src/w32term.c w32_fill_area_abs (f, hdc, color_first, x0, y0, x1, y0 + 1); f 703 src/w32term.c w32_fill_area_abs (f, hdc, color, x0, y0 + 1, x1, y1 - 1); f 704 src/w32term.c w32_fill_area_abs (f, hdc, color_last, x0, y1 - 1, x1, y1); f 709 src/w32term.c w32_fill_area_abs (f, hdc, color, x0, y0, x1, y1); f 711 src/w32term.c release_frame_dc (f, hdc); f 747 src/w32term.c w32_update_end (struct frame *f) f 749 src/w32term.c if (! FRAME_W32_P (f)) f 753 src/w32term.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 761 src/w32term.c w32_frame_up_to_date (struct frame *f) f 763 src/w32term.c FRAME_MOUSE_UPDATE (f); f 766 src/w32term.c && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty) f 767 src/w32term.c w32_show_back_buffer (f); f 771 src/w32term.c w32_buffer_flipping_unblocked_hook (struct frame *f) f 773 src/w32term.c if (FRAME_OUTPUT_DATA (f)->paint_buffer_dirty) f 774 src/w32term.c w32_show_back_buffer (f); f 782 src/w32term.c w32_flip_buffers_if_dirty (struct frame *f) f 784 src/w32term.c if (FRAME_OUTPUT_DATA (f)->paint_buffer f 785 src/w32term.c && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty f 786 src/w32term.c && !f->garbaged && !buffer_flipping_blocked_p ()) f 787 src/w32term.c w32_show_back_buffer (f); f 799 src/w32term.c struct frame *f; f 815 src/w32term.c && (f = XFRAME (w->frame), f 816 src/w32term.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 824 src/w32term.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 826 src/w32term.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 830 src/w32term.c HDC hdc = get_frame_dc (f); f 836 src/w32term.c w32_fill_area (f, hdc, color, 0, y, width, height); f 837 src/w32term.c w32_fill_area (f, hdc, color, FRAME_PIXEL_WIDTH (f) - width, f 842 src/w32term.c w32_clear_area (f, hdc, 0, y, width, height); f 843 src/w32term.c w32_clear_area (f, hdc, FRAME_PIXEL_WIDTH (f) - width, f 846 src/w32term.c release_frame_dc (f, hdc); f 862 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 866 src/w32term.c hdc = get_frame_dc (f); f 872 src/w32term.c w32_fill_area (f, hdc, face->background, f 891 src/w32term.c gui_define_fringe_bitmap (f, p->which); f 905 src/w32term.c SetTextColor (hdc, BLACK_PIX_DEFAULT (f)); f 906 src/w32term.c SetBkColor (hdc, WHITE_PIX_DEFAULT (f)); f 927 src/w32term.c ? f->output_data.w32->cursor_pixel f 942 src/w32term.c release_frame_dc (f, hdc); f 1011 src/w32term.c if (s->font == FRAME_FONT (s->f) f 1012 src/w32term.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 1013 src/w32term.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) f 1017 src/w32term.c && s->f->output_data.w32->cursor_gc->foreground == s->face->background f 1019 src/w32term.c s->gc = s->f->output_data.w32->cursor_gc; f 1026 src/w32term.c egc.background = s->f->output_data.w32->cursor_pixel; f 1033 src/w32term.c egc.foreground = s->f->output_data.w32->cursor_foreground_pixel; f 1045 src/w32term.c IF_DEBUG (w32_check_font (s->f, s->font)); f 1048 src/w32term.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 1049 src/w32term.c XChangeGC (NULL, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 1052 src/w32term.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 1053 src/w32term.c = XCreateGC (NULL, FRAME_W32_WINDOW (s->f), mask, &egc); f 1055 src/w32term.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 1077 src/w32term.c IF_DEBUG (w32_check_font (s->f, s->font)); f 1080 src/w32term.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 1081 src/w32term.c XChangeGC (NULL, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 1084 src/w32term.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 1085 src/w32term.c = XCreateGC (NULL, FRAME_W32_WINDOW (s->f), mask, &egc); f 1087 src/w32term.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 1112 src/w32term.c prepare_face_for_display (s->f, s->face); f 1246 src/w32term.c w32_fill_area (s->f, s->hdc, s->gc->background, real_x, real_y, f 1271 src/w32term.c XFillRectangle (s->display, FRAME_W32_WINDOW (s->f), s->gc, s->x, f 1341 src/w32term.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 1559 src/w32term.c w32_alloc_lighter_color (struct frame *f, COLORREF *color, f 1619 src/w32term.c w32_query_colors (struct frame *f, Emacs_Color *colors, int ncolors) f 1636 src/w32term.c w32_query_frame_background_color (struct frame *f, Emacs_Color *bgcolor) f 1638 src/w32term.c bgcolor->pixel = FRAME_BACKGROUND_PIXEL (f); f 1639 src/w32term.c w32_query_colors (f, bgcolor, 1); f 1650 src/w32term.c w32_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 1654 src/w32term.c struct w32_output *di = f->output_data.w32; f 1659 src/w32term.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1667 src/w32term.c if (w32_alloc_lighter_color (f, &pixel, factor, delta)) f 1676 src/w32term.c relief->gc = XCreateGC (NULL, FRAME_W32_WINDOW (f), mask, &egc); f 1688 src/w32term.c struct w32_output *di = s->f->output_data.w32; f 1695 src/w32term.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 1696 src/w32term.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 1704 src/w32term.c w32_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 1705 src/w32term.c WHITE_PIX_DEFAULT (s->f)); f 1706 src/w32term.c w32_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 1707 src/w32term.c BLACK_PIX_DEFAULT (s->f)); f 1721 src/w32term.c w32_draw_relief_rect (struct frame *f, f 1729 src/w32term.c HDC hdc = get_frame_dc (f); f 1732 src/w32term.c gc.foreground = f->output_data.w32->white_relief.gc->foreground; f 1734 src/w32term.c gc.foreground = f->output_data.w32->black_relief.gc->foreground; f 1741 src/w32term.c w32_fill_area (f, hdc, gc.foreground, f 1748 src/w32term.c w32_fill_area (f, hdc, gc.foreground, f 1753 src/w32term.c gc.foreground = f->output_data.w32->black_relief.gc->foreground; f 1755 src/w32term.c gc.foreground = f->output_data.w32->white_relief.gc->foreground; f 1760 src/w32term.c w32_fill_area (f, hdc, gc.foreground, f 1767 src/w32term.c w32_fill_area (f, hdc, gc.foreground, f 1773 src/w32term.c release_frame_dc (f, hdc); f 1792 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, f 1798 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, f 1803 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, f 1809 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, f 1879 src/w32term.c w32_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 2187 src/w32term.c w32_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 2293 src/w32term.c XFillRectangle (s->display, FRAME_W32_WINDOW (s->f), s->gc, x, y, w, h); f 2361 src/w32term.c Screen *screen = FRAME_X_SCREEN (s->f); f 2365 src/w32term.c pixmap = XCreatePixmap (s->display, FRAME_W32_WINDOW (s->f), f 2470 src/w32term.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 2507 src/w32term.c XFillRectangle (s->display, FRAME_W32_WINDOW (s->f), gc, x, y, w, h); f 2513 src/w32term.c w32_fill_area (s->f, s->hdc, gc->background, x, y, w, h); f 2740 src/w32term.c w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, f 2745 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->underline_color, s->x, f 2757 src/w32term.c w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, f 2762 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->overline_color, s->x, f 2785 src/w32term.c w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, f 2790 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->strike_through_color, s->x, f 2856 src/w32term.c w32_shift_glyphs_for_insert (struct frame *f, int x, int y, f 2861 src/w32term.c hdc = get_frame_dc (f); f 2865 src/w32term.c release_frame_dc (f, hdc); f 2873 src/w32term.c w32_delete_glyphs (struct frame *f, register int n) f 2875 src/w32term.c if (! FRAME_W32_P (f)) f 2885 src/w32term.c w32_clear_frame (struct frame *f) f 2887 src/w32term.c if (! FRAME_W32_P (f)) f 2892 src/w32term.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 2896 src/w32term.c w32_clear_window (f); f 2900 src/w32term.c w32_scroll_bar_clear (f); f 2909 src/w32term.c w32_ring_bell (struct frame *f) f 2913 src/w32term.c if (FRAME_W32_P (f) && visible_bell) f 2916 src/w32term.c HWND hwnd = FRAME_W32_WINDOW (f); f 2926 src/w32term.c w32_sys_ring_bell (f); f 2939 src/w32term.c w32_ins_del_lines (struct frame *f, int vpos, int n) f 2941 src/w32term.c if (! FRAME_W32_P (f)) f 2953 src/w32term.c struct frame *f = XFRAME (w->frame); f 2956 src/w32term.c HWND hwnd = FRAME_W32_WINDOW (f); f 2999 src/w32term.c hdc = get_frame_dc (f); f 3001 src/w32term.c release_frame_dc (f, hdc); f 3026 src/w32term.c SET_FRAME_GARBAGED (f); f 3046 src/w32term.c w32_frame_highlight (struct frame *f) f 3048 src/w32term.c gui_update_cursor (f, 1); f 3049 src/w32term.c w32_set_frame_alpha (f); f 3053 src/w32term.c w32_frame_unhighlight (struct frame *f) f 3055 src/w32term.c gui_update_cursor (f, 1); f 3056 src/w32term.c w32_set_frame_alpha (f); f 3311 src/w32term.c struct frame *f) f 3331 src/w32term.c XSETFRAME (result->frame_or_window, f); f 3338 src/w32term.c struct frame *f) f 3378 src/w32term.c Lisp_Object window = window_from_coordinates (f, p.x, p.y, NULL, f 3406 src/w32term.c ((double)FRAME_LINE_HEIGHT (f) * scroll_unit) f 3412 src/w32term.c ((double)FRAME_LINE_HEIGHT (f) * scroll_unit) f 3414 src/w32term.c nlines = value_to_report / FRAME_LINE_HEIGHT (f) + 0.5; f 3426 src/w32term.c ScreenToClient (FRAME_W32_WINDOW (f), &p); f 3429 src/w32term.c XSETFRAME (result->frame_or_window, f); f 3435 src/w32term.c struct frame *f) f 3502 src/w32term.c XSETFRAME (frame, f); f 3555 src/w32term.c struct frame *f, int *evcount) f 3566 src/w32term.c XSETFRAME (frame, f); f 3859 src/w32term.c w32_handle_tab_bar_click (struct frame *f, struct input_event *button_event) f 3865 src/w32term.c return handle_tab_bar_click (f, x, y, 1, 0); f 3867 src/w32term.c return handle_tab_bar_click (f, x, y, 0, f 3882 src/w32term.c w32_handle_tool_bar_click (struct frame *f, struct input_event *button_event) f 3888 src/w32term.c handle_tool_bar_click (f, x, y, 1, 0); f 3890 src/w32term.c handle_tool_bar_click (f, x, y, 0, f 3948 src/w32term.c double range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height) f 4042 src/w32term.c my_create_vscrollbar (struct frame * f, struct scroll_bar * bar) f 4044 src/w32term.c return (HWND) SendMessage (FRAME_W32_WINDOW (f), f 4045 src/w32term.c WM_EMACS_CREATEVSCROLLBAR, (WPARAM) f, f 4050 src/w32term.c my_create_hscrollbar (struct frame * f, struct scroll_bar * bar) f 4052 src/w32term.c return (HWND) SendMessage (FRAME_W32_WINDOW (f), f 4053 src/w32term.c WM_EMACS_CREATEHSCROLLBAR, (WPARAM) f, f 4060 src/w32term.c my_show_window (struct frame *f, HWND hwnd, int how) f 4063 src/w32term.c return SendMessageTimeout (FRAME_W32_WINDOW (f), WM_EMACS_SHOWWINDOW, f 4091 src/w32term.c my_set_focus (struct frame * f, HWND hwnd) f 4093 src/w32term.c SendMessageTimeout (FRAME_W32_WINDOW (f), WM_EMACS_SETFOCUS, f 4107 src/w32term.c my_destroy_window (struct frame * f, HWND hwnd) f 4109 src/w32term.c SendMessageTimeout (FRAME_W32_WINDOW (f), WM_EMACS_DESTROYWINDOW, f 4129 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 4151 src/w32term.c hwnd = my_create_hscrollbar (f, bar); f 4153 src/w32term.c hwnd = my_create_vscrollbar (f, bar); f 4159 src/w32term.c si.nMax = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, width) f 4162 src/w32term.c si.nMax = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height) f 4172 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); f 4175 src/w32term.c fset_scroll_bars (f, barobj); f 4191 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4196 src/w32term.c my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar)); f 4215 src/w32term.c struct frame *f = XFRAME (w->frame); f 4237 src/w32term.c hdc = get_frame_dc (f); f 4238 src/w32term.c w32_clear_area (f, hdc, left, top, width, height); f 4239 src/w32term.c release_frame_dc (f, hdc); f 4260 src/w32term.c if (!my_show_window (f, hwnd, SW_NORMAL)) f 4271 src/w32term.c hdc = get_frame_dc (f); f 4274 src/w32term.c w32_clear_area (f, hdc, left, top, width, height); f 4275 src/w32term.c release_frame_dc (f, hdc); f 4276 src/w32term.c w32_clear_under_internal_border (f); f 4280 src/w32term.c my_show_window (f, hwnd, SW_HIDE); f 4289 src/w32term.c si.nMax = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height) f 4294 src/w32term.c my_show_window (f, hwnd, SW_NORMAL); f 4319 src/w32term.c struct frame *f = XFRAME (w->frame); f 4341 src/w32term.c hdc = get_frame_dc (f); f 4342 src/w32term.c w32_clear_area (f, hdc, clear_left, top, clear_width, height); f 4343 src/w32term.c release_frame_dc (f, hdc); f 4362 src/w32term.c if (!my_show_window (f, hwnd, SW_NORMAL)) f 4373 src/w32term.c hdc = get_frame_dc (f); f 4376 src/w32term.c w32_clear_area (f, hdc, clear_left, top, clear_width, height); f 4377 src/w32term.c release_frame_dc (f, hdc); f 4378 src/w32term.c w32_clear_under_internal_border (f); f 4382 src/w32term.c my_show_window (f, hwnd, SW_HIDE); f 4397 src/w32term.c my_show_window (f, hwnd, SW_NORMAL); f 4459 src/w32term.c struct frame *f; f 4469 src/w32term.c f = XFRAME (WINDOW_FRAME (w)); f 4474 src/w32term.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 4477 src/w32term.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4479 src/w32term.c fset_condemned_scroll_bars (f, bar->next); f 4491 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); f 4494 src/w32term.c fset_scroll_bars (f, barobj); f 4504 src/w32term.c f = XFRAME (WINDOW_FRAME (w)); f 4509 src/w32term.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 4512 src/w32term.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4514 src/w32term.c fset_condemned_scroll_bars (f, bar->next); f 4526 src/w32term.c bar->next = FRAME_SCROLL_BARS (f); f 4529 src/w32term.c fset_scroll_bars (f, barobj); f 4539 src/w32term.c w32_judge_scroll_bars (struct frame *f) f 4543 src/w32term.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 4547 src/w32term.c fset_condemned_scroll_bars (f, Qnil); f 4586 src/w32term.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 4605 src/w32term.c struct frame *f; /* Value is not used. */ f 4606 src/w32term.c FRAME_DISPLAY_INFO (f)->last_mouse_scroll_bar_pos = msg->msg.wParam; f 4702 src/w32term.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 4722 src/w32term.c struct frame *f; /* Value is not used. */ f 4723 src/w32term.c FRAME_DISPLAY_INFO (f)->last_mouse_scroll_bar_pos = msg->msg.wParam; f 4805 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4807 src/w32term.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 4813 src/w32term.c *fp = f; f 4836 src/w32term.c f->mouse_moved = false; f 4855 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4857 src/w32term.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 4863 src/w32term.c *fp = f; f 4887 src/w32term.c f->mouse_moved = false; f 4902 src/w32term.c w32_scroll_bar_clear (struct frame *f) f 4911 src/w32term.c && FRAME_OUTPUT_DATA (f)->want_paint_buffer) f 4917 src/w32term.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f) f 4918 src/w32term.c || FRAME_HAS_HORIZONTAL_SCROLL_BARS (f)) f 4919 src/w32term.c for (bar = FRAME_SCROLL_BARS (f); VECTORP (bar); f 4928 src/w32term.c my_show_window (f, window, SW_HIDE); f 4931 src/w32term.c select_palette (f, hdc); f 4932 src/w32term.c w32_clear_rect (f, hdc, &rect); f 4933 src/w32term.c w32_clear_under_internal_border (f); f 4934 src/w32term.c deselect_palette (f, hdc); f 5014 src/w32term.c struct frame *f; f 5038 src/w32term.c f = NULL; f 5047 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5049 src/w32term.c if (f) f 5056 src/w32term.c DebPrint (("clipped frame %p (%s) got WM_PAINT - ignored\n", f, f 5057 src/w32term.c SDATA (f->name))); f 5059 src/w32term.c else if (FRAME_VISIBLE_P (f) != 1) f 5061 src/w32term.c bool iconified = FRAME_ICONIFIED_P (f); f 5064 src/w32term.c SET_FRAME_VISIBLE (f, 1); f 5065 src/w32term.c SET_FRAME_ICONIFIED (f, false); f 5066 src/w32term.c SET_FRAME_GARBAGED (f); f 5067 src/w32term.c if (!f->output_data.w32->asked_for_visible) f 5068 src/w32term.c DebPrint (("frame %p (%s) reexposed by WM_PAINT\n", f, f 5069 src/w32term.c SDATA (f->name))); f 5076 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5082 src/w32term.c || !FRAME_OUTPUT_DATA (f)->paint_buffer) f 5090 src/w32term.c if (!FRAME_GARBAGED_P (f) || FRAME_PARENT_FRAME (f)) f 5092 src/w32term.c HDC hdc = get_frame_dc (f); f 5094 src/w32term.c w32_clear_rect (f, hdc, &msg.rect); f 5095 src/w32term.c release_frame_dc (f, hdc); f 5098 src/w32term.c expose_frame (f, f 5103 src/w32term.c w32_clear_under_internal_border (f); f 5106 src/w32term.c w32_show_back_buffer (f); f 5113 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5120 src/w32term.c if (f) f 5123 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5139 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5141 src/w32term.c if (f && !FRAME_ICONIFIED_P (f)) f 5144 src/w32term.c && !EQ (f->tab_bar_window, hlinfo->mouse_face_window) f 5145 src/w32term.c && !EQ (f->tool_bar_window, hlinfo->mouse_face_window)) f 5157 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5165 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5167 src/w32term.c if (f && !FRAME_ICONIFIED_P (f)) f 5170 src/w32term.c && !EQ (f->tab_bar_window, hlinfo->mouse_face_window) f 5171 src/w32term.c && !EQ (f->tool_bar_window, hlinfo->mouse_face_window)) f 5182 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5280 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5282 src/w32term.c if (f && !FRAME_ICONIFIED_P (f)) f 5285 src/w32term.c && !EQ (f->tab_bar_window, hlinfo->mouse_face_window) f 5286 src/w32term.c && !EQ (f->tool_bar_window, hlinfo->mouse_face_window)) f 5298 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5323 src/w32term.c f = mouse_or_wdesc_frame (dpyinfo, msg.msg.hwnd); f 5324 src/w32term.c if (f) f 5329 src/w32term.c && (f == XFRAME (selected_frame) f 5334 src/w32term.c && !FRAME_NO_ACCEPT_FOCUS (f)))) f 5338 src/w32term.c (f, LOWORD (msg.msg.lParam), HIWORD (msg.msg.lParam), 0, 0, 0); f 5356 src/w32term.c if (!w32_note_mouse_movement (f, &msg.msg)) f 5372 src/w32term.c (!NILP (help_echo_string) && !STRINGP (help_echo_string) && f->mouse_moved)) f 5397 src/w32term.c f = mouse_or_wdesc_frame (dpyinfo, msg.msg.hwnd); f 5398 src/w32term.c if (f) f 5400 src/w32term.c w32_construct_mouse_click (&inev, &msg, f); f 5403 src/w32term.c if (WINDOWP (f->tab_bar_window) f 5404 src/w32term.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 5410 src/w32term.c window = window_from_coordinates (f, x, y, 0, 1, 1); f 5412 src/w32term.c if (EQ (window, f->tab_bar_window)) f 5414 src/w32term.c tab_bar_arg = w32_handle_tab_bar_click (f, &inev); f 5421 src/w32term.c && f != dpyinfo->w32_focus_frame f 5424 src/w32term.c && !frame_ancestor_p (f, dpyinfo->w32_focus_frame))) f 5431 src/w32term.c if (WINDOWP (f->tool_bar_window) f 5432 src/w32term.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 5438 src/w32term.c window = window_from_coordinates (f, x, y, 0, 1, 1); f 5440 src/w32term.c if (EQ (window, f->tool_bar_window) f 5451 src/w32term.c || f->last_tool_bar_item != -1)) f 5453 src/w32term.c w32_handle_tool_bar_click (f, &inev); f 5460 src/w32term.c && f != dpyinfo->w32_focus_frame f 5463 src/w32term.c && !frame_ancestor_p (f, dpyinfo->w32_focus_frame))) f 5477 src/w32term.c dpyinfo->last_mouse_frame = f; f 5482 src/w32term.c if (f != 0) f 5484 src/w32term.c f->mouse_moved = false; f 5486 src/w32term.c f->last_tab_bar_item = -1; f 5488 src/w32term.c f->last_tool_bar_item = -1; f 5497 src/w32term.c f = mouse_or_wdesc_frame (dpyinfo, msg.msg.hwnd); f 5498 src/w32term.c if (f) f 5501 src/w32term.c || f == dpyinfo->w32_focus_frame) f 5504 src/w32term.c w32_construct_mouse_wheel (&inev, &msg, f); f 5509 src/w32term.c f->mouse_moved = false; f 5510 src/w32term.c f->last_tab_bar_item = -1; f 5511 src/w32term.c f->last_tool_bar_item = -1; f 5512 src/w32term.c dpyinfo->last_mouse_frame = f; f 5514 src/w32term.c else if (FRAME_NO_ACCEPT_FOCUS (f) f 5517 src/w32term.c Lisp_Object frame1 = get_frame_param (f, Qmouse_wheel_frame); f 5529 src/w32term.c dpyinfo->last_mouse_frame = f; f 5532 src/w32term.c dpyinfo->last_mouse_frame = f; f 5535 src/w32term.c dpyinfo->last_mouse_frame = f; f 5540 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5542 src/w32term.c if (f) f 5543 src/w32term.c w32_construct_drag_n_drop (&inev, &msg, f); f 5567 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5570 src/w32term.c if (f) f 5586 src/w32term.c if (width != FRAME_PIXEL_WIDTH (f) f 5587 src/w32term.c || height != FRAME_PIXEL_HEIGHT (f)) f 5590 src/w32term.c (f, width, height, false, true, false); f 5591 src/w32term.c SET_FRAME_GARBAGED (f); f 5592 src/w32term.c cancel_mouse_face (f); f 5593 src/w32term.c f->win_gravity = NorthWestGravity; f 5603 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5604 src/w32term.c if (f) f 5614 src/w32term.c && (f->want_fullscreen & FULLSCREEN_WAIT)) f 5618 src/w32term.c SET_FRAME_VISIBLE (f, 1); f 5619 src/w32term.c w32fullscreen_hook (f); f 5627 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5629 src/w32term.c if (f && FRAME_VISIBLE_P (f) && !FRAME_ICONIFIED_P(f) f 5630 src/w32term.c && !FRAME_TOOLTIP_P (f)) f 5632 src/w32term.c w32_real_positions (f, &f->left_pos, &f->top_pos); f 5634 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5659 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5660 src/w32term.c f->async_visible = msg.msg.wParam; f 5664 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5665 src/w32term.c if (f) f 5666 src/w32term.c w32_clear_under_internal_border (f); f 5672 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5675 src/w32term.c if (f) f 5680 src/w32term.c SET_FRAME_VISIBLE (f, 0); f 5681 src/w32term.c SET_FRAME_ICONIFIED (f, true); f 5684 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5689 src/w32term.c bool iconified = FRAME_ICONIFIED_P (f); f 5690 src/w32term.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 5692 src/w32term.c SET_FRAME_VISIBLE (f, 1); f 5693 src/w32term.c SET_FRAME_ICONIFIED (f, false); f 5697 src/w32term.c SET_FRAME_GARBAGED (f); f 5708 src/w32term.c w32_real_positions (f, &x, &y); f 5709 src/w32term.c f->left_pos = x; f 5710 src/w32term.c f->top_pos = y; f 5713 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5726 src/w32term.c w32_real_positions (f, &x, &y); f 5728 src/w32term.c store_frame_param (f, Qfullscreen, Qmaximized); f 5736 src/w32term.c bool iconified = FRAME_ICONIFIED_P (f); f 5743 src/w32term.c SET_FRAME_VISIBLE (f, 1); f 5744 src/w32term.c SET_FRAME_ICONIFIED (f, false); f 5748 src/w32term.c SET_FRAME_GARBAGED (f); f 5757 src/w32term.c w32_real_positions (f, &f->left_pos, &f->top_pos); f 5760 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5764 src/w32term.c if (EQ (get_frame_param (f, Qfullscreen), Qmaximized)) f 5765 src/w32term.c store_frame_param (f, Qfullscreen, Qnil); f 5771 src/w32term.c if (f && !FRAME_ICONIFIED_P (f) && msg.msg.wParam != SIZE_MINIMIZED) f 5788 src/w32term.c if (width != FRAME_PIXEL_WIDTH (f) f 5789 src/w32term.c || height != FRAME_PIXEL_HEIGHT (f)) f 5791 src/w32term.c w32_release_paint_buffer (f); f 5794 src/w32term.c (f, width, height, false, true, false); f 5795 src/w32term.c SET_FRAME_GARBAGED (f); f 5796 src/w32term.c cancel_mouse_face (f); f 5797 src/w32term.c f->win_gravity = NorthWestGravity; f 5806 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5807 src/w32term.c if (f) f 5809 src/w32term.c if (f == hlinfo->mouse_face_mouse_frame) f 5836 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5838 src/w32term.c if (f) f 5840 src/w32term.c if (f == hlinfo->mouse_face_mouse_frame) f 5861 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5863 src/w32term.c if (f) f 5866 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5875 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5877 src/w32term.c if (f) f 5880 src/w32term.c XSETFRAME (inev.frame_or_window, f); f 5885 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5887 src/w32term.c if (f) f 5889 src/w32term.c menubar_selection_callback (f, (void *)msg.msg.wParam); f 5896 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5898 src/w32term.c if (f) f 5900 src/w32term.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 5908 src/w32term.c gui_set_fullscreen (f, fullscreen, fullscreen); f 5909 src/w32term.c w32fullscreen_hook (f); f 5945 src/w32term.c f = w32_window_to_frame (dpyinfo, msg.msg.hwnd); f 5946 src/w32term.c if (f) f 5947 src/w32term.c w32_queue_notifications (&inev, &msg, f, &count); f 5973 src/w32term.c if (f) f 5974 src/w32term.c XSETFRAME (frame, f); f 6002 src/w32term.c if (f && !w32_disable_double_buffering f 6003 src/w32term.c && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty f 6004 src/w32term.c && !f->garbaged && !ignore_dirty_back_buffer) f 6005 src/w32term.c w32_show_back_buffer (f); f 6027 src/w32term.c struct frame *f = XFRAME (frame); f 6030 src/w32term.c if (FRAME_TOOLTIP_P (f)) f 6036 src/w32term.c if (FRAME_W32_P (f) && FRAME_VISIBLE_P (f)) f 6049 src/w32term.c hdc = GetWindowDC (FRAME_W32_WINDOW (f)); f 6051 src/w32term.c ReleaseDC (FRAME_W32_WINDOW (f), hdc); f 6054 src/w32term.c obscured = FRAME_OBSCURED_P (f); f 6061 src/w32term.c SET_FRAME_VISIBLE (f, 2); f 6064 src/w32term.c DebPrint (("frame %p (%s) obscured\n", f, SDATA (f->name))); f 6069 src/w32term.c SET_FRAME_VISIBLE (f, 1); f 6073 src/w32term.c SET_FRAME_GARBAGED (f); f 6075 src/w32term.c f, SDATA (f->name))); f 6123 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 6128 src/w32term.c HBRUSH hb = CreateSolidBrush (f->output_data.w32->cursor_pixel); f 6152 src/w32term.c hdc = get_frame_dc (f); f 6158 src/w32term.c release_frame_dc (f, hdc); f 6173 src/w32term.c struct frame *f = XFRAME (w->frame); f 6194 src/w32term.c COLORREF cursor_color = f->output_data.w32->cursor_pixel; f 6195 src/w32term.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 6209 src/w32term.c hdc = get_frame_dc (f); f 6215 src/w32term.c width = FRAME_CURSOR_WIDTH (f); f 6225 src/w32term.c w32_fill_area (f, hdc, cursor_color, x, f 6243 src/w32term.c w32_fill_area (f, hdc, cursor_color, x, f 6250 src/w32term.c release_frame_dc (f, hdc); f 6258 src/w32term.c w32_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 6260 src/w32term.c w32_define_cursor (FRAME_W32_WINDOW (f), cursor); f 6267 src/w32term.c w32_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 6271 src/w32term.c hdc = get_frame_dc (f); f 6272 src/w32term.c w32_clear_area (f, hdc, x, y, width, height); f 6273 src/w32term.c release_frame_dc (f, hdc); f 6310 src/w32term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 6311 src/w32term.c HWND hwnd = FRAME_W32_WINDOW (f); f 6380 src/w32term.c w32_bitmap_icon (struct frame *f, Lisp_Object icon) f 6385 src/w32term.c if (FRAME_W32_WINDOW (f) == 0) f 6428 src/w32term.c PostMessage (FRAME_W32_WINDOW (f), WM_SETICON, (WPARAM) ICON_BIG, f 6433 src/w32term.c PostMessage (FRAME_W32_WINDOW (f), WM_SETICON, (WPARAM) ICON_SMALL, f 6468 src/w32term.c w32_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 6475 src/w32term.c FRAME_FONTSET (f) = fontset; f 6476 src/w32term.c if (FRAME_FONT (f) == font) f 6481 src/w32term.c FRAME_FONT (f) = font; f 6482 src/w32term.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 6483 src/w32term.c FRAME_COLUMN_WIDTH (f) = unit = font->average_width; f 6485 src/w32term.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 6488 src/w32term.c unit = FRAME_COLUMN_WIDTH (f); f 6489 src/w32term.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 6490 src/w32term.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 6491 src/w32term.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 6494 src/w32term.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 6495 src/w32term.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = f 6496 src/w32term.c FRAME_CONFIG_SCROLL_BAR_COLS (f) * unit; f 6499 src/w32term.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 6504 src/w32term.c if (FRAME_NATIVE_WINDOW (f) != 0 && !FRAME_TOOLTIP_P (f)) f 6506 src/w32term.c (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 6507 src/w32term.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, false, Qfont); f 6534 src/w32term.c w32_calc_absolute_position (struct frame *f) f 6536 src/w32term.c int flags = f->size_hint_flags; f 6550 src/w32term.c if (GetWindowPlacement (FRAME_W32_WINDOW (f), &wp) f 6551 src/w32term.c && GetClientRect (FRAME_W32_WINDOW (f), &client_rect)) f 6574 src/w32term.c struct frame *p = FRAME_PARENT_FRAME (f); f 6612 src/w32term.c f->left_pos = (FRAME_PIXEL_WIDTH (p) f 6613 src/w32term.c - FRAME_PIXEL_WIDTH (f) f 6614 src/w32term.c + f->left_pos f 6617 src/w32term.c f->left_pos = (w32_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 6619 src/w32term.c - FRAME_PIXEL_WIDTH (f) f 6620 src/w32term.c + f->left_pos f 6627 src/w32term.c f->top_pos = (FRAME_PIXEL_HEIGHT (p) f 6628 src/w32term.c - FRAME_PIXEL_HEIGHT (f) f 6629 src/w32term.c + f->top_pos f 6632 src/w32term.c f->top_pos = (w32_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 6634 src/w32term.c - FRAME_PIXEL_HEIGHT (f) f 6635 src/w32term.c + f->top_pos f 6641 src/w32term.c f->size_hint_flags &= ~ (XNegative | YNegative); f 6651 src/w32term.c w32_set_offset (struct frame *f, register int xoff, register int yoff, f 6658 src/w32term.c f->top_pos = yoff; f 6659 src/w32term.c f->left_pos = xoff; f 6660 src/w32term.c f->size_hint_flags &= ~ (XNegative | YNegative); f 6662 src/w32term.c f->size_hint_flags |= XNegative; f 6664 src/w32term.c f->size_hint_flags |= YNegative; f 6665 src/w32term.c f->win_gravity = NorthWestGravity; f 6667 src/w32term.c w32_calc_absolute_position (f); f 6670 src/w32term.c w32_wm_set_size_hint (f, (long) 0, false); f 6672 src/w32term.c modified_left = f->left_pos; f 6673 src/w32term.c modified_top = f->top_pos; f 6675 src/w32term.c if (!FRAME_PARENT_FRAME (f)) f 6676 src/w32term.c my_set_window_pos (FRAME_W32_WINDOW (f), NULL, f 6681 src/w32term.c my_set_window_pos (FRAME_W32_WINDOW (f), HWND_TOP, f 6689 src/w32term.c w32fullscreen_hook (struct frame *f) f 6691 src/w32term.c if (FRAME_VISIBLE_P (f)) f 6693 src/w32term.c HWND hwnd = FRAME_W32_WINDOW(f); f 6696 src/w32term.c enum fullscreen_type prev_fsmode = FRAME_PREV_FSMODE (f); f 6699 src/w32term.c f->want_fullscreen &= ~FULLSCREEN_WAIT; f 6701 src/w32term.c if (FRAME_PREV_FSMODE (f) == FULLSCREEN_NONE) f 6702 src/w32term.c GetWindowPlacement (hwnd, &FRAME_NORMAL_PLACEMENT (f)); f 6704 src/w32term.c if (FRAME_PREV_FSMODE (f) == FULLSCREEN_BOTH) f 6706 src/w32term.c if (!FRAME_UNDECORATED (f)) f 6708 src/w32term.c SetWindowPlacement (hwnd, &FRAME_NORMAL_PLACEMENT (f)); f 6710 src/w32term.c else if (FRAME_PREV_FSMODE (f) == FULLSCREEN_HEIGHT f 6711 src/w32term.c || FRAME_PREV_FSMODE (f) == FULLSCREEN_WIDTH) f 6712 src/w32term.c SetWindowPlacement (hwnd, &FRAME_NORMAL_PLACEMENT (f)); f 6714 src/w32term.c FRAME_PREV_FSMODE (f) = f->want_fullscreen; f 6716 src/w32term.c if (f->want_fullscreen == FULLSCREEN_NONE) f 6718 src/w32term.c else if (f->want_fullscreen == FULLSCREEN_MAXIMIZED) f 6728 src/w32term.c else if (f->want_fullscreen == FULLSCREEN_BOTH) f 6731 src/w32term.c (hwnd, f->want_fullscreen, f 6732 src/w32term.c FRAME_NORMAL_PLACEMENT (f).rcNormalPosition, &rect); f 6733 src/w32term.c if (!FRAME_UNDECORATED (f)) f 6739 src/w32term.c (f, rect.right - rect.left, rect.bottom - rect.top, f 6746 src/w32term.c (hwnd, f->want_fullscreen, f 6747 src/w32term.c FRAME_NORMAL_PLACEMENT (f).rcNormalPosition, &rect); f 6752 src/w32term.c (f, rect.right - rect.left, rect.bottom - rect.top, f 6756 src/w32term.c f->want_fullscreen = FULLSCREEN_NONE; f 6759 src/w32term.c if (f->want_fullscreen == FULLSCREEN_BOTH f 6760 src/w32term.c || f->want_fullscreen == FULLSCREEN_WIDTH f 6761 src/w32term.c || f->want_fullscreen == FULLSCREEN_HEIGHT) f 6766 src/w32term.c f->want_fullscreen |= FULLSCREEN_WAIT; f 6774 src/w32term.c w32_set_window_size (struct frame *f, bool change_gravity, f 6777 src/w32term.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 6789 src/w32term.c GetMenuBarInfo (FRAME_W32_WINDOW (f), 0xFFFFFFFD, 0, &info); f 6810 src/w32term.c f->win_gravity = NorthWestGravity; f 6811 src/w32term.c w32_wm_set_size_hint (f, (long) 0, false); f 6817 src/w32term.c AdjustWindowRect (&rect, f->output_data.w32->dwStyle, menu_bar_height > 0); f 6819 src/w32term.c if (!(f->after_make_frame) f 6820 src/w32term.c && !(f->want_fullscreen & FULLSCREEN_WAIT) f 6821 src/w32term.c && FRAME_VISIBLE_P (f)) f 6825 src/w32term.c GetWindowRect (FRAME_W32_WINDOW (f), &window_rect); f 6847 src/w32term.c if (!FRAME_PARENT_FRAME (f)) f 6848 src/w32term.c my_set_window_pos (FRAME_W32_WINDOW (f), NULL, f 6854 src/w32term.c my_set_window_pos (FRAME_W32_WINDOW (f), HWND_TOP, f 6860 src/w32term.c change_frame_size (f, width, height, false, true, false); f 6861 src/w32term.c SET_FRAME_GARBAGED (f); f 6864 src/w32term.c mark_window_cursors_off (XWINDOW (f->root_window)); f 6871 src/w32term.c cancel_mouse_face (f); f 6882 src/w32term.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 6891 src/w32term.c GetClientRect (FRAME_W32_WINDOW (f), &rect); f 6894 src/w32term.c ClientToScreen (FRAME_W32_WINDOW (f), &pt); f 6910 src/w32term.c w32_get_focus_frame (struct frame *f) f 6914 src/w32term.c struct frame *focus = FRAME_DISPLAY_INFO (f)->w32_focus_frame; f 6931 src/w32term.c w32_focus_frame (struct frame *f, bool noactivate) f 6942 src/w32term.c my_set_focus (f, FRAME_W32_WINDOW (f)); f 6945 src/w32term.c my_set_foreground_window (FRAME_W32_WINDOW (f)); f 6951 src/w32term.c w32_raise_frame (struct frame *f) f 6986 src/w32term.c FRAME_W32_WINDOW (f), f 6994 src/w32term.c FRAME_W32_WINDOW (f), f 7005 src/w32term.c my_bring_window_to_top (FRAME_W32_WINDOW (f)); f 7013 src/w32term.c w32_lower_frame (struct frame *f) f 7016 src/w32term.c my_set_window_pos (FRAME_W32_WINDOW (f), f 7024 src/w32term.c w32_frame_raise_lower (struct frame *f, bool raise_flag) f 7026 src/w32term.c if (! FRAME_W32_P (f)) f 7030 src/w32term.c w32_raise_frame (f); f 7032 src/w32term.c w32_lower_frame (f); f 7046 src/w32term.c w32_make_frame_visible (struct frame *f) f 7050 src/w32term.c gui_set_bitmap_icon (f); f 7052 src/w32term.c if (! FRAME_VISIBLE_P (f)) f 7058 src/w32term.c if (! FRAME_ICONIFIED_P (f) f 7059 src/w32term.c && ! f->output_data.w32->asked_for_visible) f 7061 src/w32term.c if (!FRAME_PARENT_FRAME (f)) f 7069 src/w32term.c GetWindowRect (FRAME_W32_WINDOW (f), &window_rect); f 7072 src/w32term.c f->top_pos = max (window_rect.top f 7077 src/w32term.c w32_set_offset (f, f->left_pos, f->top_pos, 0); f 7080 src/w32term.c f->output_data.w32->asked_for_visible = 1; f 7089 src/w32term.c my_show_window (f, FRAME_W32_WINDOW (f), f 7090 src/w32term.c FRAME_ICONIFIED_P (f) f 7092 src/w32term.c : FRAME_NO_FOCUS_ON_MAP (f) f 7114 src/w32term.c XSETFRAME (frame, f); f 7120 src/w32term.c !FRAME_VISIBLE_P (f)) f 7148 src/w32term.c w32_make_frame_invisible (struct frame *f) f 7151 src/w32term.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 7152 src/w32term.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 7156 src/w32term.c my_show_window (f, FRAME_W32_WINDOW (f), SW_HIDE); f 7163 src/w32term.c SET_FRAME_VISIBLE (f, 0); f 7164 src/w32term.c SET_FRAME_ICONIFIED (f, false); f 7170 src/w32term.c w32_make_frame_visible_invisible (struct frame *f, bool visible) f 7173 src/w32term.c w32_make_frame_visible (f); f 7175 src/w32term.c w32_make_frame_invisible (f); f 7181 src/w32term.c w32_iconify_frame (struct frame *f) f 7184 src/w32term.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 7185 src/w32term.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 7187 src/w32term.c if (FRAME_ICONIFIED_P (f)) f 7192 src/w32term.c gui_set_bitmap_icon (f); f 7195 src/w32term.c SendMessageTimeout (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, SC_MINIMIZE, 0, f 7198 src/w32term.c SET_FRAME_VISIBLE (f, 0); f 7199 src/w32term.c SET_FRAME_ICONIFIED (f, true); f 7208 src/w32term.c w32_free_frame_resources (struct frame *f) f 7210 src/w32term.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 7211 src/w32term.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 7218 src/w32term.c free_frame_faces (f); f 7221 src/w32term.c w32_release_paint_buffer (f); f 7223 src/w32term.c if (FRAME_W32_WINDOW (f)) f 7224 src/w32term.c my_destroy_window (f, FRAME_W32_WINDOW (f)); f 7226 src/w32term.c free_frame_menubar (f); f 7228 src/w32term.c xfree (f->output_data.w32); f 7229 src/w32term.c f->output_data.w32 = NULL; f 7231 src/w32term.c if (f == dpyinfo->w32_focus_frame) f 7233 src/w32term.c if (f == dpyinfo->w32_focus_event_frame) f 7235 src/w32term.c if (f == dpyinfo->highlight_frame) f 7237 src/w32term.c if (f == hlinfo->mouse_face_mouse_frame) f 7246 src/w32term.c w32_destroy_window (struct frame *f) f 7248 src/w32term.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 7250 src/w32term.c w32_free_frame_resources (f); f 7263 src/w32term.c w32_wm_set_size_hint (struct frame *f, long flags, bool user_position) f 7265 src/w32term.c Window window = FRAME_W32_WINDOW (f); f 7269 src/w32term.c SetWindowLong (window, WND_FONTWIDTH_INDEX, FRAME_COLUMN_WIDTH (f)); f 7270 src/w32term.c SetWindowLong (window, WND_LINEHEIGHT_INDEX, FRAME_LINE_HEIGHT (f)); f 7271 src/w32term.c SetWindowLong (window, WND_BORDER_INDEX, FRAME_INTERNAL_BORDER_WIDTH (f)); f 7272 src/w32term.c SetWindowLong (window, WND_VSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_WIDTH (f)); f 7273 src/w32term.c SetWindowLong (window, WND_HSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_HEIGHT (f)); f 7289 src/w32term.c w32_check_font (struct frame *f, struct font *font) f 7293 src/w32term.c eassert (font->driver->check (f, font) == 0); f 7301 src/w32term.c w32_show_hourglass (struct frame *f) f 7305 src/w32term.c struct w32_output *w32 = FRAME_OUTPUT_DATA (f); f 7315 src/w32term.c w32_hide_hourglass (struct frame *f) f 7317 src/w32term.c struct w32_output *w32 = FRAME_OUTPUT_DATA (f); f 7320 src/w32term.c if (f->pointer_invisible) f 7336 src/w32term.c w32_toggle_invisible_pointer (struct frame *f, bool invisible) f 7340 src/w32term.c if (f->pointer_invisible != invisible) f 7342 src/w32term.c f->pointer_invisible = invisible; f 7343 src/w32term.c w32_define_cursor (FRAME_W32_WINDOW (f), f 7344 src/w32term.c f->output_data.w32->current_cursor); f 43 src/w32term.h #define BLACK_PIX_DEFAULT(f) PALETTERGB(0,0,0) f 44 src/w32term.h #define WHITE_PIX_DEFAULT(f) PALETTERGB(255,255,255) f 75 src/w32term.h extern void w32_regenerate_palette (struct frame *f); f 231 src/w32term.h extern void w32_real_positions (struct frame *f, int *xptr, int *yptr); f 250 src/w32term.h extern void w32_query_frame_background_color (struct frame *f, f 253 src/w32term.h extern void w32_make_frame_visible (struct frame *f); f 254 src/w32term.h extern void w32_make_frame_invisible (struct frame *f); f 255 src/w32term.h extern void w32_iconify_frame (struct frame *f); f 273 src/w32term.h extern void w32_default_font_parameter (struct frame* f, Lisp_Object parms); f 441 src/w32term.h #define FRAME_OUTPUT_DATA(f) ((f)->output_data.w32) f 444 src/w32term.h #define FRAME_W32_WINDOW(f) ((f)->output_data.w32->window_desc) f 445 src/w32term.h #define FRAME_NATIVE_WINDOW(f) FRAME_W32_WINDOW (f) f 447 src/w32term.h #define FRAME_FONT(f) ((f)->output_data.w32->font) f 448 src/w32term.h #define FRAME_FONTSET(f) ((f)->output_data.w32->fontset) f 449 src/w32term.h #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.w32->baseline_offset) f 452 src/w32term.h #define FRAME_DISPLAY_INFO(f) ((void) (f), (&one_w32_display_info)) f 544 src/w32term.h #define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f,width) \ f 556 src/w32term.h #define VERTICAL_SCROLL_BAR_TOP_RANGE(f,height) \ f 557 src/w32term.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) f 561 src/w32term.h #define VERTICAL_SCROLL_BAR_INSIDE_HEIGHT(f,height) \ f 566 src/w32term.h #define HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT(f,height) \ f 578 src/w32term.h #define HORIZONTAL_SCROLL_BAR_LEFT_RANGE(f,width) \ f 579 src/w32term.h (HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH (f, width) - HORIZONTAL_SCROLL_BAR_MIN_HANDLE) f 583 src/w32term.h #define HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH(f,width) \ f 617 src/w32term.h #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ f 624 src/w32term.h w32_fill_rect (f,hdc,pix,&rect); \ f 627 src/w32term.h #define w32_fill_area_abs(f,hdc,pix,x0,y0,x1,y1) \ f 634 src/w32term.h w32_fill_rect (f,hdc,pix,&rect); \ f 637 src/w32term.h #define w32_clear_rect(f,hdc,lprect) \ f 638 src/w32term.h w32_fill_rect (f, hdc, FRAME_BACKGROUND_PIXEL (f), lprect) f 640 src/w32term.h #define w32_clear_area(f,hdc,px,py,nx,ny) \ f 641 src/w32term.h w32_fill_area (f, hdc, FRAME_BACKGROUND_PIXEL (f), px, py, nx, ny) f 742 src/w32term.h extern void select_palette (struct frame * f, HDC hdc); f 743 src/w32term.h extern void deselect_palette (struct frame * f, HDC hdc); f 744 src/w32term.h extern HDC get_frame_dc (struct frame * f); f 745 src/w32term.h extern int release_frame_dc (struct frame * f, HDC hDC); f 755 src/w32term.h extern void w32_sys_ring_bell (struct frame *f); f 119 src/w32uniscribe.c uniscribe_list (struct frame *f, Lisp_Object font_spec) f 121 src/w32uniscribe.c Lisp_Object fonts = w32font_list_internal (f, font_spec, true); f 127 src/w32uniscribe.c uniscribe_match (struct frame *f, Lisp_Object font_spec) f 129 src/w32uniscribe.c Lisp_Object entity = w32font_match_internal (f, font_spec, true); f 135 src/w32uniscribe.c uniscribe_list_family (struct frame *f) f 151 src/w32uniscribe.c dc = get_frame_dc (f); f 156 src/w32uniscribe.c release_frame_dc (f, dc); f 163 src/w32uniscribe.c uniscribe_open (struct frame *f, Lisp_Object font_entity, int pixel_size) f 176 src/w32uniscribe.c if (!w32font_open_internal (f, font_entity, pixel_size, font_object)) f 243 src/w32uniscribe.c struct frame *f; f 247 src/w32uniscribe.c f = XFRAME (selected_frame); f 253 src/w32uniscribe.c context = get_frame_dc (f); f 262 src/w32uniscribe.c release_frame_dc (f, context); f 301 src/w32uniscribe.c struct frame * f = NULL; f 370 src/w32uniscribe.c f = XFRAME (selected_frame); f 371 src/w32uniscribe.c context = get_frame_dc (f); f 405 src/w32uniscribe.c f = XFRAME (selected_frame); f 406 src/w32uniscribe.c context = get_frame_dc (f); f 511 src/w32uniscribe.c f = XFRAME (selected_frame); f 512 src/w32uniscribe.c context = get_frame_dc (f); f 585 src/w32uniscribe.c release_frame_dc (f, context); f 601 src/w32uniscribe.c struct frame *f = NULL; f 657 src/w32uniscribe.c f = XFRAME (selected_frame); f 658 src/w32uniscribe.c context = get_frame_dc (f); f 690 src/w32uniscribe.c release_frame_dc (f, context); f 965 src/w32uniscribe.c struct frame * f; f 989 src/w32uniscribe.c f = XFRAME (selected_frame); f 990 src/w32uniscribe.c context = get_frame_dc (f); f 1135 src/w32uniscribe.c release_frame_dc (f, context); f 1231 src/w32uniscribe.c w32hb_list (struct frame *f, Lisp_Object font_spec) f 1233 src/w32uniscribe.c Lisp_Object fonts = w32font_list_internal (f, font_spec, true); f 1244 src/w32uniscribe.c w32hb_match (struct frame *f, Lisp_Object font_spec) f 1246 src/w32uniscribe.c Lisp_Object entity = w32font_match_internal (f, font_spec, true); f 1269 src/w32uniscribe.c struct frame *f = XFRAME (selected_frame); f 1270 src/w32uniscribe.c HDC context = get_frame_dc (f); f 1295 src/w32uniscribe.c release_frame_dc (f, context); f 122 src/w32xfns.c select_palette (struct frame *f, HDC hdc) f 124 src/w32xfns.c struct w32_display_info *display_info = FRAME_DISPLAY_INFO (f); f 133 src/w32xfns.c f->output_data.w32->old_palette = f 136 src/w32xfns.c f->output_data.w32->old_palette = NULL; f 149 src/w32xfns.c deselect_palette (struct frame *f, HDC hdc) f 151 src/w32xfns.c if (f->output_data.w32->old_palette) f 152 src/w32xfns.c SelectPalette (hdc, f->output_data.w32->old_palette, FALSE); f 158 src/w32xfns.c get_frame_dc (struct frame *f) f 165 src/w32xfns.c if (f->output_method != output_w32) f 169 src/w32xfns.c output = FRAME_OUTPUT_DATA (f); f 173 src/w32xfns.c if (output->paint_buffer_width != FRAME_PIXEL_WIDTH (f) f 174 src/w32xfns.c || output->paint_buffer_height != FRAME_PIXEL_HEIGHT (f) f 176 src/w32xfns.c w32_release_paint_buffer (f); f 190 src/w32xfns.c select_palette (f, hdc); f 193 src/w32xfns.c && FRAME_OUTPUT_DATA (f)->want_paint_buffer) f 196 src/w32xfns.c = CreateCompatibleBitmap (hdc, FRAME_PIXEL_WIDTH (f), f 197 src/w32xfns.c FRAME_PIXEL_HEIGHT (f)); f 213 src/w32xfns.c output->paint_buffer_width = FRAME_PIXEL_WIDTH (f); f 214 src/w32xfns.c output->paint_buffer_height = FRAME_PIXEL_HEIGHT (f); f 217 src/w32xfns.c SET_FRAME_GARBAGED (f); f 229 src/w32xfns.c release_frame_dc (struct frame *f, HDC hdc) f 235 src/w32xfns.c if (hdc != FRAME_OUTPUT_DATA (f)->paint_dc) f 237 src/w32xfns.c deselect_palette (f, hdc); f 238 src/w32xfns.c ret = ReleaseDC (f->output_data.w32->window_desc, hdc); f 160 src/widget.c struct frame *f = ew->emacs_frame.frame; f 162 src/widget.c *pixel_width = FRAME_COLUMN_WIDTH (f); f 163 src/widget.c *pixel_height = FRAME_LINE_HEIGHT (f); f 170 src/widget.c struct frame *f = ew->emacs_frame.frame; f 172 src/widget.c *char_width = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, (int) pixel_width); f 173 src/widget.c *char_height = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, (int) pixel_height); f 180 src/widget.c struct frame *f = ew->emacs_frame.frame; f 182 src/widget.c *pixel_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, char_width); f 183 src/widget.c *pixel_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, char_height); f 262 src/widget.c struct frame *f = ew->emacs_frame.frame; f 264 src/widget.c ew->core.width = FRAME_PIXEL_WIDTH (f); f 265 src/widget.c ew->core.height = FRAME_PIXEL_HEIGHT (f); f 269 src/widget.c (f, build_string ("set_frame_size")); f 329 src/widget.c struct frame *f = ew->emacs_frame.frame; f 331 src/widget.c f->internal_border_width = ew->emacs_frame.internal_border_width; f 337 src/widget.c struct frame *f = ew->emacs_frame.frame; f 338 src/widget.c struct x_output *x = f->output_data.x; f 340 src/widget.c ew->core.height = FRAME_PIXEL_HEIGHT (f) - x->menubar_height; f 341 src/widget.c ew->core.width = FRAME_PIXEL_WIDTH (f); f 342 src/widget.c ew->core.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 343 src/widget.c ew->emacs_frame.internal_border_width = f->internal_border_width; f 344 src/widget.c ew->emacs_frame.foreground_pixel = FRAME_FOREGROUND_PIXEL (f); f 350 src/widget.c (f, build_string ("update_from_various_frame_slots"), f 351 src/widget.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 353 src/widget.c f->new_width, f->new_height); f 387 src/widget.c struct frame *f = ew->emacs_frame.frame; f 404 src/widget.c (f, build_string ("EmacsFrameRealize")); f 420 src/widget.c struct frame *f = ew->emacs_frame.frame; f 424 src/widget.c (f, build_string ("EmacsFrameResize"), f 425 src/widget.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 427 src/widget.c f->new_width, f->new_height); f 429 src/widget.c change_frame_size (f, ew->core.width, ew->core.height, f 436 src/widget.c cancel_mouse_face (f); f 473 src/widget.c struct frame *f = ew->emacs_frame.frame; f 477 src/widget.c (f, build_string ("EmacsFrameSetCharSize"), f 478 src/widget.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 480 src/widget.c f->new_width, f->new_height); f 482 src/widget.c if (!frame_inhibit_resize (f, 0, Qfont) f 483 src/widget.c && !frame_inhibit_resize (f, 1, Qfont)) f 484 src/widget.c x_set_window_size (f, 0, columns * FRAME_COLUMN_WIDTH (f), f 485 src/widget.c rows * FRAME_LINE_HEIGHT (f)); f 492 src/widget.c struct frame *f = ew->emacs_frame.frame; f 494 src/widget.c expose_frame (f, event->xexpose.x, event->xexpose.y, f 496 src/widget.c flush_frame (f); f 504 src/widget.c struct frame *f = ew->emacs_frame.frame; f 506 src/widget.c ew->emacs_frame.internal_border_width = f->internal_border_width; f 517 src/window.c struct frame *f; f 523 src/window.c f = XFRAME (frame); f 525 src/window.c if (FRAME_TOOLTIP_P (f)) f 530 src/window.c f->select_mini_window_flag = false; f 551 src/window.c if (f != sf) f 553 src/window.c fset_selected_window (f, window); f 561 src/window.c || (EQ (window, f->minibuffer_window) f 1068 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 1069 src/window.c int face_id = lookup_named_face (NULL, f, Qdefault, true); f 1070 src/window.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1094 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 1101 src/window.c !FRAME_WINDOW_P (f) f 1105 src/window.c - (FRAME_WINDOW_P (f) f 1114 src/window.c int face_id = lookup_named_face (NULL, f, Qdefault, true); f 1115 src/window.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1346 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 1348 src/window.c int ux = FRAME_COLUMN_WIDTH (f); f 1442 src/window.c if (FRAME_WINDOW_P (f)) f 1560 src/window.c struct frame *f; f 1565 src/window.c f = XFRAME (w->frame); f 1571 src/window.c x = FRAME_PIXEL_X_FROM_CANON_X (f, lx) + FRAME_INTERNAL_BORDER_WIDTH (f); f 1572 src/window.c y = FRAME_PIXEL_Y_FROM_CANON_Y (f, ly) + FRAME_INTERNAL_BORDER_WIDTH (f); f 1584 src/window.c return Fcons (FRAME_CANON_X_FROM_PIXEL_X (f, x), f 1585 src/window.c FRAME_CANON_Y_FROM_PIXEL_Y (f, y)); f 1682 src/window.c window_from_coordinates (struct frame *f, int x, int y, f 1694 src/window.c foreach_window (f, check_window_containing, &cw); f 1701 src/window.c && WINDOWP (f->tab_bar_window) f 1702 src/window.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window)) > 0 f 1703 src/window.c && (coordinates_in_window (XWINDOW (f->tab_bar_window), x, y) f 1707 src/window.c window = f->tab_bar_window; f 1716 src/window.c && WINDOWP (f->tool_bar_window) f 1717 src/window.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window)) > 0 f 1718 src/window.c && (coordinates_in_window (XWINDOW (f->tool_bar_window), x, y) f 1722 src/window.c window = f->tool_bar_window; f 1739 src/window.c struct frame *f = decode_live_frame (frame); f 1744 src/window.c return window_from_coordinates (f, f 1745 src/window.c (FRAME_PIXEL_X_FROM_CANON_X (f, x) f 1746 src/window.c + FRAME_INTERNAL_BORDER_WIDTH (f)), f 1747 src/window.c (FRAME_PIXEL_Y_FROM_CANON_Y (f, y) f 1748 src/window.c + FRAME_INTERNAL_BORDER_WIDTH (f)), f 2698 src/window.c struct frame *f = XFRAME (w->frame); f 2720 src/window.c candidate_p = FRAME_VISIBLE_P (f) f 2727 src/window.c candidate_p = (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f) f 2735 src/window.c || (FRAME_X_P (f) && f->output_data.x->asked_for_visible f 2736 src/window.c && !f->output_data.x->has_been_visible) f 2747 src/window.c || (EQ (f->minibuffer_window, all_frames) f 2748 src/window.c && EQ (XWINDOW (all_frames)->frame, FRAME_FOCUS_FRAME (f)))) f 3074 src/window.c struct frame *f; f 3080 src/window.c f = XFRAME (frames); f 3082 src/window.c f = SELECTED_FRAME (); f 3084 src/window.c f = NULL; f 3086 src/window.c if (f) f 3102 src/window.c else if (f) f 3103 src/window.c window = FRAME_SELECTED_WINDOW (f); f 3284 src/window.c struct frame *f = XFRAME (frame); f 3297 src/window.c root = FRAME_ROOT_WINDOW (f); f 3330 src/window.c if (!EQ (window, FRAME_SELECTED_WINDOW (f))) f 3338 src/window.c fset_selected_window (f, window); f 3347 src/window.c swindow = FRAME_SELECTED_WINDOW (f); f 3363 src/window.c if (!EQ (swindow, FRAME_SELECTED_WINDOW (f))) f 3368 src/window.c fset_selected_window (f, swindow); f 3373 src/window.c if (!FRAME_INITIAL_P (f)) f 3375 src/window.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3389 src/window.c fset_redisplay (f); f 3505 src/window.c adjust_frame_glyphs (f); f 3508 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 3575 src/window.c run_window_configuration_change_hook (struct frame *f) f 3580 src/window.c XSETFRAME (frame, f); f 3583 src/window.c || !f->can_set_window_size f 3584 src/window.c || !f->after_make_frame) f 3594 src/window.c if (SELECTED_FRAME () != f) f 3752 src/window.c struct frame *f = XFRAME (frame); f 3755 src/window.c fset_old_selected_window (f, FRAME_SELECTED_WINDOW (f)); f 3760 src/window.c f->change_stamp += 1; f 3761 src/window.c if (f->change_stamp == 0) f 3762 src/window.c f->change_stamp = 1; f 3767 src/window.c f->number_of_windows f 3768 src/window.c = window_change_record_windows (f->root_window, f->change_stamp, 0); f 3771 src/window.c FRAME_WINDOW_CHANGE (f) = false; f 3772 src/window.c FRAME_WINDOW_STATE_CHANGE (f) = false; f 3900 src/window.c struct frame *f = XFRAME (frame); f 3901 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 3902 src/window.c bool frame_window_change = FRAME_WINDOW_CHANGE (f); f 3910 src/window.c = !EQ (FRAME_OLD_SELECTED_WINDOW (f), FRAME_SELECTED_WINDOW (f)); f 3911 src/window.c bool frame_window_state_change = FRAME_WINDOW_STATE_CHANGE (f); f 3916 src/window.c if (!FRAME_LIVE_P (f) f 3917 src/window.c || !f->can_set_window_size f 3918 src/window.c || !f->after_make_frame f 3919 src/window.c || FRAME_TOOLTIP_P (f) f 3955 src/window.c || w->change_stamp != f->change_stamp)); f 3995 src/window.c && (EQ (window, FRAME_OLD_SELECTED_WINDOW (f)) f 3996 src/window.c || EQ (window, FRAME_SELECTED_WINDOW (f))))) f 4010 src/window.c && (EQ (window, FRAME_OLD_SELECTED_WINDOW (f)) f 4011 src/window.c || EQ (window, FRAME_SELECTED_WINDOW (f)))))) f 4024 src/window.c window_deleted = number_of_windows < f->number_of_windows; f 4027 src/window.c if ((frame_buffer_change || window_deleted) && FRAME_LIVE_P (f)) f 4033 src/window.c if (frame_size_change && FRAME_LIVE_P (f)) f 4040 src/window.c && FRAME_LIVE_P (f)) f 4050 src/window.c && FRAME_LIVE_P (f) f 4051 src/window.c && FRAME_WINDOW_P (f)) f 4052 src/window.c report_selected_window_change (f); f 4062 src/window.c && FRAME_LIVE_P (f)) f 4075 src/window.c if ((frame_size_change || window_deleted) && FRAME_LIVE_P (f)) f 4078 src/window.c run_window_configuration_change_hook (f); f 4510 src/window.c struct frame *f = XFRAME (w->frame); f 4594 src/window.c ? 2 * FRAME_COLUMN_WIDTH (f) f 4595 src/window.c : FRAME_LINE_HEIGHT (f))); f 4774 src/window.c struct frame *f = decode_live_frame (frame); f 4775 src/window.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 4786 src/window.c fset_redisplay (f); f 4788 src/window.c adjust_frame_glyphs (f); f 4807 src/window.c struct frame *f = decode_live_frame (frame); f 4808 src/window.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 4813 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4816 src/window.c if (FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4818 src/window.c struct window *m = XWINDOW (f->minibuffer_window); f 4838 src/window.c resize_frame_windows (struct frame *f, int size, bool horflag) f 4840 src/window.c Lisp_Object root = f->root_window; f 4844 src/window.c int unit = horflag ? FRAME_COLUMN_WIDTH (f) : FRAME_LINE_HEIGHT (f); f 4845 src/window.c Lisp_Object mini = f->minibuffer_window; f 4847 src/window.c int mini_height = ((FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4856 src/window.c && (horflag || r->pixel_top == FRAME_TOP_MARGIN_HEIGHT (f))) f 4868 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4869 src/window.c r->pixel_top = FRAME_TOP_MARGIN_HEIGHT (f); f 4875 src/window.c FRAME_WINDOW_CHANGE (f) f 4884 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4885 src/window.c r->pixel_top = FRAME_TOP_MARGIN_HEIGHT (f); f 4911 src/window.c if (FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4928 src/window.c fset_redisplay (f); f 4964 src/window.c struct frame *f; f 4972 src/window.c f = XFRAME (frame); f 4977 src/window.c ? FRAME_COLUMN_WIDTH (f) f 4978 src/window.c : FRAME_LINE_HEIGHT (f)); f 4996 src/window.c reference = FRAME_SELECTED_WINDOW (f); f 5053 src/window.c fset_redisplay (f); f 5127 src/window.c adjust_frame_glyphs (f); f 5130 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 5145 src/window.c struct frame *f; f 5167 src/window.c f = XFRAME (frame); f 5169 src/window.c root = FRAME_ROOT_WINDOW (f); f 5206 src/window.c if (!FRAME_INITIAL_P (f)) f 5208 src/window.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 5214 src/window.c fset_redisplay (f); f 5250 src/window.c adjust_frame_glyphs (f); f 5252 src/window.c if (!WINDOW_LIVE_P (FRAME_SELECTED_WINDOW (f))) f 5260 src/window.c if (EQ (FRAME_SELECTED_WINDOW (f), selected_window)) f 5266 src/window.c fset_selected_window (f, new_selected_window); f 5270 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 5305 src/window.c struct frame *f = XFRAME (w->frame); f 5306 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5311 src/window.c w->total_lines = w->pixel_height / FRAME_LINE_HEIGHT (f); f 5320 src/window.c fset_redisplay (f); f 5321 src/window.c adjust_frame_glyphs (f); f 5335 src/window.c struct frame *f = XFRAME (w->frame); f 5337 src/window.c int min_height = FRAME_LINE_HEIGHT (f); f 5347 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5351 src/window.c FRAME_WINDOWS_FROZEN (f) = true; f 5369 src/window.c struct frame *f = XFRAME (w->frame); f 5371 src/window.c - FRAME_LINE_HEIGHT (f)); f 5377 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5381 src/window.c FRAME_WINDOWS_FROZEN (f) = false; f 5402 src/window.c struct frame *f; f 5406 src/window.c f = XFRAME (w->frame); f 5410 src/window.c else if (FRAME_MINIBUF_ONLY_P (f)) f 5413 src/window.c r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 5971 src/window.c adjust_frame_glyphs (it.f); f 6622 src/window.c int uy = FRAME_LINE_HEIGHT (it.f); f 6774 src/window.c h -= nlines * (FRAME_LINE_HEIGHT (it.f) + extra_line_spacing); f 7088 src/window.c struct frame *f; f 7138 src/window.c f = XFRAME (frame); f 7142 src/window.c if (FRAME_LIVE_P (f)) f 7171 src/window.c f->can_set_window_size = false; f 7190 src/window.c fset_redisplay (f); f 7196 src/window.c root_window = XWINDOW (FRAME_ROOT_WINDOW (f)); f 7208 src/window.c delete_all_child_windows (FRAME_ROOT_WINDOW (f)); f 7350 src/window.c fset_root_window (f, data->root_window); f 7391 src/window.c f->can_set_window_size = true; f 7392 src/window.c adjust_frame_size (f, -1, -1, 4, false, Qset_window_configuration); f 7394 src/window.c adjust_frame_glyphs (f); f 7401 src/window.c if (WINDOW_LIVE_P (window) && !EQ (window, FRAME_ROOT_WINDOW (f))) f 7422 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 7450 src/window.c return FRAME_LIVE_P (f) ? Qt : Qnil; f 7716 src/window.c struct frame *f = decode_live_frame (frame); f 7717 src/window.c ptrdiff_t n_windows = count_windows (XWINDOW (FRAME_ROOT_WINDOW (f))); f 7721 src/window.c data->frame_cols = FRAME_COLS (f); f 7722 src/window.c data->frame_lines = FRAME_LINES (f); f 7723 src/window.c data->frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f); f 7724 src/window.c data->frame_tab_bar_lines = FRAME_TAB_BAR_LINES (f); f 7725 src/window.c data->frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f); f 7726 src/window.c data->frame_text_width = FRAME_TEXT_WIDTH (f); f 7727 src/window.c data->frame_text_height = FRAME_TEXT_HEIGHT (f); f 7728 src/window.c data->frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); f 7729 src/window.c data->frame_tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 7730 src/window.c data->frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 7732 src/window.c data->current_window = FRAME_SELECTED_WINDOW (f); f 7736 src/window.c data->root_window = FRAME_ROOT_WINDOW (f); f 7737 src/window.c data->focus_frame = FRAME_FOCUS_FRAME (f); f 7742 src/window.c save_window_save (FRAME_ROOT_WINDOW (f), XVECTOR (tem), 0); f 7855 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7870 src/window.c - (new_left == -1 ? FRAME_LEFT_FRINGE_WIDTH (f) : new_left) f 7871 src/window.c - (new_right == -1 ? FRAME_RIGHT_FRINGE_WIDTH (f) : new_right)) f 7974 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7993 src/window.c - (new_width == -1 ? FRAME_SCROLL_BAR_AREA_WIDTH (f) : new_width)) f 8021 src/window.c - (new_height == -1 ? FRAME_SCROLL_BAR_AREA_HEIGHT (f) : new_height)) f 8134 src/window.c struct frame *f = XFRAME (w->frame); f 8136 src/window.c if (FRAME_WINDOW_P (f)) f 8138 src/window.c ? FRAME_CANON_Y_FROM_PIXEL_Y (f, -w->vscroll) f 8165 src/window.c struct frame *f = XFRAME (w->frame); f 8169 src/window.c if (FRAME_WINDOW_P (f)) f 8174 src/window.c ? FRAME_LINE_HEIGHT (f) * XFLOATINT (vscroll) f 8183 src/window.c adjust_frame_glyphs (f); f 8204 src/window.c foreach_window (struct frame *f, bool (*fn) (struct window *, void *), f 8208 src/window.c if (WINDOWP (FRAME_ROOT_WINDOW (f))) f 8209 src/window.c foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data); f 8384 src/window.c struct frame *f = make_initial_frame (); f 8388 src/window.c XSETFRAME (selected_frame, f); f 8390 src/window.c minibuf_window = f->minibuffer_window; f 8391 src/window.c old_selected_window = selected_window = f->selected_window; f 1156 src/window.h extern void fset_redisplay (struct frame *f); f 505 src/xdisp.c #define FRAME_OUTPUT_DATA(f) (NULL) f 520 src/xdisp.c && FRAME_WINDOW_P ((IT)->f) \ f 875 src/xdisp.c fset_redisplay (struct frame *f) f 878 src/xdisp.c f->redisplay = true; f 1299 src/xdisp.c struct frame *f = XFRAME (w->frame); f 1327 src/xdisp.c (f, CURRENT_MODE_LINE_ACTIVE_FACE_ID (w)); f 1344 src/xdisp.c height -= estimate_mode_line_height (f, TAB_LINE_FACE_ID); f 1361 src/xdisp.c height -= estimate_mode_line_height (f, HEADER_LINE_FACE_ID); f 1422 src/xdisp.c struct frame *f = XFRAME (w->frame); f 1426 src/xdisp.c return FRAME_INTERNAL_BORDER_WIDTH (f); f 1587 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 1588 src/xdisp.c int height = FRAME_LINE_HEIGHT (f); f 1590 src/xdisp.c if (!FRAME_INITIAL_P (f) && BUFFERP (w->contents)) f 1610 src/xdisp.c height += f->extra_line_spacing; f 1641 src/xdisp.c window_hscroll_limited (struct window *w, struct frame *f) f 1645 src/xdisp.c int colwidth = FRAME_COLUMN_WIDTH (f); f 1905 src/xdisp.c charpos, FRAME_WINDOW_P (it.f))); f 2282 src/xdisp.c estimate_mode_line_height (struct frame *f, enum face_id face_id) f 2285 src/xdisp.c if (FRAME_WINDOW_P (f)) f 2287 src/xdisp.c int height = FONT_HEIGHT (FRAME_FONT (f)); f 2291 src/xdisp.c if (FRAME_FACE_CACHE (f)) f 2293 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 2316 src/xdisp.c pixel_to_glyph_coords (struct frame *f, int pix_x, int pix_y, int *x, int *y, f 2321 src/xdisp.c if (FRAME_WINDOW_P (f)) f 2326 src/xdisp.c pix_x -= FRAME_COLUMN_WIDTH (f) - 1; f 2328 src/xdisp.c pix_y -= FRAME_LINE_HEIGHT (f) - 1; f 2330 src/xdisp.c pix_x = FRAME_PIXEL_X_TO_COL (f, pix_x); f 2331 src/xdisp.c pix_y = FRAME_PIXEL_Y_TO_LINE (f, pix_y); f 2335 src/xdisp.c FRAME_COL_TO_PIXEL_X (f, pix_x), f 2336 src/xdisp.c FRAME_LINE_TO_PIXEL_Y (f, pix_y), f 2337 src/xdisp.c FRAME_COLUMN_WIDTH (f) - 1, f 2338 src/xdisp.c FRAME_LINE_HEIGHT (f) - 1); f 2345 src/xdisp.c else if (pix_x > FRAME_TOTAL_COLS (f)) f 2346 src/xdisp.c pix_x = FRAME_TOTAL_COLS (f); f 2350 src/xdisp.c else if (pix_y > FRAME_TOTAL_LINES (f)) f 2351 src/xdisp.c pix_y = FRAME_TOTAL_LINES (f); f 2452 src/xdisp.c struct frame *f = XFRAME (w->frame); f 2453 src/xdisp.c *x -= FRAME_INTERNAL_BORDER_WIDTH (f); f 2577 src/xdisp.c min (FRAME_LINE_HEIGHT (s->f), s->row->visible_height)); f 2588 src/xdisp.c height = max (FRAME_LINE_HEIGHT (s->f), glyph->ascent + glyph->descent); f 2685 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2703 src/xdisp.c wd = min (FRAME_COLUMN_WIDTH (f), wd); f 2720 src/xdisp.c h0 = min (FRAME_LINE_HEIGHT (f), row->visible_height); f 2754 src/xdisp.c remember_mouse_glyph (struct frame *f, int gx, int gy, NativeRectangle *rect) f 2780 src/xdisp.c else if (!f->glyphs_initialized_p f 2781 src/xdisp.c || (window = window_from_coordinates (f, gx, gy, &part, false, false), f 2784 src/xdisp.c width = FRAME_SMALLEST_CHAR_WIDTH (f); f 2785 src/xdisp.c height = FRAME_SMALLEST_FONT_HEIGHT (f); f 3003 src/xdisp.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 3004 src/xdisp.c f->output_data.x->normal_gc, f 3278 src/xdisp.c it->f = XFRAME (w->frame); f 3288 src/xdisp.c && FRAME_WINDOW_P (it->f)) f 3294 src/xdisp.c * FRAME_LINE_HEIGHT (it->f)); f 3295 src/xdisp.c else if (it->f->extra_line_spacing > 0) f 3296 src/xdisp.c it->extra_line_spacing = it->f->extra_line_spacing; f 3303 src/xdisp.c if (FRAME_FACE_CACHE (it->f) == NULL) f 3304 src/xdisp.c init_frame_faces (it->f); f 3305 src/xdisp.c if (FRAME_FACE_CACHE (it->f)->used == 0) f 3306 src/xdisp.c recompute_basic_faces (it->f); f 3355 src/xdisp.c if (!(FRAME_WINDOW_P (it->f) && it->f->no_special_glyphs)) f 3407 src/xdisp.c it->first_visible_x = w->min_hscroll * FRAME_COLUMN_WIDTH (it->f); f 3413 src/xdisp.c window_hscroll_limited (w, it->f) * FRAME_COLUMN_WIDTH (it->f); f 3418 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; f 3439 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 3447 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; f 3459 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); f 3527 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 3799 src/xdisp.c && FRAME_WINDOW_P (it->f) f 3970 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 4004 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 4572 src/xdisp.c bool saved_inhibit_flag = it->f->inhibit_clear_image_cache; f 4597 src/xdisp.c it->f->inhibit_clear_image_cache = true; f 4632 src/xdisp.c it->f->inhibit_clear_image_cache = saved_inhibit_flag; f 4757 src/xdisp.c ? lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) f 4795 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); f 4799 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 4810 src/xdisp.c old_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 4906 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it_copy.f), &it_copy.bidi_it); f 4958 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); f 4960 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); f 5054 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); f 5055 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); f 5520 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 5523 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5524 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 5538 src/xdisp.c FRAME_COLUMN_WIDTH (it->f); f 5656 src/xdisp.c FRAME_WINDOW_P (it->f)); f 5855 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5873 src/xdisp.c it->face_id = smaller_face (it->f, it->face_id, steps); f 5879 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5891 src/xdisp.c struct face *f; f 5893 src/xdisp.c f = FACE_FROM_ID (it->f, f 5894 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID)); f 5896 src/xdisp.c * XFIXNUM (f->lface[LFACE_HEIGHT_INDEX])); f 5903 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5916 src/xdisp.c it->face_id = face_with_height (it->f, it->face_id, new_height); f 5930 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5960 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5989 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5996 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 6056 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 6094 src/xdisp.c int face_id = lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); f 6105 src/xdisp.c face_id2 = lookup_derived_face (it->w, it->f, face_name, f 6183 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) f 6187 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) f 6254 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 6283 src/xdisp.c it->image_id = lookup_image (it->f, value, it->face_id); f 6676 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 6939 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 7077 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 7081 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 7743 src/xdisp.c bidi_init_it (IT_CHARPOS (*it), IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 7830 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 7861 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 7952 src/xdisp.c FACE_FROM_ID_OR_NULL ((IT)->f, \ f 7978 src/xdisp.c glyphless_method = FRAME_WINDOW_P (it->f) f 8028 src/xdisp.c if (it->f == last_escape_glyph_frame f 8035 src/xdisp.c last_escape_glyph_frame = it->f; f 8053 src/xdisp.c if (it->f == last_glyphless_glyph_frame f 8060 src/xdisp.c last_glyphless_glyph_frame = it->f; f 8340 src/xdisp.c && FRAME_WINDOW_P (it->f)) f 8342 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 8349 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); f 8372 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); f 8386 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 8395 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) f 8471 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8486 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8499 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) f 8925 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 8926 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 8951 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); f 10015 src/xdisp.c && FRAME_WINDOW_P (it->f) f 10026 src/xdisp.c && FRAME_WINDOW_P (it->f))) f 10101 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10312 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10713 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 10715 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 10775 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10820 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 10959 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 11084 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 12141 src/xdisp.c struct frame *f = XFRAME (frame); f 12143 src/xdisp.c if (FRAME_VISIBLE_P (sf) && !FRAME_VISIBLE_P (f)) f 12161 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 12162 src/xdisp.c (*FRAME_TERMINAL (f)->frame_up_to_date_hook) (f); f 12209 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12214 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12219 src/xdisp.c need_message = f->glyphs_initialized_p; f 12276 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12281 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12286 src/xdisp.c if (f->glyphs_initialized_p) f 12291 src/xdisp.c ptrdiff_t maxsize = FRAME_MESSAGE_BUF_SIZE (f); f 12752 src/xdisp.c struct frame *f = XFRAME (w->frame); f 12774 src/xdisp.c && (NILP (resize_mini_frames) || !FRAME_MINIBUF_ONLY_P (f))) f 12775 src/xdisp.c || (FRAME_X_P (f) && FRAME_OUTPUT_DATA (f) == NULL)) f 12778 src/xdisp.c if (FRAME_MINIBUF_ONLY_P (f)) f 12786 src/xdisp.c int unit = FRAME_LINE_HEIGHT (f); f 12790 src/xdisp.c int windows_height = FRAME_INNER_HEIGHT (f); f 13143 src/xdisp.c struct frame *f = XFRAME (frame); f 13145 src/xdisp.c if (FRAME_REDISPLAY_P (f) && FRAME_GARBAGED_P (f)) f 13147 src/xdisp.c if (f->resized_p f 13153 src/xdisp.c && !(f != sf && (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)))) f 13154 src/xdisp.c redraw_frame (f); f 13156 src/xdisp.c clear_current_matrices (f); f 13159 src/xdisp.c if (FRAME_WINDOW_P (f) f 13160 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13161 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13163 src/xdisp.c fset_redisplay (f); f 13164 src/xdisp.c f->garbaged = false; f 13165 src/xdisp.c f->resized_p = false; f 13182 src/xdisp.c struct frame *f; f 13191 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 13194 src/xdisp.c if (!FRAME_REDISPLAY_P (f) || !f->glyphs_initialized_p) f 13229 src/xdisp.c n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), false); f 13232 src/xdisp.c if (FRAME_WINDOW_P (f) f 13233 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13234 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13248 src/xdisp.c fset_redisplay (f); f 13252 src/xdisp.c else if (FRAME_WINDOW_P (f) && n == 0) f 13258 src/xdisp.c flush_frame (f); f 13261 src/xdisp.c update_frame (f, true, true); f 13286 src/xdisp.c fset_redisplay (f); f 13572 src/xdisp.c struct frame *f = XFRAME (frame); f 13575 src/xdisp.c if ((FRAME_WINDOW_P (f) f 13576 src/xdisp.c || FRAME_MINIBUF_ONLY_P (f) f 13577 src/xdisp.c || f->explicit_name) f 13578 src/xdisp.c && !FRAME_TOOLTIP_P (f)) f 13592 src/xdisp.c if (tf != f f 13593 src/xdisp.c && FRAME_KBOARD (tf) == FRAME_KBOARD (f) f 13624 src/xdisp.c format_data = format_mode_line_unwind_data (f, current_buffer, f 13629 src/xdisp.c Fselect_window (f->selected_window, Qt); f 13630 src/xdisp.c set_buffer_internal_1 (XBUFFER (XWINDOW (f->selected_window)->contents)); f 13631 src/xdisp.c fmt = (FRAME_ICONIFIED_P (f) && !EQ (Vicon_title_format, Qt) f 13636 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, f 13654 src/xdisp.c if ((! STRINGP (f->name) f 13655 src/xdisp.c || SBYTES (f->name) != len f 13656 src/xdisp.c || memcmp (title, SDATA (f->name), len) != 0) f 13657 src/xdisp.c && FRAME_TERMINAL (f)->implicit_set_name_hook) f 13660 src/xdisp.c FRAME_TERMINAL (f)->implicit_set_name_hook (f, title_string, Qnil); f 13683 src/xdisp.c struct frame *f = XFRAME (w->frame); f 13687 src/xdisp.c && !f->face_change f 13688 src/xdisp.c && !f->redisplay f 13731 src/xdisp.c struct frame *f = XFRAME (frame); f 13732 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13734 src/xdisp.c && !f->redisplay f 13739 src/xdisp.c if (!FRAME_TOOLTIP_P (f) f 13740 src/xdisp.c && (FRAME_ICONIFIED_P (f) f 13741 src/xdisp.c || FRAME_VISIBLE_P (f) == 1 f 13751 src/xdisp.c || (FRAME_REDISPLAY_P (f) && FRAME_WINDOW_P (f)))) f 13772 src/xdisp.c struct frame *f = XFRAME (frame); f 13773 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13776 src/xdisp.c if (FRAME_TOOLTIP_P (f)) f 13780 src/xdisp.c && !f->redisplay f 13785 src/xdisp.c if (!FRAME_PARENT_FRAME (f)) f 13786 src/xdisp.c menu_bar_hooks_run = update_menu_bar (f, false, menu_bar_hooks_run); f 13788 src/xdisp.c update_tab_bar (f, false); f 13790 src/xdisp.c update_tool_bar (f, false); f 13823 src/xdisp.c update_menu_bar (struct frame *f, bool save_match_data, bool hooks_run) f 13834 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 13837 src/xdisp.c if (FRAME_WINDOW_P (f) f 13840 src/xdisp.c FRAME_EXTERNAL_MENU_BAR (f) f 13842 src/xdisp.c FRAME_MENU_BAR_LINES (f) > 0 f 13844 src/xdisp.c : FRAME_MENU_BAR_LINES (f) > 0) f 13885 src/xdisp.c XSETFRAME (Vmenu_updating_frame, f); f 13886 src/xdisp.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 13890 src/xdisp.c if (FRAME_WINDOW_P (f)) f 13895 src/xdisp.c if (f == SELECTED_FRAME ()) f 13897 src/xdisp.c set_frame_menubar (f, false); f 13953 src/xdisp.c struct frame *f = XFRAME (frame); f 13955 src/xdisp.c if (!FRAME_PARENT_FRAME (f) && !FRAME_TOOLTIP_P (f)) f 13958 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 13992 src/xdisp.c update_tab_bar (struct frame *f, bool save_match_data) f 13997 src/xdisp.c if (FRAME_WINDOW_P (f) && WINDOWP (f->tab_bar_window)) { f 13998 src/xdisp.c if (WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window)) > 0) f 14003 src/xdisp.c if (FRAME_TAB_BAR_LINES (f) > 0) f 14011 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 14058 src/xdisp.c XSETFRAME (frame, f); f 14060 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 14065 src/xdisp.c = tab_bar_items (Fcopy_sequence (f->tab_bar_items), f 14069 src/xdisp.c if (new_n_tab_bar != f->n_tab_bar_items f 14070 src/xdisp.c || NILP (Fequal (new_tab_bar, f->tab_bar_items))) f 14076 src/xdisp.c fset_tab_bar_items (f, new_tab_bar); f 14077 src/xdisp.c f->n_tab_bar_items = new_n_tab_bar; f 14101 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 14108 src/xdisp.c if (FRAME_W32_P (f)) f 14112 src/xdisp.c if (FRAME_X_P (f)) f 14117 src/xdisp.c if (FRAME_NS_P (f)) f 14122 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 14123 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14124 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14127 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14129 src/xdisp.c if (FRAME_WINDOW_P (f)) f 14134 src/xdisp.c tab_w = XWINDOW (f->tab_bar_window); f 14138 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14145 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14146 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14149 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 14158 src/xdisp.c for (i = 0; i < FRAME_TAB_BAR_LINES (f); ++i) f 14168 src/xdisp.c items = it.f->tab_bar_items; f 14170 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) f 14198 src/xdisp.c build_desired_tab_bar_string (struct frame *f) f 14206 src/xdisp.c fset_desired_tab_bar_string (f, build_string ("")); f 14211 src/xdisp.c for (i = 0; i < f->n_tab_bar_items; ++i) f 14214 src/xdisp.c AREF (f->tab_bar_items, i * TAB_BAR_ITEM_NSLOTS + (IDX)) f 14227 src/xdisp.c f->desired_tab_bar_string = f 14228 src/xdisp.c concat2 (f->desired_tab_bar_string, caption); f 14342 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 14374 src/xdisp.c tab_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 14376 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14389 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, f 14390 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14408 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 14420 src/xdisp.c struct frame *f = decode_any_frame (frame); f 14422 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 14423 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tab_bar_window)) > 0) f 14425 src/xdisp.c update_tab_bar (f, true); f 14426 src/xdisp.c if (f->n_tab_bar_items) f 14428 src/xdisp.c build_desired_tab_bar_string (f); f 14429 src/xdisp.c height = tab_bar_height (f, NULL, !NILP (pixelwise)); f 14440 src/xdisp.c redisplay_tab_bar (struct frame *f) f 14446 src/xdisp.c f->tab_bar_redisplayed = true; f 14452 src/xdisp.c if (!WINDOWP (f->tab_bar_window) f 14453 src/xdisp.c || (w = XWINDOW (f->tab_bar_window), f 14461 src/xdisp.c f->tab_bar_resized = true; f 14467 src/xdisp.c build_desired_tab_bar_string (f); f 14470 src/xdisp.c int new_height = tab_bar_height (f, &new_nrows, true); f 14472 src/xdisp.c if (f->n_tab_bar_rows == 0) f 14474 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14481 src/xdisp.c if (new_nrows > f->n_tab_bar_rows f 14483 src/xdisp.c && !f->minimize_tab_bar_window_p f 14488 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14489 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14490 src/xdisp.c if (new_nrows != f->n_tab_bar_rows) f 14491 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14493 src/xdisp.c f->fonts_changed = true; f 14503 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, f 14504 src/xdisp.c STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14516 src/xdisp.c if (f->n_tab_bar_rows > 0) f 14523 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 14525 src/xdisp.c border = f->border_width; f 14531 src/xdisp.c rows = f->n_tab_bar_rows; f 14576 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 14590 src/xdisp.c int new_height = tab_bar_height (f, &nrows, true); f 14593 src/xdisp.c && !f->minimize_tab_bar_window_p) f 14596 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14600 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14601 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14604 src/xdisp.c f->n_tab_bar_rows = nrows; f 14605 src/xdisp.c f->fonts_changed = true; f 14612 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14623 src/xdisp.c tab_bar_item_info (struct frame *f, struct glyph *glyph, f 14632 src/xdisp.c charpos = min (SCHARS (f->current_tab_bar_string), glyph->charpos); f 14639 src/xdisp.c Qmenu_item, f->current_tab_bar_string); f 14648 src/xdisp.c f->current_tab_bar_string)); f 14674 src/xdisp.c get_tab_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 14677 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14687 src/xdisp.c if (!tab_bar_item_info (f, *glyph, prop_idx, close_p)) f 14690 src/xdisp.c return *prop_idx == f->last_tab_bar_item ? 0 : 1; f 14700 src/xdisp.c get_tab_bar_item_kbd (struct frame *f, int x, int y, int *prop_idx, f 14707 src/xdisp.c w = XWINDOW (f->tab_bar_window); f 14720 src/xdisp.c if (!tab_bar_item_info (f, glyph, prop_idx, close_p)) f 14723 src/xdisp.c return *prop_idx == f->last_tab_bar_item ? 0 : 1; f 14733 src/xdisp.c handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14736 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14737 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14745 src/xdisp.c ts = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14750 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14759 src/xdisp.c f->last_tab_bar_item = prop_idx; /* record the pressed tab */ f 14766 src/xdisp.c f->last_tab_bar_item = -1; f 14770 src/xdisp.c Fcopy_sequence (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION)); f 14773 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_KEY), f 14774 src/xdisp.c AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_BINDING), f 14789 src/xdisp.c note_tab_bar_highlight (struct frame *f, int x, int y) f 14791 src/xdisp.c Lisp_Object window = f->tab_bar_window; f 14793 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14812 src/xdisp.c rc = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14831 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 14833 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 14835 src/xdisp.c if (mouse_down_p && f->last_tab_bar_item != prop_idx f 14836 src/xdisp.c && f->last_tab_bar_item != -1) f 14841 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14872 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); f 14874 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION); f 14881 src/xdisp.c tty_get_tab_bar_item (struct frame *f, int x, int *prop_idx, bool *close_p) f 14885 src/xdisp.c for (int i = 0; i < f->n_tab_bar_items; i++) f 14887 src/xdisp.c Lisp_Object caption = AREF (f->tab_bar_items, (i * TAB_BAR_ITEM_NSLOTS f 14911 src/xdisp.c tty_handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14915 src/xdisp.c if (y < FRAME_MENU_BAR_LINES (f) f 14916 src/xdisp.c || y >= FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f)) f 14922 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &close_p); f 14927 src/xdisp.c if (NILP (AREF (f->tab_bar_items, f 14932 src/xdisp.c f->last_tab_bar_item = prop_idx; f 14934 src/xdisp.c f->last_tab_bar_item = -1; f 14939 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14941 src/xdisp.c AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14965 src/xdisp.c update_tool_bar (struct frame *f, bool save_match_data) f 14968 src/xdisp.c bool do_update = FRAME_EXTERNAL_TOOL_BAR (f); f 14970 src/xdisp.c bool do_update = (WINDOWP (f->tool_bar_window) f 14971 src/xdisp.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window)) > 0); f 14979 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 15024 src/xdisp.c XSETFRAME (frame, f); f 15026 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 15030 src/xdisp.c = tool_bar_items (Fcopy_sequence (f->tool_bar_items), f 15034 src/xdisp.c if (new_n_tool_bar != f->n_tool_bar_items f 15035 src/xdisp.c || NILP (Fequal (new_tool_bar, f->tool_bar_items))) f 15041 src/xdisp.c fset_tool_bar_items (f, new_tool_bar); f 15042 src/xdisp.c f->n_tool_bar_items = new_n_tool_bar; f 15063 src/xdisp.c build_desired_tool_bar_string (struct frame *f) f 15074 src/xdisp.c size = (STRINGP (f->desired_tool_bar_string) f 15075 src/xdisp.c ? SCHARS (f->desired_tool_bar_string) f 15079 src/xdisp.c size_needed = f->n_tool_bar_items; f 15083 src/xdisp.c if (size < size_needed || NILP (f->desired_tool_bar_string)) f 15086 src/xdisp.c fset_desired_tool_bar_string (f, make_uninit_string (size_needed)); f 15091 src/xdisp.c props, f->desired_tool_bar_string); f 15094 src/xdisp.c f->tool_bar_wraps_p = false; f 15099 src/xdisp.c for (i = 0; i < f->n_tool_bar_items; ++i) f 15102 src/xdisp.c AREF (f->tool_bar_items, i * TOOL_BAR_ITEM_NSLOTS + (IDX)) f 15112 src/xdisp.c SSET (f->desired_tool_bar_string, i, '\n'); f 15116 src/xdisp.c f->tool_bar_wraps_p = true; f 15121 src/xdisp.c SSET (f->desired_tool_bar_string, i, ' '); f 15226 src/xdisp.c if (i + 1 == f->n_tool_bar_items) f 15227 src/xdisp.c end = SCHARS (f->desired_tool_bar_string); f 15231 src/xdisp.c props, f->desired_tool_bar_string); f 15243 src/xdisp.c SSET (f->desired_tool_bar_string, i, ' '); f 15366 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 15399 src/xdisp.c tool_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 15401 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15414 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15415 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15433 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 15448 src/xdisp.c struct frame *f = decode_any_frame (frame); f 15450 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 15451 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tool_bar_window)) > 0) f 15453 src/xdisp.c update_tool_bar (f, true); f 15454 src/xdisp.c if (f->n_tool_bar_items) f 15456 src/xdisp.c build_desired_tool_bar_string (f); f 15457 src/xdisp.c height = tool_bar_height (f, NULL, !NILP (pixelwise)); f 15470 src/xdisp.c redisplay_tool_bar (struct frame *f) f 15478 src/xdisp.c f->tool_bar_redisplayed = true; f 15484 src/xdisp.c if (!WINDOWP (f->tool_bar_window) f 15485 src/xdisp.c || (w = XWINDOW (f->tool_bar_window), f 15493 src/xdisp.c f->tool_bar_resized = true; f 15506 src/xdisp.c build_desired_tool_bar_string (f); f 15507 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15508 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15518 src/xdisp.c if (f->n_tool_bar_rows == 0) f 15520 src/xdisp.c int new_height = tool_bar_height (f, &f->n_tool_bar_rows, true); f 15524 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15525 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15529 src/xdisp.c f->fonts_changed = true; f 15537 src/xdisp.c resize_frame_windows (f, FRAME_INNER_HEIGHT (f), false); f 15545 src/xdisp.c if (f->n_tool_bar_rows > 0) f 15552 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 15554 src/xdisp.c border = f->border_width; f 15560 src/xdisp.c rows = f->n_tool_bar_rows; f 15562 src/xdisp.c if (f->tool_bar_wraps_p) f 15624 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 15638 src/xdisp.c int new_height = tool_bar_height (f, &nrows, true); f 15641 src/xdisp.c && !f->minimize_tool_bar_window_p) f 15644 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15648 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15649 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15652 src/xdisp.c f->n_tool_bar_rows = nrows; f 15653 src/xdisp.c f->fonts_changed = true; f 15660 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15671 src/xdisp.c tool_bar_item_info (struct frame *f, struct glyph *glyph, int *prop_idx) f 15679 src/xdisp.c charpos = min (SCHARS (f->current_tool_bar_string), glyph->charpos); f 15686 src/xdisp.c Qmenu_item, f->current_tool_bar_string); f 15705 src/xdisp.c get_tool_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 15708 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15709 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15719 src/xdisp.c if (!tool_bar_item_info (f, *glyph, prop_idx)) f 15723 src/xdisp.c if (EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 15744 src/xdisp.c handle_tool_bar_click_with_device (struct frame *f, int x, int y, bool down_p, f 15747 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15748 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15762 src/xdisp.c ts = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15771 src/xdisp.c prop_idx = f->last_tool_bar_item; f 15774 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15783 src/xdisp.c f->last_tool_bar_item = prop_idx; f 15795 src/xdisp.c key = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_KEY); f 15797 src/xdisp.c XSETFRAME (frame, f); f 15804 src/xdisp.c f->last_tool_bar_item = -1; f 15809 src/xdisp.c handle_tool_bar_click (struct frame *f, int x, int y, bool down_p, f 15812 src/xdisp.c handle_tool_bar_click_with_device (f, x, y, down_p, modifiers, Qt); f 15820 src/xdisp.c note_tool_bar_highlight (struct frame *f, int x, int y) f 15822 src/xdisp.c Lisp_Object window = f->tool_bar_window; f 15824 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 15825 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15844 src/xdisp.c rc = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15859 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 15861 src/xdisp.c if (mouse_down_p && f->last_tool_bar_item != prop_idx) f 15867 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15898 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_HELP); f 15900 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_CAPTION); f 16016 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 16017 src/xdisp.c x_offset -= (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); f 16113 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) f 16114 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); f 16126 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); f 16140 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) f 16141 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); f 16146 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); f 16157 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) f 16159 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); f 16169 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16172 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16181 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16184 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16517 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 16759 src/xdisp.c struct frame *f = XFRAME (frame); f 16761 src/xdisp.c if (FRAME_REDISPLAY_P (f)) f 16765 src/xdisp.c if (f->fonts_changed) f 16767 src/xdisp.c adjust_frame_glyphs (f); f 16774 src/xdisp.c SET_FRAME_GARBAGED (f); f 16775 src/xdisp.c f->fonts_changed = false; f 16779 src/xdisp.c if (f != sf && f->cursor_type_changed) f 16780 src/xdisp.c fset_redisplay (f); f 16782 src/xdisp.c clear_desired_matrices (f); f 17154 src/xdisp.c struct frame *f = XFRAME (frame); f 17158 src/xdisp.c if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 17159 src/xdisp.c && !EQ (FRAME_TTY (f)->top_frame, frame)) f 17163 src/xdisp.c if (FRAME_WINDOW_P (f) || FRAME_TERMCAP_P (f) || f == sf) f 17167 src/xdisp.c = f->redisplay || !REDISPLAY_SOME_P (); f 17168 src/xdisp.c bool f_redisplay_flag = f->redisplay; f 17173 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17178 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 17179 src/xdisp.c FRAME_TERMINAL (f)->condemn_scroll_bars_hook (f); f 17181 src/xdisp.c if (FRAME_REDISPLAY_P (f) && !FRAME_OBSCURED_P (f)) f 17190 src/xdisp.c f->inhibit_clear_image_cache = true; f 17191 src/xdisp.c redisplay_windows (FRAME_ROOT_WINDOW (f)); f 17196 src/xdisp.c f->redisplay = true; f 17199 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17204 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 17205 src/xdisp.c FRAME_TERMINAL (f)->judge_scroll_bars_hook (f); f 17207 src/xdisp.c if (FRAME_REDISPLAY_P (f) && !FRAME_OBSCURED_P (f)) f 17210 src/xdisp.c if (f->fonts_changed) f 17212 src/xdisp.c adjust_frame_glyphs (f); f 17216 src/xdisp.c SET_FRAME_GARBAGED (f); f 17217 src/xdisp.c f->fonts_changed = false; f 17222 src/xdisp.c if (!f->already_hscrolled_p) f 17224 src/xdisp.c f->already_hscrolled_p = true; f 17226 src/xdisp.c && hscroll_windows (f->root_window)) f 17244 src/xdisp.c if (!f_redisplay_flag && f->redisplay) f 17255 src/xdisp.c if (FRAME_GARBAGED_P (f) f 17260 src/xdisp.c if (FRAME_WINDOW_P (f) f 17261 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 17262 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 17271 src/xdisp.c pending |= update_frame (f, false, false); f 17279 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 17281 src/xdisp.c fset_redisplay (f); f 17282 src/xdisp.c f->garbaged = false; f 17285 src/xdisp.c f->cursor_type_changed = false; f 17286 src/xdisp.c f->updated_p = true; f 17287 src/xdisp.c f->inhibit_clear_image_cache = false; f 17301 src/xdisp.c struct frame *f = XFRAME (frame); f 17302 src/xdisp.c if (f->updated_p) f 17304 src/xdisp.c f->redisplay = false; f 17305 src/xdisp.c f->garbaged = false; f 17306 src/xdisp.c mark_window_display_accurate (f->root_window, true); f 17307 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 17308 src/xdisp.c FRAME_TERMINAL (f)->frame_up_to_date_hook (f); f 17756 src/xdisp.c struct frame *f = XFRAME (frame); f 17757 src/xdisp.c if (FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) f 17758 src/xdisp.c (*FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) (f); f 19133 src/xdisp.c struct frame *f = XFRAME (w->frame); f 19163 src/xdisp.c && !f->cursor_type_changed f 19652 src/xdisp.c struct frame *f = XFRAME (w->frame); f 19665 src/xdisp.c FRAME_WINDOW_P (f)) > 0) f 19735 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20250 src/xdisp.c if (f->fonts_changed) f 20344 src/xdisp.c if (f->fonts_changed) f 20553 src/xdisp.c || f->cursor_type_changed f 20568 src/xdisp.c if (f->fonts_changed) f 20692 src/xdisp.c = WINDOW_TOTAL_LINES (w) * FRAME_LINE_HEIGHT (f) / frame_line_height; f 20726 src/xdisp.c && !FRAME_WINDOW_P (f) f 20749 src/xdisp.c f->fonts_changed = true; f 20760 src/xdisp.c f->fonts_changed = true; f 20771 src/xdisp.c f->fonts_changed = true; f 20777 src/xdisp.c if (f->fonts_changed) f 20792 src/xdisp.c && EQ (FRAME_SELECTED_WINDOW (f), window)) f 20796 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20799 src/xdisp.c redisplay_menu_p = FRAME_EXTERNAL_MENU_BAR (f); f 20801 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20805 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20811 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20813 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 20814 src/xdisp.c && (FRAME_TAB_BAR_LINES (f) > 0 f 20816 src/xdisp.c && redisplay_tab_bar (f)) f 20820 src/xdisp.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 20821 src/xdisp.c update_frame_tool_bar (f); f 20823 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 20824 src/xdisp.c && (FRAME_TOOL_BAR_LINES (f) > 0 f 20826 src/xdisp.c && redisplay_tool_bar (f)) f 20832 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20838 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20844 src/xdisp.c if (FRAME_WINDOW_P (f) f 20849 src/xdisp.c update_begin (f); f 20859 src/xdisp.c update_end (f); f 20886 src/xdisp.c if (FRAME_TERMINAL (f)->redeem_scroll_bar_hook) f 20887 src/xdisp.c (*FRAME_TERMINAL (f)->redeem_scroll_bar_hook) (w); f 20934 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20955 src/xdisp.c if (f->fonts_changed f 21040 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21057 src/xdisp.c !FRAME_WINDOW_P (f) f 21061 src/xdisp.c || f->cursor_type_changed f 21130 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21209 src/xdisp.c update_begin (f); f 21211 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21212 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21214 src/xdisp.c update_end (f); f 21346 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21377 src/xdisp.c update_begin (f); f 21379 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21380 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21382 src/xdisp.c update_end (f); f 21667 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21674 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 21682 src/xdisp.c frame_row = f->current_matrix->rows + WINDOW_TOP_EDGE_LINE (w); f 21827 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21869 src/xdisp.c if (windows_or_buffers_changed || f->cursor_type_changed) f 21887 src/xdisp.c if (!FRAME_WINDOW_P (f) f 21888 src/xdisp.c && (!FRAME_LINE_INS_DEL_OK (f) f 22102 src/xdisp.c if (FRAME_W32_P (f) && w32_use_visible_system_caret) f 22229 src/xdisp.c && !f->fonts_changed f 22234 src/xdisp.c && !f->fonts_changed f 22242 src/xdisp.c if (f->fonts_changed) f 22356 src/xdisp.c update_begin (f); f 22358 src/xdisp.c if (FRAME_WINDOW_P (f)) f 22362 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 22363 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 22386 src/xdisp.c set_terminal_window (f, end); f 22390 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22391 src/xdisp.c ins_del_lines (f, end - dvpos, -dvpos); f 22395 src/xdisp.c ins_del_lines (f, from, dvpos); f 22401 src/xdisp.c set_terminal_window (f, end); f 22407 src/xdisp.c ins_del_lines (f, from + dvpos, dvpos); f 22411 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22412 src/xdisp.c ins_del_lines (f, end + dvpos, -dvpos); f 22415 src/xdisp.c set_terminal_window (f, 0); f 22418 src/xdisp.c update_end (f); f 22443 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 22506 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 22879 src/xdisp.c struct frame *f = XFRAME (selected_frame); f 22881 src/xdisp.c if (f->current_matrix) f 22882 src/xdisp.c dump_glyph_matrix (f->current_matrix, 1); f 23031 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 23068 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); f 23098 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) f 23124 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23169 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 23192 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23216 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 23284 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23294 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); f 23404 src/xdisp.c || FRAME_WINDOW_P (it->f) f 23409 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); f 23412 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23415 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); f 23418 src/xdisp.c : FRAME_FONT (it->f)); f 23443 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23451 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23452 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); f 23461 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) f 23470 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23476 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); f 23484 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 23580 src/xdisp.c struct frame *f = it->f; f 23588 src/xdisp.c + (!FRAME_WINDOW_P (f) f 23605 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); f 23620 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p f 23624 src/xdisp.c if (FRAME_WINDOW_P (f) f 23630 src/xdisp.c && face->background == FRAME_BACKGROUND_PIXEL (f) f 23649 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); f 23653 src/xdisp.c if (FRAME_WINDOW_P (f)) f 23666 src/xdisp.c || (WINDOWP (f->tab_bar_window) f 23667 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) f 23669 src/xdisp.c || (WINDOWP (f->tool_bar_window) f 23670 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) f 23693 src/xdisp.c : FRAME_FONT (f)); f 23785 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (f); f 23861 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 23932 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 24039 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); f 24223 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 24235 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); f 24550 src/xdisp.c + (SCROLL_LIMIT + 10) * FRAME_LINE_HEIGHT (tem_it.f), f 24729 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); f 24942 src/xdisp.c it->f->fonts_changed = true; f 24963 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) f 24964 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); f 24983 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) f 24990 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); f 24996 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); f 25137 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) f 25279 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25288 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25366 src/xdisp.c && !FRAME_WINDOW_P (it->f)) f 25425 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) f 25458 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25515 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); f 25601 src/xdisp.c && ((FRAME_WINDOW_P (it->f) f 25614 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25648 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 25710 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25817 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) f 26418 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; f 26439 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); f 26451 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) f 26486 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) f 26688 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 26695 src/xdisp.c if (FRAME_W32_P (f)) f 26699 src/xdisp.c if (FRAME_PGTK_P (f)) f 26704 src/xdisp.c if (FRAME_X_P (f)) f 26709 src/xdisp.c if (FRAME_NS_P (f)) f 26714 src/xdisp.c if (FRAME_HAIKU_P (f)) f 26719 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 26720 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); f 26722 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 26725 src/xdisp.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); f 26727 src/xdisp.c if (FRAME_WINDOW_P (f)) f 26731 src/xdisp.c menu_window = XWINDOW (f->menu_bar_window); f 26741 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, f 26744 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 26753 src/xdisp.c for (i = 0; i < FRAME_MENU_BAR_LINES (f); ++i) f 26763 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); f 26819 src/xdisp.c if (FRAME_WINDOW_P (it.f) && menu_window) f 26831 src/xdisp.c FRAME_MENU_BAR_HEIGHT (it.f) += delta_height; f 26832 src/xdisp.c adjust_frame_size (it.f, -1, -1, 3, false, Qmenu_bar_lines); f 26895 src/xdisp.c struct frame *f = SELECTED_FRAME (); f 26896 src/xdisp.c struct window *w = XWINDOW (f->selected_window); f 26900 src/xdisp.c eassert (FRAME_TERMCAP_P (f)); f 26907 src/xdisp.c if (y >= f->desired_matrix->nrows) f 26910 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); f 26912 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; f 26915 src/xdisp.c deep_copy_glyph_row (row, f->current_matrix->rows + y); f 26924 src/xdisp.c eassert (x < f->desired_matrix->matrix_w); f 26941 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); f 26947 src/xdisp.c item_len, 0, FRAME_COLS (f) - 1, -1); f 26951 src/xdisp.c FRAME_COLS (f) - 1, -1); f 26955 src/xdisp.c width, 0, FRAME_COLS (f) - 1, -1); f 27155 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 27223 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); f 27657 src/xdisp.c if (!FRAME_LIVE_P (it->f)) f 27962 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 28230 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 28231 src/xdisp.c char *decode_mode_spec_buf = f->decode_mode_spec_buffer; f 28237 src/xdisp.c int width = min (field_width, FRAME_MESSAGE_BUF_SIZE (f)); f 28308 src/xdisp.c for (i = 0; i < FRAME_MESSAGE_BUF_SIZE (f) - 1; ++i) f 28353 src/xdisp.c if (!NILP (f->title)) f 28354 src/xdisp.c return SSDATA (f->title); f 28355 src/xdisp.c if (f->explicit_name || ! FRAME_WINDOW_P (f)) f 28356 src/xdisp.c return SSDATA (f->name); f 28638 src/xdisp.c if (! FRAME_WINDOW_P (f)) f 28643 src/xdisp.c (FRAME_KEYBOARD_CODING (f)->id), f 28646 src/xdisp.c (FRAME_TERMINAL_CODING (f)->id), f 28876 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 29018 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 29071 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 29254 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); f 29273 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) f 29274 src/xdisp.c : FRAME_RES_Y (it->f)); f 29287 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29294 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); f 29373 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) f 29374 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29389 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 29392 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); f 29393 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); f 29398 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) f 29508 src/xdisp.c # define ALLOCATE_HDC(hdc, f) \ f 29511 src/xdisp.c HDC hdc = get_frame_dc ((f)) f 29512 src/xdisp.c # define RELEASE_HDC(hdc, f) \ f 29513 src/xdisp.c release_frame_dc ((f), (hdc)); \ f 29516 src/xdisp.c # define ALLOCATE_HDC(hdc, f) f 29517 src/xdisp.c # define RELEASE_HDC(hdc, f) f 29530 src/xdisp.c s->f = XFRAME (w->frame); f 29603 src/xdisp.c get_char_face_and_encoding (struct frame *f, int c, int face_id, f 29606 src/xdisp.c struct face *face = FACE_FROM_ID (f, face_id); f 29625 src/xdisp.c prepare_face_for_display (f, face); f 29637 src/xdisp.c get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph, f 29644 src/xdisp.c face = FACE_FROM_ID (f, glyph->face_id); f 29647 src/xdisp.c prepare_face_for_display (f, face); f 29721 src/xdisp.c int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c, f 29724 src/xdisp.c face = get_char_face_and_encoding (s->f, c, face_id, f 29754 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29755 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29757 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29759 src/xdisp.c s->face = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, c, -1, Qnil)); f 29760 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29774 src/xdisp.c s->font = FRAME_FONT (s->f); f 29807 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29808 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29810 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29811 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29814 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29871 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29872 src/xdisp.c s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); f 29879 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29880 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29882 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29883 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29919 src/xdisp.c eassert (s->f == XFRAME (s->w->frame)); f 29937 src/xdisp.c s->face = get_glyph_face_and_encoding (s->f, glyph, f 29954 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29955 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29957 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29959 src/xdisp.c = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, f 29961 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29971 src/xdisp.c s->font = FRAME_FONT (s->f); f 29988 src/xdisp.c s->img = IMAGE_FROM_ID (s->f, s->first_glyph->u.img_id); f 29991 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 29999 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30000 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30002 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30003 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30017 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 30025 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30026 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30028 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30029 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30054 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 30062 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30063 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30065 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30066 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30159 src/xdisp.c gui_get_glyph_overhangs (struct glyph *glyph, struct frame *f, int *left, int *right) f 30166 src/xdisp.c struct face *face = get_glyph_face_and_encoding (f, glyph, &char2b); f 30249 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30304 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30346 src/xdisp.c if (FRAME_WINDOW_P (s->f) f 30357 src/xdisp.c struct face *regular_face = FACE_FROM_ID (s->f, g->face_id); f 30394 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30395 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30406 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30407 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30532 src/xdisp.c struct face *base_face = FACE_FROM_ID (f, face_id); \ f 30708 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 30710 src/xdisp.c ALLOCATE_HDC (hdc, f); f 30754 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 30780 src/xdisp.c if (FRAME_RIF (f)->compute_glyph_string_overhangs) f 30782 src/xdisp.c FRAME_RIF (f)->compute_glyph_string_overhangs (s); f 30912 src/xdisp.c FRAME_RIF (f)->draw_glyph_string (s); f 30940 src/xdisp.c RELEASE_HDC (hdc, f); f 30960 src/xdisp.c struct face *prev_face = FACE_FROM_ID (s->f, g->face_id); f 30972 src/xdisp.c return FACE_FROM_ID (s->f, g[1].face_id)->font; f 30981 src/xdisp.c if (!it->f->fonts_changed \ f 30986 src/xdisp.c it->f->fonts_changed = true; \ f 31186 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 31188 src/xdisp.c prepare_face_for_display (it->f, face); f 31200 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); f 31202 src/xdisp.c prepare_image_for_display (it->f, img); f 31360 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 31362 src/xdisp.c prepare_face_for_display (it->f, face); f 31599 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31601 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 31602 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 31603 src/xdisp.c prepare_face_for_display (it->f, face); f 31638 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) f 31639 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, f 31697 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); f 31704 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31747 src/xdisp.c width -= FRAME_WINDOW_P (it->f); f 31761 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31777 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31842 src/xdisp.c if (FRAME_WINDOW_P (temp_it.f) f 31859 src/xdisp.c struct face *face = FACE_FROM_ID (temp_it.f, temp_it.face_id); f 31861 src/xdisp.c face->font ? face->font : FRAME_FONT (temp_it.f); f 31898 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f)); f 31951 src/xdisp.c font = FRAME_FONT (it->f); f 31952 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); f 31963 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); f 31964 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 31969 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32102 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id)->ascii_face; f 32103 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 32138 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); f 32139 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 32140 src/xdisp.c prepare_face_for_display (it->f, face); f 32261 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32281 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32618 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32675 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32686 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, f 32739 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); f 32740 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); f 32747 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, f 32910 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 33032 src/xdisp.c struct frame *f; f 33041 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 33061 src/xdisp.c FRAME_RIF (f)->shift_glyphs_for_insert (f, frame_x, frame_y, shifted_region_width, f 33089 src/xdisp.c struct frame *f; f 33095 src/xdisp.c f = XFRAME (w->frame); f 33096 src/xdisp.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 33146 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, from_x, from_y, f 33216 src/xdisp.c set_frame_cursor_types (struct frame *f, Lisp_Object arg) f 33221 src/xdisp.c FRAME_DESIRED_CURSOR (f) = get_specified_cursor_type (arg, &width); f 33222 src/xdisp.c FRAME_CURSOR_WIDTH (f) = width; f 33229 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) f 33231 src/xdisp.c FRAME_BLINK_OFF_CURSOR_WIDTH (f) = width; f 33234 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; f 33237 src/xdisp.c f->cursor_type_changed = true; f 33258 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33268 src/xdisp.c && FRAME_HAS_MINIBUF_P (f) f 33269 src/xdisp.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 33275 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 33276 src/xdisp.c return FRAME_DESIRED_CURSOR (f); f 33287 src/xdisp.c else if (w != XWINDOW (f->selected_window) f 33288 src/xdisp.c || f != FRAME_DISPLAY_INFO (f)->highlight_frame) f 33307 src/xdisp.c cursor_type = FRAME_DESIRED_CURSOR (f); f 33308 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 33341 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 33375 src/xdisp.c if (FRAME_BLINK_OFF_CURSOR (f) != DEFAULT_CURSOR) f 33377 src/xdisp.c *width = FRAME_BLINK_OFF_CURSOR_WIDTH (f); f 33378 src/xdisp.c return FRAME_BLINK_OFF_CURSOR (f); f 33578 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33579 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 33689 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, x, y, width, cursor_row->visible_height); f 33713 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33724 src/xdisp.c if (! FRAME_REDISPLAY_P (f) f 33750 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 33806 src/xdisp.c FRAME_RIF (f)->draw_window_cursor (w, glyph_row, x, y, f 33871 src/xdisp.c gui_update_cursor (struct frame *f, bool on_p) f 33873 src/xdisp.c update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); f 33922 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 33925 src/xdisp.c if (f != hlinfo->mouse_face_mouse_frame) f 34027 src/xdisp.c if (FRAME_WINDOW_P (f) f 34056 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (track_mouse)) f 34060 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tool_bar_window) f 34062 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tab_bar_window)) f 34063 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->text_cursor); f 34066 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->hand_cursor); f 34068 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->nontext_cursor); f 35003 src/xdisp.c define_frame_cursor1 (struct frame *f, Emacs_Cursor cursor, Lisp_Object pointer) f 35006 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 35017 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35019 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35021 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 35023 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35025 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35028 src/xdisp.c cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 35031 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hourglass_cursor; f 35033 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->modeline_cursor; f 35035 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35039 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, cursor); f 35054 src/xdisp.c struct frame *f = XFRAME (w->frame); f 35055 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35185 src/xdisp.c if (FRAME_WINDOW_P (f)) f 35193 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35209 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35213 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35216 src/xdisp.c && !FRAME_HAS_MINIBUF_P (f) f 35226 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35228 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35375 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 35388 src/xdisp.c note_mouse_highlight (struct frame *f, int x, int y) f 35390 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35410 src/xdisp.c if (!f->glyphs_initialized_p f 35411 src/xdisp.c || f->pointer_invisible) f 35416 src/xdisp.c hlinfo->mouse_face_mouse_frame = f; f 35422 src/xdisp.c window = window_from_coordinates (f, x, y, &part, true, true); f 35439 src/xdisp.c if (!FRAME_WINDOW_P (f) f 35440 src/xdisp.c && (y >= FRAME_MENU_BAR_LINES (f) f 35441 src/xdisp.c && y < FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f))) f 35445 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &ignore); f 35451 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, f 35462 src/xdisp.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 35463 src/xdisp.c && !NILP (get_frame_param (f, Qdrag_internal_border))) f 35465 src/xdisp.c enum internal_border_part part = frame_internal_border_part (f, x, y); f 35470 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35472 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35475 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->left_edge_cursor; f 35478 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_left_corner_cursor; f 35481 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_edge_cursor; f 35484 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_right_corner_cursor; f 35487 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->right_edge_cursor; f 35490 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_right_corner_cursor; f 35493 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_edge_cursor; f 35496 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_left_corner_cursor; f 35500 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35501 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35504 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35524 src/xdisp.c if (EQ (window, f->tab_bar_window)) f 35526 src/xdisp.c note_tab_bar_highlight (f, x, y); f 35529 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35541 src/xdisp.c f->last_tab_bar_item = -1; f 35548 src/xdisp.c if (EQ (window, f->tool_bar_window)) f 35550 src/xdisp.c note_tool_bar_highlight (f, x, y); f 35564 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35576 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35582 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35591 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35596 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35600 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35602 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 35628 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 35689 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 35693 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35968 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 36015 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 36043 src/xdisp.c cancel_mouse_face (struct frame *f) f 36046 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 36049 src/xdisp.c if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f) f 36232 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 36242 src/xdisp.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f) || FRAME_RIGHT_DIVIDER_WIDTH (f)) f 36259 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); f 36273 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x0, y0, y1); f 36283 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 36302 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36309 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 36334 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36346 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36362 src/xdisp.c SET_FRAME_GARBAGED (f); f 36508 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36511 src/xdisp.c while (w && !FRAME_GARBAGED_P (f)) f 36532 src/xdisp.c expose_frame (struct frame *f, int x, int y, int w, int h) f 36537 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 36546 src/xdisp.c if (FRAME_FACE_CACHE (f) == NULL f 36547 src/xdisp.c || FRAME_FACE_CACHE (f)->used < BASIC_FACE_ID_SENTINEL) f 36556 src/xdisp.c r.width = FRAME_TEXT_WIDTH (f); f 36557 src/xdisp.c r.height = FRAME_TEXT_HEIGHT (f); f 36569 src/xdisp.c mouse_face_overwritten_p = expose_window_tree (XWINDOW (f->root_window), &r); f 36571 src/xdisp.c if (WINDOWP (f->tab_bar_window)) f 36573 src/xdisp.c |= expose_window (XWINDOW (f->tab_bar_window), &r); f 36576 src/xdisp.c if (WINDOWP (f->tool_bar_window)) f 36578 src/xdisp.c |= expose_window (XWINDOW (f->tool_bar_window), &r); f 36582 src/xdisp.c if (WINDOWP (f->menu_bar_window)) f 36584 src/xdisp.c |= expose_window (XWINDOW (f->menu_bar_window), &r); f 36600 src/xdisp.c if (mouse_face_overwritten_p && !FRAME_GARBAGED_P (f)) f 36602 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 36603 src/xdisp.c if (f == hlinfo->mouse_face_mouse_frame) f 36608 src/xdisp.c note_mouse_highlight (f, mouse_x, mouse_y); f 37825 src/xdisp.c struct frame *f = XFRAME (frame); f 37826 src/xdisp.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 37830 src/xdisp.c r->top_line = FRAME_TOP_MARGIN (f); f 37831 src/xdisp.c r->pixel_top = r->top_line * FRAME_LINE_HEIGHT (f); f 37832 src/xdisp.c r->total_cols = FRAME_COLS (f); f 37833 src/xdisp.c r->pixel_width = r->total_cols * FRAME_COLUMN_WIDTH (f); f 37834 src/xdisp.c r->total_lines = FRAME_TOTAL_LINES (f) - 1 - FRAME_MARGINS (f); f 37835 src/xdisp.c r->pixel_height = r->total_lines * FRAME_LINE_HEIGHT (f); f 37837 src/xdisp.c m->top_line = FRAME_TOTAL_LINES (f) - 1; f 37838 src/xdisp.c m->pixel_top = m->top_line * FRAME_LINE_HEIGHT (f); f 37839 src/xdisp.c m->total_cols = FRAME_COLS (f); f 37840 src/xdisp.c m->pixel_width = m->total_cols * FRAME_COLUMN_WIDTH (f); f 37842 src/xdisp.c m->pixel_height = m->total_lines * FRAME_LINE_HEIGHT (f); f 37888 src/xdisp.c struct frame *f = XFRAME (frame); f 37890 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37891 src/xdisp.c && FRAME_RIF (f)->show_hourglass) f 37892 src/xdisp.c FRAME_RIF (f)->show_hourglass (f); f 37944 src/xdisp.c struct frame *f = XFRAME (frame); f 37946 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37947 src/xdisp.c && FRAME_RIF (f)->hide_hourglass) f 37948 src/xdisp.c FRAME_RIF (f)->hide_hourglass (f); f 37951 src/xdisp.c else if (!FRAME_W32_P (f)) f 38038 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 38039 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 38041 src/xdisp.c struct face *mouse_face = FACE_FROM_ID (f, hlinfo->mouse_face_face_id); f 38068 src/xdisp.c FACE_FROM_ID (f, start->face_id), f 482 src/xfaces.c x_free_colors (struct frame *f, unsigned long *pixels, int npixels) f 486 src/xfaces.c if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 491 src/xfaces.c XFreeColors (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), f 525 src/xfaces.c x_create_gc (struct frame *f, unsigned long mask, XGCValues *xgcv) f 529 src/xfaces.c gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), mask, xgcv); f 539 src/xfaces.c x_free_gc (struct frame *f, GC gc) f 543 src/xfaces.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 552 src/xfaces.c x_create_gc (struct frame *f, unsigned long mask, Emacs_GC *egc) f 556 src/xfaces.c gc = XCreateGC (NULL, FRAME_W32_WINDOW (f), mask, egc); f 566 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 578 src/xfaces.c x_create_gc (struct frame *f, f 588 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 598 src/xfaces.c x_create_gc (struct frame *f, f 608 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 619 src/xfaces.c x_create_gc (struct frame *f, unsigned long value_mask, f 640 src/xfaces.c x_free_gc (struct frame *f, struct android_gc *gc) f 654 src/xfaces.c init_frame_faces (struct frame *f) f 657 src/xfaces.c if (FRAME_FACE_CACHE (f) == NULL) f 658 src/xfaces.c FRAME_FACE_CACHE (f) = make_face_cache (f); f 662 src/xfaces.c if (FRAME_WINDOW_P (f)) f 667 src/xfaces.c if (FRAME_IMAGE_CACHE (f) == NULL) f 668 src/xfaces.c FRAME_IMAGE_CACHE (f) = make_image_cache (); f 669 src/xfaces.c ++FRAME_IMAGE_CACHE (f)->refcount; f 674 src/xfaces.c if (!realize_basic_faces (f)) f 683 src/xfaces.c free_frame_faces (struct frame *f) f 685 src/xfaces.c struct face_cache *face_cache = FRAME_FACE_CACHE (f); f 690 src/xfaces.c FRAME_FACE_CACHE (f) = NULL; f 694 src/xfaces.c if (FRAME_WINDOW_P (f)) f 696 src/xfaces.c struct image_cache *image_cache = FRAME_IMAGE_CACHE (f); f 701 src/xfaces.c free_image_cache (f); f 714 src/xfaces.c recompute_basic_faces (struct frame *f) f 716 src/xfaces.c if (FRAME_FACE_CACHE (f)) f 719 src/xfaces.c if (!realize_basic_faces (f)) f 744 src/xfaces.c struct frame *f = XFRAME (frame); f 745 src/xfaces.c if (FRAME_WINDOW_P (f) f 746 src/xfaces.c && FRAME_DISPLAY_INFO (f)->n_fonts > CLEAR_FONT_TABLE_NFONTS f 747 src/xfaces.c && !f->inhibit_clear_image_cache) f 749 src/xfaces.c clear_font_cache (f); f 759 src/xfaces.c struct frame *f = XFRAME (frame); f 760 src/xfaces.c if (FRAME_WINDOW_P (f)) f 761 src/xfaces.c clear_face_gcs (FRAME_FACE_CACHE (f)); f 843 src/xfaces.c load_pixmap (struct frame *f, Lisp_Object name) f 864 src/xfaces.c bitmap_id = image_create_bitmap_from_data (f, SSDATA (bits), f 870 src/xfaces.c bitmap_id = image_create_bitmap_from_file (f, name); f 1054 src/xfaces.c tty_lookup_color (struct frame *f, Lisp_Object color, Emacs_Color *tty_color, f 1062 src/xfaces.c XSETFRAME (frame, f); f 1115 src/xfaces.c tty_defined_color (struct frame *f, const char *color_name, f 1127 src/xfaces.c status = tty_lookup_color (f, build_string (color_name), color_def, NULL); f 1147 src/xfaces.c tty_color_name (struct frame *f, int idx) f 1154 src/xfaces.c XSETFRAME (frame, f); f 1163 src/xfaces.c if (FRAME_MSDOS_P (f) && !inhibit_window_system) f 1182 src/xfaces.c face_color_gray_p (struct frame *f, const char *color_name) f 1187 src/xfaces.c if (FRAME_TERMINAL (f)->defined_color_hook f 1188 src/xfaces.c (f, color_name, &color, false, true)) f 1209 src/xfaces.c face_color_supported_p (struct frame *f, const char *color_name, f 1215 src/xfaces.c XSETFRAME (frame, f); f 1218 src/xfaces.c FRAME_WINDOW_P (f) f 1223 src/xfaces.c && face_color_gray_p (f, color_name)) f 1225 src/xfaces.c && face_color_gray_p (f, color_name))) f 1228 src/xfaces.c tty_defined_color (f, color_name, ¬_used, false, false); f 1261 src/xfaces.c load_color2 (struct frame *f, struct face *face, Lisp_Object name, f 1274 src/xfaces.c if (!FRAME_TERMINAL (f)->defined_color_hook f 1275 src/xfaces.c (f, SSDATA (name), color, true, true)) f 1283 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1288 src/xfaces.c color->pixel = FRAME_BACKGROUND_PIXEL (f); f 1293 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1298 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1303 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1308 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1333 src/xfaces.c load_color (struct frame *f, struct face *face, Lisp_Object name, f 1337 src/xfaces.c return load_color2 (f, face, name, target_index, &color); f 1349 src/xfaces.c load_face_colors (struct frame *f, struct face *face, f 1371 src/xfaces.c if (!face_color_supported_p (f, SSDATA (bg), false) f 1374 src/xfaces.c image_destroy_bitmap (f, face->stipple); f 1375 src/xfaces.c face->stipple = load_pixmap (f, Vface_default_stipple); f 1378 src/xfaces.c face->background = load_color2 (f, face, bg, LFACE_BACKGROUND_INDEX, &xbg); f 1379 src/xfaces.c face->foreground = load_color2 (f, face, fg, LFACE_FOREGROUND_INDEX, &xfg); f 1386 src/xfaces.c face->background = load_color (f, face, dfg, LFACE_BACKGROUND_INDEX); f 1388 src/xfaces.c face->foreground = load_color (f, face, dfg, LFACE_FOREGROUND_INDEX); f 1397 src/xfaces.c unload_color (struct frame *f, unsigned long pixel) f 1402 src/xfaces.c x_free_colors (f, &pixel, 1); f 1410 src/xfaces.c free_face_colors (struct frame *f, struct face *face) f 1421 src/xfaces.c x_free_colors (f, &face->foreground, 1); f 1427 src/xfaces.c x_free_colors (f, &face->background, 1); f 1434 src/xfaces.c x_free_colors (f, &face->underline_color, 1); f 1441 src/xfaces.c x_free_colors (f, &face->overline_color, 1); f 1448 src/xfaces.c x_free_colors (f, &face->strike_through_color, 1); f 1455 src/xfaces.c x_free_colors (f, &face->box_color, 1); f 1566 src/xfaces.c struct frame *f = decode_live_frame (frame); f 1578 src/xfaces.c list = font_list_entities (f, font_spec); f 1615 src/xfaces.c FRAME_RES (f)); f 1666 src/xfaces.c struct frame *f; f 1680 src/xfaces.c f = decode_live_frame (frame); f 1681 src/xfaces.c if (! FRAME_WINDOW_P (f)) f 1684 src/xfaces.c f = NULL; f 1689 src/xfaces.c XSETFRAME (frame, f); f 1699 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, false); f 1700 src/xfaces.c struct face *width_face = FACE_FROM_ID_OR_NULL (f, face_id); f 1709 src/xfaces.c size = FRAME_FONT (f)->pixel_size; f 1710 src/xfaces.c avgwidth = FRAME_FONT (f)->average_width; f 1746 src/xfaces.c Lisp_Object fontsets = list_fontsets (f, pattern, size); f 2024 src/xfaces.c lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, f 2029 src/xfaces.c if (f) f 2030 src/xfaces.c lface = Fgethash (face_name, f->face_hash_table, Qnil); f 2050 src/xfaces.c lface_from_face_name (struct frame *f, Lisp_Object face_name, bool signal_p) f 2053 src/xfaces.c return lface_from_face_name_no_resolve (f, face_name, signal_p); f 2064 src/xfaces.c get_lface_attributes_no_remap (struct frame *f, Lisp_Object face_name, f 2070 src/xfaces.c lface = lface_from_face_name_no_resolve (f, face_name, signal_p); f 2089 src/xfaces.c struct frame *f, Lisp_Object face_name, f 2094 src/xfaces.c eassert (w == NULL || WINDOW_XFRAME (w) == f); f 2114 src/xfaces.c return merge_face_ref (w, f, XCDR (face_remapping), attrs, f 2121 src/xfaces.c return get_lface_attributes_no_remap (f, face_name, attrs, signal_p); f 2150 src/xfaces.c set_lface_from_font (struct frame *f, Lisp_Object lface, f 2176 src/xfaces.c int pt = PIXEL_TO_POINT (font->pixel_size * 10, FRAME_RES (f)); f 2257 src/xfaces.c struct frame *f, const Lisp_Object *from, Lisp_Object *to, f 2270 src/xfaces.c merge_face_ref (w, f, from[LFACE_INHERIT_INDEX], f 2334 src/xfaces.c face_inherited_attr (struct window *w, struct frame *f, f 2356 src/xfaces.c ok = get_lface_attributes (w, f, XCAR (tail), inherited_attrs, f 2360 src/xfaces.c attr_val = face_inherited_attr (w, f, inherited_attrs, attr_idx, f 2370 src/xfaces.c ok = get_lface_attributes (w, f, parent_face, inherited_attrs, f 2388 src/xfaces.c struct frame *f, Lisp_Object face_name, Lisp_Object *to, f 2399 src/xfaces.c bool ok = get_lface_attributes (w, f, face_name, from, false, f 2403 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 2416 src/xfaces.c && (val = face_inherited_attr (w, f, from, attr_filter, f 2419 src/xfaces.c merge_face_vectors (w, f, from, to, named_merge_points); f 2581 src/xfaces.c struct frame *f, Lisp_Object face_ref, Lisp_Object *to, f 2673 src/xfaces.c if (!merge_face_ref (w, f, parent_face, scratch_attrs, f 2855 src/xfaces.c if (! merge_face_ref (w, f, value, to, f 2859 src/xfaces.c else if (! merge_face_ref (w, f, value, to, f 2891 src/xfaces.c ok = merge_face_ref (w, f, next, to, err_msgs, f 2894 src/xfaces.c if (! merge_face_ref (w, f, first, to, err_msgs, f 2902 src/xfaces.c ok = merge_named_face (w, f, face_ref, to, named_merge_points, f 2922 src/xfaces.c struct frame *f; f 2931 src/xfaces.c f = XFRAME (frame); f 2932 src/xfaces.c lface = lface_from_face_name (f, face, false); f 2935 src/xfaces.c f = NULL, lface = Qnil; f 2958 src/xfaces.c else if (f == NULL) f 2963 src/xfaces.c if (f) f 2969 src/xfaces.c Fputhash (face, lface, f->face_hash_table); f 2985 src/xfaces.c if (f) f 2987 src/xfaces.c f->face_change = true; f 2988 src/xfaces.c fset_redisplay (f); f 3041 src/xfaces.c struct frame *f; f 3052 src/xfaces.c f = NULL; f 3063 src/xfaces.c f = XFRAME (new_frame); f 3075 src/xfaces.c if (f) f 3077 src/xfaces.c f->face_change = true; f 3078 src/xfaces.c fset_redisplay (f); f 3115 src/xfaces.c struct frame *f; f 3136 src/xfaces.c f = NULL; f 3154 src/xfaces.c f = XFRAME (frame); f 3156 src/xfaces.c lface = lface_from_face_name (f, face, false); f 3517 src/xfaces.c if (EQ (frame, Qt) || FRAME_WINDOW_P (f)) f 3576 src/xfaces.c if (EQ (frame, Qt) || FRAME_WINDOW_P (f)) f 3647 src/xfaces.c f->face_change = true; f 3648 src/xfaces.c fset_redisplay (f); f 3716 src/xfaces.c struct frame *f = XFRAME (frame); f 3717 src/xfaces.c if (FRAME_FACE_CACHE (f) == NULL) f 3718 src/xfaces.c FRAME_FACE_CACHE (f) = make_face_cache (f); f 3719 src/xfaces.c FRAME_FACE_CACHE (f)->menu_face_changed_p = true; f 3749 src/xfaces.c update_face_from_frame_parameter (struct frame *f, Lisp_Object param, f 3758 src/xfaces.c if (XFIXNAT (Fhash_table_count (f->face_hash_table)) == 0) f 3764 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3767 src/xfaces.c realize_basic_faces (f); f 3776 src/xfaces.c XSETFRAME (frame, f); f 3780 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3783 src/xfaces.c realize_basic_faces (f); f 3789 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3796 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3803 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3817 src/xfaces.c f->face_change = true; f 3818 src/xfaces.c fset_redisplay (f); f 3831 src/xfaces.c struct frame *f = XFRAME (frame); f 3834 src/xfaces.c if (FRAME_WINDOW_P (f) f 3842 src/xfaces.c font = font_load_for_lface (f, XVECTOR (lface)->contents, font); f 3847 src/xfaces.c f->default_face_done_p = false; f 3853 src/xfaces.c gui_set_frame_parameters_1 (f, arg, true); f 3866 src/xfaces.c struct frame *f; f 3870 src/xfaces.c f = decode_live_frame (frame); f 3872 src/xfaces.c value = gui_display_get_resource (FRAME_DISPLAY_INFO (f), f 3962 src/xfaces.c x_update_menu_appearance (struct frame *f) f 3964 src/xfaces.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3968 src/xfaces.c && (rdb = XrmGetDatabase (FRAME_X_DISPLAY (f)), f 3974 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, Qmenu, true); f 3975 src/xfaces.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); f 4055 src/xfaces.c if (changed_p && f->output_data.x->menubar_widget) f 4056 src/xfaces.c free_frame_menubar (f); f 4115 src/xfaces.c struct frame *f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4116 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, symbol, true), value = Qnil; f 4200 src/xfaces.c struct frame *f = XFRAME (frame); f 4204 src/xfaces.c local_lface = lface_from_face_name (f, face, false); f 4225 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 4228 src/xfaces.c c ? FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) : NULL; f 4238 src/xfaces.c merge_face_vectors (NULL, f, lvec, attrs, 0); f 4255 src/xfaces.c if (FRAME_WINDOW_P (f)) f 4260 src/xfaces.c gui_set_frame_parameters_1 (f, arg, true); f 4320 src/xfaces.c struct frame *f = decode_live_frame (frame); f 4321 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, true); f 4322 src/xfaces.c struct face *fface = FACE_FROM_ID_OR_NULL (f, face_id); f 4327 src/xfaces.c if (FRAME_WINDOW_P (f) && !NILP (character)) f 4330 src/xfaces.c face_id = FACE_FOR_CHAR (f, fface, XFIXNUM (character), -1, Qnil); f 4331 src/xfaces.c fface = FACE_FROM_ID_OR_NULL (f, face_id); f 4337 src/xfaces.c return build_string (FRAME_MSDOS_P (f) f 4339 src/xfaces.c : FRAME_W32_P (f) ? "w32term" f 4405 src/xfaces.c struct frame *f; f 4412 src/xfaces.c f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4414 src/xfaces.c lface1 = lface_from_face_name (f, face1, true); f 4415 src/xfaces.c lface2 = lface_from_face_name (f, face2, true); f 4430 src/xfaces.c struct frame *f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4431 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, face, true); f 4537 src/xfaces.c free_realized_face (struct frame *f, struct face *face) f 4542 src/xfaces.c if (FRAME_WINDOW_P (f)) f 4546 src/xfaces.c free_face_fontset (f, face); f 4551 src/xfaces.c font_done_for_face (f, face); f 4552 src/xfaces.c x_free_gc (f, face->gc); f 4557 src/xfaces.c free_face_colors (f, face); f 4559 src/xfaces.c image_destroy_bitmap (f, face->stipple); f 4574 src/xfaces.c prepare_face_for_display (struct frame *f, struct face *face) f 4579 src/xfaces.c eassert (FRAME_WINDOW_P (f)); f 4603 src/xfaces.c egc.stipple = image_bitmap_pixmap (f, face->stipple); f 4607 src/xfaces.c face->gc = x_create_gc (f, mask, &egc); f 4609 src/xfaces.c font_prepare_for_face (f, face); f 4655 src/xfaces.c struct frame *f = decode_live_frame (frame); f 4660 src/xfaces.c && FRAME_TERMINAL (f)->defined_color_hook (f, f 4668 src/xfaces.c && FRAME_TERMINAL (f)->defined_color_hook (f, f 4691 src/xfaces.c make_face_cache (struct frame *f) f 4699 src/xfaces.c c->f = f; f 4713 src/xfaces.c if (c && FRAME_WINDOW_P (c->f)) f 4723 src/xfaces.c font_done_for_face (c->f, face); f 4724 src/xfaces.c x_free_gc (c->f, face->gc); f 4745 src/xfaces.c struct frame *f = c->f; f 4754 src/xfaces.c free_realized_face (f, c->faces_by_id[i]); f 4768 src/xfaces.c if (WINDOWP (f->root_window)) f 4770 src/xfaces.c clear_current_matrices (f); f 4771 src/xfaces.c fset_redisplay (f); f 4915 src/xfaces.c lookup_face (struct frame *f, Lisp_Object *attr) f 4917 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 4945 src/xfaces.c eassert (face == FACE_FROM_ID_OR_NULL (f, face->id)); f 4959 src/xfaces.c face_for_font (struct frame *f, Lisp_Object font_object, f 4962 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 4984 src/xfaces.c face = realize_non_ascii_face (f, font_object, base_face); f 4996 src/xfaces.c lookup_named_face (struct window *w, struct frame *f, f 5001 src/xfaces.c struct face *default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 5005 src/xfaces.c if (!realize_basic_faces (f)) f 5007 src/xfaces.c default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5010 src/xfaces.c if (! get_lface_attributes (w, f, symbol, symbol_attrs, signal_p, 0)) f 5021 src/xfaces.c merge_face_vectors (w, f, symbol_attrs, attrs, 0); f 5023 src/xfaces.c return lookup_face (f, attrs); f 5034 src/xfaces.c lookup_basic_face (struct window *w, struct frame *f, int face_id) f 5077 src/xfaces.c remapped_face_id = lookup_named_face (w, f, name, false); f 5090 src/xfaces.c smaller_face (struct frame *f, int face_id, int steps) f 5101 src/xfaces.c if (FRAME_TERMCAP_P (f)) f 5108 src/xfaces.c face = FACE_FROM_ID (f, face_id); f 5122 src/xfaces.c new_face_id = lookup_face (f, attrs); f 5123 src/xfaces.c new_face = FACE_FROM_ID (f, new_face_id); f 5149 src/xfaces.c face_with_height (struct frame *f, int face_id, int height) f 5155 src/xfaces.c if (FRAME_TERMCAP_P (f) f 5159 src/xfaces.c face = FACE_FROM_ID (f, face_id); f 5163 src/xfaces.c face_id = lookup_face (f, attrs); f 5179 src/xfaces.c struct frame *f, Lisp_Object symbol, int face_id, f 5186 src/xfaces.c if (!get_lface_attributes (w, f, symbol, symbol_attrs, signal_p, 0)) f 5189 src/xfaces.c default_face = FACE_FROM_ID (f, face_id); f 5198 src/xfaces.c merge_face_vectors (w, f, symbol_attrs, attrs, 0); f 5199 src/xfaces.c return lookup_face (f, attrs); f 5240 src/xfaces.c gui_supports_face_attributes_p (struct frame *f, f 5307 src/xfaces.c merge_face_vectors (NULL, f, attrs, merged_attrs, 0); f 5309 src/xfaces.c face_id = lookup_face (f, merged_attrs); f 5310 src/xfaces.c face = FACE_FROM_ID_OR_NULL (f, face_id); f 5361 src/xfaces.c tty_supports_face_attributes_p (struct frame *f, f 5470 src/xfaces.c else if (! tty_lookup_color (f, fg, &fg_tty_color, &fg_std_color)) f 5479 src/xfaces.c if (tty_lookup_color (f, def_fg, &def_fg_color, 0) f 5494 src/xfaces.c else if (! tty_lookup_color (f, bg, &bg_tty_color, &bg_std_color)) f 5503 src/xfaces.c if (tty_lookup_color (f, def_bg, &def_bg_color, 0) f 5527 src/xfaces.c return tty_capable_p (FRAME_TTY (f), test_caps); f 5559 src/xfaces.c struct frame *f; f 5587 src/xfaces.c f = XFRAME (frame); f 5591 src/xfaces.c merge_face_ref (NULL, f, attributes, attrs, true, NULL, 0); f 5593 src/xfaces.c def_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 5596 src/xfaces.c if (! realize_basic_faces (f)) f 5598 src/xfaces.c def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5602 src/xfaces.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5603 src/xfaces.c supports = tty_supports_face_attributes_p (f, attrs, def_face); f 5606 src/xfaces.c supports = gui_supports_face_attributes_p (f, attrs, def_face); f 5765 src/xfaces.c realize_basic_faces (struct frame *f) f 5773 src/xfaces.c if (realize_default_face (f)) f 5775 src/xfaces.c realize_named_face (f, Qmode_line_active, MODE_LINE_ACTIVE_FACE_ID); f 5776 src/xfaces.c realize_named_face (f, Qmode_line_inactive, MODE_LINE_INACTIVE_FACE_ID); f 5777 src/xfaces.c realize_named_face (f, Qtool_bar, TOOL_BAR_FACE_ID); f 5778 src/xfaces.c realize_named_face (f, Qfringe, FRINGE_FACE_ID); f 5779 src/xfaces.c realize_named_face (f, Qheader_line, HEADER_LINE_FACE_ID); f 5780 src/xfaces.c realize_named_face (f, Qscroll_bar, SCROLL_BAR_FACE_ID); f 5781 src/xfaces.c realize_named_face (f, Qborder, BORDER_FACE_ID); f 5782 src/xfaces.c realize_named_face (f, Qcursor, CURSOR_FACE_ID); f 5783 src/xfaces.c realize_named_face (f, Qmouse, MOUSE_FACE_ID); f 5784 src/xfaces.c realize_named_face (f, Qmenu, MENU_FACE_ID); f 5785 src/xfaces.c realize_named_face (f, Qvertical_border, VERTICAL_BORDER_FACE_ID); f 5786 src/xfaces.c realize_named_face (f, Qwindow_divider, WINDOW_DIVIDER_FACE_ID); f 5787 src/xfaces.c realize_named_face (f, Qwindow_divider_first_pixel, f 5789 src/xfaces.c realize_named_face (f, Qwindow_divider_last_pixel, f 5791 src/xfaces.c realize_named_face (f, Qinternal_border, INTERNAL_BORDER_FACE_ID); f 5792 src/xfaces.c realize_named_face (f, Qchild_frame_border, CHILD_FRAME_BORDER_FACE_ID); f 5793 src/xfaces.c realize_named_face (f, Qtab_bar, TAB_BAR_FACE_ID); f 5794 src/xfaces.c realize_named_face (f, Qtab_line, TAB_LINE_FACE_ID); f 5797 src/xfaces.c if (FRAME_FACE_CACHE (f)->menu_face_changed_p) f 5799 src/xfaces.c FRAME_FACE_CACHE (f)->menu_face_changed_p = false; f 5801 src/xfaces.c if (FRAME_WINDOW_P (f)) f 5802 src/xfaces.c x_update_menu_appearance (f); f 5819 src/xfaces.c realize_default_face (struct frame *f) f 5821 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 5826 src/xfaces.c lface = lface_from_face_name (f, Qdefault, false); f 5830 src/xfaces.c XSETFRAME (frame, f); f 5835 src/xfaces.c if (FRAME_WINDOW_P (f)) f 5839 src/xfaces.c XSETFONT (font_object, FRAME_FONT (f)); f 5840 src/xfaces.c set_lface_from_font (f, lface, font_object, f->default_face_done_p); f 5841 src/xfaces.c ASET (lface, LFACE_FONTSET_INDEX, fontset_name (FRAME_FONTSET (f))); f 5842 src/xfaces.c f->default_face_done_p = true; f 5846 src/xfaces.c if (!FRAME_WINDOW_P (f)) f 5882 src/xfaces.c Lisp_Object color = Fassq (Qforeground_color, f->param_alist); f 5886 src/xfaces.c else if (FRAME_WINDOW_P (f)) f 5888 src/xfaces.c else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5898 src/xfaces.c Lisp_Object color = Fassq (Qbackground_color, f->param_alist); f 5901 src/xfaces.c else if (FRAME_WINDOW_P (f)) f 5903 src/xfaces.c else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5921 src/xfaces.c if (FRAME_X_P (f) && face->font != FRAME_FONT (f)) f 5932 src/xfaces.c gui_set_font (f, LFACE_FONT (lface), Qnil); f 5944 src/xfaces.c realize_named_face (struct frame *f, Lisp_Object symbol, int id) f 5946 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 5947 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, symbol, false); f 5952 src/xfaces.c get_lface_attributes_no_remap (f, Qdefault, attrs, true); f 5960 src/xfaces.c XSETFRAME (frame, f); f 5965 src/xfaces.c get_lface_attributes_no_remap (f, symbol, symbol_attrs, true); f 5974 src/xfaces.c merge_face_vectors (NULL, f, symbol_attrs, attrs, 0); f 6001 src/xfaces.c free_realized_face (cache->f, former_face); f 6002 src/xfaces.c SET_FRAME_GARBAGED (cache->f); f 6005 src/xfaces.c if (FRAME_WINDOW_P (cache->f)) f 6007 src/xfaces.c else if (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)) f 6009 src/xfaces.c else if (FRAME_INITIAL_P (cache->f)) f 6030 src/xfaces.c realize_non_ascii_face (struct frame *f, Lisp_Object font_object, f 6033 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 6086 src/xfaces.c struct frame *f; f 6089 src/xfaces.c eassert (FRAME_WINDOW_P (cache->f)); f 6095 src/xfaces.c f = cache->f; f 6099 src/xfaces.c default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 6105 src/xfaces.c = make_fontset_for_ascii_face (f, default_face->fontset, face); f 6169 src/xfaces.c attrs[LFACE_FONT_INDEX] = font_load_for_lface (f, attrs, spec); f 6174 src/xfaces.c face->fontset = make_fontset_for_ascii_face (f, fontset, face); f 6190 src/xfaces.c load_face_colors (f, face, attrs); f 6198 src/xfaces.c face->box_color = load_color (f, face, attrs[LFACE_BOX_INDEX], f 6261 src/xfaces.c face->box_color = load_color (f, face, value, f 6302 src/xfaces.c = load_color (f, face, underline, f 6349 src/xfaces.c face->underline_color = load_color (f, face, value, f 6374 src/xfaces.c = load_color (f, face, attrs[LFACE_OVERLINE_INDEX], f 6389 src/xfaces.c = load_color (f, face, attrs[LFACE_STRIKE_THROUGH_INDEX], f 6402 src/xfaces.c face->stipple = load_pixmap (f, stipple); f 6415 src/xfaces.c map_tty_color (struct frame *f, struct face *face, f 6430 src/xfaces.c XSETFRAME (frame, f); f 6446 src/xfaces.c pixel = load_color (f, face, color, idx); f 6451 src/xfaces.c if (FRAME_MSDOS_P (f)) f 6457 src/xfaces.c pixel = FRAME_FOREGROUND_PIXEL (f); f 6459 src/xfaces.c pixel = FRAME_BACKGROUND_PIXEL (f); f 6460 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); f 6466 src/xfaces.c pixel = FRAME_BACKGROUND_PIXEL (f); f 6468 src/xfaces.c pixel = FRAME_FOREGROUND_PIXEL (f); f 6469 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); f 6494 src/xfaces.c struct frame *f = cache->f; f 6497 src/xfaces.c eassert (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)); f 6502 src/xfaces.c face->font_name = FRAME_MSDOS_P (cache->f) ? "ms-dos" : "tty"; f 6520 src/xfaces.c map_tty_color (f, face, LFACE_FOREGROUND_INDEX, &face_colors_defaulted); f 6521 src/xfaces.c map_tty_color (f, face, LFACE_BACKGROUND_INDEX, &face_colors_defaulted); f 6569 src/xfaces.c compute_char_face (struct frame *f, int ch, Lisp_Object prop) f 6578 src/xfaces.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6579 src/xfaces.c face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); f 6584 src/xfaces.c struct face *default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6586 src/xfaces.c merge_face_ref (NULL, f, prop, attrs, true, NULL, 0); f 6587 src/xfaces.c face_id = lookup_face (f, attrs); f 6622 src/xfaces.c struct frame *f = XFRAME (w->frame); f 6667 src/xfaces.c face_id = lookup_basic_face (w, f, DEFAULT_FACE_ID); f 6669 src/xfaces.c default_face = FACE_FROM_ID_OR_NULL (f, face_id); f 6675 src/xfaces.c if (FRAME_FACE_CACHE (f)->used == 0) f 6676 src/xfaces.c recompute_basic_faces (f); f 6677 src/xfaces.c default_face = FACE_FROM_ID (f, f 6678 src/xfaces.c lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6695 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6714 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6731 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6745 src/xfaces.c return lookup_face (f, attrs); f 6760 src/xfaces.c struct frame *f = XFRAME (w->frame); f 6792 src/xfaces.c default_face = FACE_FROM_ID (f, lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6797 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6803 src/xfaces.c return lookup_face (f, attrs); f 6836 src/xfaces.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 6860 src/xfaces.c base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); f 6862 src/xfaces.c base_face = FACE_FROM_ID (f, lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6870 src/xfaces.c || !FRAME_WINDOW_P (f) f 6879 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6883 src/xfaces.c return lookup_face (f, attrs); f 6906 src/xfaces.c struct frame *f = WINDOW_XFRAME (w); f 6908 src/xfaces.c struct face *base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); f 6920 src/xfaces.c face_id = lookup_derived_face (w, f, face_name, base_face_id, 0); f 6929 src/xfaces.c if (!merge_named_face (w, f, face_name, attrs, NULL, 0)) f 6937 src/xfaces.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 6944 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6953 src/xfaces.c merge_face_vectors (w, f, lface_attrs, attrs, 0); f 6956 src/xfaces.c merge_face_vectors (w, f, face->lface, attrs, 0); f 6961 src/xfaces.c return lookup_face (f, attrs); f 165 src/xfns.c static void set_up_x_back_buffer (struct frame *f); f 201 src/xfns.c struct frame *f = decode_window_system_frame (object); f 202 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 218 src/xfns.c x_real_pos_and_offsets (struct frame *f, f 232 src/xfns.c struct frame *parent_frame = FRAME_PARENT_FRAME (f); f 235 src/xfns.c : f->output_data.x->parent_desc); f 236 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 261 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 276 src/xfns.c win = FRAME_OUTER_WINDOW (f); f 355 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 356 src/xfns.c FRAME_X_WINDOW (f), f 360 src/xfns.c if (FRAME_X_WINDOW (f) != FRAME_OUTER_WINDOW (f)) f 364 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 365 src/xfns.c FRAME_OUTER_WINDOW (f), f 371 src/xfns.c FRAME_OUTER_WINDOW (f)); f 374 src/xfns.c && dpyinfo->root_window == f->output_data.x->parent_desc) f 431 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 432 src/xfns.c FRAME_X_WINDOW (f), f 444 src/xfns.c if (FRAME_X_WINDOW (f) == FRAME_OUTER_WINDOW (f)) f 469 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 470 src/xfns.c FRAME_OUTER_WINDOW (f), f 488 src/xfns.c if (!parent_frame && dpyinfo->root_window == f->output_data.x->parent_desc) f 563 src/xfns.c XGetGeometry (dpy, FRAME_OUTER_WINDOW (f), f 596 src/xfns.c x_real_positions (struct frame *f, int *xptr, int *yptr) f 598 src/xfns.c x_real_pos_and_offsets (f, NULL, NULL, NULL, NULL, NULL, NULL, xptr, yptr, f 606 src/xfns.c x_relative_mouse_position (struct frame *f, int *x, int *y) f 611 src/xfns.c eassert (FRAME_X_P (f)); f 615 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), f 616 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 634 src/xfns.c XTranslateCoordinates (FRAME_X_DISPLAY (f), f 637 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 638 src/xfns.c FRAME_X_WINDOW (f), f 652 src/xfns.c gamma_correct (struct frame *f, XColor *color) f 654 src/xfns.c if (f->gamma) f 656 src/xfns.c color->red = pow (color->red / 65535.0, f->gamma) * 65535.0 + 0.5; f 657 src/xfns.c color->green = pow (color->green / 65535.0, f->gamma) * 65535.0 + 0.5; f 658 src/xfns.c color->blue = pow (color->blue / 65535.0, f->gamma) * 65535.0 + 0.5; f 669 src/xfns.c x_defined_color (struct frame *f, const char *color_name, f 673 src/xfns.c Colormap cmap = FRAME_X_COLORMAP (f); f 677 src/xfns.c success_p = xg_check_special_colors (f, color_name, color); f 680 src/xfns.c success_p = x_parse_color (f, color_name, color) != 0; f 682 src/xfns.c success_p = x_alloc_nearest_color (f, cmap, color); f 694 src/xfns.c x_decode_color (struct frame *f, Lisp_Object color_name, int mono_color) f 704 src/xfns.c return BLACK_PIX_DEFAULT (f); f 706 src/xfns.c return WHITE_PIX_DEFAULT (f); f 710 src/xfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 715 src/xfns.c if (x_defined_color (f, SSDATA (color_name), &cdef, true, false)) f 728 src/xfns.c x_set_wait_for_wm (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 730 src/xfns.c f->output_data.x->wait_for_wm = !NILP (new_value); f 734 src/xfns.c x_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 736 src/xfns.c unsigned long opaque_region[] = {0, 0, FRAME_PIXEL_WIDTH (f), f 737 src/xfns.c FRAME_PIXEL_HEIGHT (f)}; f 743 src/xfns.c gui_set_alpha_background (f, arg, oldval); f 749 src/xfns.c if (f->alpha_background < 1.0 f 750 src/xfns.c && !FRAME_DISPLAY_INFO (f)->alpha_bits f 751 src/xfns.c && !FRAME_CHECK_XR_VERSION (f, 0, 2)) f 752 src/xfns.c f->alpha_background = 1.0; f 754 src/xfns.c f->alpha_background = 1.0; f 761 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 762 src/xfns.c gtk_widget_set_app_paintable (FRAME_GTK_OUTER_WIDGET (f), f 763 src/xfns.c f->alpha_background != 1.0); f 766 src/xfns.c if (!FRAME_DISPLAY_INFO (f)->alpha_bits) f 769 src/xfns.c if (f->alpha_background != 1.0) f 771 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 772 src/xfns.c FRAME_X_WINDOW (f), f 773 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 779 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 780 src/xfns.c FRAME_X_WINDOW (f), f 781 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 787 src/xfns.c if (FRAME_TOOLTIP_P (f)) f 788 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 789 src/xfns.c FRAME_X_WINDOW (f), f 790 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 795 src/xfns.c object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); f 799 src/xfns.c class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); f 806 src/xfns.c x_set_tool_bar_position (struct frame *f, f 819 src/xfns.c xg_change_toolbar_position (f, new_value); f 820 src/xfns.c fset_tool_bar_position (f, new_value); f 830 src/xfns.c fset_tool_bar_position (f, new_value); f 837 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_position); f 838 src/xfns.c adjust_frame_glyphs (f); f 839 src/xfns.c SET_FRAME_GARBAGED (f); f 841 src/xfns.c if (FRAME_X_WINDOW (f)) f 842 src/xfns.c x_clear_under_internal_border (f); f 853 src/xfns.c x_set_inhibit_double_buffering (struct frame *f, f 859 src/xfns.c if (FRAME_X_WINDOW (f) && !EQ (new_value, old_value)) f 862 src/xfns.c was_double_buffered = FRAME_X_DOUBLE_BUFFERED_P (f); f 868 src/xfns.c font_drop_xrender_surfaces (f); f 869 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) && !want_double_buffering) f 870 src/xfns.c tear_down_x_back_buffer (f); f 871 src/xfns.c else if (!FRAME_X_DOUBLE_BUFFERED_P (f) && want_double_buffering) f 872 src/xfns.c set_up_x_back_buffer (f); f 873 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) != was_double_buffered) f 875 src/xfns.c SET_FRAME_GARBAGED (f); f 876 src/xfns.c font_drop_xrender_surfaces (f); f 896 src/xfns.c x_set_undecorated (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 900 src/xfns.c FRAME_UNDECORATED (f) = NILP (new_value) ? false : true; f 902 src/xfns.c xg_set_undecorated (f, new_value); f 904 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 906 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 917 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 955 src/xfns.c x_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 967 src/xfns.c store_frame_param (f, Qparent_frame, old_value); f 971 src/xfns.c if (p != FRAME_PARENT_FRAME (f)) f 975 src/xfns.c (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 976 src/xfns.c p ? FRAME_X_WINDOW (p) : FRAME_DISPLAY_INFO (f)->root_window, f 977 src/xfns.c f->left_pos, f->top_pos); f 981 src/xfns.c (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)), f 988 src/xfns.c window = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 999 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 1000 src/xfns.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 1004 src/xfns.c fset_parent_frame (f, new_value); f 1020 src/xfns.c x_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1025 src/xfns.c xg_set_no_focus_on_map (f, new_value); f 1027 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1028 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_net_wm_user_time; f 1031 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, f 1035 src/xfns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 1052 src/xfns.c x_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1057 src/xfns.c xg_set_no_accept_focus (f, new_value); f 1063 src/xfns.c XtSetValues (f->output_data.x->widget, al, 1); f 1065 src/xfns.c Window window = FRAME_X_WINDOW (f); f 1067 src/xfns.c f->output_data.x->wm_hints.input = NILP (new_value) ? True : False; f 1068 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 1071 src/xfns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 1085 src/xfns.c x_set_override_redirect (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1091 src/xfns.c x_make_frame_invisible (f); f 1094 src/xfns.c xg_set_override_redirect (f, new_value); f 1099 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 1102 src/xfns.c x_make_frame_visible (f); f 1103 src/xfns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 1114 src/xfns.c xg_set_icon (struct frame *f, Lisp_Object file) f 1132 src/xfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1148 src/xfns.c xg_set_icon_from_xpm_data (struct frame *f, const char **data) f 1155 src/xfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf); f 1171 src/xfns.c x_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1173 src/xfns.c struct x_output *x = f->output_data.x; f 1176 src/xfns.c fg = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1177 src/xfns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 1178 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 1180 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1182 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1190 src/xfns.c unload_color (f, x->cursor_pixel); f 1191 src/xfns.c x->cursor_pixel = x_copy_color (f, fg); f 1197 src/xfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 1199 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1200 src/xfns.c redraw_frame (f); f 1203 src/xfns.c unload_color (f, old_fg); f 1207 src/xfns.c x_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1209 src/xfns.c struct x_output *x = f->output_data.x; f 1212 src/xfns.c bg = x_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 1213 src/xfns.c unload_color (f, FRAME_BACKGROUND_PIXEL (f)); f 1214 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 1216 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1218 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1223 src/xfns.c XSetWindowBackground (dpy, FRAME_X_WINDOW (f), bg); f 1227 src/xfns.c xg_set_background_color (f, bg); f 1231 src/xfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 1233 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1234 src/xfns.c redraw_frame (f); f 1337 src/xfns.c x_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1339 src/xfns.c struct x_output *x = f->output_data.x; f 1340 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1342 src/xfns.c unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1343 src/xfns.c unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f); f 1349 src/xfns.c x_free_colors (f, &pixel, 1); f 1350 src/xfns.c pixel = x_copy_color (f, FRAME_FOREGROUND_PIXEL (f)); f 1353 src/xfns.c unload_color (f, x->mouse_pixel); f 1376 src/xfns.c = x_create_font_cursor (FRAME_DISPLAY_INFO (f), f 1396 src/xfns.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f), 0); f 1403 src/xfns.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 1422 src/xfns.c x_query_colors (f, colors, 2); f 1428 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1430 src/xfns.c f->output_data.x->current_cursor = cursor_data.cursor[mouse_cursor_text]; f 1431 src/xfns.c XDefineCursor (dpy, FRAME_X_WINDOW (f), f 1432 src/xfns.c f->output_data.x->current_cursor); f 1462 src/xfns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 1466 src/xfns.c x_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1470 src/xfns.c struct x_output *x = f->output_data.x; f 1474 src/xfns.c fore_pixel = x_decode_color (f, Vx_cursor_fore_pixel, f 1475 src/xfns.c WHITE_PIX_DEFAULT (f)); f 1479 src/xfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1481 src/xfns.c pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1485 src/xfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 1489 src/xfns.c x_free_colors (f, &pixel, 1); f 1498 src/xfns.c x_free_colors (f, &fore_pixel, 1); f 1501 src/xfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1505 src/xfns.c unload_color (f, x->cursor_foreground_pixel); f 1507 src/xfns.c fore_pixel = x_copy_color (f, fore_pixel); f 1510 src/xfns.c unload_color (f, x->cursor_pixel); f 1512 src/xfns.c pixel = x_copy_color (f, pixel); f 1515 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1518 src/xfns.c XSetBackground (FRAME_X_DISPLAY (f), x->cursor_gc, x->cursor_pixel); f 1519 src/xfns.c XSetForeground (FRAME_X_DISPLAY (f), x->cursor_gc, fore_pixel); f 1522 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1524 src/xfns.c gui_update_cursor (f, false); f 1525 src/xfns.c gui_update_cursor (f, true); f 1529 src/xfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 1537 src/xfns.c x_set_border_pixel (struct frame *f, unsigned long pix) f 1539 src/xfns.c unload_color (f, f->output_data.x->border_pixel); f 1540 src/xfns.c f->output_data.x->border_pixel = pix; f 1543 src/xfns.c if (f->output_data.x->widget && f->border_width > 0) f 1546 src/xfns.c XtVaSetValues (f->output_data.x->widget, XtNborderColor, f 1550 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1551 src/xfns.c redraw_frame (f); f 1557 src/xfns.c if (FRAME_X_WINDOW (f) != 0 && f->border_width > 0) f 1560 src/xfns.c XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), pix); f 1563 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1564 src/xfns.c redraw_frame (f); f 1580 src/xfns.c x_set_border_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1585 src/xfns.c pix = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1586 src/xfns.c x_set_border_pixel (f, pix); f 1587 src/xfns.c update_face_from_frame_parameter (f, Qborder_color, arg); f 1592 src/xfns.c x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1594 src/xfns.c set_frame_cursor_types (f, arg); f 1598 src/xfns.c x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1612 src/xfns.c result = x_text_icon (f, f 1613 src/xfns.c SSDATA ((!NILP (f->icon_name) f 1614 src/xfns.c ? f->icon_name f 1615 src/xfns.c : f->name))); f 1617 src/xfns.c result = FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, arg); f 1625 src/xfns.c XFlush (FRAME_X_DISPLAY (f)); f 1630 src/xfns.c x_set_icon_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1642 src/xfns.c fset_icon_name (f, arg); f 1644 src/xfns.c if (f->output_data.x->icon_bitmap != 0) f 1649 src/xfns.c result = x_text_icon (f, f 1650 src/xfns.c SSDATA ((!NILP (f->icon_name) f 1651 src/xfns.c ? f->icon_name f 1652 src/xfns.c : !NILP (f->title) f 1653 src/xfns.c ? f->title f 1654 src/xfns.c : f->name))); f 1662 src/xfns.c XFlush (FRAME_X_DISPLAY (f)); f 1668 src/xfns.c x_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1672 src/xfns.c int olines = FRAME_MENU_BAR_LINES (f); f 1679 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 1688 src/xfns.c fset_redisplay (f); f 1691 src/xfns.c FRAME_MENU_BAR_LINES (f) = 0; f 1692 src/xfns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1695 src/xfns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 1696 src/xfns.c if (FRAME_X_P (f) && f->output_data.x->menubar_widget == 0) f 1698 src/xfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 1702 src/xfns.c if (FRAME_EXTERNAL_MENU_BAR (f) == 1) f 1703 src/xfns.c free_frame_menubar (f); f 1704 src/xfns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 1705 src/xfns.c if (FRAME_X_P (f)) f 1706 src/xfns.c f->output_data.x->menubar_widget = 0; f 1709 src/xfns.c FRAME_MENU_BAR_LINES (f) = nlines; f 1710 src/xfns.c FRAME_MENU_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); f 1711 src/xfns.c if (FRAME_X_WINDOW (f)) f 1712 src/xfns.c x_clear_under_internal_border (f); f 1720 src/xfns.c int height = FRAME_INTERNAL_BORDER_WIDTH (f); f 1721 src/xfns.c int width = FRAME_PIXEL_WIDTH (f); f 1724 src/xfns.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 1727 src/xfns.c if (FRAME_X_WINDOW (f) && height > 0 && width > 0) f 1729 src/xfns.c y = FRAME_TOP_MARGIN_HEIGHT (f); f 1732 src/xfns.c x_clear_area (f, 0, y, width, height); f 1738 src/xfns.c y = (olines == 0 ? 1 : olines) * FRAME_LINE_HEIGHT (f); f 1739 src/xfns.c height = nlines * FRAME_LINE_HEIGHT (f) - y; f 1742 src/xfns.c x_clear_area (f, 0, y, width, height); f 1746 src/xfns.c if (nlines == 0 && WINDOWP (f->menu_bar_window)) f 1747 src/xfns.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 1750 src/xfns.c adjust_frame_glyphs (f); f 1762 src/xfns.c x_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1764 src/xfns.c int olines = FRAME_TAB_BAR_LINES (f); f 1768 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1778 src/xfns.c x_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1784 src/xfns.c x_change_tab_bar_height (struct frame *f, int height) f 1786 src/xfns.c int unit = FRAME_LINE_HEIGHT (f); f 1787 src/xfns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 1799 src/xfns.c fset_redisplay (f); f 1802 src/xfns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 1803 src/xfns.c FRAME_TAB_BAR_LINES (f) = lines; f 1804 src/xfns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 1806 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 1808 src/xfns.c clear_frame (f); f 1809 src/xfns.c clear_current_matrices (f); f 1812 src/xfns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 1813 src/xfns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 1815 src/xfns.c if (!f->tab_bar_resized) f 1817 src/xfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1822 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1825 src/xfns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 1827 src/xfns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 1831 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 1835 src/xfns.c adjust_frame_glyphs (f); f 1836 src/xfns.c SET_FRAME_GARBAGED (f); f 1837 src/xfns.c if (FRAME_X_WINDOW (f)) f 1838 src/xfns.c x_clear_under_internal_border (f); f 1849 src/xfns.c x_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1854 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1863 src/xfns.c x_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1869 src/xfns.c x_change_tool_bar_height (struct frame *f, int height) f 1872 src/xfns.c FRAME_TOOL_BAR_LINES (f) = 0; f 1873 src/xfns.c FRAME_TOOL_BAR_HEIGHT (f) = 0; f 1876 src/xfns.c FRAME_EXTERNAL_TOOL_BAR (f) = true; f 1877 src/xfns.c if (FRAME_X_P (f) && f->output_data.x->toolbar_widget == 0) f 1879 src/xfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 1880 src/xfns.c update_frame_tool_bar (f); f 1884 src/xfns.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 1885 src/xfns.c free_frame_tool_bar (f); f 1886 src/xfns.c FRAME_EXTERNAL_TOOL_BAR (f) = false; f 1889 src/xfns.c int unit = FRAME_LINE_HEIGHT (f); f 1890 src/xfns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 1892 src/xfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1895 src/xfns.c fset_redisplay (f); f 1897 src/xfns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 1898 src/xfns.c FRAME_TOOL_BAR_LINES (f) = lines; f 1899 src/xfns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 1901 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 1903 src/xfns.c clear_frame (f); f 1904 src/xfns.c clear_current_matrices (f); f 1907 src/xfns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 1908 src/xfns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 1910 src/xfns.c if (!f->tool_bar_resized) f 1915 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1918 src/xfns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 1920 src/xfns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 1924 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 1928 src/xfns.c adjust_frame_glyphs (f); f 1929 src/xfns.c SET_FRAME_GARBAGED (f); f 1930 src/xfns.c if (FRAME_X_WINDOW (f)) f 1931 src/xfns.c x_clear_under_internal_border (f); f 1937 src/xfns.c x_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1948 src/xfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 1950 src/xfns.c f->child_frame_border_width = border; f 1953 src/xfns.c if (FRAME_X_OUTPUT (f)->edit_widget) f 1954 src/xfns.c widget_store_internal_border (FRAME_X_OUTPUT (f)->edit_widget); f 1957 src/xfns.c if (FRAME_X_WINDOW (f)) f 1959 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 1960 src/xfns.c x_clear_under_internal_border (f); f 1967 src/xfns.c x_set_internal_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1971 src/xfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 1973 src/xfns.c f->internal_border_width = border; f 1976 src/xfns.c if (FRAME_X_OUTPUT (f)->edit_widget) f 1977 src/xfns.c widget_store_internal_border (FRAME_X_OUTPUT (f)->edit_widget); f 1980 src/xfns.c if (FRAME_X_WINDOW (f)) f 1982 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 1983 src/xfns.c x_clear_under_internal_border (f); f 1996 src/xfns.c x_set_scroll_bar_foreground (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 2005 src/xfns.c pixel = x_decode_color (f, value, BLACK_PIX_DEFAULT (f)); f 2009 src/xfns.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 2010 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); f 2012 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = pixel; f 2013 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) f 2016 src/xfns.c if (FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 2017 src/xfns.c (*FRAME_TERMINAL (f)->condemn_scroll_bars_hook) (f); f 2018 src/xfns.c if (FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 2019 src/xfns.c (*FRAME_TERMINAL (f)->judge_scroll_bars_hook) (f); f 2021 src/xfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, value); f 2022 src/xfns.c redraw_frame (f); f 2026 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 2032 src/xfns.c XQueryColor (FRAME_X_DISPLAY (f), f 2033 src/xfns.c FRAME_X_COLORMAP (f), f 2038 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider, f 2042 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider, f 2055 src/xfns.c x_set_scroll_bar_background (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 2064 src/xfns.c pixel = x_decode_color (f, value, WHITE_PIX_DEFAULT (f)); f 2068 src/xfns.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 2069 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_background_pixel); f 2073 src/xfns.c if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) f 2075 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_top_shadow_pixel); f 2076 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 2078 src/xfns.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel != -1) f 2080 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); f 2081 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 2085 src/xfns.c f->output_data.x->scroll_bar_background_pixel = pixel; f 2086 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) f 2089 src/xfns.c if (FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 2090 src/xfns.c (*FRAME_TERMINAL (f)->condemn_scroll_bars_hook) (f); f 2091 src/xfns.c if (FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 2092 src/xfns.c (*FRAME_TERMINAL (f)->judge_scroll_bars_hook) (f); f 2094 src/xfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, value); f 2095 src/xfns.c redraw_frame (f); f 2099 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 2105 src/xfns.c XQueryColor (FRAME_X_DISPLAY (f), f 2106 src/xfns.c FRAME_X_COLORMAP (f), f 2111 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_background_css_provider, f 2115 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_background_css_provider, f 2173 src/xfns.c x_set_name_internal (struct frame *f, Lisp_Object name) f 2175 src/xfns.c if (FRAME_X_WINDOW (f)) f 2214 src/xfns.c : FRAME_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT); f 2218 src/xfns.c if (!STRINGP (f->icon_name)) f 2226 src/xfns.c icon.value = x_encode_text (f->icon_name, coding_system, &bytes, f 2229 src/xfns.c : FRAME_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT); f 2233 src/xfns.c encoded_icon_name = ENCODE_UTF_8 (f->icon_name); f 2237 src/xfns.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 2240 src/xfns.c XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); f 2241 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 2242 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_name, f 2243 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_UTF8_STRING, f 2249 src/xfns.c XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &icon); f 2250 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 2251 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_icon_name, f 2252 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_UTF8_STRING, f 2278 src/xfns.c x_set_name (struct frame *f, Lisp_Object name, bool explicit) f 2286 src/xfns.c if (f->explicit_name && NILP (name)) f 2289 src/xfns.c f->explicit_name = ! NILP (name); f 2291 src/xfns.c else if (f->explicit_name) f 2299 src/xfns.c if (!strcmp (FRAME_DISPLAY_INFO (f)->x_id_name, f 2300 src/xfns.c SSDATA (f->name))) f 2302 src/xfns.c name = build_string (FRAME_DISPLAY_INFO (f)->x_id_name); f 2308 src/xfns.c if (! NILP (Fstring_equal (name, f->name))) f 2311 src/xfns.c fset_name (f, name); f 2315 src/xfns.c if (! NILP (f->title)) f 2316 src/xfns.c name = f->title; f 2318 src/xfns.c x_set_name_internal (f, name); f 2325 src/xfns.c x_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2327 src/xfns.c x_set_name (f, arg, true); f 2334 src/xfns.c x_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2336 src/xfns.c x_set_name (f, arg, false); f 2343 src/xfns.c x_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 2346 src/xfns.c if (EQ (name, f->title)) f 2351 src/xfns.c fset_title (f, name); f 2354 src/xfns.c name = f->name; f 2358 src/xfns.c x_set_name_internal (f, name); f 2362 src/xfns.c x_set_scroll_bar_default_width (struct frame *f) f 2364 src/xfns.c int unit = FRAME_COLUMN_WIDTH (f); f 2367 src/xfns.c int minw = xg_get_default_scrollbar_width (f); f 2372 src/xfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (minw + unit - 1) / unit; f 2373 src/xfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = minw; f 2376 src/xfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 2377 src/xfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) f 2378 src/xfns.c = FRAME_CONFIG_SCROLL_BAR_COLS (f) * unit; f 2383 src/xfns.c x_set_scroll_bar_default_height (struct frame *f) f 2385 src/xfns.c int height = FRAME_LINE_HEIGHT (f); f 2388 src/xfns.c int min_height = xg_get_default_scrollbar_height (f); f 2393 src/xfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = min_height; f 2394 src/xfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (min_height + height - 1) / height; f 2397 src/xfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (14 + height - 1) / height; f 2401 src/xfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = 14; f 2406 src/xfns.c x_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2450 src/xfns.c f->alpha[i] = newval[i]; f 2452 src/xfns.c FRAME_X_OUTPUT (f)->alpha_identical_p = alpha_identical_p; f 2454 src/xfns.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 2457 src/xfns.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 2463 src/xfns.c x_set_use_frame_synchronization (struct frame *f, Lisp_Object arg, f 2470 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2472 src/xfns.c if (!NILP (arg) && FRAME_X_EXTENDED_COUNTER (f)) f 2474 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p f 2475 src/xfns.c = x_wm_supports (f, dpyinfo->Xatom_net_wm_frame_drawn); f 2481 src/xfns.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2488 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 2492 src/xfns.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2496 src/xfns.c store_frame_param (f, Quse_frame_synchronization, f 2497 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p ? Qt : Qnil); f 2499 src/xfns.c store_frame_param (f, Quse_frame_synchronization, Qnil); f 2510 src/xfns.c x_default_scroll_bar_color_parameter (struct frame *f, f 2515 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2552 src/xfns.c gui_set_frame_parameters (f, arg); f 2567 src/xfns.c hack_wm_protocols (struct frame *f, Widget widget) f 2584 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 2596 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window) f 2599 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_take_focus) f 2602 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself) f 2613 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window; f 2615 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_take_focus; f 2617 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself; f 2619 src/xfns.c XChangeProperty (dpy, w, FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 2629 src/xfns.c struct frame *f) f 2645 src/xfns.c if ((XGetWindowProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2686 src/xfns.c FRAME_OUTER_WINDOW (f), f 2893 src/xfns.c xic_create_xfontset (struct frame *f) f 2896 src/xfns.c struct font *font = FRAME_FONT (f); f 2905 src/xfns.c if (cf != f && FRAME_LIVE_P (f) && FRAME_X_P (cf) f 2906 src/xfns.c && FRAME_DISPLAY_INFO (cf) == FRAME_DISPLAY_INFO (f) f 2907 src/xfns.c && FRAME_FONT (f) f 2908 src/xfns.c && FRAME_FONT (f)->pixel_size == pixel_size) f 2925 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), buf, f 2959 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), buf, f 2975 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), last_resort, f 2992 src/xfns.c xic_free_xfontset (struct frame *f) f 2997 src/xfns.c if (!FRAME_XIC_FONTSET (f)) f 3004 src/xfns.c if (cf != f && FRAME_LIVE_P (f) && FRAME_X_P (cf) f 3005 src/xfns.c && FRAME_DISPLAY_INFO (cf) == FRAME_DISPLAY_INFO (f) f 3006 src/xfns.c && FRAME_XIC_FONTSET (cf) == FRAME_XIC_FONTSET (f)) f 3015 src/xfns.c XFreeFontSet (FRAME_X_DISPLAY (f), FRAME_XIC_FONTSET (f)); f 3017 src/xfns.c FRAME_XIC_FONTSET (f) = NULL; f 3057 src/xfns.c create_frame_xic (struct frame *f) f 3068 src/xfns.c if (FRAME_XIC (f)) f 3071 src/xfns.c xim = FRAME_X_XIM (f); f 3072 src/xfns.c if (!xim || ! FRAME_X_XIM_STYLES(f)) f 3076 src/xfns.c xic_style = best_xim_style (FRAME_DISPLAY_INFO (f), f 3077 src/xfns.c FRAME_X_XIM_STYLES (f)); f 3082 src/xfns.c xfs = xic_create_xfontset (f); f 3086 src/xfns.c FRAME_XIC_FONTSET (f) = xfs; f 3095 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 3097 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 3117 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 3119 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 3145 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3146 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3155 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3156 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3164 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3165 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3173 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3174 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3182 src/xfns.c FRAME_XIC (f) = xic; f 3183 src/xfns.c FRAME_XIC_STYLE (f) = xic_style; f 3189 src/xfns.c free_frame_xic (f); f 3202 src/xfns.c free_frame_xic (struct frame *f) f 3204 src/xfns.c if (FRAME_XIC (f) == NULL) f 3207 src/xfns.c XDestroyIC (FRAME_XIC (f)); f 3208 src/xfns.c xic_free_xfontset (f); f 3210 src/xfns.c FRAME_XIC (f) = NULL; f 3220 src/xfns.c struct frame *f = WINDOW_XFRAME (w); f 3224 src/xfns.c if (FRAME_XIC (f)) f 3232 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMPreeditCallbacks) f 3241 src/xfns.c XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL); f 3245 src/xfns.c if (f->tooltip) f 3249 src/xfns.c int scale = xg_get_scale (f); f 3255 src/xfns.c + FRAME_TOOLBAR_HEIGHT (f) f 3256 src/xfns.c + FRAME_MENUBAR_HEIGHT (f)) / scale; f 3260 src/xfns.c gtk_im_context_set_cursor_location (FRAME_X_OUTPUT (f)->im_context, f 3269 src/xfns.c xic_set_statusarea (struct frame *f) f 3271 src/xfns.c XIC xic = FRAME_XIC (f); f 3296 src/xfns.c area.x = FRAME_PIXEL_WIDTH (f) - area.width - FRAME_INTERNAL_BORDER_WIDTH (f); f 3297 src/xfns.c area.y = (FRAME_PIXEL_HEIGHT (f) - area.height f 3298 src/xfns.c - FRAME_MENUBAR_HEIGHT (f) f 3299 src/xfns.c - FRAME_TOOLBAR_TOP_HEIGHT (f) f 3300 src/xfns.c - FRAME_INTERNAL_BORDER_WIDTH (f)); f 3312 src/xfns.c struct frame *f; f 3316 src/xfns.c f = XFRAME (tem); f 3318 src/xfns.c if (FRAME_X_P (f) && FRAME_XIC (f) == xic) f 3319 src/xfns.c return f; f 3329 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3332 src/xfns.c if (f) f 3334 src/xfns.c output = FRAME_X_OUTPUT (f); f 3353 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3358 src/xfns.c if (f) f 3360 src/xfns.c output = FRAME_X_OUTPUT (f); f 3385 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3409 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3414 src/xfns.c if (f) f 3418 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3423 src/xfns.c output = FRAME_X_OUTPUT (f); f 3608 src/xfns.c struct frame *f; f 3617 src/xfns.c f = x_xic_to_frame (xic); f 3620 src/xfns.c if (f) f 3623 src/xfns.c output = FRAME_X_OUTPUT (f); f 3630 src/xfns.c text = x_xim_text_to_utf8_unix (FRAME_DISPLAY_INFO (f), f 3750 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3781 src/xfns.c xic_set_xfontset (struct frame *f, const char *base_fontname) f 3786 src/xfns.c xic_free_xfontset (f); f 3788 src/xfns.c xfs = xic_create_xfontset (f); f 3791 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMPreeditPosition) f 3792 src/xfns.c XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL); f 3793 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMStatusArea) f 3794 src/xfns.c XSetICValues (FRAME_XIC (f), XNStatusAttributes, attr, NULL); f 3797 src/xfns.c FRAME_XIC_FONTSET (f) = xfs; f 3810 src/xfns.c struct frame *f; f 3814 src/xfns.c f = x_xic_to_frame (ic); f 3816 src/xfns.c if (!f) f 3886 src/xfns.c rc = textconv_query (f, &request, 0); f 3898 src/xfns.c = x_encode_xim_text (FRAME_DISPLAY_INFO (f), f 3928 src/xfns.c x_mark_frame_dirty (struct frame *f) f 3931 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) f 3932 src/xfns.c && !FRAME_X_NEED_BUFFER_FLIP (f)) f 3933 src/xfns.c FRAME_X_NEED_BUFFER_FLIP (f) = true; f 3938 src/xfns.c set_up_x_back_buffer (struct frame *f) f 3942 src/xfns.c if (FRAME_X_PICTURE (f) != None) f 3944 src/xfns.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 3945 src/xfns.c FRAME_X_PICTURE (f)); f 3946 src/xfns.c FRAME_X_PICTURE (f) = None; f 3953 src/xfns.c if (FRAME_X_WINDOW (f) && !FRAME_X_DOUBLE_BUFFERED_P (f)) f 3956 src/xfns.c x_cr_destroy_frame_context (f); f 3958 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3959 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xdbe) f 3964 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 3965 src/xfns.c FRAME_X_RAW_DRAWABLE (f) f 3966 src/xfns.c = XdbeAllocateBackBufferName (FRAME_X_DISPLAY (f), f 3967 src/xfns.c FRAME_X_WINDOW (f), f 3969 src/xfns.c if (x_had_errors_p (FRAME_X_DISPLAY (f))) f 3970 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3979 src/xfns.c tear_down_x_back_buffer (struct frame *f) f 3983 src/xfns.c if (FRAME_X_PICTURE (f) != None) f 3985 src/xfns.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 3986 src/xfns.c FRAME_X_PICTURE (f)); f 3987 src/xfns.c FRAME_X_PICTURE (f) = None; f 3994 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_X_DOUBLE_BUFFERED_P (f)) f 3996 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 3999 src/xfns.c x_cr_destroy_frame_context (f); f 4001 src/xfns.c XdbeDeallocateBackBufferName (FRAME_X_DISPLAY (f), f 4002 src/xfns.c FRAME_X_DRAWABLE (f)); f 4003 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 4013 src/xfns.c initial_set_up_x_back_buffer (struct frame *f) f 4015 src/xfns.c eassert (FRAME_X_WINDOW (f)); f 4016 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 4019 src/xfns.c f->param_alist)))) f 4020 src/xfns.c set_up_x_back_buffer (f); f 4025 src/xfns.c setup_xi_event_mask (struct frame *f) f 4061 src/xfns.c if (FRAME_DISPLAY_INFO (f)->xi2_version >= 4) f 4072 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), f 4073 src/xfns.c FRAME_X_WINDOW (f), f 4091 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), f 4092 src/xfns.c FRAME_OUTER_WINDOW (f), f 4098 src/xfns.c if (FRAME_DISPLAY_INFO (f)->xi2_version >= 2) f 4113 src/xfns.c if (FRAME_DISPLAY_INFO (f)->xi2_version >= 4) f 4126 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4132 src/xfns.c FRAME_X_OUTPUT (f)->xi_masks = selected; f 4133 src/xfns.c FRAME_X_OUTPUT (f)->num_xi_masks = 1; f 4145 src/xfns.c x_window (struct frame *f, long window_prompting) f 4163 src/xfns.c f->namebuf = xlispstrdup (Vx_resource_name); f 4169 src/xfns.c XtSetArg (al[ac], XtNborderWidth, f->border_width); ac++; f 4170 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 4171 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 4172 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 4173 src/xfns.c shell_widget = XtAppCreateShell (f->namebuf, EMACS_CLASS, f 4175 src/xfns.c FRAME_X_DISPLAY (f), al, ac); f 4177 src/xfns.c f->output_data.x->widget = shell_widget; f 4185 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 4186 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 4187 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 4190 src/xfns.c f->output_data.x->column_widget = pane_widget; f 4200 src/xfns.c XtSetArg (al[ac], (char *) XtNemacsFrame, f); ac++; f 4201 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 4202 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 4203 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 4205 src/xfns.c frame_widget = XtCreateWidget (f->namebuf, emacsFrameClass (), pane_widget, f 4208 src/xfns.c f->output_data.x->edit_widget = frame_widget; f 4218 src/xfns.c = (f->output_data.x->menubar_widget f 4219 src/xfns.c ? (f->output_data.x->menubar_widget->core.height f 4220 src/xfns.c + f->output_data.x->menubar_widget->core.border_width) f 4225 src/xfns.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 4233 src/xfns.c FRAME_MENUBAR_HEIGHT (f) = menubar_size; f 4239 src/xfns.c XtVaGetValues (f->output_data.x->edit_widget, XtNinternalBorderWidth, f 4244 src/xfns.c f->shell_position = xmalloc (sizeof "=x++" + 4 * INT_STRLEN_BOUND (int)); f 4252 src/xfns.c int left = f->left_pos; f 4254 src/xfns.c int top = f->top_pos; f 4262 src/xfns.c sprintf (f->shell_position, "=%dx%d%c%d%c%d", f 4263 src/xfns.c FRAME_PIXEL_WIDTH (f) + extra_borders, f 4264 src/xfns.c FRAME_PIXEL_HEIGHT (f) + menubar_size + extra_borders, f 4269 src/xfns.c sprintf (f->shell_position, "=%dx%d", f 4270 src/xfns.c FRAME_PIXEL_WIDTH (f) + extra_borders, f 4271 src/xfns.c FRAME_PIXEL_HEIGHT (f) + menubar_size + extra_borders); f 4283 src/xfns.c XtSetArg (gal[gac], XtNgeometry, f->shell_position); gac++; f 4290 src/xfns.c FRAME_X_WINDOW (f) = XtWindow (frame_widget); f 4291 src/xfns.c initial_set_up_x_back_buffer (f); f 4296 src/xfns.c XSetClassHint (FRAME_X_DISPLAY (f), XtWindow (shell_widget), &class_hints); f 4299 src/xfns.c FRAME_XIC (f) = NULL; f 4300 src/xfns.c if (FRAME_DISPLAY_INFO (f)->use_xim) f 4301 src/xfns.c create_frame_xic (f); f 4304 src/xfns.c f->output_data.x->wm_hints.input = True; f 4305 src/xfns.c f->output_data.x->wm_hints.flags |= InputHint; f 4306 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4307 src/xfns.c &f->output_data.x->wm_hints); f 4309 src/xfns.c hack_wm_protocols (f, shell_widget); f 4310 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4321 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 4328 src/xfns.c if (FRAME_XIC (f)) f 4332 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4337 src/xfns.c attributes.override_redirect = FRAME_OVERRIDE_REDIRECT (f); f 4350 src/xfns.c bool explicit = f->explicit_name; f 4352 src/xfns.c f->explicit_name = false; f 4353 src/xfns.c name = f->name; f 4354 src/xfns.c fset_name (f, Qnil); f 4355 src/xfns.c x_set_name (f, name, explicit); f 4358 src/xfns.c if (FRAME_UNDECORATED (f)) f 4360 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4362 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 4372 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 4377 src/xfns.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4378 src/xfns.c f->output_data.x->current_cursor f 4379 src/xfns.c = f->output_data.x->text_cursor); f 4388 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4389 src/xfns.c setup_xi_event_mask (f); f 4396 src/xfns.c x_window (struct frame *f) f 4398 src/xfns.c if (! xg_create_frame_widgets (f)) f 4402 src/xfns.c FRAME_XIC (f) = NULL; f 4403 src/xfns.c if (FRAME_DISPLAY_INFO (f)->use_xim) f 4406 src/xfns.c create_frame_xic (f); f 4407 src/xfns.c if (FRAME_XIC (f)) f 4411 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4419 src/xfns.c XGetWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4423 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4431 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4434 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4435 src/xfns.c setup_xi_event_mask (f); f 4443 src/xfns.c x_window (struct frame *f) f 4449 src/xfns.c attributes.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 4450 src/xfns.c attributes.border_pixel = f->output_data.x->border_pixel; f 4455 src/xfns.c attributes.colormap = FRAME_X_COLORMAP (f); f 4456 src/xfns.c attributes.override_redirect = FRAME_OVERRIDE_REDIRECT (f); f 4461 src/xfns.c FRAME_X_WINDOW (f) f 4462 src/xfns.c = XCreateWindow (FRAME_X_DISPLAY (f), f 4463 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 4464 src/xfns.c f->left_pos, f 4465 src/xfns.c f->top_pos, f 4466 src/xfns.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 4467 src/xfns.c f->border_width, f 4468 src/xfns.c FRAME_DISPLAY_INFO (f)->n_planes, /* depth */ f 4470 src/xfns.c FRAME_X_VISUAL (f), f 4472 src/xfns.c initial_set_up_x_back_buffer (f); f 4475 src/xfns.c if (FRAME_DISPLAY_INFO (f)->use_xim) f 4477 src/xfns.c create_frame_xic (f); f 4478 src/xfns.c if (FRAME_XIC (f)) f 4485 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4488 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4496 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4497 src/xfns.c setup_xi_event_mask (f); f 4504 src/xfns.c XSetClassHint (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &class_hints); f 4511 src/xfns.c f->output_data.x->wm_hints.input = True; f 4512 src/xfns.c f->output_data.x->wm_hints.flags |= InputHint; f 4513 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4514 src/xfns.c &f->output_data.x->wm_hints); f 4515 src/xfns.c f->output_data.x->wm_hints.icon_pixmap = None; f 4520 src/xfns.c protocols[0] = FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window; f 4521 src/xfns.c protocols[1] = FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself; f 4522 src/xfns.c XSetWMProtocols (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), protocols, 2); f 4525 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4533 src/xfns.c bool explicit = f->explicit_name; f 4535 src/xfns.c f->explicit_name = false; f 4536 src/xfns.c name = f->name; f 4537 src/xfns.c fset_name (f, Qnil); f 4538 src/xfns.c x_set_name (f, name, explicit); f 4541 src/xfns.c if (FRAME_UNDECORATED (f)) f 4543 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4545 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 4555 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 4561 src/xfns.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4562 src/xfns.c f->output_data.x->current_cursor f 4563 src/xfns.c = f->output_data.x->text_cursor); f 4567 src/xfns.c if (FRAME_X_WINDOW (f) == 0) f 4577 src/xfns.c x_icon_verify (struct frame *f, Lisp_Object parms) f 4583 src/xfns.c icon_x = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, RES_TYPE_NUMBER); f 4584 src/xfns.c icon_y = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, RES_TYPE_NUMBER); f 4599 src/xfns.c x_icon (struct frame *f, Lisp_Object parms) f 4604 src/xfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, RES_TYPE_NUMBER); f 4606 src/xfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, RES_TYPE_NUMBER); f 4622 src/xfns.c x_wm_set_icon_position (f, icon_xval, icon_yval); f 4627 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4629 src/xfns.c (f, (EQ (gui_display_get_arg (dpyinfo, parms, Qvisibility, 0, 0, f 4636 src/xfns.c x_text_icon (f, SSDATA ((!NILP (f->icon_name) f 4637 src/xfns.c ? f->icon_name f 4638 src/xfns.c : f->name))); f 4648 src/xfns.c x_make_gc (struct frame *f) f 4657 src/xfns.c gc_values.foreground = FRAME_FOREGROUND_PIXEL (f); f 4658 src/xfns.c gc_values.background = FRAME_BACKGROUND_PIXEL (f); f 4660 src/xfns.c f->output_data.x->normal_gc f 4661 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), f 4662 src/xfns.c FRAME_X_DRAWABLE (f), f 4667 src/xfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 4668 src/xfns.c gc_values.background = FRAME_FOREGROUND_PIXEL (f); f 4669 src/xfns.c f->output_data.x->reverse_gc f 4670 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), f 4671 src/xfns.c FRAME_X_DRAWABLE (f), f 4676 src/xfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 4677 src/xfns.c gc_values.background = f->output_data.x->cursor_pixel; f 4678 src/xfns.c f->output_data.x->cursor_gc f 4679 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 4686 src/xfns.c f->output_data.x->border_tile f 4688 src/xfns.c (FRAME_X_DISPLAY (f), FRAME_DISPLAY_INFO (f)->root_window, f 4690 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 4691 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 4692 src/xfns.c DefaultDepth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)))); f 4701 src/xfns.c x_free_gcs (struct frame *f) f 4703 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4707 src/xfns.c if (f->output_data.x->normal_gc) f 4709 src/xfns.c XFreeGC (dpy, f->output_data.x->normal_gc); f 4710 src/xfns.c f->output_data.x->normal_gc = 0; f 4713 src/xfns.c if (f->output_data.x->reverse_gc) f 4715 src/xfns.c XFreeGC (dpy, f->output_data.x->reverse_gc); f 4716 src/xfns.c f->output_data.x->reverse_gc = 0; f 4719 src/xfns.c if (f->output_data.x->cursor_gc) f 4721 src/xfns.c XFreeGC (dpy, f->output_data.x->cursor_gc); f 4722 src/xfns.c f->output_data.x->cursor_gc = 0; f 4725 src/xfns.c if (f->output_data.x->border_tile) f 4727 src/xfns.c XFreePixmap (dpy, f->output_data.x->border_tile); f 4728 src/xfns.c f->output_data.x->border_tile = 0; f 4742 src/xfns.c struct frame *f = XFRAME (frame); f 4747 src/xfns.c if (!FRAME_LIVE_P (f)) f 4754 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4764 src/xfns.c if (FRAME_IMAGE_CACHE (f) != NULL f 4765 src/xfns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 4766 src/xfns.c FRAME_IMAGE_CACHE (f)->refcount++; f 4768 src/xfns.c x_free_frame_resources (f); f 4769 src/xfns.c free_glyphs (f); f 4789 src/xfns.c x_default_font_parameter (struct frame *f, Lisp_Object parms) f 4791 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4805 src/xfns.c font = font_open_by_name (f, build_unibyte_string (system_font)); f 4838 src/xfns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 4847 src/xfns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); f 4858 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 4861 src/xfns.c x_wm_set_size_hint (f, 0, false); f 4867 src/xfns.c set_machine_and_pid_properties (struct frame *f) f 4870 src/xfns.c XSetWMProperties (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), NULL, NULL, f 4876 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 4877 src/xfns.c FRAME_OUTER_WINDOW (f), f 4878 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_pid, f 4896 src/xfns.c struct frame *f; f 4953 src/xfns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 4956 src/xfns.c f = make_minibuffer_frame (); f 4960 src/xfns.c f = make_frame_without_minibuffer (tem, kb, display); f 4962 src/xfns.c f = make_frame (true); f 4979 src/xfns.c fset_parent_frame (f, parent_frame); f 4980 src/xfns.c store_frame_param (f, Qparent_frame, parent_frame); f 4991 src/xfns.c FRAME_UNDECORATED (f) = undecorated; f 4992 src/xfns.c store_frame_param (f, Qundecorated, undecorated ? Qt : Qnil); f 5003 src/xfns.c FRAME_OVERRIDE_REDIRECT (f) = override_redirect; f 5004 src/xfns.c store_frame_param (f, Qoverride_redirect, override_redirect ? Qt : Qnil); f 5006 src/xfns.c XSETFRAME (frame, f); f 5008 src/xfns.c f->terminal = dpyinfo->terminal; f 5010 src/xfns.c f->output_method = output_x_window; f 5011 src/xfns.c f->output_data.x = xzalloc (sizeof *f->output_data.x); f 5012 src/xfns.c f->output_data.x->icon_bitmap = -1; f 5013 src/xfns.c FRAME_FONTSET (f) = -1; f 5014 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = -1; f 5015 src/xfns.c f->output_data.x->scroll_bar_background_pixel = -1; f 5017 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 5018 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 5020 src/xfns.c f->output_data.x->white_relief.pixel = -1; f 5021 src/xfns.c f->output_data.x->black_relief.pixel = -1; f 5022 src/xfns.c f->output_data.x->visibility_state = VisibilityFullyObscured; f 5024 src/xfns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, f 5030 src/xfns.c if (! STRINGP (f->icon_name)) f 5031 src/xfns.c fset_icon_name (f, Qnil); f 5033 src/xfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 5046 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 5047 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 5048 src/xfns.c f->output_data.x->cursor_pixel = -1; f 5049 src/xfns.c f->output_data.x->cursor_foreground_pixel = -1; f 5050 src/xfns.c f->output_data.x->border_pixel = -1; f 5051 src/xfns.c f->output_data.x->mouse_pixel = -1; f 5054 src/xfns.c FRAME_FOREGROUND_PIXEL (f) f 5055 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5056 src/xfns.c FRAME_BACKGROUND_PIXEL (f) f 5057 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5058 src/xfns.c f->output_data.x->cursor_pixel f 5059 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5060 src/xfns.c f->output_data.x->cursor_foreground_pixel f 5061 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5062 src/xfns.c f->output_data.x->border_pixel f 5063 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5064 src/xfns.c f->output_data.x->mouse_pixel f 5065 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 5071 src/xfns.c f->output_data.x->parent_desc = (Window) XFIXNAT (parent); f 5072 src/xfns.c f->output_data.x->explicit_parent = true; f 5076 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 5077 src/xfns.c f->output_data.x->explicit_parent = false; f 5084 src/xfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 5085 src/xfns.c f->explicit_name = false; f 5089 src/xfns.c fset_name (f, name); f 5090 src/xfns.c f->explicit_name = true; f 5096 src/xfns.c register_font_driver (&ftcrfont_driver, f); f 5098 src/xfns.c register_font_driver (&ftcrhbfont_driver, f); f 5103 src/xfns.c register_font_driver (&xftfont_driver, f); f 5105 src/xfns.c register_font_driver (&xfthbfont_driver, f); f 5110 src/xfns.c register_font_driver (&xfont_driver, f); f 5113 src/xfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 5118 src/xfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 5123 src/xfns.c x_default_font_parameter (f, parms); f 5124 src/xfns.c if (!FRAME_FONT (f)) f 5131 src/xfns.c if (! FRAME_X_EMBEDDED_P (f)) f 5132 src/xfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 5150 src/xfns.c gui_default_parameter (f, parms, Qinternal_border_width, f 5172 src/xfns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 5175 src/xfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 5177 src/xfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 5179 src/xfns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, f 5187 src/xfns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 5191 src/xfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 5193 src/xfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 5195 src/xfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 5197 src/xfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 5199 src/xfns.c gui_default_parameter (f, parms, Qscreen_gamma, Qnil, f 5201 src/xfns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 5203 src/xfns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 5205 src/xfns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 5207 src/xfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 5211 src/xfns.c FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider f 5213 src/xfns.c FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider f 5217 src/xfns.c x_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_foreground, f 5220 src/xfns.c x_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_background, f 5227 src/xfns.c init_frame_faces (f); f 5232 src/xfns.c store_frame_param (f, Qmin_width, tem); f 5236 src/xfns.c store_frame_param (f, Qmin_height, tem); f 5238 src/xfns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 5239 src/xfns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 5247 src/xfns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 5251 src/xfns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 5255 src/xfns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 5260 src/xfns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, f 5263 src/xfns.c gui_default_parameter (f, parms, Qtitle, Qnil, f 5265 src/xfns.c gui_default_parameter (f, parms, Qwait_for_wm, Qt, f 5267 src/xfns.c gui_default_parameter (f, parms, Qtool_bar_position, f 5268 src/xfns.c FRAME_TOOL_BAR_POSITION (f), 0, 0, RES_TYPE_SYMBOL); f 5269 src/xfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 5274 src/xfns.c window_prompting = gui_figure_window_size (f, parms, true, true); f 5278 src/xfns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 5280 src/xfns.c x_icon_verify (f, parms); f 5284 src/xfns.c x_window (f, window_prompting); f 5286 src/xfns.c x_window (f); f 5290 src/xfns.c if (FRAME_X_EMBEDDED_P (f) f 5291 src/xfns.c && !x_embed_frame (dpyinfo, f)) f 5295 src/xfns.c x_icon (f, parms); f 5296 src/xfns.c x_make_gc (f); f 5303 src/xfns.c FRAME_X_OUTPUT (f)->xi_masks f 5304 src/xfns.c = XIGetSelectedEvents (dpyinfo->display, FRAME_X_WINDOW (f), f 5305 src/xfns.c &FRAME_X_OUTPUT (f)->num_xi_masks); f 5309 src/xfns.c f->terminal->reference_count++; f 5310 src/xfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 5315 src/xfns.c gui_default_parameter (f, parms, Qicon_type, Qt, f 5318 src/xfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 5320 src/xfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 5322 src/xfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 5324 src/xfns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 5327 src/xfns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 5330 src/xfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 5332 src/xfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 5340 src/xfns.c XReparentWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 5341 src/xfns.c FRAME_X_WINDOW (p), f->left_pos, f->top_pos); f 5345 src/xfns.c (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)), GTK_RESIZE_IMMEDIATE); f 5348 src/xfns.c gwin = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 5354 src/xfns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 5356 src/xfns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 5361 src/xfns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 5365 src/xfns.c initialize_frame_menubar (f); f 5370 src/xfns.c lw_set_main_areas (f->output_data.x->column_widget, f 5371 src/xfns.c f->output_data.x->menubar_widget, f 5372 src/xfns.c f->output_data.x->edit_widget); f 5378 src/xfns.c f->can_set_window_size = true; f 5384 src/xfns.c x_wm_set_size_hint (f, window_prompting, false); f 5387 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 5393 src/xfns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 5403 src/xfns.c x_cr_update_surface_desired_size (f, FRAME_PIXEL_WIDTH (f), f 5404 src/xfns.c FRAME_PIXEL_HEIGHT (f)); f 5410 src/xfns.c if (!f->output_data.x->explicit_parent) f 5424 src/xfns.c f->was_invisible = true; f 5425 src/xfns.c x_iconify_frame (f); f 5433 src/xfns.c x_make_frame_visible (f); f 5435 src/xfns.c f->was_invisible = true; f 5441 src/xfns.c f->was_invisible f 5442 src/xfns.c = (f->was_invisible f 5445 src/xfns.c store_frame_param (f, Qvisibility, visibility); f 5451 src/xfns.c set_machine_and_pid_properties (f); f 5457 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 5458 src/xfns.c FRAME_OUTER_WINDOW (f), f 5468 src/xfns.c && !f->output_data.x->explicit_parent) f 5484 src/xfns.c = FRAME_X_BASIC_COUNTER (f) f 5485 src/xfns.c = XSyncCreateCounter (FRAME_X_DISPLAY (f), f 5490 src/xfns.c = FRAME_X_EXTENDED_COUNTER (f) f 5491 src/xfns.c = XSyncCreateCounter (FRAME_X_DISPLAY (f), f 5494 src/xfns.c FRAME_X_OUTPUT (f)->current_extended_counter_value f 5497 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 5506 src/xfns.c x_sync_init_fences (f); f 5515 src/xfns.c gui_default_parameter (f, parms, Quse_frame_synchronization, Qt, f 5519 src/xfns.c gui_default_parameter (f, parms, Qskip_taskbar, Qnil, f 5522 src/xfns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 5527 src/xfns.c if (FRAME_HAS_MINIBUF_P (f) f 5537 src/xfns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 5553 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 5557 src/xfns.c if (x_defined_color (f, SSDATA (color), &foo, false, false)) f 5569 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 5573 src/xfns.c if (x_defined_color (f, SSDATA (color), &foo, false, false)) f 6082 src/xfns.c x_get_monitor_for_frame (struct frame *f, f 6092 src/xfns.c frect.x = f->left_pos; f 6093 src/xfns.c frect.y = f->top_pos; f 6094 src/xfns.c frect.width = FRAME_PIXEL_WIDTH (f); f 6095 src/xfns.c frect.height = FRAME_PIXEL_HEIGHT (f); f 6155 src/xfns.c struct frame *f = XFRAME (frame); f 6157 src/xfns.c if (FRAME_X_P (f) f 6158 src/xfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 6159 src/xfns.c && !FRAME_TOOLTIP_P (f)) f 6161 src/xfns.c int i = x_get_monitor_for_frame (f, monitors, n_monitors); f 6613 src/xfns.c struct frame *f = XFRAME (frame); f 6615 src/xfns.c if (FRAME_X_P (f) f 6616 src/xfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 6617 src/xfns.c && !FRAME_TOOLTIP_P (f)) f 6619 src/xfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 6743 src/xfns.c struct frame *f = decode_live_frame (frame); f 6758 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f) || !FRAME_OUTER_WINDOW (f)) f 6762 src/xfns.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 6766 src/xfns.c if (!FRAME_PARENT_FRAME (f)) f 6767 src/xfns.c x_real_pos_and_offsets (f, &left_off, &right_off, &top_off, &bottom_off, f 6774 src/xfns.c if (FRAME_PARENT_FRAME (f)) f 6778 src/xfns.c XSETFRAME (parent, FRAME_PARENT_FRAME (f)); f 6809 src/xfns.c internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 6817 src/xfns.c menu_bar_height = FRAME_MENUBAR_HEIGHT (f); f 6821 src/xfns.c menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); f 6826 src/xfns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 6834 src/xfns.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qleft)) f 6836 src/xfns.c tool_bar_width = FRAME_TOOLBAR_WIDTH (f); f 6842 src/xfns.c else if (EQ (FRAME_TOOL_BAR_POSITION (f), Qtop)) f 6844 src/xfns.c tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 6849 src/xfns.c else if (EQ (FRAME_TOOL_BAR_POSITION (f), Qright)) f 6851 src/xfns.c tool_bar_width = FRAME_TOOLBAR_WIDTH (f); f 6859 src/xfns.c tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 6865 src/xfns.c tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 6873 src/xfns.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qtop)) f 6911 src/xfns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 7012 src/xfns.c struct frame *f; f 7040 src/xfns.c f = x_top_window_to_frame (dpyinfo, toplevels[i]); f 7042 src/xfns.c if (f) f 7044 src/xfns.c XSETFRAME (val, f); f 7173 src/xfns.c struct frame *f = SELECTED_FRAME (); f 7177 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f)) f 7181 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), f 7182 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 7197 src/xfns.c struct frame *f = SELECTED_FRAME (); f 7199 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f)) f 7209 src/xfns.c deviceid = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 7211 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 7214 src/xfns.c x_catch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7215 src/xfns.c XIWarpPointer (FRAME_X_DISPLAY (f), deviceid, None, f 7216 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 7218 src/xfns.c x_uncatch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7222 src/xfns.c XWarpPointer (FRAME_X_DISPLAY (f), None, f 7223 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 7294 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7326 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionCopy; f 7328 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionMove; f 7330 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionLink; f 7332 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionPrivate; f 7334 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7339 src/xfns.c xaction = symbol_to_x_atom (FRAME_DISPLAY_INFO (f), action); f 7342 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7358 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionCopy; f 7360 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionMove; f 7362 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionLink; f 7364 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7366 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionPrivate; f 7387 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 7388 src/xfns.c x_intern_atoms (FRAME_DISPLAY_INFO (f), target_names, f 7390 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 7394 src/xfns.c lval = x_dnd_begin_drag_and_drop (f, FRAME_DISPLAY_INFO (f)->last_user_time, f 7730 src/xfns.c struct frame *f; f 7748 src/xfns.c f = decode_window_system_frame (frame); f 7749 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7779 src/xfns.c x_fill_property_data (FRAME_DISPLAY_INFO (f), value, data, nelements, f 7807 src/xfns.c target_window = FRAME_OUTER_WINDOW (f); f 7809 src/xfns.c target_window = FRAME_X_WINDOW (f); f 7925 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7926 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 7935 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 7939 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 7942 src/xfns.c x_catch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7943 src/xfns.c XDeleteProperty (FRAME_X_DISPLAY (f), target_window, prop_atom); f 7944 src/xfns.c x_check_errors_for_lisp (FRAME_DISPLAY_INFO (f), f 7946 src/xfns.c x_uncatch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7954 src/xfns.c x_window_property_intern (struct frame *f, f 7969 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 7981 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 8017 src/xfns.c prop_value = x_property_data_to_lisp (f, f 8074 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 8078 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 8087 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 8091 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 8098 src/xfns.c target_type = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 8102 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 8104 src/xfns.c prop_value = x_window_property_intern (f, f 8114 src/xfns.c && target_window != FRAME_OUTER_WINDOW (f)) f 8116 src/xfns.c prop_value = x_window_property_intern (f, f 8117 src/xfns.c FRAME_OUTER_WINDOW (f), f 8125 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 8152 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 8153 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 8168 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 8173 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 8174 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 8176 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 8183 src/xfns.c && target_window != FRAME_OUTER_WINDOW (f)) f 8188 src/xfns.c target_window = FRAME_OUTER_WINDOW (f); f 8189 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 8205 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 8374 src/xfns.c struct frame *f; f 8394 src/xfns.c f = make_frame (false); f 8395 src/xfns.c f->wants_modeline = false; f 8396 src/xfns.c XSETFRAME (frame, f); f 8399 src/xfns.c f->terminal = dpyinfo->terminal; f 8405 src/xfns.c f->output_method = output_x_window; f 8406 src/xfns.c f->output_data.x = xzalloc (sizeof *f->output_data.x); f 8407 src/xfns.c f->output_data.x->icon_bitmap = -1; f 8408 src/xfns.c FRAME_FONTSET (f) = -1; f 8409 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = -1; f 8410 src/xfns.c f->output_data.x->scroll_bar_background_pixel = -1; f 8412 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 8413 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 8415 src/xfns.c f->output_data.x->white_relief.pixel = -1; f 8416 src/xfns.c f->output_data.x->black_relief.pixel = -1; f 8418 src/xfns.c f->tooltip = true; f 8419 src/xfns.c fset_icon_name (f, Qnil); f 8420 src/xfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 8421 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 8422 src/xfns.c f->output_data.x->explicit_parent = false; f 8432 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 8433 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 8434 src/xfns.c f->output_data.x->cursor_pixel = -1; f 8435 src/xfns.c f->output_data.x->cursor_foreground_pixel = -1; f 8436 src/xfns.c f->output_data.x->border_pixel = -1; f 8437 src/xfns.c f->output_data.x->mouse_pixel = -1; f 8440 src/xfns.c FRAME_FOREGROUND_PIXEL (f) f 8441 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8442 src/xfns.c FRAME_BACKGROUND_PIXEL (f) f 8443 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8444 src/xfns.c f->output_data.x->cursor_pixel f 8445 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8446 src/xfns.c f->output_data.x->cursor_foreground_pixel f 8447 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8448 src/xfns.c f->output_data.x->border_pixel f 8449 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8450 src/xfns.c f->output_data.x->mouse_pixel f 8451 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8458 src/xfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 8459 src/xfns.c f->explicit_name = false; f 8463 src/xfns.c fset_name (f, name); f 8464 src/xfns.c f->explicit_name = true; f 8470 src/xfns.c register_font_driver (&ftcrfont_driver, f); f 8472 src/xfns.c register_font_driver (&ftcrhbfont_driver, f); f 8477 src/xfns.c register_font_driver (&xftfont_driver, f); f 8479 src/xfns.c register_font_driver (&xfthbfont_driver, f); f 8484 src/xfns.c register_font_driver (&xfont_driver, f); f 8487 src/xfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 8492 src/xfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 8497 src/xfns.c x_default_font_parameter (f, parms); f 8499 src/xfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 8517 src/xfns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 8520 src/xfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 8522 src/xfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 8526 src/xfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 8528 src/xfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 8530 src/xfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 8532 src/xfns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 8534 src/xfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 8536 src/xfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 8543 src/xfns.c Atom type = FRAME_DISPLAY_INFO (f)->Xatom_net_window_type_tooltip; f 8556 src/xfns.c attrs.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 8557 src/xfns.c attrs.colormap = FRAME_X_COLORMAP (f); f 8559 src/xfns.c f->output_data.x->current_cursor f 8560 src/xfns.c = f->output_data.x->text_cursor; f 8561 src/xfns.c attrs.border_pixel = f->output_data.x->border_pixel; f 8565 src/xfns.c = FRAME_X_WINDOW (f) f 8566 src/xfns.c = XCreateWindow (FRAME_X_DISPLAY (f), f 8567 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 8571 src/xfns.c f->border_width, f 8573 src/xfns.c FRAME_X_VISUAL (f), f 8575 src/xfns.c initial_set_up_x_back_buffer (f); f 8576 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), tip_window, f 8577 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_window_type, f 8586 src/xfns.c = (xcb_visualid_t) XVisualIDFromVisual (FRAME_X_VISUAL (f)); f 8588 src/xfns.c f->output_data.x->current_cursor = f->output_data.x->text_cursor; f 8591 src/xfns.c value_list[0] = FRAME_BACKGROUND_PIXEL (f); f 8592 src/xfns.c value_list[1] = f->output_data.x->border_pixel; f 8595 src/xfns.c value_list[4] = (xcb_colormap_t) FRAME_X_COLORMAP (f); f 8596 src/xfns.c value_list[5] = (xcb_cursor_t) f->output_data.x->text_cursor; f 8600 src/xfns.c = FRAME_X_WINDOW (f) f 8607 src/xfns.c 0, 0, 1, 1, f->border_width, f 8625 src/xfns.c initial_set_up_x_back_buffer (f); f 8633 src/xfns.c init_frame_faces (f); f 8635 src/xfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 8639 src/xfns.c gui_figure_window_size (f, parms, false, false); f 8641 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 8643 src/xfns.c x_make_gc (f); f 8645 src/xfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 8647 src/xfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 8649 src/xfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 8651 src/xfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 8653 src/xfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 8670 src/xfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 8672 src/xfns.c else if (FRAME_X_VISUAL_INFO (f)->class == GrayScale f 8673 src/xfns.c || FRAME_X_VISUAL_INFO (f)->class == StaticGray) f 8705 src/xfns.c f->no_split = true; f 8709 src/xfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 8710 src/xfns.c f->terminal->reference_count++; f 8716 src/xfns.c f->can_set_window_size = true; f 8717 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 8739 src/xfns.c compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, f 8763 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), FRAME_DISPLAY_INFO (f)->root_window, f 8767 src/xfns.c XSETFRAME (frame, f); f 8770 src/xfns.c if (!NILP (FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list)) f 8775 src/xfns.c attributes = FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list; f 8812 src/xfns.c max_x = x_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 8813 src/xfns.c max_y = x_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 8899 src/xfns.c struct frame *f = XFRAME (tip_last_frame); f 8901 src/xfns.c if (FRAME_LIVE_P (f)) f 8903 src/xfns.c if (xg_hide_tooltip (f)) f 8917 src/xfns.c struct frame *f = XFRAME (tip_frame); f 8919 src/xfns.c if (FRAME_LIVE_P (f)) f 8930 src/xfns.c x_make_frame_invisible (f); f 8959 src/xfns.c struct frame *f = XFRAME (tip_frame); f 8961 src/xfns.c if (FRAME_LIVE_P (f)) f 9019 src/xfns.c struct frame *f, *tip_f; f 9042 src/xfns.c f = decode_window_system_frame (frame); f 9070 src/xfns.c ok = xg_prepare_tooltip (f, string, &width, &height); f 9073 src/xfns.c compute_tip_xy (f, parms, dx, dy, width, height, &root_x, &root_y); f 9074 src/xfns.c xg_show_tooltip (f, root_x, root_y); f 9186 src/xfns.c if (NILP (tip_frame = x_create_tip_frame (FRAME_DISPLAY_INFO (f), parms))) f 9331 src/xfns.c struct frame *f = decode_live_frame (frame); f 9332 src/xfns.c return FRAME_X_DOUBLE_BUFFERED_P (f) ? Qt : Qnil; f 9404 src/xfns.c struct frame *f = SELECTED_FRAME (); f 9413 src/xfns.c check_window_system (f); f 9440 src/xfns.c dialog = XmCreateFileSelectionDialog (f->output_data.x->widget, f 9519 src/xfns.c && FRAME_X_DISPLAY (f) == event.xkey.display) f 9529 src/xfns.c && FRAME_X_DISPLAY (f) == event.xgeneric.display f 9530 src/xfns.c && FRAME_DISPLAY_INFO (f)->supports_xi2 f 9532 src/xfns.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 9541 src/xfns.c if (XGetEventData (FRAME_X_DISPLAY (f), &event.xcookie)) f 9548 src/xfns.c copy.xkey.display = FRAME_X_DISPLAY (f); f 9567 src/xfns.c XFreeEventData (FRAME_X_DISPLAY (f), &event.xcookie); f 9572 src/xfns.c (void) x_dispatch_event (©, FRAME_X_DISPLAY (f)); f 9627 src/xfns.c struct frame *f = SELECTED_FRAME (); f 9634 src/xfns.c check_window_system (f); f 9655 src/xfns.c fn = xg_get_file_name (f, SSDATA (prompt), cdef_file, f 9688 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 9705 src/xfns.c XSETFONT (font, FRAME_FONT (f)); f 9716 src/xfns.c font = xg_get_font (f, default_name); f 9751 src/xfns.c struct frame *f; f 9762 src/xfns.c f = decode_window_system_frame (frame); f 9763 src/xfns.c dpy = FRAME_X_DISPLAY (f); f 9765 src/xfns.c if (!FRAME_DISPLAY_INFO (f)->supports_xkb) f 9787 src/xfns.c kb = FRAME_DISPLAY_INFO (f)->xkb_desc; f 9863 src/xfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 9866 src/xfns.c XSETFRAME (frame, f); f 9867 src/xfns.c if (!FRAME_VISIBLE_P (f)) f 9966 src/xfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 9969 src/xfns.c XSETFRAME (frame, f); f 9970 src/xfns.c if (!FRAME_VISIBLE_P (f)) f 10043 src/xfns.c struct frame *f; f 10049 src/xfns.c f = dpyinfo->x_focus_frame; f 10051 src/xfns.c if (f) f 10053 src/xfns.c widget = FRAME_GTK_OUTER_WIDGET (f); f 10057 src/xfns.c gtk_im_context_focus_in (FRAME_X_OUTPUT (f)->im_context); f 10058 src/xfns.c gtk_im_context_set_client_window (FRAME_X_OUTPUT (f)->im_context, f 10063 src/xfns.c gtk_im_context_focus_out (FRAME_X_OUTPUT (f)->im_context); f 10064 src/xfns.c gtk_im_context_set_client_window (FRAME_X_OUTPUT (f)->im_context, f 10083 src/xfns.c struct frame *f; f 10087 src/xfns.c f = decode_window_system_frame (frame); f 10089 src/xfns.c if (!FRAME_XIC (f)) f 10107 src/xfns.c xic_string_conversion_callback (FRAME_XIC (f), NULL, f 119 src/xfont.c xfont_get_cache (struct frame *f) f 121 src/xfont.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 460 src/xfont.c xfont_list (struct frame *f, Lisp_Object spec) f 462 src/xfont.c Display *display = FRAME_DISPLAY_INFO (f)->display; f 539 src/xfont.c xfont_match (struct frame *f, Lisp_Object spec) f 541 src/xfont.c Display *display = FRAME_DISPLAY_INFO (f)->display; f 593 src/xfont.c xfont_list_family (struct frame *f) f 595 src/xfont.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 652 src/xfont.c xfont_open (struct frame *f, Lisp_Object entity, int pixel_size) f 654 src/xfont.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 678 src/xfont.c if (FRAME_FONT (f)) f 679 src/xfont.c pixel_size = FRAME_FONT (f)->pixel_size; f 736 src/xfont.c p0 = p = XGetAtomName (FRAME_X_DISPLAY (f), (Atom) value); f 783 src/xfont.c ((struct xfont_info *) font)->display = FRAME_X_DISPLAY (f); f 784 src/xfont.c ((struct xfont_info *) font)->x_display_id = FRAME_DISPLAY_INFO (f)->x_id; f 890 src/xfont.c xfont_prepare_face (struct frame *f, struct face *face) f 893 src/xfont.c XSetFont (FRAME_X_DISPLAY (f), face->gc, f 994 src/xfont.c Display *display = FRAME_X_DISPLAY (s->f); f 1008 src/xfont.c && FRAME_DISPLAY_INFO (s->f)->alpha_bits f 1009 src/xfont.c && FRAME_CHECK_XR_VERSION (s->f, 0, 2)) f 1011 src/xfont.c x_xr_ensure_picture (s->f); f 1013 src/xfont.c if (FRAME_X_PICTURE (s->f) != None) f 1018 src/xfont.c x_xr_apply_ext_clip (s->f, gc); f 1019 src/xfont.c x_xrender_color_from_gc_background (s->f, gc, &xc, f 1021 src/xfont.c XRenderFillRectangle (FRAME_X_DISPLAY (s->f), f 1022 src/xfont.c PictOpSrc, FRAME_X_PICTURE (s->f), f 1024 src/xfont.c x_xr_reset_ext_clip (s->f); f 1025 src/xfont.c x_mark_frame_dirty (s->f); f 1043 src/xfont.c XDrawImageString (display, FRAME_X_DRAWABLE (s->f), f 1046 src/xfont.c XDrawImageString (display, FRAME_X_DRAWABLE (s->f), f 1053 src/xfont.c XDrawString (display, FRAME_X_DRAWABLE (s->f), f 1056 src/xfont.c XDrawString (display, FRAME_X_DRAWABLE (s->f), f 1073 src/xfont.c XDrawImageString16 (display, FRAME_X_DRAWABLE (s->f), f 1085 src/xfont.c XDrawImageString16 (display, FRAME_X_DRAWABLE (s->f), f 1098 src/xfont.c XDrawString16 (display, FRAME_X_DRAWABLE (s->f), f 1110 src/xfont.c XDrawString16 (display, FRAME_X_DRAWABLE (s->f), f 1121 src/xfont.c xfont_check (struct frame *f, struct font *font) f 1125 src/xfont.c return (FRAME_X_DISPLAY (f) == xfont->display ? 0 : -1); f 64 src/xftfont.c xftfont_get_colors (struct frame *f, struct face *face, GC gc, f 84 src/xftfont.c XGetGCValues (FRAME_X_DISPLAY (f), gc, f 107 src/xftfont.c x_query_colors (f, colors, bg ? 2 : 1); f 113 src/xftfont.c if (!XftColorAllocValue (FRAME_X_DISPLAY (f), f 114 src/xftfont.c FRAME_X_VISUAL (f), f 115 src/xftfont.c FRAME_X_COLORMAP (f), f 130 src/xftfont.c if (!XftColorAllocValue (FRAME_X_DISPLAY (f), f 131 src/xftfont.c FRAME_X_VISUAL (f), f 132 src/xftfont.c FRAME_X_COLORMAP (f), f 144 src/xftfont.c xftfont_list (struct frame *f, Lisp_Object spec) f 146 src/xftfont.c return ftfont_list2 (f, spec, Qxft); f 150 src/xftfont.c xftfont_match (struct frame *f, Lisp_Object spec) f 152 src/xftfont.c return ftfont_match2 (f, spec, Qxft); f 158 src/xftfont.c xftfont_open (struct frame *f, Lisp_Object entity, int pixel_size) f 161 src/xftfont.c Display *display = FRAME_X_DISPLAY (f); f 186 src/xftfont.c XftDefaultSubstitute (display, FRAME_X_SCREEN_NUMBER (f), pat); f 187 src/xftfont.c match = XftFontMatch (display, FRAME_X_SCREEN_NUMBER (f), pat, &result); f 220 src/xftfont.c xftfont_info->x_display_id = FRAME_DISPLAY_INFO (f)->x_id; f 376 src/xftfont.c xftfont_prepare_face (struct frame *f, struct face *face) f 390 src/xftfont.c xftfont_get_colors (f, face, face->gc, NULL, f 399 src/xftfont.c xftfont_done_face (struct frame *f, struct face *face) f 414 src/xftfont.c XftColorFree (FRAME_X_DISPLAY (f), f 415 src/xftfont.c FRAME_X_VISUAL (f), f 416 src/xftfont.c FRAME_X_COLORMAP (f), f 420 src/xftfont.c XftColorFree (FRAME_X_DISPLAY (f), f 421 src/xftfont.c FRAME_X_VISUAL (f), f 422 src/xftfont.c FRAME_X_COLORMAP (f), f 482 src/xftfont.c xftfont_get_xft_draw (struct frame *f) f 484 src/xftfont.c XftDraw *xft_draw = font_get_frame_data (f, Qxft); f 489 src/xftfont.c xft_draw = XftDrawCreate (FRAME_X_DISPLAY (f), f 490 src/xftfont.c FRAME_X_DRAWABLE (f), f 491 src/xftfont.c FRAME_X_VISUAL (f), f 492 src/xftfont.c FRAME_X_COLORMAP (f)); f 495 src/xftfont.c font_put_frame_data (f, Qxft, xft_draw); f 506 src/xftfont.c struct frame *f = s->f; f 510 src/xftfont.c XftDraw *xft_draw = xftfont_get_xft_draw (f); f 519 src/xftfont.c xftfont_get_colors (f, face, s->gc, xftface_info, f 550 src/xftfont.c && FRAME_DISPLAY_INFO (s->f)->alpha_bits f 551 src/xftfont.c && FRAME_CHECK_XR_VERSION (s->f, 0, 2)) f 553 src/xftfont.c x_xr_ensure_picture (s->f); f 555 src/xftfont.c if (FRAME_X_PICTURE (s->f) != None) f 561 src/xftfont.c XRenderSetPictureClipRectangles (FRAME_X_DISPLAY (s->f), f 562 src/xftfont.c FRAME_X_PICTURE (s->f), f 565 src/xftfont.c x_xr_reset_ext_clip (f); f 566 src/xftfont.c x_xrender_color_from_gc_background (s->f, s->gc, &xc, s->hl != DRAW_CURSOR); f 567 src/xftfont.c XRenderFillRectangle (FRAME_X_DISPLAY (s->f), f 568 src/xftfont.c PictOpSrc, FRAME_X_PICTURE (s->f), f 570 src/xftfont.c x_xr_reset_ext_clip (f); f 571 src/xftfont.c x_mark_frame_dirty (s->f); f 596 src/xftfont.c x_mark_frame_dirty (f); f 599 src/xftfont.c XftColorFree (FRAME_X_DISPLAY (f), f 600 src/xftfont.c FRAME_X_VISUAL (f), f 601 src/xftfont.c FRAME_X_COLORMAP (f), f 605 src/xftfont.c XftColorFree (FRAME_X_DISPLAY (f), f 606 src/xftfont.c FRAME_X_VISUAL (f), f 607 src/xftfont.c FRAME_X_COLORMAP (f), f 629 src/xftfont.c xftfont_end_for_frame (struct frame *f) f 634 src/xftfont.c if (!FRAME_X_DISPLAY (f)) f 640 src/xftfont.c xft_draw = font_get_frame_data (f, Qxft); f 646 src/xftfont.c font_put_frame_data (f, Qxft, NULL); f 659 src/xftfont.c xftfont_drop_xrender_surfaces (struct frame *f) f 661 src/xftfont.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 664 src/xftfont.c xftfont_end_for_frame (f); f 671 src/xftfont.c xftfont_cached_font_ok (struct frame *f, Lisp_Object font_object, f 676 src/xftfont.c Display *display = FRAME_X_DISPLAY (f); f 683 src/xftfont.c XftDefaultSubstitute (display, FRAME_X_SCREEN_NUMBER (f), pat); f 718 src/xftfont.c xfthbfont_list (struct frame *f, Lisp_Object spec) f 720 src/xftfont.c return ftfont_list2 (f, spec, Qxfthb); f 724 src/xftfont.c xfthbfont_match (struct frame *f, Lisp_Object spec) f 726 src/xftfont.c return ftfont_match2 (f, spec, Qxfthb); f 130 src/xmenu.c struct frame *f; f 134 src/xmenu.c f = XFRAME (frame); f 135 src/xmenu.c if (!FRAME_WINDOW_P (f)) f 137 src/xmenu.c if (f->output_data.x->id == id) f 138 src/xmenu.c return f; f 166 src/xmenu.c struct frame *f = XFRAME (frame); f 168 src/xmenu.c if (in_use && FRAME_Z_GROUP_ABOVE (f)) f 169 src/xmenu.c x_set_z_group (f, Qabove_suspended, Qabove); f 170 src/xmenu.c else if (!in_use && FRAME_Z_GROUP_ABOVE_SUSPENDED (f)) f 171 src/xmenu.c x_set_z_group (f, Qabove, Qabove_suspended); f 476 src/xmenu.c struct frame *f = decode_window_system_frame (frame); f 478 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 483 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 484 src/xmenu.c set_frame_menubar (f, true); f 486 src/xmenu.c menubar = FRAME_X_OUTPUT (f)->menubar_widget; f 498 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 517 src/xmenu.c x_catch_errors (FRAME_X_DISPLAY (f)); f 519 src/xmenu.c ev.xbutton.display = FRAME_X_DISPLAY (f); f 521 src/xmenu.c ev.xbutton.root = FRAME_DISPLAY_INFO (f)->root_window; f 523 src/xmenu.c ev.xbutton.time = XtLastTimestampProcessed (FRAME_X_DISPLAY (f)); f 526 src/xmenu.c && xi_frame_selected_for (f, XI_KeyPress)) f 531 src/xmenu.c ev.xbutton.x = ev.xbutton.y = FRAME_MENUBAR_HEIGHT (f) / 2; f 546 src/xmenu.c XTranslateCoordinates (FRAME_X_DISPLAY (f), f 556 src/xmenu.c error_p = x_had_errors_p (FRAME_X_DISPLAY (f)); f 589 src/xmenu.c struct frame *f; f 592 src/xmenu.c f = decode_window_system_frame (frame); f 594 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 595 src/xmenu.c set_frame_menubar (f, true); f 597 src/xmenu.c menubar = FRAME_X_OUTPUT (f)->menubar_widget; f 647 src/xmenu.c x_activate_menubar (struct frame *f) f 649 src/xmenu.c eassert (FRAME_X_P (f)); f 651 src/xmenu.c if (!f->output_data.x->saved_menu_event->type) f 655 src/xmenu.c if (! xg_win_to_widget (FRAME_X_DISPLAY (f), f 656 src/xmenu.c f->output_data.x->saved_menu_event->xany.window)) f 660 src/xmenu.c set_frame_menubar (f, true); f 664 src/xmenu.c XPutBackEvent (f->output_data.x->display_info->display, f 665 src/xmenu.c f->output_data.x->saved_menu_event); f 668 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 674 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 688 src/xmenu.c = XtDispatchEvent (f->output_data.x->saved_menu_event); f 693 src/xmenu.c f->output_data.x->saved_menu_event->type = 0; f 728 src/xmenu.c show_help_event (struct frame *f, xt_or_gtk_widget widget, Lisp_Object help) f 732 src/xmenu.c if (f) f 734 src/xmenu.c XSETFRAME (frame, f); f 765 src/xmenu.c show_help_event (popup_activated_flag <= 1 ? cb_data->cl_data->f : NULL, f 776 src/xmenu.c struct frame *f = menubar_id_to_frame (id); f 778 src/xmenu.c show_help_event (f, widget, help); f 801 src/xmenu.c if (! cb_data || ! cb_data->cl_data || ! cb_data->cl_data->f) f 824 src/xmenu.c find_and_call_menu_selection (cb_data->cl_data->f, f 839 src/xmenu.c struct frame *f; f 841 src/xmenu.c f = menubar_id_to_frame (id); f 842 src/xmenu.c if (!f) f 844 src/xmenu.c find_and_call_menu_selection (f, f->menu_bar_items_used, f 845 src/xmenu.c f->menu_bar_vector, client_data); f 853 src/xmenu.c update_frame_menubar (struct frame *f) f 856 src/xmenu.c xg_update_frame_menubar (f); f 860 src/xmenu.c eassert (FRAME_X_P (f)); f 862 src/xmenu.c x = f->output_data.x; f 889 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 908 src/xmenu.c apply_systemfont_to_menu (struct frame *f, Widget w) f 928 src/xmenu.c set_frame_menubar (struct frame *f, bool deep_p) f 941 src/xmenu.c eassert (FRAME_X_P (f)); f 943 src/xmenu.c menubar_widget = old_widget = f->output_data.x->menubar_widget; f 945 src/xmenu.c XSETFRAME (Vmenu_updating_frame, f); f 948 src/xmenu.c if (f->output_data.x->id == 0) f 949 src/xmenu.c f->output_data.x->id = next_menubar_widget_id++; f 950 src/xmenu.c id = f->output_data.x->id; f 956 src/xmenu.c else if (!f->output_data.x->saved_menu_event && !deep_p) f 959 src/xmenu.c f->output_data.x->saved_menu_event = xmalloc (sizeof (XEvent)); f 960 src/xmenu.c f->output_data.x->saved_menu_event->type = 0; f 970 src/xmenu.c int previous_menu_items_used = f->menu_bar_items_used; f 980 src/xmenu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 1001 src/xmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 1003 src/xmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 1007 src/xmenu.c memcpy (previous_items, xvector_contents (f->menu_bar_vector), f 1014 src/xmenu.c menu_items = f->menu_bar_vector; f 1089 src/xmenu.c fset_menu_bar_vector (f, menu_items); f 1090 src/xmenu.c f->menu_bar_items_used = menu_items_used; f 1119 src/xmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 1146 src/xmenu.c f->menu_bar_items_used = 0; f 1160 src/xmenu.c f, f 1170 src/xmenu.c = xg_create_widget ("menubar", "menubar", f, first_wv, f 1175 src/xmenu.c f->output_data.x->menubar_widget = menubar_widget; f 1183 src/xmenu.c lw_allow_resizing (f->output_data.x->widget, False); f 1190 src/xmenu.c lw_allow_resizing (f->output_data.x->widget, True); f 1198 src/xmenu.c apply_systemfont_to_menu (f, f->output_data.x->column_widget); f 1202 src/xmenu.c f->output_data.x->column_widget, f 1208 src/xmenu.c f->output_data.x->menubar_widget = menubar_widget; f 1216 src/xmenu.c if (f->output_data.x->menubar_widget) f 1217 src/xmenu.c XtRealizeWidget (f->output_data.x->menubar_widget); f 1220 src/xmenu.c = (f->output_data.x->menubar_widget f 1221 src/xmenu.c ? (f->output_data.x->menubar_widget->core.height f 1228 src/xmenu.c + f->output_data.x->menubar_widget->core.border_width f 1238 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 1242 src/xmenu.c XtVaGetValues (f->output_data.x->column_widget, f 1248 src/xmenu.c FRAME_MENUBAR_HEIGHT (f) = menubar_size; f 1253 src/xmenu.c update_frame_menubar (f); f 1268 src/xmenu.c initialize_frame_menubar (struct frame *f) f 1272 src/xmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 1273 src/xmenu.c set_frame_menubar (f, true); f 1283 src/xmenu.c free_frame_menubar (struct frame *f) f 1290 src/xmenu.c int old_width = FRAME_TEXT_WIDTH (f); f 1291 src/xmenu.c int old_height = FRAME_TEXT_HEIGHT (f) + FRAME_MENUBAR_HEIGHT (f); f 1294 src/xmenu.c eassert (FRAME_X_P (f)); f 1296 src/xmenu.c menubar_widget = f->output_data.x->menubar_widget; f 1298 src/xmenu.c FRAME_MENUBAR_HEIGHT (f) = 0; f 1317 src/xmenu.c if (f->output_data.x->widget) f 1318 src/xmenu.c XtVaGetValues (f->output_data.x->widget, XtNx, &x0, XtNy, &y0, NULL); f 1321 src/xmenu.c lw_destroy_all_widgets ((LWLIB_ID) f->output_data.x->id); f 1322 src/xmenu.c f->output_data.x->menubar_widget = NULL; f 1330 src/xmenu.c if (f->output_data.x->widget) f 1333 src/xmenu.c XtVaGetValues (f->output_data.x->widget, XtNx, &x1, XtNy, &y1, NULL); f 1335 src/xmenu.c XtVaSetValues (f->output_data.x->widget, XtNx, x0, XtNy, y0, NULL); f 1342 src/xmenu.c if (frame_inhibit_resize (f, false, Qmenu_bar_lines) f 1343 src/xmenu.c && !EQ (get_frame_param (f, Qfullscreen), Qfullheight)) f 1344 src/xmenu.c adjust_frame_size (f, old_width, old_height, 1, false, f 1347 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1349 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1355 src/xmenu.c if (WINDOWP (FRAME_ROOT_WINDOW (f)) f 1357 src/xmenu.c && frame_inhibit_resize (f, false, Qmenu_bar_lines) f 1358 src/xmenu.c && !EQ (get_frame_param (f, Qfullscreen), Qfullheight)) f 1359 src/xmenu.c adjust_frame_size (f, old_width, old_height, 1, false, f 1399 src/xmenu.c struct frame *f; f 1427 src/xmenu.c XSETFRAME (frame, data->f); f 1430 src/xmenu.c scale = xg_get_scale (data->f); f 1451 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (data->f); f 1500 src/xmenu.c create_and_show_popup_menu (struct frame *f, widget_value *first_wv, f 1516 src/xmenu.c eassert (FRAME_X_P (f)); f 1519 src/xmenu.c menu = xg_create_widget ("popup", first_wv->name, f, first_wv, f 1532 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 1536 src/xmenu.c x /= xg_get_scale (f); f 1537 src/xmenu.c y /= xg_get_scale (f); f 1542 src/xmenu.c popup_x_y.f = f; f 1550 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->grabbed & (1 << i)) f 1557 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 1558 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 1560 src/xmenu.c for (int i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 1562 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->devices[i].grab) f 1564 src/xmenu.c FRAME_DISPLAY_INFO (f)->devices[i].grab = 0; f 1566 src/xmenu.c XIUngrabDevice (FRAME_X_DISPLAY (f), f 1567 src/xmenu.c FRAME_DISPLAY_INFO (f)->devices[i].device_id, f 1580 src/xmenu.c FRAME_DISPLAY_INFO (f)->last_user_time); f 1597 src/xmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1621 src/xmenu.c prepare_for_entry_into_toolkit_menu (struct frame *f) f 1629 src/xmenu.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1646 src/xmenu.c f = XFRAME (frame); f 1648 src/xmenu.c if (FRAME_X_P (f) f 1649 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1650 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1651 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1664 src/xmenu.c struct frame *f; f 1685 src/xmenu.c f = XFRAME (frame); f 1687 src/xmenu.c if (FRAME_X_P (f) f 1688 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1689 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1690 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1728 src/xmenu.c create_and_show_popup_menu (struct frame *f, widget_value *first_wv, f 1743 src/xmenu.c eassert (FRAME_X_P (f)); f 1746 src/xmenu.c apply_systemfont_to_menu (f, f->output_data.x->widget); f 1751 src/xmenu.c f->output_data.x->widget, true, 0, f 1759 src/xmenu.c event->display = FRAME_X_DISPLAY (f); f 1761 src/xmenu.c event->root = FRAME_DISPLAY_INFO (f)->root_window; f 1768 src/xmenu.c x += FRAME_LEFT_SCROLL_BAR_AREA_WIDTH (f); f 1769 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 1778 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->grabbed & (1 << i)) f 1786 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1794 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 1819 src/xmenu.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 1824 src/xmenu.c (XPointer) &(XID[]) {FRAME_OUTER_WINDOW (f), property_atom}); f 1832 src/xmenu.c prepare_for_entry_into_toolkit_menu (f); f 1858 src/xmenu.c record_unwind_protect_ptr (leave_toolkit_menu, f); f 1862 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), menu_id, true); f 1877 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 1896 src/xmenu.c eassert (FRAME_X_P (f)); f 2082 src/xmenu.c create_and_show_popup_menu (f, first_wv, x, y, f 2173 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2177 src/xmenu.c eassert (FRAME_X_P (f)); f 2179 src/xmenu.c menu = xg_create_widget ("dialog", first_wv->name, f, first_wv, f 2221 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2225 src/xmenu.c eassert (FRAME_X_P (f)); f 2229 src/xmenu.c apply_systemfont_to_dialog (f->output_data.x->widget); f 2232 src/xmenu.c f->output_data.x->widget, true, 0, f 2251 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), dialog_id, true); f 2264 src/xmenu.c x_dialog_show (struct frame *f, Lisp_Object title, f 2279 src/xmenu.c eassert (FRAME_X_P (f)); f 2385 src/xmenu.c create_and_show_dialog (f, first_wv); f 2424 src/xmenu.c xw_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 2431 src/xmenu.c check_window_system (f); f 2448 src/xmenu.c selection = x_dialog_show (f, title, header, &error_name); f 2507 src/xmenu.c struct frame *f = data->frame; f 2516 src/xmenu.c XUngrabPointer (FRAME_X_DISPLAY (f), CurrentTime); f 2517 src/xmenu.c XUngrabKeyboard (FRAME_X_DISPLAY (f), CurrentTime); f 2519 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2524 src/xmenu.c x_mouse_leave (FRAME_DISPLAY_INFO (f)); f 2530 src/xmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 2536 src/xmenu.c for (i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 2538 src/xmenu.c device = &FRAME_DISPLAY_INFO (f)->devices[i]; f 2552 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 2569 src/xmenu.c eassert (FRAME_X_P (f) || FRAME_MSDOS_P (f)); f 2585 src/xmenu.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &root, f 2590 src/xmenu.c menu = XMenuCreate (FRAME_X_DISPLAY (f), root, "emacs"); f 2603 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 2606 src/xmenu.c x += f->left_pos; f 2607 src/xmenu.c y += f->top_pos; f 2630 src/xmenu.c lpane = XMenuAddPane (FRAME_X_DISPLAY (f), menu, pane_string, true); f 2633 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2690 src/xmenu.c || (XMenuAddSelection (FRAME_X_DISPLAY (f), f 2695 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2707 src/xmenu.c XMenuRecompute (FRAME_X_DISPLAY (f), menu); f 2708 src/xmenu.c dispwidth = DisplayWidth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2709 src/xmenu.c dispheight = DisplayHeight (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2714 src/xmenu.c XMenuLocate (FRAME_X_DISPLAY (f), menu, 0, 0, x, y, f 2727 src/xmenu.c if (FRAME_HAS_MINIBUF_P (f) && uly + height > dispheight - 1) f 2762 src/xmenu.c FRAME_X_DISPLAY (f)); f 2774 src/xmenu.c &(struct pop_down_menu) {f, menu}); f 2778 src/xmenu.c menu_help_frame = f; f 2781 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2785 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 2802 src/xmenu.c status = XMenuActivate (FRAME_X_DISPLAY (f), menu, &pane, &selidx, f 277 src/xselect.c struct frame *f = XFRAME (frame); f 278 src/xselect.c Window selecting_window = FRAME_X_WINDOW (f); f 279 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1396 src/xselect.c x_clear_frame_selections (struct frame *f) f 1399 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1402 src/xselect.c XSETFRAME (frame, f); f 1639 src/xselect.c struct frame *f = XFRAME (frame); f 1640 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1642 src/xselect.c Window requestor_window = FRAME_X_WINDOW (f); f 1655 src/xselect.c if (!FRAME_LIVE_P (f)) f 2510 src/xselect.c struct frame *f; f 2514 src/xselect.c f = XFRAME (selected_frame); f 2515 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2516 src/xselect.c return f; f 2520 src/xselect.c f = XFRAME (frame); f 2521 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2522 src/xselect.c return f; f 2532 src/xselect.c f = XFRAME (frame); f 2533 src/xselect.c if (FRAME_LIVE_P (f) && f->terminal == t) f 2534 src/xselect.c return f; f 2539 src/xselect.c f = XFRAME (object); f 2540 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2541 src/xselect.c return f; f 2597 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2604 src/xselect.c if (!f) f 2618 src/xselect.c FRAME_DISPLAY_INFO (f), Qnil, false); f 2620 src/xselect.c if (NILP (val) && FRAME_LIVE_P (f)) f 2623 src/xselect.c XSETFRAME (frame, f); f 2656 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2659 src/xselect.c if (!f) f 2662 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2708 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2714 src/xselect.c if (f && !NILP (LOCAL_SELECTION (selection, FRAME_DISPLAY_INFO (f)))) f 2740 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2751 src/xselect.c if (!f) f 2754 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2829 src/xselect.c struct frame *f = XFRAME (frame); f 2830 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2833 src/xselect.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 2873 src/xselect.c struct frame *f; f 2877 src/xselect.c && (f = XFRAME (frame), FRAME_X_P (f)) f 2878 src/xselect.c && FRAME_LIVE_P (f)) f 2880 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3047 src/xselect.c x_property_data_to_lisp (struct frame *f, const unsigned char *data, f 3054 src/xselect.c return selection_data_to_lisp_data (FRAME_DISPLAY_INFO (f), data, f 3068 src/xselect.c struct frame *f = decode_window_system_frame (frame); f 3069 src/xselect.c Display *dpy = FRAME_X_DISPLAY (f); f 3076 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 3104 src/xselect.c struct frame *f = decode_window_system_frame (frame); f 3106 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3136 src/xselect.c x_handle_dnd_message (struct frame *f, const XClientMessageEvent *event, f 3154 src/xselect.c XSETFRAME (frame, f); f 3169 src/xselect.c ASET (vec, 0, SYMBOL_NAME (x_atom_to_symbol (FRAME_DISPLAY_INFO (f), f 3173 src/xselect.c ASET (vec, 3, x_property_data_to_lisp (f, f 3180 src/xselect.c x_relative_mouse_position (f, &x, &y); f 3182 src/xselect.c x_translate_coordinates (f, root_x, root_y, &x, &y); f 3246 src/xselect.c struct frame *f = decode_window_system_frame (from); f 3292 src/xselect.c event.xclient.window = to_root ? FRAME_OUTER_WINDOW (f) : wdest; f 2900 src/xterm.c struct frame *f, Window wdesc, f 2910 src/xterm.c lmsg.source_window = FRAME_X_WINDOW (f); f 2913 src/xterm.c xm_send_top_level_leave_message (dpyinfo, FRAME_X_WINDOW (f), f 3986 src/xterm.c struct frame *f; f 3988 src/xterm.c f = decode_window_system_frame (frame); f 4034 src/xterm.c if (owner != FRAME_X_WINDOW (f)) f 4145 src/xterm.c struct frame *tooltip, *f; f 4168 src/xterm.c f = x_top_window_to_frame (dpyinfo, child); f 4174 src/xterm.c if (f) f 4322 src/xterm.c f = x_top_window_to_frame (dpyinfo, child_return); f 4324 src/xterm.c if (f) f 4536 src/xterm.c x_dnd_send_enter (struct frame *f, Window target, Window toplevel, f 4539 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4547 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4559 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4569 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4574 src/xterm.c x_dnd_send_position (struct frame *f, Window target, Window toplevel, f 4579 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4586 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4641 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4649 src/xterm.c x_dnd_send_leave (struct frame *f, Window target, Window toplevel) f 4651 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4658 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4668 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4673 src/xterm.c x_dnd_send_drop (struct frame *f, Window target, Window toplevel, f 4681 src/xterm.c x_dnd_send_leave (f, target, toplevel); f 4685 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4691 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4701 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4770 src/xterm.c x_restore_events_after_dnd (struct frame *f, XWindowAttributes *wa) f 4774 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4786 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4791 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4805 src/xterm.c struct frame *f; f 4810 src/xterm.c f = x_dnd_frame; f 4825 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4827 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4834 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4836 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4838 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4839 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4860 src/xterm.c struct frame *f = frame; f 4884 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4886 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4893 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4895 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4897 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4898 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4911 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 4920 src/xterm.c x_restore_events_after_dnd (f, &x_dnd_old_window_attrs); f 4927 src/xterm.c struct frame *f; f 4930 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4932 src/xterm.c if (f) f 4934 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4936 src/xterm.c x_dnd_movement_frame = f; f 4949 src/xterm.c struct frame *f; f 4955 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4957 src/xterm.c if (f) f 4959 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4961 src/xterm.c x_dnd_wheel_frame = f; f 4978 src/xterm.c struct frame *f; f 4989 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4991 src/xterm.c if (!f) f 4997 src/xterm.c x_translate_coordinates (f, root_x, root_y, &win_x, &win_y); f 5003 src/xterm.c XSETFRAME (lval, f); f 5019 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 5039 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist), f 5056 src/xterm.c x_flush (struct frame *f) f 5058 src/xterm.c eassert (f && FRAME_X_P (f)); f 5065 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 5071 src/xterm.c x_drop_xrender_surfaces (struct frame *f) f 5073 src/xterm.c font_drop_xrender_surfaces (f); f 5076 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f) f 5077 src/xterm.c && FRAME_X_PICTURE (f) != None) f 5079 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 5080 src/xterm.c FRAME_X_PICTURE (f)); f 5081 src/xterm.c FRAME_X_PICTURE (f) = None; f 5089 src/xterm.c x_xr_ensure_picture (struct frame *f) f 5091 src/xterm.c if (FRAME_X_PICTURE (f) == None && FRAME_X_PICTURE_FORMAT (f)) f 5095 src/xterm.c XRenderPictFormat *fmt = FRAME_X_PICTURE_FORMAT (f); f 5097 src/xterm.c FRAME_X_PICTURE (f) = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 5098 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 5139 src/xterm.c xi_frame_selected_for (struct frame *f, unsigned long event) f 5144 src/xterm.c masks = FRAME_X_OUTPUT (f)->xi_masks; f 5149 src/xterm.c for (i = 0; i < FRAME_X_OUTPUT (f)->num_xi_masks; ++i) f 5161 src/xterm.c x_toolkit_position (struct frame *f, int x, int y, f 5168 src/xterm.c y += (FRAME_MENUBAR_HEIGHT (f) f 5169 src/xterm.c + FRAME_TOOLBAR_TOP_HEIGHT (f)); f 5170 src/xterm.c x += FRAME_TOOLBAR_LEFT_WIDTH (f); f 5172 src/xterm.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 5173 src/xterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 5174 src/xterm.c && y >= 0 && y < FRAME_MENUBAR_HEIGHT (f)); f 5176 src/xterm.c if (FRAME_X_OUTPUT (f)->toolbar_widget) f 5178 src/xterm.c scale = xg_get_scale (f); f 5184 src/xterm.c *tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 5188 src/xterm.c *menu_bar_p = (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5189 src/xterm.c && (y < 0 && y >= -FRAME_MENUBAR_HEIGHT (f))); f 5191 src/xterm.c *menu_bar_p = (WINDOWP (f->menu_bar_window) f 5192 src/xterm.c && (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5193 src/xterm.c && (y > 0 && y < FRAME_MENU_BAR_HEIGHT (f)))); f 5198 src/xterm.c x_update_opaque_region (struct frame *f, XEvent *configure) f 5203 src/xterm.c : FRAME_PIXEL_WIDTH (f)), f 5206 src/xterm.c : FRAME_PIXEL_HEIGHT (f))}; f 5212 src/xterm.c if (!FRAME_DISPLAY_INFO (f)->alpha_bits) f 5215 src/xterm.c if (f->alpha_background < 1.0) f 5216 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5217 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5222 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5223 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5227 src/xterm.c else if (FRAME_TOOLTIP_P (f)) f 5228 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5229 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5236 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 5238 src/xterm.c object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); f 5242 src/xterm.c class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); f 5259 src/xterm.c x_gc_get_ext_data (struct frame *f, GC gc, int create_if_not_found_p) f 5261 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5295 src/xterm.c #define FRAME_CR_CONTEXT(f) ((f)->output_data.x->cr_context) f 5296 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_WIDTH(f) \ f 5297 src/xterm.c ((f)->output_data.x->cr_surface_desired_width) f 5298 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_HEIGHT(f) \ f 5299 src/xterm.c ((f)->output_data.x->cr_surface_desired_height) f 5846 src/xterm.c xi_unlink_touch_points (struct frame *f) f 5852 src/xterm.c for (i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 5854 src/xterm.c device = &FRAME_DISPLAY_INFO (f)->devices[i]; f 5860 src/xterm.c if (last->frame == f) f 5926 src/xterm.c x_cr_destroy_frame_context (struct frame *f) f 5928 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 5930 src/xterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 5931 src/xterm.c FRAME_CR_CONTEXT (f) = NULL; f 5936 src/xterm.c x_cr_update_surface_desired_size (struct frame *f, int width, int height) f 5938 src/xterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 5939 src/xterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height) f 5941 src/xterm.c x_cr_destroy_frame_context (f); f 5942 src/xterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 5943 src/xterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 5948 src/xterm.c x_cr_gc_clip (cairo_t *cr, struct frame *f, GC gc) f 5952 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 5967 src/xterm.c x_begin_cr_clip (struct frame *f, GC gc) f 5969 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 5973 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 5974 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 5977 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xcb_visual) f 5978 src/xterm.c surface = cairo_xcb_surface_create (FRAME_DISPLAY_INFO (f)->xcb_connection, f 5979 src/xterm.c (xcb_drawable_t) FRAME_X_RAW_DRAWABLE (f), f 5980 src/xterm.c FRAME_DISPLAY_INFO (f)->xcb_visual, f 5984 src/xterm.c surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 5985 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 5986 src/xterm.c FRAME_X_VISUAL (f), f 5989 src/xterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 5993 src/xterm.c x_cr_gc_clip (cr, f, gc); f 5999 src/xterm.c x_end_cr_clip (struct frame *f) f 6001 src/xterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 6003 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 6004 src/xterm.c x_mark_frame_dirty (f); f 6009 src/xterm.c x_set_cr_source_with_gc_foreground (struct frame *f, GC gc, f 6016 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 6018 src/xterm.c x_query_colors (f, &color, 1); f 6019 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 6021 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 6024 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6026 src/xterm.c f->alpha_background); f 6028 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 6032 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6034 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 6039 src/xterm.c x_set_cr_source_with_gc_background (struct frame *f, GC gc, f 6046 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 6049 src/xterm.c x_query_colors (f, &color, 1); f 6051 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 6053 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 6056 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6058 src/xterm.c f->alpha_background); f 6060 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 6064 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6066 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 6084 src/xterm.c x_try_cr_xlib_drawable (struct frame *f, GC gc) f 6086 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 6111 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 6112 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 6120 src/xterm.c pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_RAW_DRAWABLE (f), f 6122 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f))); f 6123 src/xterm.c xlib_surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 6124 src/xterm.c pixmap, FRAME_X_VISUAL (f), f 6136 src/xterm.c x_cr_gc_clip (buf, f, gc); f 6141 src/xterm.c (void *) (uintptr_t) FRAME_X_RAW_DRAWABLE (f), NULL); f 6142 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = pixmap; f 6149 src/xterm.c x_end_cr_xlib_drawable (struct frame *f, GC gc) f 6151 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 6160 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6175 src/xterm.c x_cr_gc_clip (cr, f, gc); f 6179 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = saved_drawable; f 6242 src/xterm.c x_cr_draw_image (struct frame *f, GC gc, cairo_pattern_t *image, f 6246 src/xterm.c cairo_t *cr = x_begin_cr_clip (f, gc); f 6252 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6269 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6274 src/xterm.c x_end_cr_clip (f); f 6278 src/xterm.c x_cr_draw_frame (cairo_t *cr, struct frame *f) f 6282 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6283 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6285 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6286 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6287 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6288 src/xterm.c expose_frame (f, 0, 0, width, height); f 6289 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6314 src/xterm.c struct frame *f; f 6325 src/xterm.c f = XFRAME (XCAR (frames)); f 6327 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6328 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6368 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6369 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6370 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6371 src/xterm.c expose_frame (f, 0, 0, width, height); f 6372 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6378 src/xterm.c f = XFRAME (XCAR (frames)); f 6380 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6381 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6408 src/xterm.c x_xr_apply_ext_clip (struct frame *f, GC gc) f 6410 src/xterm.c eassert (FRAME_X_PICTURE (f) != None); f 6412 src/xterm.c struct x_gc_ext_data *data = x_gc_get_ext_data (f, gc, 1); f 6415 src/xterm.c XRenderSetPictureClipRectangles (FRAME_X_DISPLAY (f), f 6416 src/xterm.c FRAME_X_PICTURE (f), f 6422 src/xterm.c x_xr_reset_ext_clip (struct frame *f) f 6426 src/xterm.c XRenderChangePicture (FRAME_X_DISPLAY (f), f 6427 src/xterm.c FRAME_X_PICTURE (f), f 6433 src/xterm.c x_set_clip_rectangles (struct frame *f, GC gc, XRectangle *rectangles, int n) f 6435 src/xterm.c XSetClipRectangles (FRAME_X_DISPLAY (f), gc, 0, 0, rectangles, n, Unsorted); f 6440 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 1); f 6449 src/xterm.c x_reset_clip_rectangles (struct frame *f, GC gc) f 6451 src/xterm.c XSetClipMask (FRAME_X_DISPLAY (f), gc, None); f 6454 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6465 src/xterm.c x_xrender_color_from_gc_foreground (struct frame *f, GC gc, XRenderColor *color, f 6471 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 6473 src/xterm.c x_query_colors (f, &xc, 1); f 6476 src/xterm.c ? 65535 * f->alpha_background f 6495 src/xterm.c x_xrender_color_from_gc_background (struct frame *f, GC gc, XRenderColor *color, f 6501 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 6503 src/xterm.c x_query_colors (f, &xc, 1); f 6506 src/xterm.c ? 65535 * f->alpha_background f 6525 src/xterm.c x_fill_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6529 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6533 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6542 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6550 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6554 src/xterm.c cairo_pattern_t *pattern = x_bitmap_stipple (f, xgcv.stipple); f 6557 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6562 src/xterm.c x_end_cr_clip (f); f 6566 src/xterm.c && f->alpha_background != 1.0 f 6567 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6568 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6570 src/xterm.c x_xr_ensure_picture (f); f 6572 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6583 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6586 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), f 6590 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 10)) f 6592 src/xterm.c x_xrender_color_from_gc_background (f, gc, &alpha, true); f 6593 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6596 src/xterm.c stipple = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 6598 src/xterm.c XRenderFindStandardFormat (FRAME_X_DISPLAY (f), f 6602 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), PictOpSrc, f 6603 src/xterm.c FRAME_X_PICTURE (f), f 6606 src/xterm.c fill = XRenderCreateSolidFill (FRAME_X_DISPLAY (f), &xc); f 6608 src/xterm.c XRenderComposite (FRAME_X_DISPLAY (f), PictOpOver, fill, stipple, f 6609 src/xterm.c FRAME_X_PICTURE (f), 0, 0, x, y, x, y, width, height); f 6611 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), stipple); f 6612 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), fill); f 6617 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6618 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6619 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6622 src/xterm.c x_xr_reset_ext_clip (f); f 6623 src/xterm.c x_mark_frame_dirty (f); f 6629 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6636 src/xterm.c x_clear_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6642 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6643 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6646 src/xterm.c x_end_cr_clip (f); f 6650 src/xterm.c && f->alpha_background != 1.0 f 6651 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6652 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6654 src/xterm.c x_xr_ensure_picture (f); f 6656 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6660 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6661 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 6662 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6663 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6665 src/xterm.c x_xr_reset_ext_clip (f); f 6666 src/xterm.c x_mark_frame_dirty (f); f 6674 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6677 src/xterm.c XFillRectangle (dpy, FRAME_X_DRAWABLE (f), f 6684 src/xterm.c x_draw_rectangle (struct frame *f, GC gc, int x, int y, int width, int height) f 6689 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6690 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6694 src/xterm.c x_end_cr_clip (f); f 6696 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6702 src/xterm.c x_clear_window (struct frame *f) f 6707 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 6708 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, true); f 6710 src/xterm.c x_end_cr_clip (f); f 6713 src/xterm.c if (f->alpha_background != 1.0 f 6715 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 6719 src/xterm.c x_clear_area (f, 0, 0, FRAME_PIXEL_WIDTH (f), f 6720 src/xterm.c FRAME_PIXEL_HEIGHT (f)); f 6723 src/xterm.c XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 6730 src/xterm.c x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y, f 6735 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6736 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6742 src/xterm.c x_end_cr_clip (f); f 6755 src/xterm.c x_erase_corners_for_relief (struct frame *f, GC gc, int x, int y, f 6762 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6763 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6784 src/xterm.c x_end_cr_clip (f); f 6788 src/xterm.c x_draw_horizontal_wave (struct frame *f, GC gc, int x, int y, f 6795 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6796 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6825 src/xterm.c x_end_cr_clip (f); f 6845 src/xterm.c x_find_topmost_parent (struct frame *f) f 6847 src/xterm.c struct x_output *x = f->output_data.x; f 6849 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6851 src/xterm.c while (wi != FRAME_DISPLAY_INFO (f)->root_window) f 6870 src/xterm.c x_set_frame_alpha (struct frame *f) f 6872 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 6873 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6874 src/xterm.c Window win = FRAME_OUTER_WINDOW (f); f 6880 src/xterm.c if (dpyinfo->highlight_frame == f) f 6881 src/xterm.c alpha = f->alpha[0]; f 6883 src/xterm.c alpha = f->alpha[1]; f 6907 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 6909 src/xterm.c parent = x_find_topmost_parent (f); f 7029 src/xterm.c struct frame *f, XEvent *event) f 7036 src/xterm.c output = FRAME_X_OUTPUT (f); f 7056 src/xterm.c struct frame *f; f 7059 src/xterm.c f = (struct frame *) user_data; f 7060 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7065 src/xterm.c && event->xclient.window == FRAME_OUTER_WINDOW (f)) f 7076 src/xterm.c x_sync_wait_for_frame_drawn_event (struct frame *f) f 7081 src/xterm.c if (!FRAME_X_WAITING_FOR_DRAW (f) f 7084 src/xterm.c || !FRAME_VISIBLE_P (f)) f 7087 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7090 src/xterm.c if (x_if_event (FRAME_X_DISPLAY (f), &event, f 7091 src/xterm.c x_sync_is_frame_drawn_event, (XPointer) f, f 7097 src/xterm.c if (FRAME_X_DRAW_JUST_HUNG (f)) f 7102 src/xterm.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 7106 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7111 src/xterm.c store_frame_param (f, Quse_frame_synchronization, Qnil); f 7118 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = true; f 7122 src/xterm.c x_sync_note_frame_times (dpyinfo, f, &event); f 7124 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 7131 src/xterm.c x_sync_update_begin (struct frame *f) f 7136 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 7139 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7141 src/xterm.c if (FRAME_X_OUTPUT (f)->ext_sync_end_pending_p) f 7143 src/xterm.c FRAME_X_COUNTER_VALUE (f) f 7144 src/xterm.c = FRAME_X_OUTPUT (f)->resize_counter_value; f 7146 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7157 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = false; f 7166 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 7170 src/xterm.c FRAME_X_OUTPUT (f)->temp_frame_time = x_sync_current_monotonic_time (); f 7179 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7183 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 3); f 7185 src/xterm.c eassert (XSyncValueLow32 (FRAME_X_COUNTER_VALUE (f)) % 4 == 1); f 7187 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7188 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7189 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7198 src/xterm.c x_sync_trigger_fence (struct frame *f, XSyncValue value) f 7203 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xsync_major < 3 f 7204 src/xterm.c || (FRAME_DISPLAY_INFO (f)->xsync_major == 3 f 7205 src/xterm.c && FRAME_DISPLAY_INFO (f)->xsync_minor < 1)) f 7218 src/xterm.c XSyncTriggerFence (FRAME_X_DISPLAY (f), f 7219 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[idx]); f 7225 src/xterm.c x_sync_init_fences (struct frame *f) f 7230 src/xterm.c output = FRAME_X_OUTPUT (f); f 7231 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7240 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7244 src/xterm.c FRAME_X_WINDOW (f), f 7247 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7248 src/xterm.c FRAME_X_WINDOW (f), f 7251 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 7258 src/xterm.c x_sync_free_fences (struct frame *f) f 7260 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[0] != None) f 7261 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7262 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[0]); f 7264 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[1] != None) f 7265 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7266 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[1]); f 7275 src/xterm.c x_sync_update_finish (struct frame *f) f 7280 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 7283 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7297 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7301 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 0); f 7305 src/xterm.c x_sync_trigger_fence (f, FRAME_X_COUNTER_VALUE (f)); f 7308 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7309 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7310 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7312 src/xterm.c if (FRAME_OUTPUT_DATA (f)->use_vsync_p) f 7313 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = true; f 7320 src/xterm.c XEvent *message, struct frame *f) f 7324 src/xterm.c if (FRAME_OUTER_WINDOW (f) == message->xclient.window) f 7326 src/xterm.c counter = FRAME_X_COUNTER_VALUE (f); f 7335 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 7340 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = false; f 7343 src/xterm.c x_sync_note_frame_times (dpyinfo, f, message); f 7354 src/xterm.c x_update_begin (struct frame *f) f 7360 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7362 src/xterm.c x_sync_update_begin (f); f 7368 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7371 src/xterm.c FRAME_X_COMPLETE_P (f) = false; f 7380 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7383 src/xterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 7385 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->normal_gc, f 7389 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, x, y0, 1, y1 - y0, false); f 7391 src/xterm.c XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 7392 src/xterm.c f->output_data.x->normal_gc, x, y0, x, y1); f 7401 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7402 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 7404 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 7406 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 7407 src/xterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 7410 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7413 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7414 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7420 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7421 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7423 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7424 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7426 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7427 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7434 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7435 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7437 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7438 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7440 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7441 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7448 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7449 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7461 src/xterm.c show_back_buffer (struct frame *f) f 7468 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7473 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 7476 src/xterm.c x_sync_update_begin (f); f 7480 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 7485 src/xterm.c swap_info.swap_window = FRAME_X_WINDOW (f); f 7487 src/xterm.c XdbeSwapBuffers (FRAME_X_DISPLAY (f), &swap_info, 1); f 7491 src/xterm.c x_sync_update_finish (f); f 7495 src/xterm.c FRAME_X_NEED_BUFFER_FLIP (f) = false; f 7504 src/xterm.c x_flip_and_flush (struct frame *f) f 7512 src/xterm.c && !FRAME_TOOLTIP_P (f)) f 7517 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7518 src/xterm.c show_back_buffer (f); f 7522 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7524 src/xterm.c x_flush (f); f 7532 src/xterm.c x_update_end (struct frame *f) f 7535 src/xterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 7539 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f) && FRAME_CR_CONTEXT (f)) f 7540 src/xterm.c cairo_surface_flush (cairo_get_target (FRAME_CR_CONTEXT (f))); f 7549 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7551 src/xterm.c x_sync_update_finish (f); f 7559 src/xterm.c XTframe_up_to_date (struct frame *f) f 7567 src/xterm.c eassert (FRAME_X_P (f)); f 7569 src/xterm.c FRAME_MOUSE_UPDATE (f); f 7573 src/xterm.c && FRAME_X_NEED_BUFFER_FLIP (f)) f 7574 src/xterm.c show_back_buffer (f); f 7577 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7582 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_end_pending_p f 7583 src/xterm.c && FRAME_X_BASIC_COUNTER (f) != None) f 7585 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7586 src/xterm.c FRAME_X_BASIC_COUNTER (f), f 7587 src/xterm.c FRAME_X_OUTPUT (f)->pending_basic_counter_value); f 7588 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = false; f 7591 src/xterm.c if (FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 7593 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 7601 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = false; f 7610 src/xterm.c XTbuffer_flipping_unblocked_hook (struct frame *f) f 7614 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7615 src/xterm.c show_back_buffer (f); f 7628 src/xterm.c x_clear_under_internal_border (struct frame *f) f 7630 src/xterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0) f 7632 src/xterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 7633 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 7634 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 7635 src/xterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 7636 src/xterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 7637 src/xterm.c int face_id = (FRAME_PARENT_FRAME (f) f 7639 src/xterm.c ? lookup_basic_face (NULL, f, f 7643 src/xterm.c ? lookup_basic_face (NULL, f, f 7646 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7651 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7652 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7655 src/xterm.c x_fill_rectangle (f, gc, 0, margin, width, border, false); f 7656 src/xterm.c x_fill_rectangle (f, gc, 0, 0, border, height, false); f 7657 src/xterm.c x_fill_rectangle (f, gc, width - border, 0, border, height, false); f 7658 src/xterm.c x_fill_rectangle (f, gc, 0, height - bottom_margin - border, f 7660 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7664 src/xterm.c x_clear_area (f, 0, 0, border, height); f 7665 src/xterm.c x_clear_area (f, 0, margin, width, border); f 7666 src/xterm.c x_clear_area (f, width - border, 0, border, height); f 7667 src/xterm.c x_clear_area (f, 0, height - bottom_margin - border, f 7695 src/xterm.c struct frame *f; f 7700 src/xterm.c && (f = XFRAME (w->frame), f 7701 src/xterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 7708 src/xterm.c (FRAME_PARENT_FRAME (f) f 7710 src/xterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 7713 src/xterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 7715 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7720 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7721 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7724 src/xterm.c x_fill_rectangle (f, gc, 0, y, width, height, true); f 7725 src/xterm.c x_fill_rectangle (f, gc, FRAME_PIXEL_WIDTH (f) - width, y, f 7727 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7731 src/xterm.c x_clear_area (f, 0, y, width, height); f 7732 src/xterm.c x_clear_area (f, FRAME_PIXEL_WIDTH (f) - width, y, width, height); f 7783 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7784 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7785 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7800 src/xterm.c x_fill_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7809 src/xterm.c x_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7825 src/xterm.c : f->output_data.x->cursor_pixel) f 7836 src/xterm.c gui_define_fringe_bitmap (f, p->which); f 7838 src/xterm.c x_cr_draw_image (f, gc, fringe_bmp[p->which], 0, p->dh, f 7846 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 7849 src/xterm.c int depth = FRAME_DISPLAY_INFO (f)->n_planes; f 7865 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 7866 src/xterm.c && f->alpha_background < 1.0) f 7871 src/xterm.c x_query_colors (f, &bg, 1); f 7874 src/xterm.c = x_premultiply_pixel (FRAME_DISPLAY_INFO (f), f 7876 src/xterm.c f->alpha_background); f 7884 src/xterm.c : f->output_data.x->cursor_pixel) f 7889 src/xterm.c if (FRAME_X_PICTURE_FORMAT (f) f 7890 src/xterm.c && (x_xr_ensure_picture (f), FRAME_X_PICTURE (f))) f 7892 src/xterm.c FRAME_X_PICTURE_FORMAT (f), f 7899 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 7910 src/xterm.c XRenderChangePicture (display, FRAME_X_PICTURE (f), f 7927 src/xterm.c x_xr_apply_ext_clip (f, gc); f 7929 src/xterm.c None, FRAME_X_PICTURE (f), f 7931 src/xterm.c x_xr_reset_ext_clip (f); f 7950 src/xterm.c x_reset_clip_rectangles (f, gc); f 8082 src/xterm.c x_set_gtk_user_time (struct frame *f, Time time) f 8087 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 8127 src/xterm.c x_update_frame_user_time_window (struct frame *f) f 8132 src/xterm.c output = FRAME_X_OUTPUT (f); f 8133 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 8136 src/xterm.c || !x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time)) f 8139 src/xterm.c && output->user_time_window != FRAME_OUTER_WINDOW (f)) f 8142 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8146 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8153 src/xterm.c if (!x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time_window)) f 8156 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 8157 src/xterm.c else if (output->user_time_window != FRAME_OUTER_WINDOW (f)) f 8162 src/xterm.c FRAME_OUTER_WINDOW (f), f 8164 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 8169 src/xterm.c if (output->user_time_window == FRAME_OUTER_WINDOW (f) f 8181 src/xterm.c = x_create_special_window (dpyinfo, FRAME_X_WINDOW (f)); f 8183 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8185 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8209 src/xterm.c if (s->font == FRAME_FONT (s->f) f 8210 src/xterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 8211 src/xterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) f 8213 src/xterm.c s->gc = s->f->output_data.x->cursor_gc; f 8219 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8221 src/xterm.c xgcv.background = s->f->output_data.x->cursor_pixel; f 8228 src/xterm.c xgcv.foreground = s->f->output_data.x->cursor_foreground_pixel; f 8240 src/xterm.c IF_DEBUG (x_check_font (s->f, s->font)); f 8247 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8248 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8251 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8252 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8254 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8272 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8283 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8284 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8287 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8288 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8290 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8315 src/xterm.c prepare_face_for_display (s->f, s->face); f 8361 src/xterm.c x_set_clip_rectangles (s->f, s->gc, r, n); f 8381 src/xterm.c x_set_clip_rectangles (dst->f, dst->gc, &r, 1); f 8425 src/xterm.c x_clear_rectangle (s->f, s->gc, x, y, w, h, s->hl != DRAW_CURSOR); f 8431 src/xterm.c x_clear_point (struct frame *f, GC gc, int x, int y, f 8437 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 8439 src/xterm.c if (f->alpha_background != 1.0 f 8442 src/xterm.c x_clear_rectangle (f, gc, x, y, 1, 1, true); f 8448 src/xterm.c XDrawPoint (dpy, FRAME_X_DRAWABLE (f), gc, x, y); f 8471 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8475 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8524 src/xterm.c x_draw_rectangle (s->f, f 8535 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8542 src/xterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 8554 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8567 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8571 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8586 src/xterm.c x_draw_rectangle (s->f, f 8622 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8628 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8692 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8699 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8779 src/xterm.c x_draw_rectangle (s->f, s->gc, f 8803 src/xterm.c struct frame *f; f 8818 src/xterm.c f = XFRAME (frame); f 8819 src/xterm.c if (FRAME_X_P (f) f 8820 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 8821 src/xterm.c && f->output_data.x->widget == widget) f 8822 src/xterm.c return f; f 8838 src/xterm.c struct frame *f = x_frame_of_widget (widget); f 8839 src/xterm.c return x_alloc_lighter_color (f, display, cmap, pixel, factor, delta); f 9031 src/xterm.c x_query_colors (struct frame *f, XColor *colors, int ncolors) f 9033 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9093 src/xterm.c XQueryColors (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), colors, ncolors); f 9099 src/xterm.c x_query_frame_background_color (struct frame *f, XColor *bgcolor) f 9101 src/xterm.c unsigned long background = FRAME_BACKGROUND_PIXEL (f); f 9106 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits) f 9109 src/xterm.c background = (background & ~FRAME_DISPLAY_INFO (f)->alpha_mask); f 9110 src/xterm.c background |= (((unsigned long) (f->alpha_background * 0xffff) f 9111 src/xterm.c >> (16 - FRAME_DISPLAY_INFO (f)->alpha_bits)) f 9112 src/xterm.c << FRAME_DISPLAY_INFO (f)->alpha_offset); f 9114 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 9115 src/xterm.c && f->alpha_background < 1.0) f 9118 src/xterm.c x_query_colors (f, &bg, 1); f 9121 src/xterm.c = x_premultiply_pixel (FRAME_DISPLAY_INFO (f), f 9122 src/xterm.c &bg, f->alpha_background); f 9129 src/xterm.c x_query_colors (f, bgcolor, 1); f 9154 src/xterm.c x_parse_color (struct frame *f, const char *color_name, f 9184 src/xterm.c cmap = FRAME_X_COLORMAP (f); f 9185 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 9186 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 9419 src/xterm.c x_alloc_nearest_color (struct frame *f, Colormap cmap, XColor *color) f 9421 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9423 src/xterm.c gamma_correct (f, color); f 9434 src/xterm.c return x_alloc_nearest_color_1 (FRAME_X_DISPLAY (f), cmap, color); f 9443 src/xterm.c x_copy_color (struct frame *f, unsigned long pixel) f 9451 src/xterm.c if (!x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 9457 src/xterm.c x_query_colors (f, &color, 1); f 9458 src/xterm.c XAllocColor (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), &color); f 9489 src/xterm.c x_alloc_lighter_color (struct frame *f, Display *display, Colormap cmap, f 9498 src/xterm.c x_query_colors (f, &color, 1); f 9535 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9542 src/xterm.c x_free_colors (f, &new.pixel, 1); f 9547 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9566 src/xterm.c x_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 9570 src/xterm.c struct x_output *di = f->output_data.x; f 9574 src/xterm.c Colormap cmap = FRAME_X_COLORMAP (f); f 9575 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9576 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 9586 src/xterm.c x_free_colors (f, &relief->pixel, 1); f 9594 src/xterm.c && x_alloc_lighter_color (f, dpy, cmap, &pixel, factor, delta)) f 9601 src/xterm.c relief->gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), mask, &xgcv); f 9613 src/xterm.c struct x_output *di = s->f->output_data.x; f 9620 src/xterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 9621 src/xterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 9627 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (s->f), s->gc, GCBackground, &xgcv); f 9635 src/xterm.c x_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 9636 src/xterm.c WHITE_PIX_DEFAULT (s->f)); f 9637 src/xterm.c x_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 9638 src/xterm.c BLACK_PIX_DEFAULT (s->f)); f 9644 src/xterm.c x_fill_triangle (struct frame *f, GC gc, XPoint point1, f 9653 src/xterm.c XFillPolygon (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 9695 src/xterm.c x_draw_relief_rect (struct frame *f, int left_x, int top_y, int right_x, f 9706 src/xterm.c top_left_gc = f->output_data.x->white_relief.gc; f 9707 src/xterm.c bottom_right_gc = f->output_data.x->black_relief.gc; f 9711 src/xterm.c top_left_gc = f->output_data.x->black_relief.gc; f 9712 src/xterm.c bottom_right_gc = f->output_data.x->white_relief.gc; f 9715 src/xterm.c x_set_clip_rectangles (f, top_left_gc, clip_rect, 1); f 9716 src/xterm.c x_set_clip_rectangles (f, bottom_right_gc, clip_rect, 1); f 9720 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9729 src/xterm.c x_fill_rectangle (f, bottom_right_gc, right_x + 1 - vwidth, top_y, f 9739 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9742 src/xterm.c x_fill_trapezoid_for_relief (f, top_left_gc, left_x, top_y, f 9748 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, bottom_y + 1 - hwidth, f 9751 src/xterm.c x_fill_trapezoid_for_relief (f, bottom_right_gc, f 9756 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9759 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9763 src/xterm.c XSetBackground (FRAME_X_DISPLAY (f), top_left_gc, f 9764 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 9765 src/xterm.c x_erase_corners_for_relief (f, top_left_gc, left_x, top_y, f 9770 src/xterm.c x_reset_clip_rectangles (f, top_left_gc); f 9771 src/xterm.c x_reset_clip_rectangles (f, bottom_right_gc); f 9782 src/xterm.c white_gc = f->output_data.x->white_relief.gc; f 9783 src/xterm.c black_gc = f->output_data.x->black_relief.gc; f 9784 src/xterm.c normal_gc = f->output_data.x->normal_gc; f 9786 src/xterm.c drawable = FRAME_X_DRAWABLE (f); f 9787 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 9789 src/xterm.c x_set_clip_rectangles (f, white_gc, clip_rect, 1); f 9790 src/xterm.c x_set_clip_rectangles (f, black_gc, clip_rect, 1); f 9800 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, f 9805 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, vwidth, f 9814 src/xterm.c x_fill_rectangle (f, gc, left_x, bottom_y - hwidth + 1, f 9818 src/xterm.c x_fill_rectangle (f, gc, right_x - vwidth + 1, top_y, f 9824 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9830 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9839 src/xterm.c x_draw_rectangle (f, black_gc, left_x, top_y, f 9868 src/xterm.c x_clear_point (f, normal_gc, left_x, top_y, true); f 9872 src/xterm.c x_clear_point (f, normal_gc, left_x, bottom_y, true); f 9876 src/xterm.c x_clear_point (f, normal_gc, right_x, top_y, true); f 9880 src/xterm.c x_clear_point (f, normal_gc, right_x, bottom_y, true); f 9883 src/xterm.c x_reset_clip_rectangles (f, white_gc); f 9884 src/xterm.c x_reset_clip_rectangles (f, black_gc); f 9901 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 9906 src/xterm.c x_set_clip_rectangles (s->f, s->gc, clip_rect, 1); f 9909 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9915 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9920 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9926 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9931 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 9997 src/xterm.c x_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 10020 src/xterm.c display = FRAME_X_DISPLAY (s->f); f 10023 src/xterm.c if (s->img->picture && FRAME_X_PICTURE_FORMAT (s->f)) f 10029 src/xterm.c default_format = FRAME_X_PICTURE_FORMAT (s->f); f 10087 src/xterm.c x_cr_draw_image (s->f, s->gc, s->img->cr_data, f 10101 src/xterm.c x_draw_rectangle (s->f, s->gc, x - relief, y - relief, f 10127 src/xterm.c XChangeGC (FRAME_X_DISPLAY (s->f), s->gc, mask, &xgcv); f 10135 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 10137 src/xterm.c FRAME_X_PICTURE (s->f), f 10152 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 10154 src/xterm.c FRAME_X_PICTURE (s->f), f 10169 src/xterm.c x_draw_rectangle (s->f, s->gc, f 10179 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10272 src/xterm.c x_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 10302 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10345 src/xterm.c x_draw_rectangle (s->f, s->gc, x - r, y - r, f 10353 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10367 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10371 src/xterm.c x_fill_rectangle (s->f, s->gc, x, y, w, h, true); f 10400 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10430 src/xterm.c int depth = FRAME_DISPLAY_INFO (s->f)->n_planes; f 10433 src/xterm.c pixmap = XCreatePixmap (display, FRAME_X_DRAWABLE (s->f), f 10456 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->alpha_bits f 10457 src/xterm.c && s->f->alpha_background != 1.0 f 10458 src/xterm.c && FRAME_CHECK_XR_VERSION (s->f, 0, 2) f 10459 src/xterm.c && FRAME_X_PICTURE_FORMAT (s->f)) f 10467 src/xterm.c FRAME_X_PICTURE_FORMAT (s->f), f 10469 src/xterm.c x_xrender_color_from_gc_background (s->f, s->gc, &xc, true); f 10470 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (s->f), PictOpSrc, pict, f 10515 src/xterm.c XCopyArea (display, pixmap, FRAME_X_DRAWABLE (s->f), s->gc, f 10566 src/xterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 10578 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10596 src/xterm.c x_set_clip_rectangles (s->f, gc, &r, 1); f 10602 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10612 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10616 src/xterm.c x_reset_clip_rectangles (s->f, gc); f 10674 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10684 src/xterm.c x_draw_horizontal_wave (s->f, s->gc, s->x, s->ybase - wave_height + 3, f 10730 src/xterm.c XDrawLine (display, FRAME_X_DRAWABLE (s->f), s->gc, x1, y1, x2, y2); f 10873 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10966 src/xterm.c x_fill_rectangle (s->f, s->gc, f 10971 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10975 src/xterm.c x_fill_rectangle (s->f, s->gc, f 10988 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 10992 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10996 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 11018 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 11022 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 11026 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 11051 src/xterm.c x_reset_clip_rectangles (prev->f, prev->gc); f 11076 src/xterm.c x_reset_clip_rectangles (next->f, next->gc); f 11085 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 11100 src/xterm.c x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) f 11105 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11106 src/xterm.c f->output_data.x->normal_gc, f 11115 src/xterm.c x_delete_glyphs (struct frame *f, int n) f 11135 src/xterm.c x_clear_area (struct frame *f, int x, int y, int width, int height) f 11142 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 11143 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, f 11147 src/xterm.c x_end_cr_clip (f); f 11150 src/xterm.c if (f->alpha_background != 1.0 f 11152 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 11159 src/xterm.c x_xr_ensure_picture (f); f 11160 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 11161 src/xterm.c && FRAME_X_PICTURE (f) != None f 11162 src/xterm.c && f->alpha_background != 1.0 f 11163 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 11166 src/xterm.c GC gc = f->output_data.x->normal_gc; f 11168 src/xterm.c x_xr_apply_ext_clip (f, gc); f 11169 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 11170 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 11171 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 11173 src/xterm.c x_xr_reset_ext_clip (f); f 11174 src/xterm.c x_mark_frame_dirty (f); f 11178 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), f 11179 src/xterm.c FRAME_X_DRAWABLE (f), f 11180 src/xterm.c f->output_data.x->reverse_gc, f 11185 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11195 src/xterm.c x_clear_frame (struct frame *f) f 11199 src/xterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 11202 src/xterm.c font_drop_xrender_surfaces (f); f 11203 src/xterm.c x_clear_window (f); f 11207 src/xterm.c x_scroll_bar_clear (f); f 11218 src/xterm.c x_send_hourglass_message (struct frame *f, bool hourglass_enabled) f 11223 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11230 src/xterm.c msg.xclient.window = FRAME_X_WINDOW (f); f 11233 src/xterm.c XSendEvent (dpyinfo->display, FRAME_X_WINDOW (f), f 11240 src/xterm.c x_show_hourglass (struct frame *f) f 11242 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11246 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11257 src/xterm.c x_send_hourglass_message (f, true); f 11262 src/xterm.c if (FRAME_OUTER_WINDOW (f)) f 11271 src/xterm.c Window parent = FRAME_X_WINDOW (f); f 11273 src/xterm.c Window parent = FRAME_OUTER_WINDOW (f); f 11283 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_X_WINDOW (f); f 11285 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_OUTER_WINDOW (f); f 11288 src/xterm.c = (Window) xcb_generate_id (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11290 src/xterm.c xcb_create_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11293 src/xterm.c parent, 0, 0, FRAME_PIXEL_WIDTH (f), f 11294 src/xterm.c FRAME_PIXEL_HEIGHT (f), 0, f 11304 src/xterm.c flush_frame (f); f 11308 src/xterm.c xcb_configure_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11311 src/xterm.c xcb_map_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11313 src/xterm.c xcb_flush (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11322 src/xterm.c x_hide_hourglass (struct frame *f) f 11324 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11330 src/xterm.c XUnmapWindow (FRAME_X_DISPLAY (f), x->hourglass_window); f 11332 src/xterm.c xcb_unmap_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11335 src/xterm.c x_send_hourglass_message (f, false); f 11342 src/xterm.c XTflash (struct frame *f) f 11351 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11354 src/xterm.c values.foreground = (FRAME_FOREGROUND_PIXEL (f) f 11355 src/xterm.c ^ FRAME_BACKGROUND_PIXEL (f)); f 11357 src/xterm.c gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11361 src/xterm.c gc = FRAME_X_OUTPUT (f)->normal_gc; f 11365 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 11367 src/xterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 11369 src/xterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 11370 src/xterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 11374 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11376 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11378 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11379 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11381 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11384 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 11385 src/xterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 11391 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11392 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11393 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11395 src/xterm.c x_flush (f); f 11399 src/xterm.c fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 11429 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11431 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11433 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11434 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11436 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11439 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 11440 src/xterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 11445 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11446 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11447 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11449 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11450 src/xterm.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 11451 src/xterm.c x_flush (f); f 11459 src/xterm.c XTring_bell (struct frame *f) f 11463 src/xterm.c if (!FRAME_X_DISPLAY (f)) f 11466 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11469 src/xterm.c XTflash (f); f 11480 src/xterm.c XkbBell (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 0, None); f 11482 src/xterm.c XBell (FRAME_X_DISPLAY (f), 0); f 11484 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 11498 src/xterm.c x_ins_del_lines (struct frame *f, int vpos, int n) f 11509 src/xterm.c struct frame *f = XFRAME (w->frame); f 11547 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11548 src/xterm.c Window window = FRAME_X_WINDOW (f); f 11641 src/xterm.c XFlushGC (FRAME_X_DISPLAY (f), f 11642 src/xterm.c f->output_data.x->normal_gc); f 11646 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 11648 src/xterm.c cairo_surface_t *surface = cairo_get_target (FRAME_CR_CONTEXT (f)); f 11652 src/xterm.c == FRAME_X_DISPLAY (f)); f 11654 src/xterm.c == FRAME_X_RAW_DRAWABLE (f)); f 11656 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11657 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11658 src/xterm.c f->output_data.x->normal_gc, f 11668 src/xterm.c xcb_copy_area (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11669 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11670 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11671 src/xterm.c (xcb_gcontext_t) XGContextFromGC (f->output_data.x->normal_gc), f 11687 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 11699 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11700 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11701 src/xterm.c f->output_data.x->normal_gc, f 11717 src/xterm.c x_frame_highlight (struct frame *f) f 11721 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11733 src/xterm.c XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11734 src/xterm.c f->output_data.x->border_pixel); f 11737 src/xterm.c gui_update_cursor (f, true); f 11738 src/xterm.c x_set_frame_alpha (f); f 11742 src/xterm.c x_frame_unhighlight (struct frame *f) f 11746 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11756 src/xterm.c XSetWindowBorderPixmap (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11757 src/xterm.c f->output_data.x->border_tile); f 11761 src/xterm.c gui_update_cursor (f, true); f 11762 src/xterm.c x_set_frame_alpha (f); f 11838 src/xterm.c xfixes_toggle_visible_pointer (struct frame *f, bool invisible) f 11842 src/xterm.c XFixesHideCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11844 src/xterm.c XFixesShowCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11845 src/xterm.c f->pointer_invisible = invisible; f 11884 src/xterm.c x_toggle_visible_pointer (struct frame *f, bool invisible) f 11888 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11906 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11916 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11919 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11920 src/xterm.c f->output_data.x->current_cursor); f 11922 src/xterm.c f->pointer_invisible = invisible; f 11926 src/xterm.c XTtoggle_invisible_pointer (struct frame *f, bool invisible) f 11930 src/xterm.c if (FRAME_DISPLAY_INFO (f)->fixes_pointer_blanking f 11931 src/xterm.c && x_fixes_pointer_blanking_supported (FRAME_DISPLAY_INFO (f))) f 11932 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11935 src/xterm.c x_toggle_visible_pointer (f, invisible); f 12019 src/xterm.c struct frame *f; f 12033 src/xterm.c f = XFRAME (frame); f 12034 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12036 src/xterm.c if (f->output_data.x->hourglass_window == wdesc) f 12037 src/xterm.c return f; f 12039 src/xterm.c if ((f->output_data.x->edit_widget f 12040 src/xterm.c && XtWindow (f->output_data.x->edit_widget) == wdesc) f 12042 src/xterm.c || (!f->output_data.x->edit_widget f 12043 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 12044 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 12045 src/xterm.c return f; f 12048 src/xterm.c if (f->output_data.x->edit_widget) f 12051 src/xterm.c struct x_output *x = f->output_data.x; f 12053 src/xterm.c return f; f 12056 src/xterm.c if (FRAME_X_WINDOW (f) == wdesc f 12057 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 12058 src/xterm.c return f; f 12073 src/xterm.c struct frame *f; f 12084 src/xterm.c f = XFRAME (frame); f 12086 src/xterm.c if (FRAME_X_P (f) && FRAME_TOOLTIP_P (f) f 12087 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 12088 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 12089 src/xterm.c return f; f 12092 src/xterm.c if (!FRAME_X_P (f)) f 12095 src/xterm.c if (FRAME_X_OUTPUT (f)->ttip_window) f 12096 src/xterm.c widget = GTK_WIDGET (FRAME_X_OUTPUT (f)->ttip_window); f 12137 src/xterm.c struct frame *f, *found = NULL; f 12154 src/xterm.c f = XFRAME (frame); f 12155 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 12158 src/xterm.c x = f->output_data.x; f 12160 src/xterm.c found = f; f 12167 src/xterm.c found = f; f 12172 src/xterm.c found = f; f 12175 src/xterm.c found = f; f 12178 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 12180 src/xterm.c found = f; f 12204 src/xterm.c struct frame *f; f 12212 src/xterm.c f = XFRAME (frame); f 12213 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12215 src/xterm.c x = f->output_data.x; f 12217 src/xterm.c if (x->menubar_widget && xg_event_is_for_menubar (f, event)) f 12218 src/xterm.c return f; f 12223 src/xterm.c return f; f 12236 src/xterm.c struct frame *f; f 12244 src/xterm.c f = XFRAME (frame); f 12245 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12247 src/xterm.c x = f->output_data.x; f 12255 src/xterm.c return f; f 12258 src/xterm.c return f; f 12261 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 12263 src/xterm.c return f; f 12383 src/xterm.c struct frame *f; f 12390 src/xterm.c f = XFRAME (frame); f 12392 src/xterm.c if (!FRAME_LIVE_P (f) || !FRAME_DISPLAY_INFO (f)->display) f 12396 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12397 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList); f 12398 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12399 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12406 src/xterm.c struct frame *f; f 12408 src/xterm.c f = XFRAME (XCDR (timestamp_and_frame)); f 12410 src/xterm.c if (FRAME_LIVE_P (f)) f 12420 src/xterm.c x_dnd_process_quit (struct frame *f, Time timestamp) f 12428 src/xterm.c x_dnd_send_leave (f, x_dnd_last_seen_window, f 12440 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12447 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 12449 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 12452 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 12487 src/xterm.c x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction, f 12518 src/xterm.c if (FRAME_DISPLAY_INFO (f)->untrusted) f 12531 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 12534 src/xterm.c XSETFRAME (frame, f); f 12536 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist); f 12555 src/xterm.c ltimestamp = x_timestamp_for_selection (FRAME_DISPLAY_INFO (f), f 12575 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), xaction); f 12582 src/xterm.c = xm_operations_from_actions (FRAME_DISPLAY_INFO (f), f 12586 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12620 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 12621 src/xterm.c XSetTextProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12622 src/xterm.c &prop, FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12624 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12625 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList, XA_ATOM, 32, f 12628 src/xterm.c x_check_errors (FRAME_X_DISPLAY (f), f 12642 src/xterm.c = FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list; f 12676 src/xterm.c x_dnd_frame = f; f 12696 src/xterm.c = x_wm_supports (f, FRAME_DISPLAY_INFO (f)->Xatom_net_client_list_stacking); f 12707 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 12712 src/xterm.c if (FRAME_DISPLAY_INFO (f)->client_pointer_device != -1) f 12714 src/xterm.c = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 12717 src/xterm.c XIGetClientPointer (FRAME_X_DISPLAY (f), None, f 12722 src/xterm.c device = xi_device_from_id (FRAME_DISPLAY_INFO (f), f 12739 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xkb) f 12741 src/xterm.c XkbSelectEvents (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12743 src/xterm.c XkbGetState (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12753 src/xterm.c if (x_dnd_compute_toplevels (FRAME_DISPLAY_INFO (f))) f 12772 src/xterm.c XGetWindowAttributes (FRAME_X_DISPLAY (f), f 12773 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12781 src/xterm.c XSelectInput (FRAME_X_DISPLAY (f), f 12782 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12787 src/xterm.c x_dnd_update_state (FRAME_DISPLAY_INFO (f), CurrentTime); f 12846 src/xterm.c x_clean_failable_requests (FRAME_DISPLAY_INFO (f)); f 12858 src/xterm.c if (event_display == FRAME_DISPLAY_INFO (f)) f 12865 src/xterm.c == FRAME_X_DISPLAY (f)) f 12890 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12924 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12942 src/xterm.c x_dnd_process_quit (f, hold_quit.timestamp); f 12947 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12964 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12975 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 12979 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12991 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 13006 src/xterm.c x_dnd_do_unsupported_drop (FRAME_DISPLAY_INFO (f), f 13032 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 13033 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13059 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13079 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 13087 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 13088 src/xterm.c atom_name = x_get_atom_name (FRAME_DISPLAY_INFO (f), f 13328 src/xterm.c struct frame *f) f 13337 src/xterm.c if (device->focus_frame == f) f 13340 src/xterm.c if (device->focus_implicit_frame == f) f 13351 src/xterm.c struct frame *f, struct xi_device_t *device, f 13365 src/xterm.c if (device->focus_frame == f) f 13371 src/xterm.c if (device->focus_implicit_frame == f) f 13378 src/xterm.c if (change && f != dpyinfo->x_focus_frame) f 14164 src/xterm.c x_compute_root_window_offset (struct frame *f, int root_x, int root_y, f 14167 src/xterm.c FRAME_X_OUTPUT (f)->window_offset_certain_p = true; f 14168 src/xterm.c FRAME_X_OUTPUT (f)->root_x = root_x - event_x; f 14169 src/xterm.c FRAME_X_OUTPUT (f)->root_y = root_y - event_y; f 14179 src/xterm.c x_translate_coordinates (struct frame *f, int root_x, int root_y, f 14185 src/xterm.c output = FRAME_X_OUTPUT (f); f 14198 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), f 14199 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 14200 src/xterm.c FRAME_X_WINDOW (f), root_x, root_y, f 14219 src/xterm.c x_translate_coordinates_to_root (struct frame *f, int x, int y, f 14225 src/xterm.c output = FRAME_X_OUTPUT (f); f 14238 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 14239 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 14256 src/xterm.c x_handle_translate_coordinates (struct frame *f, Lisp_Object dest_window, f 14265 src/xterm.c if (!FRAME_X_OUTPUT (f)->window_offset_certain_p) f 14268 src/xterm.c return list3 (make_fixnum (source_x + FRAME_X_OUTPUT (f)->root_x), f 14269 src/xterm.c make_fixnum (source_y + FRAME_X_OUTPUT (f)->root_y), f 14281 src/xterm.c xi_compute_root_window_offset (struct frame *f, XIDeviceEvent *xev) f 14285 src/xterm.c x_compute_root_window_offset (f, xev->root_x, xev->root_y, f 14290 src/xterm.c xi_compute_root_window_offset_enter (struct frame *f, XIEnterEvent *enter) f 14292 src/xterm.c x_compute_root_window_offset (f, enter->root_x, enter->root_y, f 14299 src/xterm.c xi_compute_root_window_offset_pinch (struct frame *f, XIGesturePinchEvent *pev) f 14303 src/xterm.c x_compute_root_window_offset (f, pev->root_x, pev->root_y, f 14447 src/xterm.c struct frame *f) f 14457 src/xterm.c result->modifiers = (x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 14466 src/xterm.c if (event->window != FRAME_X_WINDOW (f)) f 14467 src/xterm.c x_translate_coordinates (f, event->x_root, event->y_root, f 14472 src/xterm.c XSETFRAME (result->frame_or_window, f); f 14905 src/xterm.c struct frame *f = x_window_to_frame (dpyinfo, win); f 14907 src/xterm.c if (f && FRAME_PARENT_FRAME (f)) f 15351 src/xterm.c struct frame *f = XFRAME (w->frame); f 15356 src/xterm.c if (!x_protect_window_for_callback (FRAME_DISPLAY_INFO (f), window)) f 15363 src/xterm.c ? FRAME_DISPLAY_INFO (f)->Xatom_Horizontal_Scrollbar f 15364 src/xterm.c : FRAME_DISPLAY_INFO (f)->Xatom_Scrollbar); f 15365 src/xterm.c ev->display = FRAME_X_DISPLAY (f); f 15366 src/xterm.c ev->window = FRAME_X_WINDOW (f); f 15387 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), False, f 15566 src/xterm.c struct frame *f; f 15577 src/xterm.c f = g_object_get_data (G_OBJECT (range), XG_FRAME_DATA); f 15579 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 15589 src/xterm.c if (FRAME_DISPLAY_INFO (f)->grabbed != 0 f 15590 src/xterm.c && FRAME_DISPLAY_INFO (f)->grabbed < (1 << 4)) f 15809 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15814 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15821 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15826 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15835 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15858 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15865 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15872 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 15897 src/xterm.c f->output_data.x->nontext_cursor); f 15902 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 15903 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 15917 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15924 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15934 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 15936 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15939 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15940 src/xterm.c FRAME_X_COLORMAP (f), f 15943 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 15946 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15948 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15951 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15952 src/xterm.c FRAME_X_COLORMAP (f), f 15955 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 15961 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 15962 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15969 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 15983 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 15989 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 15999 src/xterm.c f->output_data.x->edit_widget, av, ac); f 16043 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 16066 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 16073 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16080 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 16105 src/xterm.c f->output_data.x->nontext_cursor); f 16110 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 16111 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 16125 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 16132 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16142 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 16144 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16147 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 16148 src/xterm.c FRAME_X_COLORMAP (f), f 16151 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 16154 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16156 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16159 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 16160 src/xterm.c FRAME_X_COLORMAP (f), f 16163 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 16169 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 16170 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16177 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 16191 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 16197 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 16207 src/xterm.c f->output_data.x->edit_widget, av, ac); f 16274 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16275 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16386 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16387 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16483 src/xterm.c struct frame *f = XFRAME (w->frame); f 16492 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); f 16494 src/xterm.c x_create_toolkit_scroll_bar (f, bar); f 16503 src/xterm.c a.cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 16511 src/xterm.c x_clear_area (f, left, top, width, window_box_height (w)); f 16516 src/xterm.c window = XCreateWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 16533 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 16534 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 16556 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 16559 src/xterm.c fset_scroll_bars (f, barobj); f 16568 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 16571 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16574 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16578 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16582 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16584 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16612 src/xterm.c struct frame *f; f 16623 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16625 src/xterm.c gc = f->output_data.x->normal_gc; f 16626 src/xterm.c w = FRAME_X_DRAWABLE (f); f 16630 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); f 16631 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); f 16632 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 16666 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16667 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16668 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16670 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16671 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16673 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16678 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16679 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16683 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16684 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16685 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 16688 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16699 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16700 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16701 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16703 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16704 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16706 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16711 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16712 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16716 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16717 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16718 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16731 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16736 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); f 16738 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); f 16741 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16762 src/xterm.c struct frame *f = XFRAME (w->frame); f 16781 src/xterm.c x_clear_area (f, left, top, width, height); f 16819 src/xterm.c x_clear_area (f, left, top, width, height); f 16821 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16824 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 16839 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 16866 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height); f 16887 src/xterm.c struct frame *f = XFRAME (w->frame); f 16910 src/xterm.c x_clear_area (f, left, top, pixel_width, height); f 16941 src/xterm.c x_clear_area (f, f 16945 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 16948 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 16962 src/xterm.c x_clear_area (f, left, top, width, rest); f 16974 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 16996 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, width); f 17057 src/xterm.c struct frame *f; f 17067 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 17072 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 17075 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 17077 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 17089 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 17092 src/xterm.c fset_scroll_bars (f, barobj); f 17102 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 17107 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 17110 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 17112 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 17124 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 17127 src/xterm.c fset_scroll_bars (f, barobj); f 17137 src/xterm.c XTjudge_scroll_bars (struct frame *f) f 17141 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 17145 src/xterm.c fset_condemned_scroll_bars (f, Qnil); f 17167 src/xterm.c x_scroll_bar_handle_exposure (struct frame *f, XEvent *event) f 17196 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 17197 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 17226 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17227 src/xterm.c GC gc = f->output_data.x->normal_gc; f 17229 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 17230 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17231 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 17233 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17234 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 17236 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 17239 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17240 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17245 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 17246 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17247 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 17250 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 17254 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 17255 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17256 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17302 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17333 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17374 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); f 17375 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 17380 src/xterm.c f->mouse_moved = true; f 17410 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17420 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17432 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17444 src/xterm.c *fp = f; f 17459 src/xterm.c f->mouse_moved = false; f 17479 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17489 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17501 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17513 src/xterm.c *fp = f; f 17528 src/xterm.c f->mouse_moved = false; f 17542 src/xterm.c x_scroll_bar_clear (struct frame *f) f 17546 src/xterm.c GC gc = f->output_data.x->normal_gc; f 17548 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 17549 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17550 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 17552 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17553 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 17558 src/xterm.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) f 17560 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 17561 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 17571 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17572 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17733 src/xterm.c struct frame *f; f 17737 src/xterm.c f = x_any_window_to_frame (dpyinfo, f 17741 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->xany.window); f 17743 src/xterm.c if (f && xg_filter_key (f, xev)) f 17771 src/xterm.c static void xembed_send_message (struct frame *f, Time, f 17776 src/xterm.c x_net_wm_state (struct frame *f, Window window) f 17782 src/xterm.c x_get_current_wm_state (f, window, &value, &sticky, &shaded); f 17800 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 17801 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 17802 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 17808 src/xterm.c x_flush_dirty_back_buffer_on (struct frame *f) f 17811 src/xterm.c if (FRAME_GARBAGED_P (f) f 17815 src/xterm.c || !FRAME_X_COMPLETE_P (f) f 17816 src/xterm.c || !FRAME_X_NEED_BUFFER_FLIP (f)) f 17819 src/xterm.c show_back_buffer (f); f 18529 src/xterm.c x_handle_wm_state (struct frame *f, struct input_event *ie) f 18539 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 18541 src/xterm.c if (XGetWindowProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 18557 src/xterm.c if (state[0] == NormalState && FRAME_ICONIFIED_P (f)) f 18561 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 18562 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 18563 src/xterm.c f->output_data.x->has_been_visible = true; f 18566 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18571 src/xterm.c && !x_wm_supports (f, dpyinfo->Xatom_net_wm_state_hidden)) f 18576 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 18577 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 18580 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18657 src/xterm.c struct frame *any, *f = NULL, *mouse_frame; f 18936 src/xterm.c f = any; f 18939 src/xterm.c if (f && FRAME_XIC (f)) f 18940 src/xterm.c XSetICFocus (FRAME_XIC (f)); f 18959 src/xterm.c if (f) f 19001 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 19005 src/xterm.c if (f == SELECTED_FRAME ()) f 19006 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 19009 src/xterm.c else if (f) f 19010 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 19019 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 19022 src/xterm.c if (!f) f 19027 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19061 src/xterm.c struct frame *f f 19070 src/xterm.c if (f) f 19075 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->pending_basic_counter_value, f 19077 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = true; f 19081 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->resize_counter_value, f 19085 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = true; f 19090 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 19099 src/xterm.c if (widget && !FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 19106 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = true; f 19123 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 19128 src/xterm.c if (f) f 19130 src/xterm.c f->left_pos = new_x; f 19131 src/xterm.c f->top_pos = new_y; f 19139 src/xterm.c f = any; f 19140 src/xterm.c if (f) f 19142 src/xterm.c _XEditResCheckMessages (f->output_data.x->widget, f 19158 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 19159 src/xterm.c if (!f) f 19166 src/xterm.c x_kill_gs_process (pixmap, f); f 19168 src/xterm.c expose_frame (f, 0, 0, 0, 0); f 19230 src/xterm.c f = any; f 19232 src/xterm.c if (!f || FRAME_TOOLTIP_P (f)) f 19243 src/xterm.c if (x_handle_dnd_message (f, &event->xclient, dpyinfo, &inev.ie, f 19397 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xproperty.window); f 19398 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_net_wm_state f 19400 src/xterm.c && !FRAME_X_EMBEDDED_P (f)) f 19402 src/xterm.c bool not_hidden = x_handle_net_wm_state (f, &event->xproperty); f 19404 src/xterm.c if (not_hidden && FRAME_ICONIFIED_P (f)) f 19408 src/xterm.c (f, build_string ("PropertyNotify, not hidden & iconified")); f 19413 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19414 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19416 src/xterm.c f->output_data.x->has_been_visible = true; f 19421 src/xterm.c if (f->was_invisible) f 19424 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 19425 src/xterm.c f->was_invisible = false; f 19428 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19430 src/xterm.c else if (!not_hidden && !FRAME_ICONIFIED_P (f)) f 19434 src/xterm.c (f, build_string ("PropertyNotify, hidden & not iconified")); f 19436 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19437 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19439 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19443 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_wm_state f 19444 src/xterm.c && !FRAME_X_EMBEDDED_P (f) && !FRAME_PARENT_FRAME (f)) f 19454 src/xterm.c x_handle_wm_state (f, &inev.ie); f 19456 src/xterm.c if (f && FRAME_X_OUTPUT (f)->alpha_identical_p f 19477 src/xterm.c f->alpha[0] = 1.0; f 19478 src/xterm.c f->alpha[1] = 1.0; f 19480 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19485 src/xterm.c rc = XGetWindowProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19499 src/xterm.c f->alpha[0] = (double) opacity / (double) OPAQUE; f 19500 src/xterm.c f->alpha[1] = (double) opacity / (double) OPAQUE; f 19502 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19506 src/xterm.c f->alpha[0] = 1.0; f 19507 src/xterm.c f->alpha[1] = 1.0; f 19509 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19514 src/xterm.c (xcb_window_t) FRAME_OUTER_WINDOW (f), f 19534 src/xterm.c f->alpha[0] = (double) value / (double) OPAQUE; f 19535 src/xterm.c f->alpha[1] = (double) value / (double) OPAQUE; f 19536 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19540 src/xterm.c f->alpha[0] = 1.0; f 19541 src/xterm.c f->alpha[1] = 1.0; f 19543 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19582 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xreparent.window); f 19583 src/xterm.c if (f) f 19586 src/xterm.c if (FRAME_OUTPUT_DATA (f)->parent_desc f 19587 src/xterm.c && FRAME_X_EMBEDDED_P (f)) f 19594 src/xterm.c FRAME_X_OUTPUT (f)->explicit_parent = false; f 19597 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19599 src/xterm.c x_make_frame_visible (f); f 19604 src/xterm.c f->output_data.x->parent_desc = event->xreparent.parent; f 19606 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 19608 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 19621 src/xterm.c if (FRAME_X_OUTPUT (f)->has_been_visible) f 19622 src/xterm.c x_update_frame_user_time_window (f); f 19630 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 19631 src/xterm.c &root, &f->left_pos, &f->top_pos, f 19635 src/xterm.c x_set_frame_alpha (f); f 19655 src/xterm.c f = x_window_to_frame (dpyinfo, event->xexpose.window); f 19656 src/xterm.c if (f) f 19658 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 19668 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19669 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19673 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 19674 src/xterm.c x_drop_xrender_surfaces (f); f 19676 src/xterm.c f->output_data.x->has_been_visible = true; f 19677 src/xterm.c SET_FRAME_GARBAGED (f); f 19679 src/xterm.c else if (FRAME_GARBAGED_P (f)) f 19688 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), f 19689 src/xterm.c FRAME_X_WINDOW (f), f 19693 src/xterm.c x_clear_under_internal_border (f); f 19697 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19700 src/xterm.c if (f->output_data.x->edit_widget) f 19708 src/xterm.c x_clear_area (f, f 19712 src/xterm.c expose_frame (f, event->xexpose.x, event->xexpose.y, f 19715 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19718 src/xterm.c x_clear_under_internal_border (f); f 19723 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19727 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19728 src/xterm.c show_back_buffer (f); f 19752 src/xterm.c f = x_window_to_frame (dpyinfo, event->xgraphicsexpose.drawable); f 19753 src/xterm.c if (f) f 19755 src/xterm.c expose_frame (f, event->xgraphicsexpose.x, f 19760 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19763 src/xterm.c x_clear_under_internal_border (f); f 19766 src/xterm.c show_back_buffer (f); f 19805 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xunmap.window); f 19806 src/xterm.c if (f) /* F may no longer exist if f 19809 src/xterm.c bool visible = FRAME_VISIBLE_P (f); f 19815 src/xterm.c if (FRAME_TOOLTIP_P (f) && popup_activated ()) f 19842 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19849 src/xterm.c if (visible || FRAME_ICONIFIED_P (f)) f 19853 src/xterm.c (f, build_string ("UnmapNotify, visible | iconified")); f 19855 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19857 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19861 src/xterm.c (f, build_string ("UnmapNotify, not visible & not iconified")); f 19897 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xmap.window); f 19898 src/xterm.c if (f) f 19900 src/xterm.c bool iconified = FRAME_ICONIFIED_P (f); f 19903 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->xmap.window, &value, &sticky, f 19908 src/xterm.c (f, f 19916 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 19917 src/xterm.c -1, -1, f->new_width, f->new_height); f 19921 src/xterm.c if (!f->output_data.x->has_been_visible) f 19924 src/xterm.c x_check_fullscreen (f); f 19928 src/xterm.c if (FRAME_SKIP_TASKBAR (f)) f 19929 src/xterm.c x_set_skip_taskbar (f, Qt, Qnil); f 19937 src/xterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 19938 src/xterm.c x_set_z_group (f, Qabove, Qnil); f 19939 src/xterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 19940 src/xterm.c x_set_z_group (f, Qbelow, Qnil); f 19945 src/xterm.c if (not_hidden || FRAME_X_EMBEDDED_P (f)) f 19947 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19948 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19952 src/xterm.c if (f->was_invisible) f 19955 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 19956 src/xterm.c f->was_invisible = false; f 19959 src/xterm.c f->output_data.x->has_been_visible = true; f 19962 src/xterm.c x_update_opaque_region (f, NULL); f 19964 src/xterm.c if ((not_hidden || FRAME_X_EMBEDDED_P (f)) && iconified) f 19967 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19986 src/xterm.c f = any; f 19989 src/xterm.c if (f) f 19990 src/xterm.c x_set_gtk_user_time (f, event->xkey.time); f 19996 src/xterm.c && (f == 0 f 19998 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 20000 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 20013 src/xterm.c if (f == 0) f 20022 src/xterm.c f = x_any_window_to_frame (dpyinfo, XtWindow (widget)); f 20027 src/xterm.c if (f != 0) f 20050 src/xterm.c if (event->xkey.window == FRAME_X_WINDOW (f)) f 20053 src/xterm.c x_compute_root_window_offset (f, event->xkey.x_root, f 20107 src/xterm.c if (FRAME_XIC (f)) f 20111 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 20115 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 20120 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 20217 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20448 src/xterm.c if (f) f 20450 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 20453 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 20454 src/xterm.c xic_set_statusarea (f); f 20522 src/xterm.c f = any; f 20524 src/xterm.c if (f && event->xcrossing.window == FRAME_X_WINDOW (f)) f 20525 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20534 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 20543 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 20544 src/xterm.c x_note_mouse_movement (f, &event->xmotion, Qnil); f 20548 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 20587 src/xterm.c f = any; f 20588 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 20590 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 20591 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 20592 src/xterm.c f->output_data.x->has_been_visible = true; f 20594 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20655 src/xterm.c f = x_window_to_frame (dpyinfo, event->xcrossing.window); f 20657 src/xterm.c if (!f) f 20658 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20660 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20663 src/xterm.c if (f) f 20670 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 20675 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 20678 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 20684 src/xterm.c x_flush_dirty_back_buffer_on (f); f 20700 src/xterm.c if (event->xcrossing.window == FRAME_X_WINDOW (f)) f 20701 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20747 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xmotion.window); f 20749 src/xterm.c if (f && event->xmotion.window == FRAME_X_WINDOW (f)) f 20752 src/xterm.c x_compute_root_window_offset (f, event->xmotion.x_root, f 20784 src/xterm.c if (f) f 20786 src/xterm.c XTtoggle_invisible_pointer (f, false); f 20792 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 20798 src/xterm.c f->mouse_moved = true; f 20799 src/xterm.c f->last_mouse_device = Qnil; f 20802 src/xterm.c remember_mouse_glyph (f, event->xmotion.x, f 20804 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 20990 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 20991 src/xterm.c f = 0; f 21001 src/xterm.c if (f) f 21016 src/xterm.c && (f == XFRAME (selected_frame) f 21021 src/xterm.c if (xmotion.window != FRAME_X_WINDOW (f)) f 21023 src/xterm.c x_translate_coordinates (f, xmotion.x_root, xmotion.y_root, f 21025 src/xterm.c xmotion.window = FRAME_X_WINDOW (f); f 21029 src/xterm.c (f, xmotion.x, xmotion.y, 0, false, false); f 21051 src/xterm.c if (!x_note_mouse_movement (f, &xmotion, Qnil)) f 21076 src/xterm.c if (f) f 21077 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21243 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 21244 src/xterm.c x_drop_xrender_surfaces (f); f 21251 src/xterm.c f = x_top_window_to_frame (dpyinfo, configureEvent.xconfigure.window); f 21264 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 21265 src/xterm.c x_drop_xrender_surfaces (f); f 21268 src/xterm.c if (f) f 21269 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 21286 src/xterm.c if (f || (any && configureEvent.xconfigure.window f 21288 src/xterm.c x_update_opaque_region (f ? f : any, &configureEvent); f 21293 src/xterm.c if (!f f 21294 src/xterm.c && (f = any) f 21295 src/xterm.c && configureEvent.xconfigure.window == FRAME_X_WINDOW (f) f 21296 src/xterm.c && (FRAME_VISIBLE_P (f) f 21303 src/xterm.c (f, build_string ("ConfigureNotify"), f 21304 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 21307 src/xterm.c f->new_width, f->new_height); f 21310 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 21311 src/xterm.c x_drop_xrender_surfaces (f); f 21313 src/xterm.c xg_frame_resized (f, configureEvent.xconfigure.width, f 21316 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 21319 src/xterm.c x_update_opaque_region (f, &configureEvent); f 21320 src/xterm.c f = 0; f 21323 src/xterm.c if (f && (FRAME_VISIBLE_P (f) f 21330 src/xterm.c if (configureEvent.xconfigure.window == FRAME_X_WINDOW (f)) f 21332 src/xterm.c x_net_wm_state (f, configureEvent.xconfigure.window); f 21336 src/xterm.c if (FRAME_TOOLTIP_P (f)) f 21338 src/xterm.c if (FRAME_PIXEL_HEIGHT (f) != configureEvent.xconfigure.height f 21339 src/xterm.c || FRAME_PIXEL_WIDTH (f) != configureEvent.xconfigure.width) f 21340 src/xterm.c SET_FRAME_GARBAGED (f); f 21342 src/xterm.c FRAME_PIXEL_HEIGHT (f) = configureEvent.xconfigure.height; f 21343 src/xterm.c FRAME_PIXEL_WIDTH (f) = configureEvent.xconfigure.width; f 21354 src/xterm.c (f, build_string ("ConfigureNotify"), f 21355 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 21356 src/xterm.c width, height, f->new_width, f->new_height); f 21366 src/xterm.c if (width != FRAME_PIXEL_WIDTH (f) f 21367 src/xterm.c || height != FRAME_PIXEL_HEIGHT (f) f 21368 src/xterm.c || (f->new_size_p f 21369 src/xterm.c && ((f->new_width >= 0 && width != f->new_width) f 21370 src/xterm.c || (f->new_height >= 0 && height != f->new_height)))) f 21372 src/xterm.c change_frame_size (f, width, height, false, true, false); f 21373 src/xterm.c x_clear_under_internal_border (f); f 21374 src/xterm.c SET_FRAME_GARBAGED (f); f 21375 src/xterm.c cancel_mouse_face (f); f 21383 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f) f 21384 src/xterm.c && gtk_widget_get_mapped (FRAME_GTK_OUTER_WIDGET (f))) f 21387 src/xterm.c int old_left = f->left_pos; f 21388 src/xterm.c int old_top = f->top_pos; f 21391 src/xterm.c XSETFRAME (frame, f); f 21393 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 21394 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 21400 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21401 src/xterm.c &root, &f->left_pos, &f->top_pos, f 21405 src/xterm.c if (!FRAME_TOOLTIP_P (f) f 21406 src/xterm.c && (old_left != f->left_pos || old_top != f->top_pos)) f 21409 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21415 src/xterm.c if (f) f 21417 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 21418 src/xterm.c xic_set_statusarea (f); f 21420 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 21426 src/xterm.c if (f && dpyinfo->supports_xi2) f 21437 src/xterm.c if (dpyinfo->last_mouse_motion_frame == f) f 21440 src/xterm.c hlinfo = MOUSE_HL_INFO (f); f 21442 src/xterm.c if (hlinfo->mouse_face_mouse_frame == f) f 21500 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21502 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21505 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21516 src/xterm.c dpyinfo->last_mouse_frame = f; f 21518 src/xterm.c if (f) f 21519 src/xterm.c f->last_tab_bar_item = -1; f 21521 src/xterm.c if (f) f 21522 src/xterm.c f->last_tool_bar_item = -1; f 21682 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21684 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21687 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21692 src/xterm.c if (f && event->xbutton.type == ButtonPress f 21696 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21704 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 21707 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21711 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 21712 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 21717 src/xterm.c if (!f) f 21719 src/xterm.c f = x_any_window_to_frame (dpyinfo, event->xbutton.window); f 21723 src/xterm.c && f) f 21732 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21738 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21744 src/xterm.c f = NULL; f 21747 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 21748 src/xterm.c f = 0; f 21750 src/xterm.c if (f) f 21753 src/xterm.c if (WINDOWP (f->tab_bar_window) f 21754 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 21760 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21761 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 21766 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21768 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21774 src/xterm.c if (WINDOWP (f->tool_bar_window) f 21775 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 21781 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21782 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 21784 src/xterm.c || f->last_tool_bar_item != -1)); f 21789 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21791 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21808 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21814 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21820 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 21821 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21822 src/xterm.c xembed_send_message (f, event->xbutton.time, f 21848 src/xterm.c dpyinfo->last_mouse_frame = f; f 21849 src/xterm.c if (f && !tab_bar_p) f 21850 src/xterm.c f->last_tab_bar_item = -1; f 21852 src/xterm.c if (f && !tool_bar_p) f 21853 src/xterm.c f->last_tool_bar_item = -1; f 21862 src/xterm.c if (f != 0) f 21863 src/xterm.c f->mouse_moved = false; f 21866 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 21876 src/xterm.c && f && event->type == ButtonPress f 21880 src/xterm.c && event->xbutton.x < FRAME_PIXEL_WIDTH (f) f 21882 src/xterm.c && event->xbutton.y < FRAME_MENUBAR_HEIGHT (f) f 21895 src/xterm.c if (!f->output_data.x->saved_menu_event) f 21896 src/xterm.c f->output_data.x->saved_menu_event = xmalloc (sizeof *event); f 21897 src/xterm.c *f->output_data.x->saved_menu_event = *event; f 21899 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21926 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xvisibility.window); f 21928 src/xterm.c if (f) f 21929 src/xterm.c FRAME_X_OUTPUT (f)->visibility_state = event->xvisibility.state; f 22038 src/xterm.c f = any; f 22039 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 22041 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 22042 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 22043 src/xterm.c f->output_data.x->has_been_visible = true; f 22045 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22148 src/xterm.c f = any; f 22150 src/xterm.c if (f && enter->event == FRAME_X_WINDOW (f)) f 22151 src/xterm.c xi_compute_root_window_offset_enter (f, enter); f 22153 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 22162 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 22163 src/xterm.c x_note_mouse_movement (f, &ev, source ? source->name : Qnil); f 22167 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 22294 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 22298 src/xterm.c f = x_window_to_frame (dpyinfo, leave->event); f 22300 src/xterm.c if (!f) f 22301 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 22304 src/xterm.c if (f) f 22311 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 22316 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 22319 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 22325 src/xterm.c x_flush_dirty_back_buffer_on (f); f 22342 src/xterm.c if (f && leave->event == FRAME_X_WINDOW (f)) f 22343 src/xterm.c xi_compute_root_window_offset_enter (f, leave); f 22425 src/xterm.c if (!f) f 22427 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 22429 src/xterm.c if (!f) f 22436 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 22438 src/xterm.c if (!f) f 22445 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, true)) f 22449 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 22464 src/xterm.c x_translate_coordinates (f, f 22501 src/xterm.c window = window_from_coordinates (f, real_x, real_y, NULL, f 22510 src/xterm.c scroll_height = FRAME_PIXEL_HEIGHT (f); f 22568 src/xterm.c && xev->child != FRAME_X_WINDOW (f)) f 22595 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22614 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22667 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 22669 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 22672 src/xterm.c xi_compute_root_window_offset (f, xev); f 22699 src/xterm.c if (f) f 22701 src/xterm.c XTtoggle_invisible_pointer (f, false); f 22707 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 22713 src/xterm.c f->mouse_moved = true; f 22714 src/xterm.c f->last_mouse_device = (source ? source->name f 22718 src/xterm.c remember_mouse_glyph (f, lrint (xev->event_x), f 22720 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 22915 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 22916 src/xterm.c f = 0; f 22918 src/xterm.c if (f) f 22920 src/xterm.c if (xev->event != FRAME_X_WINDOW (f)) f 22922 src/xterm.c x_translate_coordinates (f, lrint (xev->root_x), f 22925 src/xterm.c ev.window = FRAME_X_WINDOW (f); f 22941 src/xterm.c && (f == XFRAME (selected_frame) f 22945 src/xterm.c Lisp_Object window = window_from_coordinates (f, ev.x, ev.y, 0, false, false); f 22970 src/xterm.c if (!x_note_mouse_movement (f, &ev, source ? source->name : Qnil)) f 23002 src/xterm.c if (f) f 23003 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23030 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 23033 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23037 src/xterm.c xi_compute_root_window_offset (f, xev); f 23052 src/xterm.c dpyinfo->last_mouse_frame = f; f 23057 src/xterm.c if (f) f 23058 src/xterm.c f->last_tab_bar_item = -1; f 23060 src/xterm.c if (f) f 23061 src/xterm.c f->last_tool_bar_item = -1; f 23074 src/xterm.c if (f && device) f 23075 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23378 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 23380 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23383 src/xterm.c xi_compute_root_window_offset (f, xev); f 23385 src/xterm.c if (f && xev->evtype == XI_ButtonPress f 23388 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23396 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 23409 src/xterm.c FRAME_OUTER_WINDOW (f), xev->time); f 23418 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 23422 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 23423 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 23427 src/xterm.c if (f) f 23433 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23438 src/xterm.c if (!f) f 23443 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23445 src/xterm.c if (xev->detail > 3 && xev->detail < 8 && f) f 23449 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 23450 src/xterm.c x_translate_coordinates (f, real_x, real_y, f 23465 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23478 src/xterm.c f = NULL; f 23481 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 23482 src/xterm.c f = 0; f 23485 src/xterm.c if (f) f 23503 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23516 src/xterm.c if (WINDOWP (f->tab_bar_window) f 23517 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 23523 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23524 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 23529 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23531 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23537 src/xterm.c if (WINDOWP (f->tool_bar_window) f 23538 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 23544 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23552 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 23554 src/xterm.c || f->last_tool_bar_item != -1)); f 23559 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23562 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23578 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23584 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23590 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 23591 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23592 src/xterm.c xembed_send_message (f, xev->time, f 23621 src/xterm.c dpyinfo->last_mouse_frame = f; f 23622 src/xterm.c if (f && !tab_bar_p) f 23623 src/xterm.c f->last_tab_bar_item = -1; f 23625 src/xterm.c if (f && !tool_bar_p) f 23626 src/xterm.c f->last_tool_bar_item = -1; f 23639 src/xterm.c if (f) f 23640 src/xterm.c f->mouse_moved = false; f 23645 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 23646 src/xterm.c if (f /* Gtk+ menus only react to the first three buttons. */ f 23657 src/xterm.c set_frame_menubar (f, true); f 23721 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23723 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23726 src/xterm.c xi_compute_root_window_offset (f, xev); f 23733 src/xterm.c if (f) f 23734 src/xterm.c x_set_gtk_user_time (f, xev->time); f 23737 src/xterm.c if (f) f 23743 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23854 src/xterm.c && (f == 0 f 23856 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 23858 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 23870 src/xterm.c if (f != 0) f 23880 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23884 src/xterm.c if (FRAME_XIC (f)) f 23887 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 23891 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 23897 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 24217 src/xterm.c f = x_any_window_to_frame (xkey->event); f 24219 src/xterm.c if (f && xg_filter_key (f, event)) f 24393 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24395 src/xterm.c if (f) f 24398 src/xterm.c xi_compute_root_window_offset (f, xev); f 24401 src/xterm.c menu_bar_p = (f && FRAME_X_OUTPUT (f)->menubar_widget f 24402 src/xterm.c && xg_event_is_for_menubar (f, event)); f 24403 src/xterm.c if (f && FRAME_X_OUTPUT (f)->toolbar_widget) f 24405 src/xterm.c int scale = xg_get_scale (f); f 24412 src/xterm.c tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 24421 src/xterm.c && WINDOWP (f->tool_bar_window) f 24422 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 24428 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 24436 src/xterm.c tool_bar_p = EQ (window, f->tool_bar_window); f 24453 src/xterm.c note_mouse_highlight (f, x, y); f 24460 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 24463 src/xterm.c handle_tool_bar_click_with_device (f, x, y, true, 0, f 24469 src/xterm.c x_flush_dirty_back_buffer_on (f); f 24475 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_device f 24477 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_id = xev->detail; f 24486 src/xterm.c if (f && device->direct_p) f 24502 src/xterm.c xev->event_y, f); f 24506 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24536 src/xterm.c set_frame_menubar (f, true); f 24614 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24616 src/xterm.c if (f && device->direct_p) f 24620 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24625 src/xterm.c if (touchpoint->frame == f) f 24663 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24665 src/xterm.c if (f && device->direct_p) f 24671 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24685 src/xterm.c if (!f) f 24686 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24688 src/xterm.c if (f && (FRAME_OUTPUT_DATA (f)->tool_bar_touch_id f 24691 src/xterm.c if (f->last_tool_bar_item != -1) f 24692 src/xterm.c handle_tool_bar_click_with_device (f, xev->event_x, f 24700 src/xterm.c note_mouse_highlight (f, -1, -1); f 24701 src/xterm.c x_flush_dirty_back_buffer_on (f); f 24704 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_device = 0; f 24787 src/xterm.c if (f) f 24789 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 24792 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 24793 src/xterm.c xic_set_statusarea (f); f 25192 src/xterm.c if (f) f 25193 src/xterm.c XSETFRAME (frame, f); f 25202 src/xterm.c xi_handle_interaction (dpyinfo, f, f 25421 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25433 src/xterm.c x_set_clip_rectangles (f, gc, &clip_rect, 1); f 25442 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25443 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 25444 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 25462 src/xterm.c xgcv.foreground = f->output_data.x->cursor_pixel; f 25467 src/xterm.c dpyinfo->scratch_cursor_gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), f 25483 src/xterm.c x_draw_rectangle (f, gc, x, y, wd, h - 1); f 25484 src/xterm.c x_reset_clip_rectangles (f, gc); f 25498 src/xterm.c struct frame *f = XFRAME (w->frame); f 25523 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 25524 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 25525 src/xterm.c GC gc = FRAME_DISPLAY_INFO (f)->scratch_cursor_gc; f 25527 src/xterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 25535 src/xterm.c if (face->background == f->output_data.x->cursor_pixel) f 25538 src/xterm.c xgcv.background = xgcv.foreground = f->output_data.x->cursor_pixel; f 25549 src/xterm.c FRAME_DISPLAY_INFO (f)->scratch_cursor_gc = gc; f 25559 src/xterm.c width = FRAME_CURSOR_WIDTH (f); f 25569 src/xterm.c x_fill_rectangle (f, gc, x, f 25589 src/xterm.c x_fill_rectangle (f, gc, x, f 25595 src/xterm.c x_reset_clip_rectangles (f, gc); f 25603 src/xterm.c x_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 25605 src/xterm.c if (!f->pointer_invisible f 25606 src/xterm.c && f->output_data.x->current_cursor != cursor) f 25607 src/xterm.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), cursor); f 25608 src/xterm.c f->output_data.x->current_cursor = cursor; f 25615 src/xterm.c x_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 25617 src/xterm.c x_clear_area (f, x, y, width, height); f 25629 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25675 src/xterm.c if (w == XWINDOW (f->selected_window)) f 25687 src/xterm.c x_bitmap_icon (struct frame *f, Lisp_Object file) f 25691 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25695 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25696 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25697 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25704 src/xterm.c if (xg_set_icon (f, file)) f 25707 src/xterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 25708 src/xterm.c x_create_bitmap_mask (f, bitmap_id); f 25713 src/xterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 25719 src/xterm.c if (xg_set_icon (f, xg_default_icon_file) f 25720 src/xterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 25722 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 25728 src/xterm.c if ((FRAME_X_VISUAL_INFO (f)->class == TrueColor f 25729 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticColor f 25730 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticGray) f 25734 src/xterm.c || FRAME_X_VISUAL_INFO (f)->colormap_size >= (240 * 4)) f 25736 src/xterm.c rc = x_create_bitmap_from_xpm_data (f, gnu_xpm_bits); f 25738 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25745 src/xterm.c rc = image_create_bitmap_from_data (f, f 25752 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25753 src/xterm.c x_create_bitmap_mask (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25761 src/xterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25763 src/xterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 25766 src/xterm.c x_wm_set_icon_pixmap (f, bitmap_id); f 25767 src/xterm.c f->output_data.x->icon_bitmap = bitmap_id; f 25777 src/xterm.c x_text_icon (struct frame *f, const char *icon_name) f 25779 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25788 src/xterm.c XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); f 25791 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25792 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25793 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25794 src/xterm.c x_wm_set_icon_pixmap (f, 0); f 26344 src/xterm.c struct frame *f; f 26386 src/xterm.c f = x_dnd_frame; f 26401 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 26403 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 26410 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 26412 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 26414 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 26721 src/xterm.c x_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 26728 src/xterm.c FRAME_FONTSET (f) = fontset; f 26729 src/xterm.c if (FRAME_FONT (f) == font) f 26734 src/xterm.c FRAME_FONT (f) = font; f 26735 src/xterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 26736 src/xterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 26738 src/xterm.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 26741 src/xterm.c FRAME_MENU_BAR_HEIGHT (f) = FRAME_MENU_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26744 src/xterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26750 src/xterm.c unit = FRAME_COLUMN_WIDTH (f); f 26751 src/xterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 26752 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 26753 src/xterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 26755 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 26761 src/xterm.c if (FRAME_X_WINDOW (f) != 0 && !FRAME_TOOLTIP_P (f)) f 26763 src/xterm.c (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 26764 src/xterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, false, Qfont); f 26767 src/xterm.c if (FRAME_XIC (f) f 26768 src/xterm.c && (FRAME_XIC_STYLE (f) & (XIMPreeditPosition | XIMStatusArea))) f 26771 src/xterm.c xic_set_xfontset (f, SSDATA (fontset_ascii (fontset))); f 26803 src/xterm.c x_maybe_clear_preedit (struct frame *f) f 26808 src/xterm.c output = FRAME_X_OUTPUT (f); f 26816 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 26844 src/xterm.c struct frame *f = XFRAME (frame); f 26845 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 26847 src/xterm.c FRAME_XIC (f) = NULL; f 26848 src/xterm.c xic_free_xfontset (f); f 26851 src/xterm.c x_maybe_clear_preedit (f); f 26959 src/xterm.c struct frame *f = XFRAME (frame); f 26961 src/xterm.c if (FRAME_X_P (f) f 26962 src/xterm.c && FRAME_DISPLAY_INFO (f) == xim_inst->dpyinfo) f 26963 src/xterm.c if (FRAME_XIC (f) == NULL) f 26965 src/xterm.c create_frame_xic (f); f 26966 src/xterm.c if (FRAME_XIC_STYLE (f) & XIMStatusArea) f 26967 src/xterm.c xic_set_statusarea (f); f 26968 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 27081 src/xterm.c x_calc_absolute_position (struct frame *f) f 27083 src/xterm.c int flags = f->size_hint_flags; f 27084 src/xterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 27093 src/xterm.c if ((flags & XNegative) && (f->left_pos <= 0)) f 27095 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 27099 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 27104 src/xterm.c XSETFRAME (frame, f); f 27112 src/xterm.c f->left_pos = (FRAME_PIXEL_WIDTH (p) - width - 2 * f->border_width f 27113 src/xterm.c + f->left_pos); f 27115 src/xterm.c f->left_pos = (x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 27116 src/xterm.c - width + f->left_pos); f 27120 src/xterm.c if ((flags & YNegative) && (f->top_pos <= 0)) f 27122 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 27137 src/xterm.c XtVaGetValues (f->output_data.x->column_widget, XtNheight, &height, NULL); f 27140 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 27145 src/xterm.c XSETFRAME (frame, f); f 27154 src/xterm.c f->top_pos = (FRAME_PIXEL_HEIGHT (p) - height - 2 * f->border_width f 27155 src/xterm.c + f->top_pos); f 27157 src/xterm.c f->top_pos = (x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 27158 src/xterm.c - height + f->top_pos); f 27164 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 27174 src/xterm.c x_set_offset (struct frame *f, int xoff, int yoff, int change_gravity) f 27178 src/xterm.c int scale = xg_get_scale (f); f 27183 src/xterm.c f->top_pos = yoff; f 27184 src/xterm.c f->left_pos = xoff; f 27185 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 27187 src/xterm.c f->size_hint_flags |= XNegative; f 27189 src/xterm.c f->size_hint_flags |= YNegative; f 27190 src/xterm.c f->win_gravity = NorthWestGravity; f 27193 src/xterm.c x_calc_absolute_position (f); f 27196 src/xterm.c x_wm_set_size_hint (f, 0, false); f 27205 src/xterm.c if (change_gravity != 0 && FRAME_GTK_OUTER_WIDGET (f)) f 27206 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 27207 src/xterm.c f->left_pos / scale, f->top_pos / scale); f 27213 src/xterm.c modified_left = f->left_pos; f 27214 src/xterm.c modified_top = f->top_pos; f 27216 src/xterm.c if (change_gravity != 0 && FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A) f 27221 src/xterm.c modified_left += FRAME_X_OUTPUT (f)->move_offset_left; f 27222 src/xterm.c modified_top += FRAME_X_OUTPUT (f)->move_offset_top; f 27227 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 27230 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27239 src/xterm.c if (!FRAME_PARENT_FRAME (f) f 27245 src/xterm.c x_sync_with_move (f, f->left_pos, f->top_pos, f 27246 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN); f 27259 src/xterm.c && (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN f 27260 src/xterm.c || (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A f 27261 src/xterm.c && (FRAME_X_OUTPUT (f)->move_offset_left == 0 f 27262 src/xterm.c && FRAME_X_OUTPUT (f)->move_offset_top == 0)))) f 27263 src/xterm.c x_check_expected_move (f, modified_left, modified_top); f 27269 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 27410 src/xterm.c x_wm_supports (struct frame *f, Atom want_atom) f 27412 src/xterm.c return x_wm_supports_1 (FRAME_DISPLAY_INFO (f), f 27442 src/xterm.c x_set_sticky (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27445 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27447 src/xterm.c XSETFRAME (frame, f); f 27454 src/xterm.c x_set_shaded (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27457 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27459 src/xterm.c XSETFRAME (frame, f); f 27476 src/xterm.c x_set_skip_taskbar (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27481 src/xterm.c xg_set_skip_taskbar (f, new_value); f 27484 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27486 src/xterm.c XSETFRAME (frame, f); f 27490 src/xterm.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 27511 src/xterm.c x_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27516 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27518 src/xterm.c XSETFRAME (frame, f); f 27526 src/xterm.c FRAME_Z_GROUP (f) = z_group_none; f 27534 src/xterm.c FRAME_Z_GROUP (f) = z_group_above; f 27542 src/xterm.c FRAME_Z_GROUP (f) = z_group_below; f 27548 src/xterm.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 27562 src/xterm.c x_get_current_wm_state (struct frame *f, f 27571 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27580 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 27614 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27628 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27674 src/xterm.c do_ewmh_fullscreen (struct frame *f) f 27676 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27677 src/xterm.c bool have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state); f 27681 src/xterm.c x_get_current_wm_state (f, FRAME_OUTER_WINDOW (f), &cur, &dummy, &dummy); f 27686 src/xterm.c have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state_fullscreen); f 27688 src/xterm.c if (have_net_atom && cur != f->want_fullscreen) f 27692 src/xterm.c XSETFRAME (frame, f); f 27697 src/xterm.c switch (f->want_fullscreen) f 27796 src/xterm.c f->want_fullscreen = FULLSCREEN_NONE; f 27804 src/xterm.c XTfullscreen_hook (struct frame *f) f 27806 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 27810 src/xterm.c x_check_fullscreen (f); f 27816 src/xterm.c x_handle_net_wm_state (struct frame *f, const XPropertyEvent *event) f 27821 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->window, f 27842 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 27843 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 27844 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 27852 src/xterm.c x_check_fullscreen (struct frame *f) f 27856 src/xterm.c if (do_ewmh_fullscreen (f)) f 27859 src/xterm.c if (f->output_data.x->parent_desc != FRAME_DISPLAY_INFO (f)->root_window) f 27866 src/xterm.c if (f->want_fullscreen != FULLSCREEN_NONE) f 27868 src/xterm.c int width = FRAME_PIXEL_WIDTH (f), height = FRAME_PIXEL_HEIGHT (f); f 27869 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27871 src/xterm.c switch (f->want_fullscreen) f 27887 src/xterm.c height = height + FRAME_MENUBAR_HEIGHT (f); f 27897 src/xterm.c x_wm_set_size_hint (f, 0, false); f 27899 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27902 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27903 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 27905 src/xterm.c change_frame_size (f, width, height, false, true, false); f 27910 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 27922 src/xterm.c x_check_expected_move (struct frame *f, int expected_left, int expected_top) f 27929 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 27938 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_A; f 27939 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_left = expected_left - current_left; f 27940 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_top = expected_top - current_top; f 27944 src/xterm.c adjusted_left = expected_left + FRAME_X_OUTPUT (f)->move_offset_left; f 27945 src/xterm.c adjusted_top = expected_top + FRAME_X_OUTPUT (f)->move_offset_top; f 27947 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27950 src/xterm.c x_sync_with_move (f, expected_left, expected_top, false); f 27955 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_B; f 27966 src/xterm.c x_sync_with_move (struct frame *f, int left, int top, bool fuzzy) f 27983 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 28013 src/xterm.c x_wait_for_event (struct frame *f, int eventtype) f 28021 src/xterm.c int fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 28023 src/xterm.c f->wait_event_type = eventtype; f 28033 src/xterm.c while (f->wait_event_type) f 28053 src/xterm.c f->wait_event_type = 0; f 28063 src/xterm.c x_set_window_size_1 (struct frame *f, bool change_gravity, f 28067 src/xterm.c f->win_gravity = NorthWestGravity; f 28068 src/xterm.c x_wm_set_size_hint (f, 0, false); f 28070 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28071 src/xterm.c width, height + FRAME_MENUBAR_HEIGHT (f)); f 28077 src/xterm.c SET_FRAME_GARBAGED (f); f 28102 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28104 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 28108 src/xterm.c (f, build_string ("x_set_window_size_1, visible"), f 28109 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 28110 src/xterm.c f->new_width, f->new_height); f 28116 src/xterm.c (f, build_string ("x_set_window_size_1, invisible"), f 28117 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 28118 src/xterm.c f->new_width, f->new_height); f 28122 src/xterm.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, width), f 28123 src/xterm.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, height), f 28135 src/xterm.c x_set_window_size (struct frame *f, bool change_gravity, f 28141 src/xterm.c if (FRAME_GTK_WIDGET (f)) f 28142 src/xterm.c xg_frame_set_char_size (f, width, height); f 28144 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 28146 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 28147 src/xterm.c x_clear_under_internal_border (f); f 28151 src/xterm.c mark_window_cursors_off (XWINDOW (f->root_window)); f 28157 src/xterm.c cancel_mouse_face (f); f 28167 src/xterm.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 28172 src/xterm.c deviceid = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 28174 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 28178 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f), 0); f 28179 src/xterm.c XIWarpPointer (FRAME_X_DISPLAY (f), deviceid, None, f 28180 src/xterm.c FRAME_X_WINDOW (f), 0, 0, 0, 0, pix_x, pix_y); f 28181 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 28186 src/xterm.c XWarpPointer (FRAME_X_DISPLAY (f), None, FRAME_X_WINDOW (f), f 28193 src/xterm.c x_raise_frame (struct frame *f) f 28197 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28199 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), f 28200 src/xterm.c FRAME_OUTER_WINDOW (f)); f 28201 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28208 src/xterm.c x_lower_frame_1 (struct frame *f) f 28224 src/xterm.c if (sibling == f) f 28228 src/xterm.c != FRAME_PARENT_FRAME (f)) f 28232 src/xterm.c windows[1] = FRAME_OUTER_WINDOW (f); f 28234 src/xterm.c XRestackWindows (FRAME_X_DISPLAY (f), windows, 2); f 28241 src/xterm.c x_lower_frame (struct frame *f) f 28243 src/xterm.c if (FRAME_PARENT_FRAME (f) f 28244 src/xterm.c && (FRAME_HAS_VERTICAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)) f 28245 src/xterm.c || FRAME_HAS_HORIZONTAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)))) f 28246 src/xterm.c x_lower_frame_1 (f); f 28248 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), f 28249 src/xterm.c FRAME_OUTER_WINDOW (f)); f 28255 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 28256 src/xterm.c lower_frame_xwidget_views (FRAME_PARENT_FRAME (f)); f 28259 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28263 src/xterm.c XTframe_raise_lower (struct frame *f, bool raise_flag) f 28266 src/xterm.c x_raise_frame (f); f 28268 src/xterm.c x_lower_frame (f); f 28274 src/xterm.c xembed_request_focus (struct frame *f) f 28278 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28279 src/xterm.c xembed_send_message (f, CurrentTime, f 28301 src/xterm.c x_get_server_time (struct frame *f) f 28315 src/xterm.c if (FRAME_DISPLAY_INFO (f)->server_time_monotonic_p) f 28325 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28327 src/xterm.c client_data[0] = FRAME_OUTER_WINDOW (f); f 28330 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 28344 src/xterm.c x_ewmh_activate_frame (struct frame *f) f 28350 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28352 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28358 src/xterm.c msg.xclient.window = FRAME_OUTER_WINDOW (f); f 28379 src/xterm.c time = x_get_server_time (f); f 28381 src/xterm.c x_set_gtk_user_time (f, time); f 28385 src/xterm.c dpyinfo->x_focus_frame = f; f 28394 src/xterm.c time = x_get_server_time (f); f 28396 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), f 28397 src/xterm.c FRAME_OUTER_WINDOW (f), f 28399 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 28412 src/xterm.c x_get_focus_frame (struct frame *f) f 28416 src/xterm.c struct frame *focus = FRAME_DISPLAY_INFO (f)->x_focus_frame; f 28429 src/xterm.c x_get_toplevel_parent (struct frame *f) f 28433 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 28436 src/xterm.c parent = FRAME_PARENT_FRAME (f); f 28505 src/xterm.c x_focus_frame (struct frame *f, bool noactivate) f 28510 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28521 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28525 src/xterm.c xembed_request_focus (f); f 28532 src/xterm.c && !FRAME_OVERRIDE_REDIRECT (f) f 28535 src/xterm.c && !FRAME_PARENT_FRAME (f) f 28540 src/xterm.c != f)) f 28541 src/xterm.c && x_wm_supports (f, dpyinfo->Xatom_net_active_window)) f 28548 src/xterm.c x_ewmh_activate_frame (f); f 28567 src/xterm.c time = x_get_server_time (f); f 28573 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 28577 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 28598 src/xterm.c xembed_set_info (struct frame *f, enum xembed_info flags) f 28601 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 28606 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28613 src/xterm.c xembed_send_message (struct frame *f, Time t, enum xembed_message msg, f 28619 src/xterm.c event.xclient.window = FRAME_X_OUTPUT (f)->parent_desc; f 28620 src/xterm.c event.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_XEMBED; f 28632 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f), 0); f 28633 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_OUTPUT (f)->parent_desc, f 28635 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 28649 src/xterm.c x_make_frame_visible (struct frame *f) f 28657 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 28659 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 28663 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28664 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28665 src/xterm.c f->left_pos, f->top_pos); f 28667 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 28671 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28672 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28679 src/xterm.c gui_set_bitmap_icon (f); f 28682 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28685 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28691 src/xterm.c if (! FRAME_ICONIFIED_P (f) f 28692 src/xterm.c && ! FRAME_X_EMBEDDED_P (f) f 28693 src/xterm.c && ! f->output_data.x->asked_for_visible) f 28694 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 28697 src/xterm.c output = FRAME_X_OUTPUT (f); f 28698 src/xterm.c x_update_frame_user_time_window (f); f 28715 src/xterm.c f->output_data.x->asked_for_visible = true; f 28718 src/xterm.c x_wm_set_window_state (f, NormalState); f 28720 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28721 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28725 src/xterm.c XtMapWidget (f->output_data.x->widget); f 28729 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28730 src/xterm.c gtk_window_deiconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 28732 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28733 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28735 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28739 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28741 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28742 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28754 src/xterm.c bool previously_visible = f->output_data.x->has_been_visible; f 28756 src/xterm.c XSETFRAME (frame, f); f 28758 src/xterm.c int original_left = f->left_pos; f 28759 src/xterm.c int original_top = f->top_pos; f 28779 src/xterm.c if (!FRAME_VISIBLE_P (f) f 28780 src/xterm.c && !FRAME_ICONIFIED_P (f) f 28781 src/xterm.c && !FRAME_X_EMBEDDED_P (f) f 28782 src/xterm.c && !FRAME_PARENT_FRAME (f) f 28784 src/xterm.c && f->win_gravity == NorthWestGravity f 28800 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28805 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28831 src/xterm.c if (!FRAME_VISIBLE_P (f) f 28836 src/xterm.c (f, build_string ("x_make_frame_visible")); f 28838 src/xterm.c x_wait_for_event (f, MapNotify); f 28843 src/xterm.c x_flush (f); f 28852 src/xterm.c x_make_frame_invisible (struct frame *f) f 28857 src/xterm.c window = FRAME_OUTER_WINDOW (f); f 28860 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 28861 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 28867 src/xterm.c xi_unlink_touch_points (f); f 28875 src/xterm.c x_wm_set_size_hint (f, 0, true); f 28878 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 28879 src/xterm.c gtk_widget_hide (FRAME_GTK_OUTER_WIDGET (f)); f 28882 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28883 src/xterm.c xembed_set_info (f, 0); f 28887 src/xterm.c if (! XWithdrawWindow (FRAME_X_DISPLAY (f), window, f 28888 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f)))) f 28897 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 28904 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28905 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28908 src/xterm.c frame_size_history_plain (f, build_string ("x_make_frame_invisible")); f 28914 src/xterm.c x_make_frame_visible_invisible (struct frame *f, bool visible) f 28917 src/xterm.c x_make_frame_visible (f); f 28919 src/xterm.c x_make_frame_invisible (f); f 28937 src/xterm.c x_iconify_frame (struct frame *f) f 28944 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 28945 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 28947 src/xterm.c if (FRAME_ICONIFIED_P (f)) f 28952 src/xterm.c gui_set_bitmap_icon (f); f 28955 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 28957 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28958 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28960 src/xterm.c gtk_window_iconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 28961 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28962 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28970 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28973 src/xterm.c x_wm_set_window_state (f, IconicState); f 28975 src/xterm.c XtMapWidget (f->output_data.x->widget); f 28979 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28980 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28985 src/xterm.c result = XIconifyWindow (FRAME_X_DISPLAY (f), f 28986 src/xterm.c XtWindow (f->output_data.x->widget), f 28987 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f))); f 28993 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28994 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28997 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 29003 src/xterm.c if (! FRAME_VISIBLE_P (f) f 29004 src/xterm.c && ! FRAME_ICONIFIED_P (f) f 29005 src/xterm.c && ! FRAME_X_EMBEDDED_P (f)) f 29006 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 29016 src/xterm.c msg.xclient.window = FRAME_X_WINDOW (f); f 29018 src/xterm.c msg.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_wm_change_state; f 29026 src/xterm.c if (! XSendEvent (FRAME_X_DISPLAY (f), f 29027 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 29039 src/xterm.c x_wm_set_window_state (f, IconicState); f 29041 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 29044 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29047 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 29048 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29050 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 29059 src/xterm.c x_free_frame_resources (struct frame *f) f 29061 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 29072 src/xterm.c xi_handle_delete_frame (dpyinfo, f); f 29077 src/xterm.c xi_unlink_touch_points (f); f 29086 src/xterm.c if (f->pointer_invisible) f 29087 src/xterm.c XTtoggle_invisible_pointer (f, 0); f 29092 src/xterm.c free_frame_faces (f); f 29093 src/xterm.c tear_down_x_back_buffer (f); f 29095 src/xterm.c if (f->output_data.x->icon_desc) f 29096 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); f 29103 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) f 29111 src/xterm.c if (FRAME_XIC (f)) f 29112 src/xterm.c free_frame_xic (f); f 29116 src/xterm.c x_cr_destroy_frame_context (f); f 29119 src/xterm.c if (f->output_data.x->widget) f 29121 src/xterm.c XtDestroyWidget (f->output_data.x->widget); f 29122 src/xterm.c f->output_data.x->widget = NULL; f 29126 src/xterm.c else if (FRAME_X_WINDOW (f)) f 29127 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29129 src/xterm.c free_frame_menubar (f); f 29131 src/xterm.c if (f->shell_position) f 29132 src/xterm.c xfree (f->shell_position); f 29136 src/xterm.c kill_frame_xwidget_views (f); f 29140 src/xterm.c xg_free_frame_widgets (f); f 29143 src/xterm.c tear_down_x_back_buffer (f); f 29144 src/xterm.c if (FRAME_X_WINDOW (f)) f 29145 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29149 src/xterm.c if (FRAME_X_BASIC_COUNTER (f) != None) f 29150 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 29151 src/xterm.c FRAME_X_BASIC_COUNTER (f)); f 29153 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) != None) f 29154 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 29155 src/xterm.c FRAME_X_EXTENDED_COUNTER (f)); f 29158 src/xterm.c unload_color (f, FRAME_FOREGROUND_PIXEL (f)); f 29159 src/xterm.c unload_color (f, FRAME_BACKGROUND_PIXEL (f)); f 29160 src/xterm.c unload_color (f, f->output_data.x->cursor_pixel); f 29161 src/xterm.c unload_color (f, f->output_data.x->cursor_foreground_pixel); f 29162 src/xterm.c unload_color (f, f->output_data.x->border_pixel); f 29163 src/xterm.c unload_color (f, f->output_data.x->mouse_pixel); f 29165 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 29166 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_background_pixel); f 29167 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 29168 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); f 29171 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) f 29172 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_top_shadow_pixel); f 29173 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel != -1) f 29174 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); f 29176 src/xterm.c if (f->output_data.x->white_relief.pixel != -1) f 29177 src/xterm.c unload_color (f, f->output_data.x->white_relief.pixel); f 29178 src/xterm.c if (f->output_data.x->black_relief.pixel != -1) f 29179 src/xterm.c unload_color (f, f->output_data.x->black_relief.pixel); f 29181 src/xterm.c x_free_gcs (f); f 29184 src/xterm.c if (f->output_data.x->white_relief.gc) f 29186 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->white_relief.gc); f 29187 src/xterm.c f->output_data.x->white_relief.gc = 0; f 29189 src/xterm.c if (f->output_data.x->black_relief.gc) f 29191 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->black_relief.gc); f 29192 src/xterm.c f->output_data.x->black_relief.gc = 0; f 29196 src/xterm.c if (f->output_data.x->text_cursor != 0) f 29197 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->text_cursor); f 29198 src/xterm.c if (f->output_data.x->nontext_cursor != 0) f 29199 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->nontext_cursor); f 29200 src/xterm.c if (f->output_data.x->modeline_cursor != 0) f 29201 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->modeline_cursor); f 29202 src/xterm.c if (f->output_data.x->hand_cursor != 0) f 29203 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hand_cursor); f 29204 src/xterm.c if (f->output_data.x->hourglass_cursor != 0) f 29205 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hourglass_cursor); f 29206 src/xterm.c if (f->output_data.x->horizontal_drag_cursor != 0) f 29207 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->horizontal_drag_cursor); f 29208 src/xterm.c if (f->output_data.x->vertical_drag_cursor != 0) f 29209 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->vertical_drag_cursor); f 29210 src/xterm.c if (f->output_data.x->left_edge_cursor != 0) f 29211 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->left_edge_cursor); f 29212 src/xterm.c if (f->output_data.x->top_left_corner_cursor != 0) f 29213 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_left_corner_cursor); f 29214 src/xterm.c if (f->output_data.x->top_edge_cursor != 0) f 29215 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_edge_cursor); f 29216 src/xterm.c if (f->output_data.x->top_right_corner_cursor != 0) f 29217 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_right_corner_cursor); f 29218 src/xterm.c if (f->output_data.x->right_edge_cursor != 0) f 29219 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->right_edge_cursor); f 29220 src/xterm.c if (f->output_data.x->bottom_right_corner_cursor != 0) f 29221 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_right_corner_cursor); f 29222 src/xterm.c if (f->output_data.x->bottom_edge_cursor != 0) f 29223 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_edge_cursor); f 29224 src/xterm.c if (f->output_data.x->bottom_left_corner_cursor != 0) f 29225 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_left_corner_cursor); f 29229 src/xterm.c x_sync_free_fences (f); f 29241 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider) f 29242 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider); f 29244 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider) f 29245 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider); f 29248 src/xterm.c if (f == dpyinfo->motif_drag_atom_owner) f 29254 src/xterm.c if (f == dpyinfo->x_focus_frame) f 29256 src/xterm.c if (f == dpyinfo->x_focus_event_frame) f 29258 src/xterm.c if (f == dpyinfo->highlight_frame) f 29260 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 29265 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 29267 src/xterm.c if (f == dpyinfo->last_mouse_frame) f 29287 src/xterm.c x_destroy_window (struct frame *f) f 29289 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 29294 src/xterm.c x_free_frame_resources (f); f 29296 src/xterm.c xfree (f->output_data.x->saved_menu_event); f 29299 src/xterm.c if (f->output_data.x->preedit_chars) f 29300 src/xterm.c xfree (f->output_data.x->preedit_chars); f 29305 src/xterm.c if (f->output_data.x->xi_masks) f 29306 src/xterm.c XFree (f->output_data.x->xi_masks); f 29310 src/xterm.c if (f->output_data.x->xi_masks) f 29311 src/xterm.c xfree (f->output_data.x->xi_masks); f 29315 src/xterm.c xfree (f->output_data.x); f 29316 src/xterm.c f->output_data.x = NULL; f 29559 src/xterm.c x_embed_frame (struct x_display_info *dpyinfo, struct frame *f) f 29565 src/xterm.c XReparentWindow (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 29566 src/xterm.c FRAME_OUTPUT_DATA (f)->parent_desc, 0, 0); f 29589 src/xterm.c x_wm_set_size_hint (struct frame *f, long flags, bool user_position) f 29593 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29605 src/xterm.c if (f->output_data.x->widget) f 29610 src/xterm.c eassert (XtIsWMShell (f->output_data.x->widget)); f 29611 src/xterm.c shell = (WMShellWidget) f->output_data.x->widget; f 29627 src/xterm.c = widget_update_wm_size_hints (f->output_data.x->widget, f 29628 src/xterm.c f->output_data.x->edit_widget); f 29630 src/xterm.c widget_update_wm_size_hints (f->output_data.x->widget, f 29631 src/xterm.c f->output_data.x->edit_widget); f 29666 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 29667 src/xterm.c XtWindow (f->output_data.x->widget), f 29675 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 29676 src/xterm.c XtWindow (f->output_data.x->widget), f 29687 src/xterm.c size_hints.x = f->left_pos; f 29688 src/xterm.c size_hints.y = f->top_pos; f 29690 src/xterm.c size_hints.width = FRAME_PIXEL_WIDTH (f); f 29691 src/xterm.c size_hints.height = FRAME_PIXEL_HEIGHT (f); f 29693 src/xterm.c size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f); f 29694 src/xterm.c size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f); f 29696 src/xterm.c size_hints.max_width = x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 29697 src/xterm.c - FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29698 src/xterm.c size_hints.max_height = x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 29699 src/xterm.c - FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29705 src/xterm.c base_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29706 src/xterm.c base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29716 src/xterm.c size_hints.base_height = base_height + FRAME_MENUBAR_HEIGHT (f); f 29733 src/xterm.c value = XGetWMNormalHints (FRAME_X_DISPLAY (f), window, &hints, f 29756 src/xterm.c size_hints.win_gravity = f->win_gravity; f 29766 src/xterm.c XSetWMNormalHints (FRAME_X_DISPLAY (f), window, &size_hints); f 29768 src/xterm.c xg_wm_set_size_hint (f, flags, user_position); f 29775 src/xterm.c x_wm_set_window_state (struct frame *f, int state) f 29781 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29783 src/xterm.c Window window = FRAME_X_WINDOW (f); f 29785 src/xterm.c f->output_data.x->wm_hints.flags |= StateHint; f 29786 src/xterm.c f->output_data.x->wm_hints.initial_state = state; f 29788 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29793 src/xterm.c x_wm_set_icon_pixmap (struct frame *f, ptrdiff_t pixmap_id) f 29798 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29803 src/xterm.c icon_pixmap = image_bitmap_pixmap (f, pixmap_id); f 29804 src/xterm.c f->output_data.x->wm_hints.icon_pixmap = icon_pixmap; f 29805 src/xterm.c icon_mask = x_bitmap_mask (f, pixmap_id); f 29806 src/xterm.c f->output_data.x->wm_hints.icon_mask = icon_mask; f 29818 src/xterm.c xg_set_frame_icon (f, icon_pixmap, icon_mask); f 29827 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29829 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29834 src/xterm.c f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); f 29835 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29841 src/xterm.c x_wm_set_icon_position (struct frame *f, int icon_x, int icon_y) f 29843 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29845 src/xterm.c f->output_data.x->wm_hints.flags |= IconPositionHint; f 29846 src/xterm.c f->output_data.x->wm_hints.icon_x = icon_x; f 29847 src/xterm.c f->output_data.x->wm_hints.icon_y = icon_y; f 29849 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29863 src/xterm.c x_check_font (struct frame *f, struct font *font) f 29867 src/xterm.c eassert (font->driver->check (f, font) == 0); f 29878 src/xterm.c x_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 29887 src/xterm.c XFreePixmap (FRAME_X_DISPLAY (f), pixmap); f 31506 src/xterm.c struct frame *f; f 31523 src/xterm.c f = XFRAME (frame); f 31525 src/xterm.c if (FRAME_LIVE_P (f) && f->terminal == terminal) f 31802 src/xterm.c x_reset_conversion (struct frame *f) f 31806 src/xterm.c if (FRAME_XIC (f)) f 31808 src/xterm.c string = XmbResetIC (FRAME_XIC (f)); f 135 src/xterm.h #define BLACK_PIX_DEFAULT(f) \ f 136 src/xterm.h BlackPixel (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)) f 137 src/xterm.h #define WHITE_PIX_DEFAULT(f) \ f 138 src/xterm.h WhitePixel (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)) f 1388 src/xterm.h #define FRAME_X_OUTPUT(f) ((f)->output_data.x) f 1389 src/xterm.h #define FRAME_OUTPUT_DATA(f) FRAME_X_OUTPUT (f) f 1392 src/xterm.h #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc) f 1393 src/xterm.h #define FRAME_NATIVE_WINDOW(f) FRAME_X_WINDOW (f) f 1396 src/xterm.h #define FRAME_X_RAW_DRAWABLE(f) ((f)->output_data.x->draw_desc) f 1398 src/xterm.h extern void x_mark_frame_dirty (struct frame *f); f 1404 src/xterm.h #define FRAME_X_DRAWABLE(f) \ f 1405 src/xterm.h (x_mark_frame_dirty ((f)), FRAME_X_RAW_DRAWABLE ((f))) f 1408 src/xterm.h #define FRAME_X_DOUBLE_BUFFERED_P(f) \ f 1409 src/xterm.h (FRAME_X_WINDOW (f) != FRAME_X_RAW_DRAWABLE (f)) f 1412 src/xterm.h #define FRAME_X_NEED_BUFFER_FLIP(f) ((f)->output_data.x->need_buffer_flip) f 1416 src/xterm.h #define FRAME_X_COMPLETE_P(f) ((f)->output_data.x->complete) f 1421 src/xterm.h #define FRAME_OUTER_WINDOW(f) ((f)->output_data.x->widget ? \ f 1422 src/xterm.h XtWindow ((f)->output_data.x->widget) : \ f 1423 src/xterm.h FRAME_X_WINDOW (f)) f 1442 src/xterm.h #define FRAME_GTK_OUTER_WIDGET(f) ((f)->output_data.x->widget) f 1443 src/xterm.h #define FRAME_GTK_WIDGET(f) ((f)->output_data.x->edit_widget) f 1444 src/xterm.h #define FRAME_OUTER_WINDOW(f) \ f 1445 src/xterm.h (FRAME_GTK_OUTER_WIDGET (f) ? \ f 1446 src/xterm.h GTK_WIDGET_TO_X_WIN (FRAME_GTK_OUTER_WIDGET (f)) : \ f 1447 src/xterm.h FRAME_X_WINDOW (f)) f 1450 src/xterm.h #define FRAME_OUTER_WINDOW(f) (FRAME_X_WINDOW (f)) f 1455 src/xterm.h #define FRAME_MENUBAR_HEIGHT(f) ((f)->output_data.x->menubar_height) f 1457 src/xterm.h #define FRAME_MENUBAR_HEIGHT(f) ((void) f, 0) f 1460 src/xterm.h #define FRAME_FONT(f) ((f)->output_data.x->font) f 1461 src/xterm.h #define FRAME_FONTSET(f) ((f)->output_data.x->fontset) f 1462 src/xterm.h #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_top_height) f 1463 src/xterm.h #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ f 1464 src/xterm.h ((f)->output_data.x->toolbar_bottom_height) f 1465 src/xterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 1466 src/xterm.h (FRAME_TOOLBAR_TOP_HEIGHT (f) + FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 1467 src/xterm.h #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.x->toolbar_left_width) f 1468 src/xterm.h #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.x->toolbar_right_width) f 1469 src/xterm.h #define FRAME_TOOLBAR_WIDTH(f) \ f 1470 src/xterm.h (FRAME_TOOLBAR_LEFT_WIDTH (f) + FRAME_TOOLBAR_RIGHT_WIDTH (f)) f 1471 src/xterm.h #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_offset) f 1474 src/xterm.h #define FRAME_DISPLAY_INFO(f) ((f)->output_data.x->display_info) f 1477 src/xterm.h #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->display) f 1480 src/xterm.h #define FRAME_X_SCREEN(f) (FRAME_DISPLAY_INFO (f)->screen) f 1483 src/xterm.h #define FRAME_X_SCREEN_NUMBER(f) XScreenNumberOfScreen (FRAME_X_SCREEN (f)) f 1486 src/xterm.h #define FRAME_X_VISUAL(f) FRAME_DISPLAY_INFO (f)->visual f 1489 src/xterm.h #define FRAME_X_VISUAL_INFO(f) (&FRAME_DISPLAY_INFO (f)->visual_info) f 1493 src/xterm.h #define FRAME_X_VISIBLE(f) (FRAME_X_OUTPUT (f)->visibility_state \ f 1497 src/xterm.h #define FRAME_X_PICTURE_FORMAT(f) FRAME_DISPLAY_INFO (f)->pict_format f 1498 src/xterm.h #define FRAME_X_PICTURE(f) ((f)->output_data.x->picture) f 1499 src/xterm.h #define FRAME_CHECK_XR_VERSION(f, major, minor) \ f 1500 src/xterm.h (FRAME_DISPLAY_INFO (f)->xrender_supported_p \ f 1501 src/xterm.h && ((FRAME_DISPLAY_INFO (f)->xrender_major == (major) \ f 1502 src/xterm.h && FRAME_DISPLAY_INFO (f)->xrender_minor >= (minor)) \ f 1503 src/xterm.h || (FRAME_DISPLAY_INFO (f)->xrender_major > (major)))) f 1507 src/xterm.h #define FRAME_X_BASIC_COUNTER(f) \ f 1508 src/xterm.h FRAME_X_OUTPUT (f)->basic_frame_counter f 1509 src/xterm.h #define FRAME_X_EXTENDED_COUNTER(f) \ f 1510 src/xterm.h FRAME_X_OUTPUT (f)->extended_frame_counter f 1511 src/xterm.h #define FRAME_X_WAITING_FOR_DRAW(f) \ f 1512 src/xterm.h FRAME_X_OUTPUT (f)->waiting_for_frame_p f 1513 src/xterm.h #define FRAME_X_DRAW_JUST_HUNG(f) \ f 1514 src/xterm.h FRAME_X_OUTPUT (f)->draw_just_hung_p f 1515 src/xterm.h #define FRAME_X_COUNTER_VALUE(f) \ f 1516 src/xterm.h FRAME_X_OUTPUT (f)->current_extended_counter_value f 1520 src/xterm.h #define FRAME_X_COLORMAP(f) FRAME_DISPLAY_INFO (f)->cmap f 1522 src/xterm.h #define FRAME_XIC(f) ((f)->output_data.x->xic) f 1523 src/xterm.h #define FRAME_X_XIM(f) (FRAME_DISPLAY_INFO (f)->xim) f 1524 src/xterm.h #define FRAME_X_XIM_STYLES(f) (FRAME_DISPLAY_INFO (f)->xim_styles) f 1525 src/xterm.h #define FRAME_XIC_STYLE(f) ((f)->output_data.x->xic_style) f 1526 src/xterm.h #define FRAME_XIC_FONTSET(f) ((f)->output_data.x->xic_xfs) f 1527 src/xterm.h #define FRAME_X_XIM_CODING(f) \ f 1530 src/xterm.h : (!NILP (FRAME_DISPLAY_INFO (f)->xim_coding) \ f 1531 src/xterm.h ? FRAME_DISPLAY_INFO(f)->xim_coding \ f 1621 src/xterm.h #define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ f 1633 src/xterm.h #define VERTICAL_SCROLL_BAR_TOP_RANGE(f, height) \ f 1634 src/xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) f 1638 src/xterm.h #define VERTICAL_SCROLL_BAR_INSIDE_HEIGHT(f, height) \ f 1643 src/xterm.h #define HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT(f, height) \ f 1655 src/xterm.h #define HORIZONTAL_SCROLL_BAR_LEFT_RANGE(f, width) \ f 1656 src/xterm.h (HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH (f, width) - HORIZONTAL_SCROLL_BAR_MIN_HANDLE) f 1660 src/xterm.h #define HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ f 1791 src/xterm.h extern void x_query_colors (struct frame *f, XColor *, int); f 1792 src/xterm.h extern void x_clear_area (struct frame *f, int, int, int, int); f 1898 src/xterm.h extern void x_clear_under_internal_border (struct frame *f); f 1900 src/xterm.h extern void tear_down_x_back_buffer (struct frame *f); f 1901 src/xterm.h extern void initial_set_up_x_back_buffer (struct frame *f); f 2031 src/xterm.h #define FRAME_X_EMBEDDED_P(f) (FRAME_X_OUTPUT (f)->explicit_parent != 0) f 492 src/xwidget.c struct frame *f = NULL; f 511 src/xwidget.c f = decode_window_system_frame (frame); f 513 src/xwidget.c f = SELECTED_FRAME (); f 518 src/xwidget.c if (!f) f 523 src/xwidget.c embedder = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 552 src/xwidget.c if (f) f 553 src/xwidget.c modifiers = x_emacs_to_x_modifiers (FRAME_DISPLAY_INFO (f), modifiers); f 557 src/xwidget.c if (f) f 558 src/xwidget.c modifiers = pgtk_emacs_to_gtk_modifiers (FRAME_DISPLAY_INFO (f), modifiers); f 584 src/xwidget.c if (f) f 585 src/xwidget.c modifiers = x_emacs_to_x_modifiers (FRAME_DISPLAY_INFO (f), f 590 src/xwidget.c if (f) f 591 src/xwidget.c modifiers = pgtk_emacs_to_gtk_modifiers (FRAME_DISPLAY_INFO (f), f 626 src/xwidget.c if (f) f 627 src/xwidget.c xg_event->key.state = xw_translate_x_modifiers (FRAME_DISPLAY_INFO (f), f 654 src/xwidget.c if (f) f 860 src/xwidget.c find_suitable_pointer (struct frame *f, bool need_smooth) f 863 src/xwidget.c (gtk_widget_get_display (FRAME_GTK_WIDGET (f))); f 891 src/xwidget.c find_suitable_keyboard (struct frame *f) f 894 src/xwidget.c (gtk_widget_get_display (FRAME_GTK_WIDGET (f))); f 1106 src/xwidget.c struct frame *f = SELECTED_FRAME (); f 1119 src/xwidget.c if (!FRAME_WINDOW_P (f)) f 1123 src/xwidget.c GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 2630 src/xwidget.c struct frame *f = SELECTED_FRAME (); f 2645 src/xwidget.c if (!FRAME_WINDOW_P (f)) f 2649 src/xwidget.c widget = FRAME_GTK_OUTER_WIDGET (f); f 2721 src/xwidget.c xv->dpy = FRAME_X_DISPLAY (s->f); f 2732 src/xwidget.c xv->frame = s->f; f 2733 src/xwidget.c xv->cursor = FRAME_OUTPUT_DATA (s->f)->nontext_cursor; f 2738 src/xwidget.c xv->dpyinfo = FRAME_DISPLAY_INFO (s->f); f 2742 src/xwidget.c gtk_container_add (GTK_CONTAINER (FRAME_GTK_WIDGET (s->f)), f 2760 src/xwidget.c xv->frame = s->f; f 2761 src/xwidget.c xv->cursor = cursor_for_hit (xww->hit_result, s->f); f 2864 src/xwidget.c xv->wdesc = XCreateWindow (xv->dpy, FRAME_X_WINDOW (s->f), f 2875 src/xwidget.c if (FRAME_DISPLAY_INFO (s->f)->supports_xi2) f 2888 src/xwidget.c if (FRAME_DISPLAY_INFO (s->f)->xi2_version >= 4) f 2902 src/xwidget.c FRAME_DISPLAY_INFO (s->f)->visual, f 3004 src/xwidget.c FRAME_BACKGROUND_PIXEL (s->f)); f 4183 src/xwidget.c lower_frame_xwidget_views (struct frame *f) f 4191 src/xwidget.c if (xv->frame == f && xv->wdesc != None) f 4199 src/xwidget.c kill_frame_xwidget_views (struct frame *f) f 4207 src/xwidget.c && XXWIDGET_VIEW (XCAR (tail))->frame == f) f 211 src/xwidget.h extern void lower_frame_xwidget_views (struct frame *f); f 214 src/xwidget.h extern void kill_frame_xwidget_views (struct frame *f); f 116 test/lisp/cedet/semantic-utest-ia-resources/testsubclass.cpp tmp = this.f// -1- f 120 test/lisp/cedet/semantic-utest-ia-resources/testsubclass.cpp itmp = this.f// -2- f 124 test/lisp/cedet/semantic-utest-ia-resources/testsubclass.cpp tmp = f// -3- f 128 test/lisp/cedet/semantic-utest-ia-resources/testsubclass.cpp itmp = f// -4- f 52 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp MyClass f; f 54 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f.//-1- f 97 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp OneClass f; f 98 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f.//-3- f 105 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp OneClass f; f 106 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f.//-4- f 115 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp otherstuff::OneClass f; f 116 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f. //-5- f 124 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp OneClass f; f 125 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f. //-6- f 133 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp OneClass f; // Alias for somestuff::OneClass f 134 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f. //-7- f 146 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp OneClass f; f 147 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f. //-7- f 154 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp outer::StructNested f; f 155 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f.//-8- f 163 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp StructNested f; f 165 test/lisp/cedet/semantic-utest-ia-resources/testusing.cpp f.//-9- f 35 test/manual/etags/c-src/c.c struct foo f; f 46 test/manual/etags/c-src/c.c struct S { short f[3]; } __attribute__ ((aligned (8))); f 58 test/manual/etags/c-src/c.c char *__attribute__((aligned(8))) *f; f 153 test/manual/etags/c-src/c.c caccacacca (a,b,c,d,e,f,g) f 914 test/manual/etags/c-src/emacs/src/keyboard.c temporarily_switch_to_single_kboard (struct frame *f) f 919 test/manual/etags/c-src/emacs/src/keyboard.c if (f != NULL && FRAME_KBOARD (f) != current_kboard) f 928 test/manual/etags/c-src/emacs/src/keyboard.c FRAME_TERMINAL (f)->id); f 935 test/manual/etags/c-src/emacs/src/keyboard.c else if (f != NULL) f 936 test/manual/etags/c-src/emacs/src/keyboard.c current_kboard = FRAME_KBOARD (f); f 2134 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f = NILP (do_mouse_tracking) ? NULL : some_mouse_moved (); f 2136 test/manual/etags/c-src/emacs/src/keyboard.c if (f) f 2137 test/manual/etags/c-src/emacs/src/keyboard.c f->mouse_moved = 1; f 4201 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f = some_mouse_moved (); f 4214 test/manual/etags/c-src/emacs/src/keyboard.c if (f && FRAME_TERMINAL (f)->mouse_position_hook) f 4215 test/manual/etags/c-src/emacs/src/keyboard.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, 0, &bar_window, f 4223 test/manual/etags/c-src/emacs/src/keyboard.c if (!NILP (x) && f) f 4227 test/manual/etags/c-src/emacs/src/keyboard.c frame = FRAME_FOCUS_FRAME (f); f 4229 test/manual/etags/c-src/emacs/src/keyboard.c XSETFRAME (frame, f); f 4240 test/manual/etags/c-src/emacs/src/keyboard.c obj = make_lispy_movement (f, bar_window, part, x, y, t); f 5228 test/manual/etags/c-src/emacs/src/keyboard.c make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y, f 5237 test/manual/etags/c-src/emacs/src/keyboard.c Lisp_Object window = f f 5238 test/manual/etags/c-src/emacs/src/keyboard.c ? window_from_coordinates (f, XINT (x), XINT (y), &part, 0) f 5433 test/manual/etags/c-src/emacs/src/keyboard.c else if (f != 0) f 5436 test/manual/etags/c-src/emacs/src/keyboard.c XSETFRAME (window, f); f 5456 test/manual/etags/c-src/emacs/src/keyboard.c toolkit_menubar_in_use (struct frame *f) f 5459 test/manual/etags/c-src/emacs/src/keyboard.c return !(!FRAME_WINDOW_P (f)); f 5625 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 5630 test/manual/etags/c-src/emacs/src/keyboard.c if (! FRAME_LIVE_P (f)) f 5638 test/manual/etags/c-src/emacs/src/keyboard.c if (!toolkit_menubar_in_use (f)) f 5640 test/manual/etags/c-src/emacs/src/keyboard.c pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), f 5650 test/manual/etags/c-src/emacs/src/keyboard.c if (row >= 0 && row < FRAME_MENU_BAR_LINES (f) f 5657 test/manual/etags/c-src/emacs/src/keyboard.c items = FRAME_MENU_BAR_ITEMS (f); f 5685 test/manual/etags/c-src/emacs/src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 5710 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f; f 5714 test/manual/etags/c-src/emacs/src/keyboard.c f = XFRAME (XWINDOW (event->frame_or_window)->frame); f 5716 test/manual/etags/c-src/emacs/src/keyboard.c f = XFRAME (event->frame_or_window); f 5720 test/manual/etags/c-src/emacs/src/keyboard.c if (FRAME_WINDOW_P (f)) f 5853 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 5857 test/manual/etags/c-src/emacs/src/keyboard.c if (! FRAME_LIVE_P (f)) f 5860 test/manual/etags/c-src/emacs/src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6020 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f; f 6024 test/manual/etags/c-src/emacs/src/keyboard.c f = XFRAME (event->frame_or_window); f 6029 test/manual/etags/c-src/emacs/src/keyboard.c if (! FRAME_LIVE_P (f)) f 6032 test/manual/etags/c-src/emacs/src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6941 test/manual/etags/c-src/emacs/src/keyboard.c struct frame *f = XFRAME (frame); f 6942 test/manual/etags/c-src/emacs/src/keyboard.c if (FRAME_TERMINAL (f) == t) f 6943 test/manual/etags/c-src/emacs/src/keyboard.c frame_make_pointer_visible (f); f 2401 test/manual/etags/c-src/emacs/src/lisp.h XFLOAT_DATA (Lisp_Object f) f 2403 test/manual/etags/c-src/emacs/src/lisp.h return XFLOAT (f)->u.data; f 2838 test/manual/etags/c-src/emacs/src/lisp.h #define CALLMANY(f, array) (f) (ARRAYELTS (array), array) f 2844 test/manual/etags/c-src/emacs/src/lisp.h #define CALLN(f, ...) CALLMANY (f, ((Lisp_Object []) {__VA_ARGS__})) f 3201 test/manual/etags/c-src/emacs/src/lisp.h #define GCPRO7(a, b, c, d, e, f, g) (GCPRO6 (a, b, c, d, e, f), (void) gcpro7) f 3238 test/manual/etags/c-src/emacs/src/lisp.h #define GCPRO6(a, b, c, d, e, f) \ f 3244 test/manual/etags/c-src/emacs/src/lisp.h gcpro6.next = &gcpro5; gcpro6.var = &(f); gcpro6.nvars = 1; \ f 3247 test/manual/etags/c-src/emacs/src/lisp.h #define GCPRO7(a, b, c, d, e, f, g) \ f 3253 test/manual/etags/c-src/emacs/src/lisp.h gcpro6.next = &gcpro5; gcpro6.var = &(f); gcpro6.nvars = 1; \ f 3317 test/manual/etags/c-src/emacs/src/lisp.h #define GCPRO6(a, b, c, d, e, f) \ f 3329 test/manual/etags/c-src/emacs/src/lisp.h gcpro6.next = &gcpro5; gcpro6.var = &(f); gcpro6.nvars = 1; \ f 3334 test/manual/etags/c-src/emacs/src/lisp.h #define GCPRO7(a, b, c, d, e, f, g) \ f 3346 test/manual/etags/c-src/emacs/src/lisp.h gcpro6.next = &gcpro5; gcpro6.var = &(f); gcpro6.nvars = 1; \ f 337 test/manual/etags/c-src/etags.c static bool filename_is_absolute (char *f); f 47 test/manual/etags/c-src/exit.c CONST struct exit_function *CONST f = &l->fns[i]; f 48 test/manual/etags/c-src/exit.c switch (f->flavor) f 53 test/manual/etags/c-src/exit.c (*f->func.on.fn)(status, f->func.on.arg); f 56 test/manual/etags/c-src/exit.c (*f->func.at)(); f 56 test/manual/etags/cp-src/c.C class A { class B { int f(); }; }; f 69 test/manual/etags/cp-src/c.C void f() {} f 115 test/manual/etags/cp-src/c.C void f() {}