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 172 lib/boot-time.c FILE *f = fopen (UTMP_FILE, "re"); f 174 lib/boot-time.c if (f != NULL) f 180 lib/boot-time.c if (fread (&ut, sizeof ut, 1, f) == 0) f 194 lib/boot-time.c fclose (f); 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 487 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 5821 src/android.c uint32_t f, r; f 5834 src/android.c f = ((tl & 0x0000ff00) * distixiy + (tr & 0x0000ff00) * distxiy f 5836 src/android.c r |= f & 0xff000000; f 5846 src/android.c f = ((tl & 0x000000ff) * distixiy + (tr & 0x000000ff) * distxiy f 5848 src/android.c r |= f & 0x00ff0000; f 5851 src/android.c f = ((tl & 0x0000ff00) * distixiy + (tr & 0x0000ff00) * distxiy f 5853 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 2455 src/androidfns.c struct frame *f; f 2457 src/androidfns.c f = decode_window_system_frame (frame); f 2460 src/androidfns.c android_toggle_on_screen_keyboard (FRAME_ANDROID_WINDOW (f), f 2473 src/androidfns.c android_set_background_color (struct frame *f, Lisp_Object arg, f 2479 src/androidfns.c x = f->output_data.android; f 2480 src/androidfns.c bg = android_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 2481 src/androidfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 2483 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2488 src/androidfns.c android_set_window_background (FRAME_ANDROID_WINDOW (f), bg); f 2492 src/androidfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 2494 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2495 src/androidfns.c redraw_frame (f); f 2500 src/androidfns.c android_set_border_color (struct frame *f, Lisp_Object arg, f 2505 src/androidfns.c android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2506 src/androidfns.c update_face_from_frame_parameter (f, Qborder_color, arg); f 2510 src/androidfns.c android_set_cursor_color (struct frame *f, Lisp_Object arg, f 2516 src/androidfns.c x = f->output_data.android; f 2519 src/androidfns.c fore_pixel = android_decode_color (f, Vx_cursor_fore_pixel, f 2520 src/androidfns.c WHITE_PIX_DEFAULT (f)); f 2522 src/androidfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 2524 src/androidfns.c pixel = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2527 src/androidfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 2529 src/androidfns.c pixel = FRAME_FOREGROUND_PIXEL (f); f 2531 src/androidfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 2537 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2544 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2546 src/androidfns.c gui_update_cursor (f, false); f 2547 src/androidfns.c gui_update_cursor (f, true); f 2551 src/androidfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 2555 src/androidfns.c android_set_cursor_type (struct frame *f, Lisp_Object arg, f 2558 src/androidfns.c set_frame_cursor_types (f, arg); f 2562 src/androidfns.c android_set_foreground_color (struct frame *f, Lisp_Object arg, f 2568 src/androidfns.c x = f->output_data.android; f 2570 src/androidfns.c fg = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2571 src/androidfns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 2572 src/androidfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 2574 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) != 0) f 2588 src/androidfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 2590 src/androidfns.c if (FRAME_VISIBLE_P (f)) f 2591 src/androidfns.c redraw_frame (f); f 2596 src/androidfns.c android_set_child_frame_border_width (struct frame *f, Lisp_Object arg, f 2608 src/androidfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 2610 src/androidfns.c f->child_frame_border_width = border; f 2612 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2614 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 2615 src/androidfns.c android_clear_under_internal_border (f); f 2621 src/androidfns.c android_set_internal_border_width (struct frame *f, Lisp_Object arg, f 2626 src/androidfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 2628 src/androidfns.c f->internal_border_width = border; f 2630 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2632 src/androidfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 2633 src/androidfns.c android_clear_under_internal_border (f); f 2639 src/androidfns.c android_set_menu_bar_lines (struct frame *f, Lisp_Object value, f 2643 src/androidfns.c int olines = FRAME_MENU_BAR_LINES (f); f 2649 src/androidfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 2658 src/androidfns.c fset_redisplay (f); f 2660 src/androidfns.c FRAME_MENU_BAR_LINES (f) = nlines; f 2661 src/androidfns.c FRAME_MENU_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); f 2662 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2663 src/androidfns.c android_clear_under_internal_border (f); f 2671 src/androidfns.c int height = FRAME_INTERNAL_BORDER_WIDTH (f); f 2672 src/androidfns.c int width = FRAME_PIXEL_WIDTH (f); f 2675 src/androidfns.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 2678 src/androidfns.c if (FRAME_ANDROID_WINDOW (f) && height > 0 && width > 0) f 2680 src/androidfns.c y = FRAME_TOP_MARGIN_HEIGHT (f); f 2683 src/androidfns.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), f 2690 src/androidfns.c y = (olines == 0 ? 1 : olines) * FRAME_LINE_HEIGHT (f); f 2691 src/androidfns.c height = nlines * FRAME_LINE_HEIGHT (f) - y; f 2694 src/androidfns.c android_clear_area (FRAME_ANDROID_DRAWABLE (f), 0, y, f 2699 src/androidfns.c if (nlines == 0 && WINDOWP (f->menu_bar_window)) f 2700 src/androidfns.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 2703 src/androidfns.c adjust_frame_glyphs (f); f 2781 src/androidfns.c android_set_mouse_color (struct frame *f, Lisp_Object arg, f 2784 src/androidfns.c struct android_output *x = f->output_data.android; f 2786 src/androidfns.c unsigned long pixel = android_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 2787 src/androidfns.c unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f); f 2792 src/androidfns.c pixel = FRAME_FOREGROUND_PIXEL (f); f 2811 src/androidfns.c if (FRAME_ANDROID_WINDOW (f)) f 2813 src/androidfns.c f->output_data.android->current_cursor f 2815 src/androidfns.c android_define_cursor (FRAME_ANDROID_WINDOW (f), f 2816 src/androidfns.c f->output_data.android->current_cursor); f 2846 src/androidfns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 2850 src/androidfns.c android_set_title (struct frame *f, Lisp_Object name, f 2854 src/androidfns.c if (EQ (name, f->title)) f 2859 src/androidfns.c fset_title (f, name); f 2862 src/androidfns.c name = f->name; f 2868 src/androidfns.c android_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2910 src/androidfns.c f->alpha[i] = newval[i]; f 2912 src/androidfns.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 2915 src/androidfns.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 2921 src/androidfns.c android_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, f 2926 src/androidfns.c android_set_dont_focus_on_map (FRAME_ANDROID_WINDOW (f), f 2928 src/androidfns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 2933 src/androidfns.c android_set_no_accept_focus (struct frame *f, Lisp_Object new_value, f 2938 src/androidfns.c android_set_dont_accept_focus (FRAME_ANDROID_WINDOW (f), f 2940 src/androidfns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 3078 src/androidfns.c struct frame *f; f 3080 src/androidfns.c f = WINDOW_XFRAME (w); f 3091 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 5152 src/androidterm.c struct frame *f; f 5159 src/androidterm.c f = android_window_to_frame (NULL, context->window); f 5161 src/androidterm.c if (!f) f 5165 src/androidterm.c w = XWINDOW (f->selected_window); f 5360 src/androidterm.c struct frame *f; f 5365 src/androidterm.c f = android_window_to_frame (NULL, request->window); f 5367 src/androidterm.c if (!f) f 5372 src/androidterm.c = get_extracted_text (f, min (request->hint_max_chars, 600), f 5381 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_flags = request->flags; f 5382 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_token = request->token; f 5383 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_hint = request->hint_max_chars; f 5725 src/androidterm.c struct frame *f; f 5731 src/androidterm.c f = android_window_to_frame (NULL, request->window); f 5733 src/androidterm.c if (!f) f 5738 src/androidterm.c = get_surrounding_text (f, request->before_length, f 5758 src/androidterm.c if (MARKERP (f->conversion.compose_region_start)) f 5761 src/androidterm.c = marker_position (f->conversion.compose_region_start) - 1; f 5763 src/androidterm.c = marker_position (f->conversion.compose_region_end) - 1; f 5956 src/androidterm.c android_update_selection (struct frame *f, struct window *w) f 5967 src/androidterm.c if (MARKERP (f->conversion.compose_region_start)) f 5969 src/androidterm.c eassert (MARKERP (f->conversion.compose_region_end)); f 5972 src/androidterm.c start = marker_position (f->conversion.compose_region_start) - 1; f 5973 src/androidterm.c end = marker_position (f->conversion.compose_region_end) - 1; f 5984 src/androidterm.c w = XWINDOW (f->selected_window); f 6001 src/androidterm.c android_update_ic (FRAME_ANDROID_WINDOW (f), min (point, mark) - 1, f 6008 src/androidterm.c if (FRAME_ANDROID_OUTPUT (f)->extracted_text_flags & 1) f 6010 src/androidterm.c hint = FRAME_ANDROID_OUTPUT (f)->extracted_text_hint; f 6011 src/androidterm.c token = FRAME_ANDROID_OUTPUT (f)->extracted_text_token; f 6012 src/androidterm.c text = get_extracted_text (f, min (hint, 600), &start, f 6036 src/androidterm.c android_update_extracted_text (FRAME_ANDROID_WINDOW (f), f 6050 src/androidterm.c struct frame *f; f 6052 src/androidterm.c f = arg; f 6054 src/androidterm.c && event->ime.window == FRAME_ANDROID_WINDOW (f)); f 6061 src/androidterm.c android_reset_conversion (struct frame *f) f 6076 src/androidterm.c w = XWINDOW (f->selected_window); f 6086 src/androidterm.c else if (EQ (style, Qaction) || EQ (f->selected_window, f 6087 src/androidterm.c f->minibuffer_window)) f 6098 src/androidterm.c while (android_check_if_event (&event, android_event_is_for_frame, f)) f 6113 src/androidterm.c android_reset_ic (FRAME_ANDROID_WINDOW (f), mode); f 6117 src/androidterm.c FRAME_ANDROID_OUTPUT (f)->extracted_text_flags = 0; f 6120 src/androidterm.c android_update_selection (f, NULL); f 6127 src/androidterm.c android_set_point (struct frame *f, struct window *w, f 6130 src/androidterm.c android_update_selection (f, w); f 6137 src/androidterm.c android_compose_region_changed (struct frame *f) f 6139 src/androidterm.c android_update_selection (f, XWINDOW (f->old_selected_window)); f 6212 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 emacs_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 1539 src/fns.c EMACS_INT f, t; f 1543 src/fns.c f = XFIXNUM (from); f 1544 src/fns.c if (f < 0) f 1545 src/fns.c f += size; f 1548 src/fns.c f = 0; f 1563 src/fns.c if (! (0 <= f && f <= t && t <= size)) f 1566 src/fns.c *ifrom = f; f 4103 src/fns.c char const *f = from; f 4119 src/fns.c if (f == flim) f 4124 src/fns.c c = *f++; f 4137 src/fns.c if (f == flim) f 4139 src/fns.c c = *f++; f 4159 src/fns.c if (f == flim) f 4166 src/fns.c c = *f++; f 4175 src/fns.c if (f == flim) f 4177 src/fns.c c = *f++; f 4201 src/fns.c if (f == flim) f 4208 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 2024 src/font.c struct frame *f, int best_only) f 2039 src/font.c = make_fixnum (font_pixel_size (f, prefer)); f 2084 src/font.c = ((best_only <= 0 || font_has_char (f, data[i].entity, best_only) f 2344 src/font.c font_prepare_cache (struct frame *f, struct font_driver const *driver) f 2348 src/font.c cache = driver->get_cache (f); f 2366 src/font.c font_finish_cache (struct frame *f, struct font_driver const *driver) f 2371 src/font.c cache = driver->get_cache (f); f 2380 src/font.c font_clear_cache (f, XCAR (val), driver); f 2387 src/font.c font_get_cache (struct frame *f, struct font_driver const *driver) f 2389 src/font.c Lisp_Object val = driver->get_cache (f); f 2402 src/font.c font_clear_cache (struct frame *f, Lisp_Object cache, f 2570 src/font.c font_list_entities (struct frame *f, Lisp_Object spec) f 2572 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2584 src/font.c size = font_pixel_size (f, spec); f 2605 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2615 src/font.c val = (driver_list->driver->list) (f, scratch_font_spec); f 2654 src/font.c font_matching_entity (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 2656 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2664 src/font.c ASET (work, FONT_SIZE_INDEX, make_fixnum (font_pixel_size (f, spec))); f 2674 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2682 src/font.c entity = driver_list->driver->match (f, work); f 2704 src/font.c font_open_entity (struct frame *f, Lisp_Object entity, int pixel_size) f 2717 src/font.c for (driver_list = f->font_driver_list; f 2731 src/font.c || driver_list->driver->cached_font_ok (f, fn, entity)) f 2740 src/font.c font_object = driver_list->driver->open_font (f, entity, psize); f 2769 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts++; f 2770 src/font.c if (FRAME_DISPLAY_INFO (f)->n_fonts == 1) f 2772 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width; f 2773 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height; f 2774 src/font.c f->fonts_changed = 1; f 2778 src/font.c if (FRAME_SMALLEST_CHAR_WIDTH (f) > min_width) f 2779 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width, f->fonts_changed = 1; f 2780 src/font.c if (FRAME_SMALLEST_FONT_HEIGHT (f) > height) f 2781 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height, f->fonts_changed = 1; f 2792 src/font.c font_close_object (struct frame *f, Lisp_Object font_object) f 2802 src/font.c eassert (FRAME_DISPLAY_INFO (f)->n_fonts); f 2803 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts--; f 2812 src/font.c font_has_char (struct frame *f, Lisp_Object font, int c) f 2821 src/font.c for (driver_list = f->font_driver_list; f 2940 src/font.c font_select_entity (struct frame *f, Lisp_Object entities, f 2952 src/font.c if (c < 0 || font_has_char (f, font_entity, c) > 0) f 2980 src/font.c return font_sort_entities (entities, prefer, f, c); f 2988 src/font.c font_find_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec, int c) f 3025 src/font.c pixel_size = font_pixel_size (f, spec); f 3030 src/font.c pixel_size = POINT_TO_PIXEL (pt / 10, FRAME_RES (f)); f 3129 src/font.c entities = font_list_entities (f, work); f 3134 src/font.c val = font_select_entity (f, entities, f 3153 src/font.c font_open_for_lface (struct frame *f, Lisp_Object entity, Lisp_Object *attrs, Lisp_Object spec) f 3163 src/font.c size = font_pixel_size (f, spec); f 3172 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 3173 src/font.c recompute_basic_faces (f); f 3175 src/font.c struct face *def = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 3182 src/font.c size = POINT_TO_PIXEL (pt, FRAME_RES (f)); f 3186 src/font.c Lisp_Object ffsize = get_frame_param (f, Qfontsize); f 3188 src/font.c ? POINT_TO_PIXEL (XFLOATINT (ffsize), FRAME_RES (f)) f 3196 src/font.c return font_open_entity (f, entity, size); f 3205 src/font.c font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 3209 src/font.c entity = font_find_for_lface (f, attrs, spec, -1); f 3214 src/font.c entity = font_matching_entity (f, attrs, spec); f 3241 src/font.c entity = font_matching_entity (f, attrs, spec); f 3253 src/font.c entity = font_open_for_lface (f, entity, attrs, spec); f 3266 src/font.c font_prepare_for_face (struct frame *f, struct face *face) f 3269 src/font.c face->font->driver->prepare_face (f, face); f 3276 src/font.c font_done_for_face (struct frame *f, struct face *face) f 3279 src/font.c face->font->driver->done_face (f, face); f 3287 src/font.c font_open_by_spec (struct frame *f, Lisp_Object spec) f 3303 src/font.c return font_load_for_lface (f, attrs, spec); f 3311 src/font.c font_open_by_name (struct frame *f, Lisp_Object name) f 3314 src/font.c Lisp_Object ret = font_open_by_spec (f, spec); f 3336 src/font.c register_font_driver (struct font_driver const *driver, struct frame *f) f 3338 src/font.c struct font_driver_list *root = f ? f->font_driver_list : font_driver_list; f 3342 src/font.c if (f && ! driver->draw) f 3357 src/font.c else if (f) f 3358 src/font.c f->font_driver_list = list; f 3361 src/font.c if (! f) f 3366 src/font.c free_font_driver_list (struct frame *f) f 3370 src/font.c for (list = f->font_driver_list; list; list = next) f 3375 src/font.c f->font_driver_list = NULL; f 3391 src/font.c font_update_drivers (struct frame *f, Lisp_Object new_drivers) f 3399 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3416 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3424 src/font.c driver->end_for_frame (f); f 3425 src/font.c font_finish_cache (f, driver); f 3431 src/font.c || driver->start_for_frame (f) == 0) f 3433 src/font.c font_prepare_cache (f, driver); f 3453 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3459 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3464 src/font.c next = &f->font_driver_list; f 3473 src/font.c if (! f->font_driver_list->on) f 3477 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3484 src/font.c || driver->start_for_frame (f) == 0) f 3486 src/font.c font_prepare_cache (f, driver); f 3493 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3502 src/font.c fset_font_data (struct frame *f, Lisp_Object val) f 3504 src/font.c f->font_data = val; f 3508 src/font.c font_put_frame_data (struct frame *f, Lisp_Object driver, void *data) f 3510 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3513 src/font.c fset_font_data (f, Fdelq (val, f->font_data)); f 3517 src/font.c fset_font_data (f, Fcons (Fcons (driver, make_mint_ptr (data)), f 3518 src/font.c f->font_data)); f 3525 src/font.c font_get_frame_data (struct frame *f, Lisp_Object driver) f 3527 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3595 src/font.c struct frame *f; f 3632 src/font.c f = XFRAME (w->frame); f 3633 src/font.c if (! FRAME_WINDOW_P (f)) f 3646 src/font.c face = FACE_FROM_ID (f, face_id); f 3650 src/font.c int face_id = FACE_FOR_CHAR (f, face, c, pos, string); f 3651 src/font.c face = FACE_FROM_ID (f, face_id); f 3702 src/font.c struct frame *f = XFRAME (w->frame); f 3716 src/font.c : lookup_basic_face (w, f, DEFAULT_FACE_ID); f 3721 src/font.c face = FACE_FROM_ID (f, face_id); f 4060 src/font.c struct frame *f = decode_live_frame (frame); f 4089 src/font.c int dpi = FIXNUMP (font_dpi) ? XFIXNUM (font_dpi) : FRAME_RES (f); f 4170 src/font.c struct frame *f = decode_live_frame (frame); f 4185 src/font.c list = font_list_entities (f, font_spec); f 4193 src/font.c vec = font_sort_entities (list, prefer, f, 0); f 4211 src/font.c struct frame *f = decode_live_frame (frame); f 4215 src/font.c for (driver_list = f->font_driver_list; driver_list; f 4219 src/font.c Lisp_Object val = driver_list->driver->list_family (f); f 4290 src/font.c clear_font_cache (struct frame *f) f 4292 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 4297 src/font.c Lisp_Object val, tmp, cache = driver_list->driver->get_cache (f); f 4306 src/font.c font_clear_cache (f, XCAR (val), driver_list->driver); f 4505 src/font.c struct frame *f; f 4511 src/font.c f = XFRAME (selected_frame); f 4512 src/font.c face_id = lookup_basic_face (NULL, f, DEFAULT_FACE_ID); f 4536 src/font.c f = XFRAME (w->frame); f 4543 src/font.c if (! FRAME_WINDOW_P (f)) f 4544 src/font.c return terminal_glyph_code (FRAME_TERMINAL (f), c); f 4548 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 4549 src/font.c recompute_basic_faces (f); f 4551 src/font.c face_id = FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, pos, Qnil); f 4552 src/font.c struct face *face = FACE_FROM_ID (f, face_id); f 4847 src/font.c ASET (val, 2, make_fixnum (anchor->f.f1.AnchorPoint)); f 4850 src/font.c ASET (val, 3, font_otf_DeviceTable (&anchor->f.f2.XDeviceTable)); f 4851 src/font.c ASET (val, 4, font_otf_DeviceTable (&anchor->f.f2.YDeviceTable)); f 4983 src/font.c struct frame *f = decode_live_frame (frame); f 4993 src/font.c isize = POINT_TO_PIXEL (XFLOAT_DATA (size), FRAME_RES (f)); f 5001 src/font.c return font_open_entity (f, font_entity, isize); f 5080 src/font.c struct frame *f; f 5085 src/font.c f = XFRAME (selected_frame); f 5089 src/font.c f = XFRAME (frame); f 5092 src/font.c if (font_has_char (f, font, XFIXNAT (ch)) <= 0) f 5278 src/font.c struct frame *f = XFRAME (frame); f 5298 src/font.c face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5301 src/font.c font->driver->prepare_face (f, face); f 5303 src/font.c len = font->driver->draw_text (f, face, 0, font->ascent, code, i, width); f 5305 src/font.c font->driver->done_face (f, face); f 5317 src/font.c struct frame *f = decode_live_frame (frame); f 5319 src/font.c if (FRAME_WINDOW_P (f)) f 5320 src/font.c return FRAME_DISPLAY_INFO (f)->name_list_element; f 5375 src/font.c struct frame *f; f 5382 src/font.c f = decode_window_system_frame (frame); f 5390 src/font.c font_object = font_open_by_name (f, name); f 5395 src/font.c font_object = font_open_entity (f, name, 0); f 5398 src/font.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5399 src/font.c Lisp_Object entity = font_matching_entity (f, face->lface, name); f 5401 src/font.c font_object = ! NILP (entity) ? font_open_entity (f, entity, 0) : Qnil; f 5432 src/font.c font_close_object (f, font_object); f 5568 src/font.c font_drop_xrender_surfaces (struct frame *f) f 5572 src/font.c for (list = f->font_driver_list; list; list = list->next) f 5574 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 784 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f = next) f 786 src/haiku_support.cc if (f->window->LockLooper ()) f 788 src/haiku_support.cc f->window->Unparent (); f 789 src/haiku_support.cc f->window->UnlockLooper (); f 790 src/haiku_support.cc next = f->next; f 791 src/haiku_support.cc delete f; f 827 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 828 src/haiku_support.cc f = f->next) f 829 src/haiku_support.cc f->window->UpwardsSubsetChildren (w); f 849 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 850 src/haiku_support.cc f = f->next) f 851 src/haiku_support.cc f->window->UpwardsUnSubsetChildren (w); f 926 src/haiku_support.cc struct child_frame *f = new struct child_frame; f 928 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 929 src/haiku_support.cc f = f->next) f 931 src/haiku_support.cc if (window == f->window) f 935 src/haiku_support.cc f->window = window; f 936 src/haiku_support.cc f->next = subset_windows; f 937 src/haiku_support.cc f->xoff = -1; f 938 src/haiku_support.cc f->yoff = -1; f 940 src/haiku_support.cc subset_windows = f; f 956 src/haiku_support.cc DoMove (struct child_frame *f) f 959 src/haiku_support.cc f->window->MoveToIncludingFrame (frame.left + f->xoff, f 960 src/haiku_support.cc frame.top + f->yoff); f 964 src/haiku_support.cc DoUpdateWorkspace (struct child_frame *f) f 966 src/haiku_support.cc f->window->SetWorkspaces (this->Workspaces ()); f 976 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 977 src/haiku_support.cc f = f->next) f 979 src/haiku_support.cc if (window == f->window) f 981 src/haiku_support.cc f->xoff = xoff; f 982 src/haiku_support.cc f->yoff = yoff; f 984 src/haiku_support.cc DoMove (f); f 1194 src/haiku_support.cc struct child_frame *f; f 1226 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1227 src/haiku_support.cc DoMove (f); f 1237 src/haiku_support.cc struct child_frame *f; f 1241 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1242 src/haiku_support.cc DoUpdateWorkspace (f); f 1442 src/haiku_support.cc for (struct child_frame *f; f; f = f->next) f 1443 src/haiku_support.cc if (f->window == c) f 1445 src/haiku_support.cc r->top -= f->yoff; f 1446 src/haiku_support.cc r->bottom -= f->yoff; f 1447 src/haiku_support.cc r->left -= f->xoff; f 1448 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 4115 src/haikuterm.c haiku_get_focus_frame (struct frame *f) f 4120 src/haikuterm.c focus = FRAME_DISPLAY_INFO (f)->focused_frame; f 4136 src/haikuterm.c haiku_delete_window (struct frame *f) f 4138 src/haikuterm.c check_window_system (f); f 4139 src/haikuterm.c haiku_free_frame_resources (f); f 4143 src/haikuterm.c haiku_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4149 src/haikuterm.c haiku_flash (struct frame *f) f 4152 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4154 src/haikuterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 4156 src/haikuterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 4157 src/haikuterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 4159 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4168 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4169 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4172 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4175 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4176 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4181 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 4182 src/haikuterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 4187 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4188 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4192 src/haikuterm.c flush_frame (f); f 4195 src/haikuterm.c haiku_flip_buffers (f); f 4214 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4215 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4218 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4221 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4222 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4227 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 4228 src/haikuterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 4233 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4234 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4238 src/haikuterm.c flush_frame (f); f 4240 src/haikuterm.c haiku_flip_buffers (f); f 4244 src/haikuterm.c haiku_beep (struct frame *f) f 4248 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4252 src/haikuterm.c haiku_flash (f); f 4261 src/haikuterm.c haiku_toggle_invisible_pointer (struct frame *f, bool invisible_p) f 4263 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4265 src/haikuterm.c if (view && !FRAME_TOOLTIP_P (f)) f 4269 src/haikuterm.c ? FRAME_OUTPUT_DATA (f)->no_cursor f 4270 src/haikuterm.c : FRAME_OUTPUT_DATA (f)->current_cursor)); f 4271 src/haikuterm.c f->pointer_invisible = invisible_p; f 4277 src/haikuterm.c haiku_fullscreen (struct frame *f) f 4285 src/haikuterm.c if (!FRAME_OUTPUT_DATA (f)->configury_done) f 4288 src/haikuterm.c if (f->want_fullscreen == FULLSCREEN_MAXIMIZED) f 4290 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_BOTH) f 4292 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_WIDTH) f 4294 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_HEIGHT) f 4299 src/haikuterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4300 src/haikuterm.c be_set_window_fullscreen_mode (FRAME_HAIKU_WINDOW (f), mode); f 4301 src/haikuterm.c FRAME_OUTPUT_DATA (f)->fullscreen_mode = mode; f 4303 src/haikuterm.c haiku_update_size_hints (f); f 4304 src/haikuterm.c haiku_make_fullscreen_consistent (f); f 4472 src/haikuterm.c haiku_clear_under_internal_border (struct frame *f) f 4474 src/haikuterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4477 src/haikuterm.c && FRAME_FACE_CACHE (f)) f 4479 src/haikuterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4480 src/haikuterm.c int width = FRAME_PIXEL_WIDTH (f); f 4481 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4482 src/haikuterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4483 src/haikuterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 4484 src/haikuterm.c int face_id = (FRAME_PARENT_FRAME (f) f 4486 src/haikuterm.c ? lookup_basic_face (NULL, f, f 4490 src/haikuterm.c ? lookup_basic_face (NULL, f, f 4493 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4494 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4497 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4498 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4500 src/haikuterm.c BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), f 4501 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4506 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); f 4534 src/haikuterm.c struct frame *f; f 4536 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 4537 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 4595 src/haikuterm.c haiku_begin_cr_clip (struct frame *f, struct glyph_string *s) f 4597 src/haikuterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 4621 src/haikuterm.c unsigned long background = FRAME_CURSOR_COLOR (s->f).pixel; f 4627 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 8223 src/image.c ? FRAME_TERMINAL (f)->defined_color_hook (f, f 8228 src/image.c : (FRAME_TERMINAL (f)->query_frame_background_color (f, &color), f 8279 src/image.c && !image_create_x_image_and_pixmap (f, img, width, height, 1, f 8283 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP); f 8301 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 8335 src/image.c img->background = lookup_rgb_color (f, bg->red, bg->green, bg->blue); f 8340 src/image.c = image_alloc_image_color (f, img, build_string (color_name), 0); f 8362 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 8365 src/image.c image_put_x_image (f, img, ximg, 0); f 8372 src/image.c image_background_transparent (img, f, (Emacs_Pix_Context)mask_img); f 8374 src/image.c image_put_x_image (f, img, mask_img, 1); f 8381 src/image.c png_load (struct frame *f, struct image *img) f 8384 src/image.c return png_load_body (f, img, &c); f 8768 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 10469 src/image.c FRAME_TERMINAL (f)->defined_color_hook (f, f 10475 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &bg_color); f 10514 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 10525 src/image.c image_put_x_image (f, img, ximg, 0); f 10616 src/image.c imagemagick_clear_image (struct frame *f, f 10619 src/image.c image_clear_image (f, img); f 10923 src/image.c imagemagick_load_image (struct frame *f, struct image *img, f 11050 src/image.c || !FRAME_TERMINAL (f)->defined_color_hook (f, f 11055 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &bgcolor); f 11157 src/image.c && check_image_size (f, image_width, image_height))) f 11183 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, imagedepth, f 11224 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, f 11262 src/image.c lookup_rgb_color (f, f 11281 src/image.c image_put_x_image (f, img, ximg, 0); f 11309 src/image.c imagemagick_load (struct frame *f, struct image *img) f 11328 src/image.c success_p = imagemagick_load_image (f, img, 0, 0, SSDATA (file)); f 11342 src/image.c success_p = imagemagick_load_image (f, img, SDATA (data), f 11689 src/image.c svg_load (struct frame *f, struct image *img) f 11718 src/image.c success_p = svg_load_image (f, img, contents, size, f 11736 src/image.c success_p = svg_load_image (f, img, SSDATA (data), SBYTES (data), f 11820 src/image.c svg_load_image (struct frame *f, struct image *img, char *contents, f 11865 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11866 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11898 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11899 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11941 src/image.c double dpi = FRAME_DISPLAY_INFO (f)->resx; f 12008 src/image.c width = scale_image_size (width, 1, FRAME_SCALE_FACTOR (f)); f 12009 src/image.c height = scale_image_size (height, 1, FRAME_SCALE_FACTOR (f)); f 12015 src/image.c if (! check_image_size (f, width, height)) f 12057 src/image.c foreground = image_alloc_image_color (f, img, value, img->face_foreground); f 12061 src/image.c background = image_alloc_image_color (f, img, value, img->face_background); f 12094 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 12095 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 12105 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 12106 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 12153 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 12176 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, red << 8, green << 8, blue << 8)); f 12195 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 12198 src/image.c image_put_x_image (f, img, ximg, 0); f 12335 src/image.c gs_load (struct frame *f, struct image *img) f 12350 src/image.c in_width *= FRAME_RES_X (f); f 12353 src/image.c in_height *= FRAME_RES_Y (f); f 12356 src/image.c && check_image_size (f, in_width, in_height))) f 12371 src/image.c img->pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 12373 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 12387 src/image.c printnum1 = FRAME_X_DRAWABLE (f); f 12393 src/image.c printnum1 = FRAME_FOREGROUND_PIXEL (f); f 12394 src/image.c printnum2 = FRAME_BACKGROUND_PIXEL (f); f 12399 src/image.c XSETFRAME (frame, f); f 12418 src/image.c x_kill_gs_process (Pixmap pixmap, struct frame *f) f 12420 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 12446 src/image.c if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 12453 src/image.c ximg = XGetImage (FRAME_X_DISPLAY (f), img->pixmap, f 12469 src/image.c lookup_pixel_color (f, pixel); f 12489 src/image.c postprocess_image (f, img); f 12539 src/image.c struct frame *f = decode_live_frame (frame); f 12540 src/image.c if (FRAME_WINDOW_P (f)) f 12547 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 1036 src/msdos.c IT_write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 1045 src/msdos.c IT_clear_end_of_line (struct frame *f, int first_unused) f 1049 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1077 src/msdos.c IT_clear_screen (struct frame *f) f 1079 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1101 src/msdos.c IT_clear_to_end (struct frame *f) f 1103 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1110 src/msdos.c IT_clear_end_of_line (f, screen_size_X); f 1116 src/msdos.c IT_cursor_to (struct frame *f, int y, int x) f 1118 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1171 src/msdos.c IT_cmgoto (struct frame *f) f 1176 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1193 src/msdos.c && WINDOW_TOP_EDGE_LINE (XWINDOW (FRAME_MINIBUF_WINDOW (f))) <= new_pos_Y) f 1240 src/msdos.c IT_update_begin (struct frame *f) f 1242 src/msdos.c struct tty_display_info *display_info = FRAME_DISPLAY_INFO (f); f 1251 src/msdos.c if (f && f == mouse_face_frame) f 1258 src/msdos.c if (FRAME_GARBAGED_P (f)) f 1297 src/msdos.c IT_update_end (struct frame *f) f 1299 src/msdos.c struct tty_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1307 src/msdos.c IT_frame_up_to_date (struct frame *f) f 1312 src/msdos.c FRAME_MOUSE_UPDATE (f); f 1320 src/msdos.c sw = XWINDOW (f->selected_window); f 1321 src/msdos.c frame_desired_cursor = Fcdr (Fassq (Qcursor_type, f->param_alist)); f 1323 src/msdos.c && FRAME_HAS_MINIBUF_P (f) f 1324 src/msdos.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window) f 1339 src/msdos.c IT_set_cursor_type (f, new_cursor); f 1341 src/msdos.c IT_cmgoto (f); /* position cursor when update is done */ f 1381 src/msdos.c IT_insert_glyphs (struct frame *f, struct glyph *start, int len) f 1390 src/msdos.c IT_write_glyphs (f, start, len); f 1394 src/msdos.c IT_delete_glyphs (struct frame *f, int n) f 1558 src/msdos.c struct frame *f; f 1561 src/msdos.c f = XFRAME (frame); f 1567 src/msdos.c initial_screen_colors[0] = FRAME_FOREGROUND_PIXEL (f); f 1568 src/msdos.c initial_screen_colors[1] = FRAME_BACKGROUND_PIXEL (f); f 1574 src/msdos.c IT_set_frame_parameters (struct frame *f, Lisp_Object alist) f 1583 src/msdos.c int reverse = EQ (Fcdr (Fassq (Qreverse, f->param_alist)), Qt); f 1586 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1590 src/msdos.c if (!f->default_face_done_p f 1593 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = initial_screen_colors[0]; f 1594 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = initial_screen_colors[1]; f 1595 src/msdos.c init_frame_faces (f); f 1596 src/msdos.c f->default_face_done_p = 1; f 1598 src/msdos.c orig_fg = reverse ? FRAME_BACKGROUND_PIXEL (f) : FRAME_FOREGROUND_PIXEL (f); f 1599 src/msdos.c orig_bg = reverse ? FRAME_FOREGROUND_PIXEL (f) : FRAME_BACKGROUND_PIXEL (f); f 1638 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1647 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1650 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1657 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1658 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1668 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1677 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1681 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1687 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1689 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1698 src/msdos.c x_set_title (f, val); f 1704 src/msdos.c IT_set_cursor_type (f, val); f 1720 src/msdos.c store_frame_param (f, prop, val); f 1729 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = orig_bg; f 1730 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, f 1731 src/msdos.c tty_color_name (f, orig_bg)); f 1736 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = orig_fg; f 1737 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, f 1738 src/msdos.c tty_color_name (f, orig_fg)); f 1746 src/msdos.c if (f == SELECTED_FRAME ()) f 1747 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 1340 src/pgtkterm.c a = f->alpha_background; f 1347 src/pgtkterm.c = FRAME_DISPLAY_INFO (f)->bitmaps[face->stipple - 1].pattern; f 1356 src/pgtkterm.c pgtk_end_cr_clip (f); f 1362 src/pgtkterm.c fill_background_by_face (s->f, s->face, x, y, width, height); f 1406 src/pgtkterm.c pgtk_draw_rectangle (struct frame *f, unsigned long color, int x, int y, f 1411 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1412 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, respect_alpha_background); f 1416 src/pgtkterm.c pgtk_end_cr_clip (f); f 1439 src/pgtkterm.c pgtk_draw_rectangle (s->f, f 1453 src/pgtkterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 1490 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, x, s->y, f 1631 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, f 1665 src/pgtkterm.c pgtk_compute_lighter_color (struct frame *f, unsigned long *pixel, f 1673 src/pgtkterm.c pgtk_query_color (f, &color); f 1729 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (struct frame *f, unsigned long color, int x, f 1734 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1735 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 1741 src/pgtkterm.c pgtk_end_cr_clip (f); f 1754 src/pgtkterm.c pgtk_erase_corners_for_relief (struct frame *f, unsigned long color, int x, f 1761 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 1762 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 1783 src/pgtkterm.c pgtk_end_cr_clip (f); f 1787 src/pgtkterm.c pgtk_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 1791 src/pgtkterm.c struct pgtk_output *di = FRAME_X_OUTPUT (f); f 1798 src/pgtkterm.c pgtk_compute_lighter_color (f, &pixel, factor, delta); f 1808 src/pgtkterm.c struct pgtk_output *di = FRAME_X_OUTPUT (s->f); f 1815 src/pgtkterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 1816 src/pgtkterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 1828 src/pgtkterm.c pgtk_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 1829 src/pgtkterm.c WHITE_PIX_DEFAULT (s->f)); f 1830 src/pgtkterm.c pgtk_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 1831 src/pgtkterm.c BLACK_PIX_DEFAULT (s->f)); f 1836 src/pgtkterm.c pgtk_set_clip_rectangles (struct frame *f, cairo_t *cr, f 1857 src/pgtkterm.c pgtk_draw_relief_rect (struct frame *f, f 1866 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 1870 src/pgtkterm.c top_left_color = FRAME_X_OUTPUT (f)->white_relief.xgcv.foreground; f 1871 src/pgtkterm.c bottom_right_color = FRAME_X_OUTPUT (f)->black_relief.xgcv.foreground; f 1875 src/pgtkterm.c top_left_color = FRAME_X_OUTPUT (f)->black_relief.xgcv.foreground; f 1876 src/pgtkterm.c bottom_right_color = FRAME_X_OUTPUT (f)->white_relief.xgcv.foreground; f 1879 src/pgtkterm.c pgtk_set_clip_rectangles (f, cr, clip_rect, 1); f 1883 src/pgtkterm.c pgtk_fill_rectangle (f, top_left_color, left_x, top_y, f 1892 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, right_x + 1 - vwidth, top_y, f 1902 src/pgtkterm.c pgtk_fill_rectangle (f, top_left_color, left_x, top_y, f 1905 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (f, top_left_color, left_x, top_y, f 1911 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, f 1915 src/pgtkterm.c pgtk_fill_trapezoid_for_relief (f, bottom_right_color, f 1920 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, top_y, f 1923 src/pgtkterm.c pgtk_fill_rectangle (f, bottom_right_color, left_x, top_y, f 1926 src/pgtkterm.c pgtk_erase_corners_for_relief (f, FRAME_BACKGROUND_PIXEL (f), left_x, f 1930 src/pgtkterm.c pgtk_end_cr_clip (f); f 1948 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 1953 src/pgtkterm.c pgtk_set_clip_rectangles (s->f, cr, clip_rect, 1); f 1956 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1962 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1967 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1973 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 1979 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2024 src/pgtkterm.c pgtk_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 2031 src/pgtkterm.c pgtk_draw_horizontal_wave (struct frame *f, unsigned long color, int x, int y, f 2038 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 2039 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 2068 src/pgtkterm.c pgtk_end_cr_clip (f); f 2076 src/pgtkterm.c pgtk_draw_horizontal_wave (s->f, color, s->x, s->ybase - wave_height + 3, f 2168 src/pgtkterm.c pgtk_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 2186 src/pgtkterm.c pgtk_cr_draw_image (struct frame *f, Emacs_GC *gc, cairo_pattern_t *image, f 2190 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2196 src/pgtkterm.c pgtk_set_cr_source_with_gc_background (f, gc, false); f 2213 src/pgtkterm.c pgtk_set_cr_source_with_gc_foreground (f, gc, false); f 2218 src/pgtkterm.c pgtk_end_cr_clip (f); f 2245 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2247 src/pgtkterm.c pgtk_cr_draw_image (s->f, &s->xgcv, s->img->cr_data, f 2261 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->xgcv.foreground, x - relief, f 2266 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2270 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->xgcv.foreground, x, y, f 2375 src/pgtkterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 2402 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2405 src/pgtkterm.c pgtk_set_clip_rectangles (s->f, cr, &r, 1); f 2410 src/pgtkterm.c pgtk_fill_rectangle (s->f, color, x, y, w, h, f 2413 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2455 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (next->f); f 2463 src/pgtkterm.c pgtk_end_cr_clip (next->f); f 2470 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (s->f); f 2620 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, f 2625 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->underline_color, f 2637 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, s->x, s->y + dy, f 2640 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->overline_color, s->x, f 2660 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->xgcv.foreground, s->x, glyph_y + dy, f 2663 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->strike_through_color, s->x, f 2727 src/pgtkterm.c pgtk_end_cr_clip (s->f); f 2734 src/pgtkterm.c pgtk_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 2736 src/pgtkterm.c if (!f->pointer_invisible && FRAME_X_OUTPUT (f)->current_cursor != cursor) f 2737 src/pgtkterm.c gdk_window_set_cursor (gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 2739 src/pgtkterm.c FRAME_X_OUTPUT (f)->current_cursor = cursor; f 2746 src/pgtkterm.c struct frame *f; f 2759 src/pgtkterm.c && (f = XFRAME (w->frame), f 2760 src/pgtkterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 2766 src/pgtkterm.c pgtk_clear_frame_area (f, 0, y, width, height); f 2767 src/pgtkterm.c pgtk_clear_frame_area (f, f 2768 src/pgtkterm.c FRAME_PIXEL_WIDTH (f) - width, y, width, height); f 2774 src/pgtkterm.c pgtk_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 2776 src/pgtkterm.c pgtk_clear_area (f, x, y, width, height); f 2784 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2800 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2801 src/pgtkterm.c pgtk_set_cr_source_with_color (f, FRAME_X_OUTPUT (f)->cursor_color, false); f 2815 src/pgtkterm.c pgtk_draw_rectangle (f, FRAME_X_OUTPUT (f)->cursor_color, f 2817 src/pgtkterm.c pgtk_end_cr_clip (f); f 2831 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 2856 src/pgtkterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 2859 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 2866 src/pgtkterm.c if (face->background == FRAME_X_OUTPUT (f)->cursor_color) f 2869 src/pgtkterm.c color = FRAME_X_OUTPUT (f)->cursor_color; f 2878 src/pgtkterm.c width = FRAME_CURSOR_WIDTH (f); f 2888 src/pgtkterm.c pgtk_fill_rectangle (f, color, x, f 2908 src/pgtkterm.c pgtk_fill_rectangle (f, color, x, f 2914 src/pgtkterm.c pgtk_end_cr_clip (f); f 2925 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 2969 src/pgtkterm.c if (w == XWINDOW (f->selected_window)) f 2975 src/pgtkterm.c pgtk_im_set_cursor_location (f, frame_x, frame_y, f 2984 src/pgtkterm.c pgtk_copy_bits (struct frame *f, cairo_rectangle_t *src_rect, f 2991 src/pgtkterm.c = cairo_surface_create_similar (FRAME_CR_SURFACE (f), f 2997 src/pgtkterm.c cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), -src_rect->x, f 3004 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 3011 src/pgtkterm.c pgtk_end_cr_clip (f); f 3021 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 3056 src/pgtkterm.c GtkWidget *tem, *parent = FRAME_GTK_WIDGET (f); f 3125 src/pgtkterm.c gtk_fixed_move (GTK_FIXED (FRAME_GTK_WIDGET (f)), f 3145 src/pgtkterm.c pgtk_copy_bits (f, &src_rect, &dst_rect); f 3154 src/pgtkterm.c pgtk_bitmap_icon (struct frame *f, Lisp_Object file) f 3164 src/pgtkterm.c if (FRAME_GTK_WIDGET (f) == 0) f 3168 src/pgtkterm.c if (f->output_data.pgtk->icon_bitmap > 0) f 3169 src/pgtkterm.c image_destroy_bitmap (f, f->output_data.pgtk->icon_bitmap); f 3170 src/pgtkterm.c f->output_data.pgtk->icon_bitmap = 0; f 3176 src/pgtkterm.c if (xg_set_icon (f, file)) f 3178 src/pgtkterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 3183 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 3187 src/pgtkterm.c if (xg_set_icon (f, xg_default_icon_file) f 3188 src/pgtkterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 3190 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 3197 src/pgtkterm.c rc = image_create_bitmap_from_data (f, f 3204 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 3212 src/pgtkterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 3214 src/pgtkterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 3217 src/pgtkterm.c f->output_data.pgtk->icon_bitmap = bitmap_id; f 3227 src/pgtkterm.c pgtk_text_icon (struct frame *f, const char *icon_name) f 3229 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 3231 src/pgtkterm.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), NULL); f 3232 src/pgtkterm.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), icon_name); f 3249 src/pgtkterm.c pgtk_update_begin (struct frame *f) f 3251 src/pgtkterm.c pgtk_clear_under_internal_border (f); f 3259 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3263 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 3265 src/pgtkterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 3267 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->foreground, false); f 3272 src/pgtkterm.c pgtk_end_cr_clip (f); f 3280 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3281 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 3283 src/pgtkterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 3285 src/pgtkterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 3286 src/pgtkterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 3289 src/pgtkterm.c : FRAME_FOREGROUND_PIXEL (f)); f 3292 src/pgtkterm.c : FRAME_FOREGROUND_PIXEL (f)); f 3293 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 3298 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_first, false); f 3301 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3304 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_last, false); f 3311 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_first, false); f 3314 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3317 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color_last, false); f 3323 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, false); f 3328 src/pgtkterm.c pgtk_end_cr_clip (f); f 3335 src/pgtkterm.c pgtk_update_end (struct frame *f) f 3338 src/pgtkterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 3342 src/pgtkterm.c pgtk_frame_up_to_date (struct frame *f) f 3345 src/pgtkterm.c FRAME_MOUSE_UPDATE (f); f 3348 src/pgtkterm.c flip_cr_context (f); f 3349 src/pgtkterm.c gtk_widget_queue_draw (FRAME_GTK_WIDGET (f)); f 3540 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3543 src/pgtkterm.c cairo_t *cr = pgtk_begin_cr_clip (f); f 3555 src/pgtkterm.c fill_background_by_face (f, face, p->bx, p->by, p->nx, p->ny); f 3558 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->background, true); f 3578 src/pgtkterm.c gui_define_fringe_bitmap (f, p->which); f 3583 src/pgtkterm.c : FRAME_X_OUTPUT (f)->cursor_color) f 3586 src/pgtkterm.c pgtk_cr_draw_image (f, &gcv, fringe_bmp[p->which], 0, p->dh, f 3590 src/pgtkterm.c pgtk_end_cr_clip (f); f 3603 src/pgtkterm.c pgtk_show_hourglass (struct frame *f) f 3605 src/pgtkterm.c struct pgtk_output *x = FRAME_X_OUTPUT (f); f 3612 src/pgtkterm.c gtk_fixed_put (GTK_FIXED (FRAME_GTK_WIDGET (f)), x->hourglass_widget, 0, 0); f 3632 src/pgtkterm.c pgtk_hide_hourglass (struct frame *f) f 3634 src/pgtkterm.c struct pgtk_output *x = FRAME_X_OUTPUT (f); f 3652 src/pgtkterm.c pgtk_flush_display (struct frame *f) f 3690 src/pgtkterm.c pgtk_clear_frame (struct frame *f) f 3692 src/pgtkterm.c if (!FRAME_DEFAULT_FACE (f)) f 3695 src/pgtkterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 3698 src/pgtkterm.c pgtk_clear_area (f, 0, 0, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 3705 src/pgtkterm.c struct frame *f = timer->client_data; f 3707 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->cr_surface_visible_bell != NULL) f 3709 src/pgtkterm.c cairo_surface_destroy (FRAME_X_OUTPUT (f)->cr_surface_visible_bell); f 3710 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = NULL; f 3713 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 3714 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 3720 src/pgtkterm.c pgtk_flash (struct frame *f) f 3727 src/pgtkterm.c if (!FRAME_CR_CONTEXT (f)) f 3732 src/pgtkterm.c surface_orig = FRAME_CR_SURFACE (f); f 3734 src/pgtkterm.c width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 3735 src/pgtkterm.c height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 3750 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 3752 src/pgtkterm.c flash_height = FRAME_LINE_HEIGHT (f); f 3754 src/pgtkterm.c flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 3755 src/pgtkterm.c flash_right = (FRAME_PIXEL_WIDTH (f) f 3756 src/pgtkterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)); f 3760 src/pgtkterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 3764 src/pgtkterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 3765 src/pgtkterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 3772 src/pgtkterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 3773 src/pgtkterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 3781 src/pgtkterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 3782 src/pgtkterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 3786 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = surface; f 3790 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 3792 src/pgtkterm.c cancel_atimer (FRAME_X_OUTPUT (f)->atimer_visible_bell); f 3793 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 3796 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell f 3797 src/pgtkterm.c = start_atimer (ATIMER_RELATIVE, delay, recover_from_visible_bell, f); f 3807 src/pgtkterm.c pgtk_ring_bell (struct frame *f) f 3811 src/pgtkterm.c pgtk_flash (f); f 3816 src/pgtkterm.c gtk_widget_error_bell (FRAME_GTK_WIDGET (f)); f 3992 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 3997 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4003 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (struct frame *f, f 4009 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4042 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4050 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); f 4052 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); f 4065 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4068 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4075 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 4078 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4092 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4095 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); f 4115 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4134 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4164 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4165 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4188 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4211 src/pgtkterm.c pgtk_clear_area (f, left, top, pixel_width, height); f 4241 src/pgtkterm.c pgtk_clear_area (f, f 4245 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 4306 src/pgtkterm.c struct frame *f; f 4316 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4321 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 4324 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4326 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4338 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4341 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4352 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4357 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 4360 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4362 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4374 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4377 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4387 src/pgtkterm.c pgtk_judge_scroll_bars (struct frame *f) f 4391 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 4395 src/pgtkterm.c fset_condemned_scroll_bars (f, Qnil); f 4412 src/pgtkterm.c set_fullscreen_state (struct frame *f) f 4414 src/pgtkterm.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 4417 src/pgtkterm.c GtkWindow *widget = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4418 src/pgtkterm.c switch (f->want_fullscreen) f 4423 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 4429 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 4435 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 4444 src/pgtkterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4448 src/pgtkterm.c pgtk_fullscreen_hook (struct frame *f) f 4450 src/pgtkterm.c if (FRAME_VISIBLE_P (f)) f 4453 src/pgtkterm.c set_fullscreen_state (f); f 4514 src/pgtkterm.c pgtk_query_frame_background_color (struct frame *f, Emacs_Color * bgcolor) f 4516 src/pgtkterm.c bgcolor->pixel = FRAME_BACKGROUND_PIXEL (f); f 4517 src/pgtkterm.c pgtk_query_color (f, bgcolor); f 4521 src/pgtkterm.c pgtk_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4531 src/pgtkterm.c pgtk_focus_frame (struct frame *f, bool noactivate) f 4537 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4539 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f) && !noactivate) f 4547 src/pgtkterm.c window = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4552 src/pgtkterm.c widget = FRAME_WIDGET (f); f 4569 src/pgtkterm.c pgtk_set_frame_alpha (struct frame *f) f 4571 src/pgtkterm.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4575 src/pgtkterm.c if (dpyinfo->highlight_frame == f) f 4576 src/pgtkterm.c alpha = f->alpha[0]; f 4578 src/pgtkterm.c alpha = f->alpha[1]; f 4593 src/pgtkterm.c set_opacity_recursively (FRAME_WIDGET (f), &alpha); f 4595 src/pgtkterm.c gtk_widget_queue_resize_no_redraw (FRAME_WIDGET (f)); f 4599 src/pgtkterm.c frame_highlight (struct frame *f) f 4602 src/pgtkterm.c GtkWidget *w = FRAME_WIDGET (f); f 4605 src/pgtkterm.c f->border_width, f 4606 src/pgtkterm.c ((unsigned int) FRAME_X_OUTPUT (f)->border_pixel f 4616 src/pgtkterm.c GtkCssProvider *old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4617 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4625 src/pgtkterm.c gui_update_cursor (f, true); f 4626 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4630 src/pgtkterm.c frame_unhighlight (struct frame *f) f 4639 src/pgtkterm.c w = FRAME_WIDGET (f); f 4642 src/pgtkterm.c f->border_width); f 4651 src/pgtkterm.c old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4652 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4660 src/pgtkterm.c gui_update_cursor (f, true); f 4661 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4708 src/pgtkterm.c pgtk_toggle_invisible_pointer (struct frame *f, bool invisible) f 4712 src/pgtkterm.c cursor = FRAME_DISPLAY_INFO (f)->invisible_cursor; f 4714 src/pgtkterm.c cursor = f->output_data.pgtk->current_cursor; f 4715 src/pgtkterm.c gdk_window_set_cursor (gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 4717 src/pgtkterm.c f->pointer_invisible = invisible; f 4721 src/pgtkterm.c gdk_display_flush (FRAME_X_DISPLAY (f)); f 4757 src/pgtkterm.c pgtk_buffer_flipping_unblocked_hook (struct frame *f) f 4760 src/pgtkterm.c flip_cr_context (f); f 4761 src/pgtkterm.c gtk_widget_queue_draw (FRAME_GTK_WIDGET (f)); f 4853 src/pgtkterm.c pgtk_window_is_of_frame (struct frame *f, GdkWindow *window) f 4858 src/pgtkterm.c data.emacs_gtk_fixed = FRAME_GTK_WIDGET (f); f 4859 src/pgtkterm.c pgtk_window_is_of_frame_recursive (FRAME_WIDGET (f), &data); f 4869 src/pgtkterm.c struct frame *f, *found = NULL; f 4878 src/pgtkterm.c f = XFRAME (frame); f 4879 src/pgtkterm.c if (FRAME_PGTK_P (f)) f 4881 src/pgtkterm.c if (pgtk_window_is_of_frame (f, window)) f 4882 src/pgtkterm.c found = f; f 4892 src/pgtkterm.c struct frame *f; f 4901 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 4902 src/pgtkterm.c frame_widget = FRAME_GTK_WIDGET (f); f 4908 src/pgtkterm.c if (f) f 4912 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 4919 src/pgtkterm.c inev.ie.modifiers = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 4922 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 4932 src/pgtkterm.c pgtk_fill_rectangle (struct frame *f, unsigned long color, int x, int y, f 4936 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 4937 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, respect_alpha_background); f 4940 src/pgtkterm.c pgtk_end_cr_clip (f); f 4944 src/pgtkterm.c pgtk_clear_under_internal_border (struct frame *f) f 4946 src/pgtkterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4947 src/pgtkterm.c && (!FRAME_GTK_OUTER_WIDGET (f) f 4948 src/pgtkterm.c || gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)))) f 4950 src/pgtkterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4951 src/pgtkterm.c int width = FRAME_PIXEL_WIDTH (f); f 4952 src/pgtkterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4953 src/pgtkterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4954 src/pgtkterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 4955 src/pgtkterm.c int face_id = (FRAME_PARENT_FRAME (f) f 4957 src/pgtkterm.c ? lookup_basic_face (NULL, f, f 4961 src/pgtkterm.c ? lookup_basic_face (NULL, f, f 4964 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4970 src/pgtkterm.c fill_background_by_face (f, face, 0, margin, width, border); f 4971 src/pgtkterm.c fill_background_by_face (f, face, 0, 0, border, height); f 4972 src/pgtkterm.c fill_background_by_face (f, face, width - border, 0, border, f 4974 src/pgtkterm.c fill_background_by_face (f, face, 0, (height f 4981 src/pgtkterm.c pgtk_clear_area (f, 0, 0, border, height); f 4982 src/pgtkterm.c pgtk_clear_area (f, 0, margin, width, border); f 4983 src/pgtkterm.c pgtk_clear_area (f, width - border, 0, border, height); f 4984 src/pgtkterm.c pgtk_clear_area (f, 0, height - bottom_margin - border, f 4995 src/pgtkterm.c struct frame *f; f 5002 src/pgtkterm.c f = pgtk_any_window_to_frame (win); f 5003 src/pgtkterm.c if (f != NULL) f 5005 src/pgtkterm.c src = FRAME_X_OUTPUT (f)->cr_surface_visible_bell; f 5006 src/pgtkterm.c if (src == NULL && FRAME_CR_ACTIVE_CONTEXT (f) != NULL) f 5007 src/pgtkterm.c src = cairo_get_target (FRAME_CR_ACTIVE_CONTEXT (f)); f 5022 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5024 src/pgtkterm.c if (!f) f 5025 src/pgtkterm.c f = user_data; f 5027 src/pgtkterm.c if (f) f 5029 src/pgtkterm.c xg_frame_resized (f, alloc->width, alloc->height); f 5030 src/pgtkterm.c pgtk_cr_update_surface_desired_size (f, alloc->width, alloc->height, false); f 5130 src/pgtkterm.c pgtk_enqueue_string (struct frame *f, gchar *str) f 5147 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5157 src/pgtkterm.c pgtk_enqueue_preedit (struct frame *f, Lisp_Object preedit) f 5164 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5176 src/pgtkterm.c struct frame *f; f 5179 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5181 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5192 src/pgtkterm.c if (f != 0) f 5213 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 5226 src/pgtkterm.c if (pgtk_im_filter_keypress (f, &event->key)) f 5230 src/pgtkterm.c state |= pgtk_emacs_to_gtk_modifiers (FRAME_DISPLAY_INFO (f), f 5251 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5253 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), modifiers); f 5265 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5279 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5294 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5376 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5384 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5394 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5440 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->configure.window); f 5442 src/pgtkterm.c if (f && widget == FRAME_GTK_OUTER_WIDGET (f)) f 5447 src/pgtkterm.c if (f) f 5448 src/pgtkterm.c XSETFRAME (frame, f); f 5455 src/pgtkterm.c if (f->win_gravity == NorthWestGravity) f 5457 src/pgtkterm.c &f->left_pos, &f->top_pos); f 5460 src/pgtkterm.c f->top_pos = event->configure.y; f 5461 src/pgtkterm.c f->left_pos = event->configure.x; f 5472 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5479 src/pgtkterm.c if (f) f 5481 src/pgtkterm.c bool iconified = FRAME_ICONIFIED_P (f); f 5485 src/pgtkterm.c if (!FRAME_X_OUTPUT (f)->has_been_visible) f 5486 src/pgtkterm.c set_fullscreen_state (f); f 5492 src/pgtkterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 5493 src/pgtkterm.c pgtk_set_z_group (f, Qabove, Qnil); f 5494 src/pgtkterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 5495 src/pgtkterm.c pgtk_set_z_group (f, Qbelow, Qnil); f 5498 src/pgtkterm.c SET_FRAME_VISIBLE (f, 1); f 5499 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5500 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5505 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5519 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->window_state.window); f 5530 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 5532 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 5537 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullheight); f 5542 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullwidth); f 5544 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 5567 src/pgtkterm.c SET_FRAME_ICONIFIED (f, true); f 5568 src/pgtkterm.c SET_FRAME_VISIBLE (f, false); f 5572 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5574 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5575 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5576 src/pgtkterm.c SET_FRAME_VISIBLE (f, true); f 5580 src/pgtkterm.c store_frame_param (f, Qsticky, Qt); f 5582 src/pgtkterm.c store_frame_param (f, Qsticky, Qnil); f 5593 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5600 src/pgtkterm.c if (f) f 5603 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5853 src/pgtkterm.c struct frame *f, *frame; f 5866 src/pgtkterm.c f = (gui_mouse_grabbed (dpyinfo) ? dpyinfo->last_mouse_frame f 5868 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5876 src/pgtkterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 5877 src/pgtkterm.c f = 0; f 5879 src/pgtkterm.c if (f) f 5893 src/pgtkterm.c && (f == XFRAME (selected_frame) || !NILP (focus_follows_mouse))) f 5897 src/pgtkterm.c (f, event->motion.x, event->motion.y, 0, false, false); f 5919 src/pgtkterm.c if (!note_mouse_movement (f, &event->motion)) f 5940 src/pgtkterm.c if (f) f 5941 src/pgtkterm.c XSETFRAME (frame, f); f 5961 src/pgtkterm.c struct frame *f) f 5968 src/pgtkterm.c result->modifiers = (pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 5975 src/pgtkterm.c XSETFRAME (result->frame_or_window, f); f 5977 src/pgtkterm.c result->device = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), f 5987 src/pgtkterm.c struct frame *f, *frame; f 6010 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6013 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6015 src/pgtkterm.c if (f && event->button.type == GDK_BUTTON_PRESS f 6016 src/pgtkterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 6024 src/pgtkterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 6027 src/pgtkterm.c gtk_widget_grab_focus (FRAME_GTK_WIDGET (f)); f 6029 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6030 src/pgtkterm.c gtk_window_present (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 6040 src/pgtkterm.c if (f) f 6043 src/pgtkterm.c if (WINDOWP (f->tab_bar_window) f 6044 src/pgtkterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 6050 src/pgtkterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 6051 src/pgtkterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 6055 src/pgtkterm.c (f, x, y, event->type == GDK_BUTTON_PRESS, f 6067 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6073 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6083 src/pgtkterm.c dpyinfo->last_mouse_frame = f; f 6095 src/pgtkterm.c if (f != 0) f 6096 src/pgtkterm.c f->mouse_moved = false; f 6107 src/pgtkterm.c struct frame *f, *frame; f 6120 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6122 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6127 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), event->scroll.state); f 6130 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6137 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6233 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6326 src/pgtkterm.c struct frame *f; f 6329 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6350 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6360 src/pgtkterm.c struct frame *f; f 6365 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6367 src/pgtkterm.c if (!f) f 6398 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6409 src/pgtkterm.c struct frame *f; f 6414 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6416 src/pgtkterm.c if (!f) f 6447 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6471 src/pgtkterm.c pgtk_set_event_handler (struct frame *f) f 6473 src/pgtkterm.c if (f->tooltip) f 6475 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6480 src/pgtkterm.c gtk_drag_dest_set (FRAME_GTK_WIDGET (f), 0, NULL, 0, f 6484 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6486 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6489 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "delete-event", f 6491 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "event", f 6493 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "configure-event", f 6497 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "map-event", f 6499 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "size-allocate", f 6500 src/pgtkterm.c G_CALLBACK (size_allocate), f); f 6501 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-press-event", f 6503 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-release-event", f 6505 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-in-event", f 6507 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-out-event", f 6509 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "enter-notify-event", f 6511 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "leave-notify-event", f 6513 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "motion-notify-event", f 6515 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-press-event", f 6517 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-release-event", f 6519 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "scroll-event", f 6521 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "configure-event", f 6523 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-leave", f 6525 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-motion", f 6527 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-drop", f 6529 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6531 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "property-notify-event", f 6533 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-clear-event", f 6535 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-request-event", f 6537 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-notify-event", f 6539 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "event", f 6602 src/pgtkterm.c struct frame *f; f 6606 src/pgtkterm.c f = XFRAME (tem); f 6608 src/pgtkterm.c if (FRAME_PGTK_P (f) f 6609 src/pgtkterm.c && (FRAME_GDK_WINDOW (f) == window)) f 6610 src/pgtkterm.c return f; f 6620 src/pgtkterm.c struct frame *f; f 6628 src/pgtkterm.c f = pgtk_find_selection_owner (event->selection.window); f 6630 src/pgtkterm.c if (f) f 6638 src/pgtkterm.c SELECTION_EVENT_DPYINFO (&inev.sie) = FRAME_DISPLAY_INFO (f); f 7012 src/pgtkterm.c pgtk_defined_color (struct frame *f, const char *name, f 7026 src/pgtkterm.c r = xg_check_special_colors (f, name, color_def); f 7028 src/pgtkterm.c r = pgtk_parse_color (f, name, color_def); f 7042 src/pgtkterm.c pgtk_parse_color (struct frame *f, const char *color_name, f 7063 src/pgtkterm.c pgtk_query_colors (struct frame *f, Emacs_Color * colors, int ncolors) f 7081 src/pgtkterm.c pgtk_query_color (struct frame *f, Emacs_Color * color) f 7083 src/pgtkterm.c pgtk_query_colors (f, color, 1); f 7087 src/pgtkterm.c pgtk_clear_area (struct frame *f, int x, int y, int width, int height) f 7093 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 7094 src/pgtkterm.c pgtk_set_cr_source_with_color (f, FRAME_X_OUTPUT (f)->background_color, f 7098 src/pgtkterm.c pgtk_end_cr_clip (f); f 7201 src/pgtkterm.c pgtk_cr_update_surface_desired_size (struct frame *f, int width, int height, bool force) f 7203 src/pgtkterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 7204 src/pgtkterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height f 7207 src/pgtkterm.c pgtk_cr_destroy_frame_context (f); f 7208 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 7209 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 7210 src/pgtkterm.c SET_FRAME_GARBAGED (f); f 7216 src/pgtkterm.c pgtk_begin_cr_clip (struct frame *f) f 7218 src/pgtkterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 7224 src/pgtkterm.c (FRAME_GTK_WIDGET (f)), f 7226 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f), f 7228 src/pgtkterm.c (f)); f 7230 src/pgtkterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 7240 src/pgtkterm.c pgtk_end_cr_clip (struct frame *f) f 7242 src/pgtkterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 7246 src/pgtkterm.c pgtk_set_cr_source_with_gc_foreground (struct frame *f, Emacs_GC *gc, f 7249 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->foreground, f 7254 src/pgtkterm.c pgtk_set_cr_source_with_gc_background (struct frame *f, Emacs_GC *gc, f 7257 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->background, f 7262 src/pgtkterm.c pgtk_set_cr_source_with_color (struct frame *f, unsigned long color, f 7267 src/pgtkterm.c pgtk_query_color (f, &col); f 7271 src/pgtkterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7273 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 7277 src/pgtkterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7279 src/pgtkterm.c f->alpha_background); f 7280 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 7285 src/pgtkterm.c pgtk_cr_draw_frame (cairo_t * cr, struct frame *f) f 7287 src/pgtkterm.c cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), 0, 0); f 7303 src/pgtkterm.c pgtk_cr_destroy_frame_context (struct frame *f) f 7305 src/pgtkterm.c if (FRAME_CR_CONTEXT (f) != NULL) f 7307 src/pgtkterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 7308 src/pgtkterm.c FRAME_CR_CONTEXT (f) = NULL; f 7323 src/pgtkterm.c struct frame *f; f 7334 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7336 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7337 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 7377 src/pgtkterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 7378 src/pgtkterm.c FRAME_CR_CONTEXT (f) = cr; f 7379 src/pgtkterm.c pgtk_clear_area (f, 0, 0, width, height); f 7380 src/pgtkterm.c expose_frame (f, 0, 0, width, height); f 7381 src/pgtkterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 7387 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7389 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7390 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 4056 src/sfnt.c sfnt_poly_grid_ceil (sfnt_fixed f) f 4058 src/sfnt.c return (((f + (SFNT_POLY_START - 1)) f 439 src/sfntfont-android.c prepare_face_for_display (s->f, s->face); f 563 src/sfntfont-android.c bitmap_data = android_lock_bitmap (FRAME_ANDROID_DRAWABLE (s->f), f 602 src/sfntfont-android.c android_damage_window (FRAME_ANDROID_DRAWABLE (s->f), f 641 src/sfntfont-android.c sfntfont_android_get_cache (struct frame *f) f 1904 src/sfntfont.c sfntfont_list (struct frame *f, Lisp_Object font_spec) f 1952 src/sfntfont.c sfntfont_match (struct frame *f, Lisp_Object font_spec) f 1956 src/sfntfont.c matches = sfntfont_list (f, font_spec); f 3046 src/sfntfont.c sfntfont_open (struct frame *f, Lisp_Object font_entity, f 3066 src/sfntfont.c if (FRAME_FONT (f)) f 3067 src/sfntfont.c pixel_size = FRAME_FONT (f)->pixel_size; f 3228 src/sfntfont.c dpyinfo = FRAME_DISPLAY_INFO (f); f 3617 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 559 src/termhooks.h void (*cursor_to_hook) (struct frame *f, int vpos, int hpos); f 566 src/termhooks.h void (*ins_del_lines_hook) (struct frame *f, int, int); f 568 src/termhooks.h void (*insert_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 569 src/termhooks.h void (*write_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 572 src/termhooks.h void (*ring_bell_hook) (struct frame *f); f 573 src/termhooks.h void (*toggle_invisible_pointer_hook) (struct frame *f, bool invisible); f 588 src/termhooks.h bool (*defined_color_hook) (struct frame *f, const char *color_name, f 608 src/termhooks.h void (*query_frame_background_color) (struct frame *f, Emacs_Color *bgcolor); f 615 src/termhooks.h void (*query_colors) (struct frame *f, Emacs_Color *colors, int ncolors); f 632 src/termhooks.h void (*mouse_position_hook) (struct frame **f, int, f 640 src/termhooks.h Lisp_Object (*get_focus_frame) (struct frame *f); f 643 src/termhooks.h void (*focus_frame_hook) (struct frame *f, bool noactivate); f 660 src/termhooks.h void (*frame_raise_lower_hook) (struct frame *f, bool raise_flag); f 664 src/termhooks.h void (*frame_visible_invisible_hook) (struct frame *f, bool visible); f 669 src/termhooks.h void (*fullscreen_hook) (struct frame *f); f 672 src/termhooks.h void (*iconify_frame_hook) (struct frame *f); f 678 src/termhooks.h void (*set_window_size_hook) (struct frame *f, bool change_gravity, f 687 src/termhooks.h void (*set_frame_offset_hook) (struct frame *f, register int xoff, f 691 src/termhooks.h void (*set_frame_alpha_hook) (struct frame *f); f 694 src/termhooks.h Lisp_Object (*set_new_font_hook) (struct frame *f, Lisp_Object font_object, f 698 src/termhooks.h bool (*set_bitmap_icon_hook) (struct frame *f, Lisp_Object file); f 702 src/termhooks.h void (*implicit_set_name_hook) (struct frame *f, Lisp_Object arg, f 706 src/termhooks.h Lisp_Object (*menu_show_hook) (struct frame *f, int x, int y, int menuflags, f 711 src/termhooks.h void (*activate_menubar_hook) (struct frame *f); f 715 src/termhooks.h Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, f 719 src/termhooks.h void (*change_tab_bar_height_hook) (struct frame *f, int height); f 722 src/termhooks.h void (*change_tool_bar_height_hook) (struct frame *f, int height); f 841 src/termhooks.h void (*free_pixmap) (struct frame *f, Emacs_Pixmap pixmap); f 907 src/termhooks.h #define FRAME_MUST_WRITE_SPACES(f) (FRAME_TTY (f)->must_write_spaces) f 908 src/termhooks.h #define FRAME_LINE_INS_DEL_OK(f) (FRAME_TTY (f)->line_ins_del_ok) f 909 src/termhooks.h #define FRAME_CHAR_INS_DEL_OK(f) (FRAME_TTY (f)->char_ins_del_ok) f 910 src/termhooks.h #define FRAME_SCROLL_REGION_OK(f) (FRAME_TTY (f)->scroll_region_ok) f 911 src/termhooks.h #define FRAME_SCROLL_REGION_COST(f) (FRAME_TTY (f)->scroll_region_cost) f 912 src/termhooks.h #define FRAME_MEMORY_BELOW_FRAME(f) (FRAME_TTY (f)->memory_below_frame) f 914 src/termhooks.h #define FRAME_TERMINAL_CODING(f) ((f)->terminal->terminal_coding) f 915 src/termhooks.h #define FRAME_KEYBOARD_CODING(f) ((f)->terminal->keyboard_coding) f 920 src/termhooks.h #define FRAME_RIF(f) ((f)->terminal->rif) f 922 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 174 src/textconv.c textconv_query (struct frame *f, struct textconv_callback_struct *query, f 193 src/textconv.c select_window ((WINDOW_LIVE_P (f->old_selected_window) f 194 src/textconv.c ? f->old_selected_window f 195 src/textconv.c : f->selected_window), Qt); f 230 src/textconv.c && MARKERP (f->conversion.compose_region_start)) f 232 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 233 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 426 src/textconv.c sync_overlay (struct frame *f) f 428 src/textconv.c if (MARKERP (f->conversion.compose_region_start) f 431 src/textconv.c if (NILP (f->conversion.compose_region_overlay)) f 433 src/textconv.c f->conversion.compose_region_overlay f 434 src/textconv.c = Fmake_overlay (f->conversion.compose_region_start, f 435 src/textconv.c f->conversion.compose_region_end, Qnil, f 437 src/textconv.c Foverlay_put (f->conversion.compose_region_overlay, f 441 src/textconv.c Fmove_overlay (f->conversion.compose_region_overlay, f 442 src/textconv.c f->conversion.compose_region_start, f 443 src/textconv.c f->conversion.compose_region_end, Qnil); f 445 src/textconv.c else if (!NILP (f->conversion.compose_region_overlay)) f 447 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 448 src/textconv.c f->conversion.compose_region_overlay = Qnil; f 495 src/textconv.c reset_frame_state (struct frame *f) f 501 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 503 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 504 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 505 src/textconv.c f->conversion.compose_region_start = Qnil; f 506 src/textconv.c f->conversion.compose_region_end = Qnil; f 511 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 512 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 516 src/textconv.c next = f->conversion.actions; f 528 src/textconv.c f->conversion.actions = NULL; f 531 src/textconv.c f->conversion.batch_edit_count = 0; f 532 src/textconv.c f->conversion.batch_edit_flags = 0; f 577 src/textconv.c really_commit_text (struct frame *f, EMACS_INT position, f 586 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 595 src/textconv.c select_window (f->old_selected_window, Qt); f 602 src/textconv.c if (MARKERP (f->conversion.compose_region_start) || mark != -1) f 607 src/textconv.c if (MARKERP (f->conversion.compose_region_start)) f 609 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 610 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 673 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 675 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 676 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 677 src/textconv.c f->conversion.compose_region_start = Qnil; f 678 src/textconv.c f->conversion.compose_region_end = Qnil; f 683 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 684 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 751 src/textconv.c really_finish_composing_text (struct frame *f, bool update) f 753 src/textconv.c if (!NILP (f->conversion.compose_region_start)) f 755 src/textconv.c Fset_marker (f->conversion.compose_region_start, Qnil, Qnil); f 756 src/textconv.c Fset_marker (f->conversion.compose_region_end, Qnil, Qnil); f 757 src/textconv.c f->conversion.compose_region_start = Qnil; f 758 src/textconv.c f->conversion.compose_region_end = Qnil; f 762 src/textconv.c (*text_interface->compose_region_changed) (f); f 767 src/textconv.c if (!NILP (f->conversion.compose_region_overlay)) f 768 src/textconv.c Fdelete_overlay (f->conversion.compose_region_overlay); f 780 src/textconv.c really_set_composing_text (struct frame *f, ptrdiff_t position, f 789 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 798 src/textconv.c w = XWINDOW (f->old_selected_window); f 799 src/textconv.c select_window (f->old_selected_window, Qt); f 803 src/textconv.c if (!MARKERP (f->conversion.compose_region_start)) f 831 src/textconv.c f->conversion.compose_region_start f 833 src/textconv.c f->conversion.compose_region_end f 836 src/textconv.c Fset_marker_insertion_type (f->conversion.compose_region_end, f 843 src/textconv.c start = marker_position (f->conversion.compose_region_start); f 844 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 876 src/textconv.c end = marker_position (f->conversion.compose_region_end); f 896 src/textconv.c sync_overlay (f); f 902 src/textconv.c really_finish_composing_text (f, false); f 911 src/textconv.c if (f->conversion.batch_edit_count > 0) f 912 src/textconv.c f->conversion.batch_edit_flags |= PENDING_COMPOSE_CHANGE; f 914 src/textconv.c text_interface->compose_region_changed (f); f 923 src/textconv.c marker_position (f->conversion.compose_region_start), f 924 src/textconv.c marker_position (f->conversion.compose_region_end)); f 935 src/textconv.c really_set_composing_region (struct frame *f, ptrdiff_t start, f 943 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 951 src/textconv.c really_finish_composing_text (f, false); f 961 src/textconv.c select_window (f->old_selected_window, Qt); f 965 src/textconv.c if (!MARKERP (f->conversion.compose_region_start)) f 967 src/textconv.c f->conversion.compose_region_start = Fmake_marker (); f 968 src/textconv.c f->conversion.compose_region_end = Fmake_marker (); f 969 src/textconv.c Fset_marker_insertion_type (f->conversion.compose_region_end, f 973 src/textconv.c Fset_marker (f->conversion.compose_region_start, f 975 src/textconv.c Fset_marker (f->conversion.compose_region_end, f 977 src/textconv.c sync_overlay (f); f 994 src/textconv.c really_delete_surrounding_text (struct frame *f, ptrdiff_t left, f 1004 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1013 src/textconv.c select_window (f->old_selected_window, Qt); f 1028 src/textconv.c if (MARKERP (f->conversion.compose_region_start)) f 1030 src/textconv.c a = marker_position (f->conversion.compose_region_start); f 1031 src/textconv.c b = marker_position (f->conversion.compose_region_end); f 1086 src/textconv.c really_request_point_update (struct frame *f) f 1090 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1093 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1094 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1096 src/textconv.c text_interface->point_changed (f, f 1097 src/textconv.c XWINDOW (f->old_selected_window), f 1109 src/textconv.c really_set_point_and_mark (struct frame *f, ptrdiff_t point, f 1117 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1126 src/textconv.c select_window (f->old_selected_window, Qt); f 1130 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1131 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1133 src/textconv.c text_interface->point_changed (f, f 1134 src/textconv.c XWINDOW (f->old_selected_window), f 1185 src/textconv.c struct frame *f; f 1197 src/textconv.c f = WINDOW_XFRAME (context->w); f 1199 src/textconv.c if (!FRAME_LIVE_P (f)) f 1204 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1205 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1207 src/textconv.c text_interface->point_changed (f, context->w, NULL); f 1218 src/textconv.c handle_pending_conversion_events_1 (struct frame *f, f 1252 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window)) f 1254 src/textconv.c w = XWINDOW (f->old_selected_window); f 1265 src/textconv.c f->conversion.batch_edit_count++; f 1269 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1270 src/textconv.c f->conversion.batch_edit_count--; f 1272 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1275 src/textconv.c if (f->conversion.batch_edit_flags & PENDING_POINT_CHANGE) f 1276 src/textconv.c text_interface->point_changed (f, w, buffer); f 1278 src/textconv.c if (f->conversion.batch_edit_flags & PENDING_COMPOSE_CHANGE) f 1279 src/textconv.c text_interface->compose_region_changed (f); f 1281 src/textconv.c f->conversion.batch_edit_flags = 0; f 1285 src/textconv.c really_commit_text (f, XFIXNUM (XCAR (data)), XCDR (data)); f 1289 src/textconv.c really_finish_composing_text (f, !NILP (data)); f 1293 src/textconv.c really_set_composing_text (f, XFIXNUM (XCAR (data)), f 1298 src/textconv.c really_set_composing_region (f, XFIXNUM (XCAR (data)), f 1303 src/textconv.c really_set_point_and_mark (f, XFIXNUM (XCAR (data)), f 1308 src/textconv.c really_delete_surrounding_text (f, XFIXNUM (XCAR (data)), f 1313 src/textconv.c really_request_point_update (f); f 1354 src/textconv.c struct frame *f; f 1378 src/textconv.c f = XFRAME (frame); f 1395 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1396 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1398 src/textconv.c text_interface->point_changed (f, NULL, NULL); f 1406 src/textconv.c action = f->conversion.actions; f 1422 src/textconv.c f->conversion.actions = next; f 1425 src/textconv.c w = handle_pending_conversion_events_1 (f, action); f 1441 src/textconv.c start_batch_edit (struct frame *f, unsigned long counter) f 1450 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1462 src/textconv.c end_batch_edit (struct frame *f, unsigned long counter) f 1471 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1487 src/textconv.c commit_text (struct frame *f, Lisp_Object string, f 1497 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1513 src/textconv.c finish_composing_text (struct frame *f, unsigned long counter, f 1523 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1545 src/textconv.c set_composing_text (struct frame *f, Lisp_Object object, f 1556 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1569 src/textconv.c set_composing_region (struct frame *f, ptrdiff_t start, f 1586 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1598 src/textconv.c textconv_set_point_and_mark (struct frame *f, ptrdiff_t point, f 1612 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1622 src/textconv.c delete_surrounding_text (struct frame *f, ptrdiff_t left, f 1633 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1644 src/textconv.c request_point_update (struct frame *f, unsigned long counter) f 1653 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1667 src/textconv.c textconv_barrier (struct frame *f, unsigned long counter) f 1676 src/textconv.c for (last = &f->conversion.actions; *last; last = &(*last)->next) f 1698 src/textconv.c get_extracted_text (struct frame *f, ptrdiff_t n, f 1708 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1721 src/textconv.c select_window (f->old_selected_window, Qt); f 1809 src/textconv.c get_surrounding_text (struct frame *f, ptrdiff_t left, f 1819 src/textconv.c if (!WINDOW_LIVE_P (f->old_selected_window)) f 1832 src/textconv.c select_window (f->old_selected_window, Qt); f 1917 src/textconv.c report_selected_window_change (struct frame *f) f 1921 src/textconv.c reset_frame_state (f); f 1931 src/textconv.c if (WINDOWP (f->selected_window)) f 1933 src/textconv.c w = XWINDOW (f->selected_window); f 1937 src/textconv.c text_interface->reset (f); f 1950 src/textconv.c report_point_change (struct frame *f, struct window *window, f 1956 src/textconv.c if (f->conversion.batch_edit_count > 0) f 1957 src/textconv.c f->conversion.batch_edit_flags |= PENDING_POINT_CHANGE; f 1959 src/textconv.c text_interface->point_changed (f, window, buffer); f 1969 src/textconv.c struct frame *f; f 1981 src/textconv.c f = XFRAME (frame); f 1982 src/textconv.c reset_frame_state (f); f 1984 src/textconv.c if (FRAME_WINDOW_P (f) && FRAME_VISIBLE_P (f)) f 1985 src/textconv.c text_interface->reset (f); f 1995 src/textconv.c struct frame *f; f 2008 src/textconv.c f = XFRAME (frame); f 2009 src/textconv.c reset_frame_state (f); f 2011 src/textconv.c if (FRAME_WINDOW_P (f) && FRAME_VISIBLE_P (f)) f 2012 src/textconv.c text_interface->reset (f); f 2039 src/textconv.c struct frame *f; f 2065 src/textconv.c f = XFRAME (frame); f 2067 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window) f 2068 src/textconv.c && FRAME_WINDOW_P (f) f 2071 src/textconv.c && EQ (XWINDOW (f->old_selected_window)->contents, f 2075 src/textconv.c reset_frame_state (f); f 2076 src/textconv.c text_interface->reset (f); f 2109 src/textconv.c struct frame *f; f 2140 src/textconv.c f = XFRAME (frame); f 2142 src/textconv.c if (WINDOW_LIVE_P (f->old_selected_window) f 2143 src/textconv.c && FRAME_WINDOW_P (f) f 2144 src/textconv.c && (EQ (XWINDOW (f->old_selected_window)->contents, f 2148 src/textconv.c || (f == SELECTED_FRAME ()))) f 2151 src/textconv.c reset_frame_state (f); f 2152 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_OR_NULL (it->f, it->face_id); f 8357 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); f 8380 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); f 8394 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 8403 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) f 8479 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8494 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8507 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) f 8933 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 8934 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 8959 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); f 10023 src/xdisp.c && FRAME_WINDOW_P (it->f) f 10034 src/xdisp.c && FRAME_WINDOW_P (it->f))) f 10109 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10320 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10721 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 10723 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 10783 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10828 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 10967 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 11092 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 12149 src/xdisp.c struct frame *f = XFRAME (frame); f 12151 src/xdisp.c if (FRAME_VISIBLE_P (sf) && !FRAME_VISIBLE_P (f)) f 12169 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 12170 src/xdisp.c (*FRAME_TERMINAL (f)->frame_up_to_date_hook) (f); f 12217 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12222 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12227 src/xdisp.c need_message = f->glyphs_initialized_p; f 12284 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12289 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12294 src/xdisp.c if (f->glyphs_initialized_p) f 12299 src/xdisp.c ptrdiff_t maxsize = FRAME_MESSAGE_BUF_SIZE (f); f 12760 src/xdisp.c struct frame *f = XFRAME (w->frame); f 12782 src/xdisp.c && (NILP (resize_mini_frames) || !FRAME_MINIBUF_ONLY_P (f))) f 12783 src/xdisp.c || (FRAME_X_P (f) && FRAME_OUTPUT_DATA (f) == NULL)) f 12786 src/xdisp.c if (FRAME_MINIBUF_ONLY_P (f)) f 12794 src/xdisp.c int unit = FRAME_LINE_HEIGHT (f); f 12798 src/xdisp.c int windows_height = FRAME_INNER_HEIGHT (f); f 13151 src/xdisp.c struct frame *f = XFRAME (frame); f 13153 src/xdisp.c if (FRAME_REDISPLAY_P (f) && FRAME_GARBAGED_P (f)) f 13155 src/xdisp.c if (f->resized_p f 13161 src/xdisp.c && !(f != sf && (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)))) f 13162 src/xdisp.c redraw_frame (f); f 13164 src/xdisp.c clear_current_matrices (f); f 13167 src/xdisp.c if (FRAME_WINDOW_P (f) f 13168 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13169 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13171 src/xdisp.c fset_redisplay (f); f 13172 src/xdisp.c f->garbaged = false; f 13173 src/xdisp.c f->resized_p = false; f 13190 src/xdisp.c struct frame *f; f 13199 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 13202 src/xdisp.c if (!FRAME_REDISPLAY_P (f) || !f->glyphs_initialized_p) f 13237 src/xdisp.c n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), false); f 13240 src/xdisp.c if (FRAME_WINDOW_P (f) f 13241 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13242 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13256 src/xdisp.c fset_redisplay (f); f 13260 src/xdisp.c else if (FRAME_WINDOW_P (f) && n == 0) f 13266 src/xdisp.c flush_frame (f); f 13269 src/xdisp.c update_frame (f, true, true); f 13294 src/xdisp.c fset_redisplay (f); f 13580 src/xdisp.c struct frame *f = XFRAME (frame); f 13583 src/xdisp.c if ((FRAME_WINDOW_P (f) f 13584 src/xdisp.c || FRAME_MINIBUF_ONLY_P (f) f 13585 src/xdisp.c || f->explicit_name) f 13586 src/xdisp.c && !FRAME_TOOLTIP_P (f)) f 13600 src/xdisp.c if (tf != f f 13601 src/xdisp.c && FRAME_KBOARD (tf) == FRAME_KBOARD (f) f 13632 src/xdisp.c format_data = format_mode_line_unwind_data (f, current_buffer, f 13637 src/xdisp.c Fselect_window (f->selected_window, Qt); f 13638 src/xdisp.c set_buffer_internal_1 (XBUFFER (XWINDOW (f->selected_window)->contents)); f 13639 src/xdisp.c fmt = (FRAME_ICONIFIED_P (f) && !EQ (Vicon_title_format, Qt) f 13644 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, f 13662 src/xdisp.c if ((! STRINGP (f->name) f 13663 src/xdisp.c || SBYTES (f->name) != len f 13664 src/xdisp.c || memcmp (title, SDATA (f->name), len) != 0) f 13665 src/xdisp.c && FRAME_TERMINAL (f)->implicit_set_name_hook) f 13668 src/xdisp.c FRAME_TERMINAL (f)->implicit_set_name_hook (f, title_string, Qnil); f 13691 src/xdisp.c struct frame *f = XFRAME (w->frame); f 13695 src/xdisp.c && !f->face_change f 13696 src/xdisp.c && !f->redisplay f 13739 src/xdisp.c struct frame *f = XFRAME (frame); f 13740 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13742 src/xdisp.c && !f->redisplay f 13747 src/xdisp.c if (!FRAME_TOOLTIP_P (f) f 13748 src/xdisp.c && (FRAME_ICONIFIED_P (f) f 13749 src/xdisp.c || FRAME_VISIBLE_P (f) == 1 f 13759 src/xdisp.c || (FRAME_REDISPLAY_P (f) && FRAME_WINDOW_P (f)))) f 13780 src/xdisp.c struct frame *f = XFRAME (frame); f 13781 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13784 src/xdisp.c if (FRAME_TOOLTIP_P (f)) f 13788 src/xdisp.c && !f->redisplay f 13793 src/xdisp.c if (!FRAME_PARENT_FRAME (f)) f 13794 src/xdisp.c menu_bar_hooks_run = update_menu_bar (f, false, menu_bar_hooks_run); f 13796 src/xdisp.c update_tab_bar (f, false); f 13798 src/xdisp.c update_tool_bar (f, false); f 13831 src/xdisp.c update_menu_bar (struct frame *f, bool save_match_data, bool hooks_run) f 13842 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 13845 src/xdisp.c if (FRAME_WINDOW_P (f) f 13848 src/xdisp.c FRAME_EXTERNAL_MENU_BAR (f) f 13850 src/xdisp.c FRAME_MENU_BAR_LINES (f) > 0 f 13852 src/xdisp.c : FRAME_MENU_BAR_LINES (f) > 0) f 13893 src/xdisp.c XSETFRAME (Vmenu_updating_frame, f); f 13894 src/xdisp.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 13898 src/xdisp.c if (FRAME_WINDOW_P (f)) f 13903 src/xdisp.c if (f == SELECTED_FRAME ()) f 13905 src/xdisp.c set_frame_menubar (f, false); f 13961 src/xdisp.c struct frame *f = XFRAME (frame); f 13963 src/xdisp.c if (!FRAME_PARENT_FRAME (f) && !FRAME_TOOLTIP_P (f)) f 13966 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 14000 src/xdisp.c update_tab_bar (struct frame *f, bool save_match_data) f 14005 src/xdisp.c if (FRAME_WINDOW_P (f) && WINDOWP (f->tab_bar_window)) { f 14006 src/xdisp.c if (WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window)) > 0) f 14011 src/xdisp.c if (FRAME_TAB_BAR_LINES (f) > 0) f 14019 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 14066 src/xdisp.c XSETFRAME (frame, f); f 14068 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 14073 src/xdisp.c = tab_bar_items (Fcopy_sequence (f->tab_bar_items), f 14077 src/xdisp.c if (new_n_tab_bar != f->n_tab_bar_items f 14078 src/xdisp.c || NILP (Fequal (new_tab_bar, f->tab_bar_items))) f 14084 src/xdisp.c fset_tab_bar_items (f, new_tab_bar); f 14085 src/xdisp.c f->n_tab_bar_items = new_n_tab_bar; f 14109 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 14116 src/xdisp.c if (FRAME_W32_P (f)) f 14120 src/xdisp.c if (FRAME_X_P (f)) f 14125 src/xdisp.c if (FRAME_NS_P (f)) f 14130 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 14131 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14132 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14135 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14137 src/xdisp.c if (FRAME_WINDOW_P (f)) f 14142 src/xdisp.c tab_w = XWINDOW (f->tab_bar_window); f 14146 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14153 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14154 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14157 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 14166 src/xdisp.c for (i = 0; i < FRAME_TAB_BAR_LINES (f); ++i) f 14176 src/xdisp.c items = it.f->tab_bar_items; f 14178 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) f 14206 src/xdisp.c build_desired_tab_bar_string (struct frame *f) f 14214 src/xdisp.c fset_desired_tab_bar_string (f, build_string ("")); f 14219 src/xdisp.c for (i = 0; i < f->n_tab_bar_items; ++i) f 14222 src/xdisp.c AREF (f->tab_bar_items, i * TAB_BAR_ITEM_NSLOTS + (IDX)) f 14235 src/xdisp.c f->desired_tab_bar_string = f 14236 src/xdisp.c concat2 (f->desired_tab_bar_string, caption); f 14350 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 14382 src/xdisp.c tab_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 14384 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14397 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, f 14398 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14416 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 14428 src/xdisp.c struct frame *f = decode_any_frame (frame); f 14430 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 14431 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tab_bar_window)) > 0) f 14433 src/xdisp.c update_tab_bar (f, true); f 14434 src/xdisp.c if (f->n_tab_bar_items) f 14436 src/xdisp.c build_desired_tab_bar_string (f); f 14437 src/xdisp.c height = tab_bar_height (f, NULL, !NILP (pixelwise)); f 14448 src/xdisp.c redisplay_tab_bar (struct frame *f) f 14454 src/xdisp.c f->tab_bar_redisplayed = true; f 14460 src/xdisp.c if (!WINDOWP (f->tab_bar_window) f 14461 src/xdisp.c || (w = XWINDOW (f->tab_bar_window), f 14469 src/xdisp.c f->tab_bar_resized = true; f 14475 src/xdisp.c build_desired_tab_bar_string (f); f 14478 src/xdisp.c int new_height = tab_bar_height (f, &new_nrows, true); f 14480 src/xdisp.c if (f->n_tab_bar_rows == 0) f 14482 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14489 src/xdisp.c if (new_nrows > f->n_tab_bar_rows f 14491 src/xdisp.c && !f->minimize_tab_bar_window_p f 14496 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14497 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14498 src/xdisp.c if (new_nrows != f->n_tab_bar_rows) f 14499 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14501 src/xdisp.c f->fonts_changed = true; f 14511 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, f 14512 src/xdisp.c STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14524 src/xdisp.c if (f->n_tab_bar_rows > 0) f 14531 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 14533 src/xdisp.c border = f->border_width; f 14539 src/xdisp.c rows = f->n_tab_bar_rows; f 14584 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 14598 src/xdisp.c int new_height = tab_bar_height (f, &nrows, true); f 14601 src/xdisp.c && !f->minimize_tab_bar_window_p) f 14604 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14608 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14609 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14612 src/xdisp.c f->n_tab_bar_rows = nrows; f 14613 src/xdisp.c f->fonts_changed = true; f 14620 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14631 src/xdisp.c tab_bar_item_info (struct frame *f, struct glyph *glyph, f 14640 src/xdisp.c charpos = min (SCHARS (f->current_tab_bar_string), glyph->charpos); f 14647 src/xdisp.c Qmenu_item, f->current_tab_bar_string); f 14656 src/xdisp.c f->current_tab_bar_string)); f 14682 src/xdisp.c get_tab_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 14685 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14695 src/xdisp.c if (!tab_bar_item_info (f, *glyph, prop_idx, close_p)) f 14698 src/xdisp.c return *prop_idx == f->last_tab_bar_item ? 0 : 1; f 14708 src/xdisp.c get_tab_bar_item_kbd (struct frame *f, int x, int y, int *prop_idx, f 14715 src/xdisp.c w = XWINDOW (f->tab_bar_window); f 14728 src/xdisp.c if (!tab_bar_item_info (f, glyph, prop_idx, close_p)) f 14731 src/xdisp.c return *prop_idx == f->last_tab_bar_item ? 0 : 1; f 14741 src/xdisp.c handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14744 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14745 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14753 src/xdisp.c ts = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14758 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14767 src/xdisp.c f->last_tab_bar_item = prop_idx; /* record the pressed tab */ f 14774 src/xdisp.c f->last_tab_bar_item = -1; f 14778 src/xdisp.c Fcopy_sequence (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION)); f 14781 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_KEY), f 14782 src/xdisp.c AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_BINDING), f 14797 src/xdisp.c note_tab_bar_highlight (struct frame *f, int x, int y) f 14799 src/xdisp.c Lisp_Object window = f->tab_bar_window; f 14801 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14820 src/xdisp.c rc = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14839 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 14841 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 14843 src/xdisp.c if (mouse_down_p && f->last_tab_bar_item != prop_idx f 14844 src/xdisp.c && f->last_tab_bar_item != -1) f 14849 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14880 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); f 14882 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION); f 14889 src/xdisp.c tty_get_tab_bar_item (struct frame *f, int x, int *prop_idx, bool *close_p) f 14893 src/xdisp.c for (int i = 0; i < f->n_tab_bar_items; i++) f 14895 src/xdisp.c Lisp_Object caption = AREF (f->tab_bar_items, (i * TAB_BAR_ITEM_NSLOTS f 14919 src/xdisp.c tty_handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14923 src/xdisp.c if (y < FRAME_MENU_BAR_LINES (f) f 14924 src/xdisp.c || y >= FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f)) f 14930 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &close_p); f 14935 src/xdisp.c if (NILP (AREF (f->tab_bar_items, f 14940 src/xdisp.c f->last_tab_bar_item = prop_idx; f 14942 src/xdisp.c f->last_tab_bar_item = -1; f 14947 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14949 src/xdisp.c AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14973 src/xdisp.c update_tool_bar (struct frame *f, bool save_match_data) f 14976 src/xdisp.c bool do_update = FRAME_EXTERNAL_TOOL_BAR (f); f 14978 src/xdisp.c bool do_update = (WINDOWP (f->tool_bar_window) f 14979 src/xdisp.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window)) > 0); f 14987 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 15032 src/xdisp.c XSETFRAME (frame, f); f 15034 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 15038 src/xdisp.c = tool_bar_items (Fcopy_sequence (f->tool_bar_items), f 15042 src/xdisp.c if (new_n_tool_bar != f->n_tool_bar_items f 15043 src/xdisp.c || NILP (Fequal (new_tool_bar, f->tool_bar_items))) f 15049 src/xdisp.c fset_tool_bar_items (f, new_tool_bar); f 15050 src/xdisp.c f->n_tool_bar_items = new_n_tool_bar; f 15071 src/xdisp.c build_desired_tool_bar_string (struct frame *f) f 15082 src/xdisp.c size = (STRINGP (f->desired_tool_bar_string) f 15083 src/xdisp.c ? SCHARS (f->desired_tool_bar_string) f 15087 src/xdisp.c size_needed = f->n_tool_bar_items; f 15091 src/xdisp.c if (size < size_needed || NILP (f->desired_tool_bar_string)) f 15094 src/xdisp.c fset_desired_tool_bar_string (f, make_uninit_string (size_needed)); f 15099 src/xdisp.c props, f->desired_tool_bar_string); f 15102 src/xdisp.c f->tool_bar_wraps_p = false; f 15107 src/xdisp.c for (i = 0; i < f->n_tool_bar_items; ++i) f 15110 src/xdisp.c AREF (f->tool_bar_items, i * TOOL_BAR_ITEM_NSLOTS + (IDX)) f 15120 src/xdisp.c SSET (f->desired_tool_bar_string, i, '\n'); f 15124 src/xdisp.c f->tool_bar_wraps_p = true; f 15129 src/xdisp.c SSET (f->desired_tool_bar_string, i, ' '); f 15234 src/xdisp.c if (i + 1 == f->n_tool_bar_items) f 15235 src/xdisp.c end = SCHARS (f->desired_tool_bar_string); f 15239 src/xdisp.c props, f->desired_tool_bar_string); f 15251 src/xdisp.c SSET (f->desired_tool_bar_string, i, ' '); f 15374 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 15407 src/xdisp.c tool_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 15409 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15422 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15423 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15441 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 15456 src/xdisp.c struct frame *f = decode_any_frame (frame); f 15458 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 15459 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tool_bar_window)) > 0) f 15461 src/xdisp.c update_tool_bar (f, true); f 15462 src/xdisp.c if (f->n_tool_bar_items) f 15464 src/xdisp.c build_desired_tool_bar_string (f); f 15465 src/xdisp.c height = tool_bar_height (f, NULL, !NILP (pixelwise)); f 15478 src/xdisp.c redisplay_tool_bar (struct frame *f) f 15486 src/xdisp.c f->tool_bar_redisplayed = true; f 15492 src/xdisp.c if (!WINDOWP (f->tool_bar_window) f 15493 src/xdisp.c || (w = XWINDOW (f->tool_bar_window), f 15501 src/xdisp.c f->tool_bar_resized = true; f 15514 src/xdisp.c build_desired_tool_bar_string (f); f 15515 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15516 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15526 src/xdisp.c if (f->n_tool_bar_rows == 0) f 15528 src/xdisp.c int new_height = tool_bar_height (f, &f->n_tool_bar_rows, true); f 15532 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15533 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15537 src/xdisp.c f->fonts_changed = true; f 15545 src/xdisp.c resize_frame_windows (f, FRAME_INNER_HEIGHT (f), false); f 15553 src/xdisp.c if (f->n_tool_bar_rows > 0) f 15560 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 15562 src/xdisp.c border = f->border_width; f 15568 src/xdisp.c rows = f->n_tool_bar_rows; f 15570 src/xdisp.c if (f->tool_bar_wraps_p) f 15632 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 15646 src/xdisp.c int new_height = tool_bar_height (f, &nrows, true); f 15649 src/xdisp.c && !f->minimize_tool_bar_window_p) f 15652 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15656 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15657 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15660 src/xdisp.c f->n_tool_bar_rows = nrows; f 15661 src/xdisp.c f->fonts_changed = true; f 15668 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15679 src/xdisp.c tool_bar_item_info (struct frame *f, struct glyph *glyph, int *prop_idx) f 15687 src/xdisp.c charpos = min (SCHARS (f->current_tool_bar_string), glyph->charpos); f 15694 src/xdisp.c Qmenu_item, f->current_tool_bar_string); f 15713 src/xdisp.c get_tool_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 15716 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15717 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15727 src/xdisp.c if (!tool_bar_item_info (f, *glyph, prop_idx)) f 15731 src/xdisp.c if (EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 15752 src/xdisp.c handle_tool_bar_click_with_device (struct frame *f, int x, int y, bool down_p, f 15755 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15756 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15770 src/xdisp.c ts = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15779 src/xdisp.c prop_idx = f->last_tool_bar_item; f 15782 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15791 src/xdisp.c f->last_tool_bar_item = prop_idx; f 15803 src/xdisp.c key = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_KEY); f 15805 src/xdisp.c XSETFRAME (frame, f); f 15812 src/xdisp.c f->last_tool_bar_item = -1; f 15817 src/xdisp.c handle_tool_bar_click (struct frame *f, int x, int y, bool down_p, f 15820 src/xdisp.c handle_tool_bar_click_with_device (f, x, y, down_p, modifiers, Qt); f 15828 src/xdisp.c note_tool_bar_highlight (struct frame *f, int x, int y) f 15830 src/xdisp.c Lisp_Object window = f->tool_bar_window; f 15832 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 15833 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15852 src/xdisp.c rc = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15867 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 15869 src/xdisp.c if (mouse_down_p && f->last_tool_bar_item != prop_idx) f 15875 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15906 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_HELP); f 15908 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_CAPTION); f 16024 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 16025 src/xdisp.c x_offset -= (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); f 16121 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) f 16122 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); f 16134 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); f 16148 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) f 16149 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); f 16154 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); f 16165 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) f 16167 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); f 16177 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16180 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16189 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16192 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16525 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 16767 src/xdisp.c struct frame *f = XFRAME (frame); f 16769 src/xdisp.c if (FRAME_REDISPLAY_P (f)) f 16773 src/xdisp.c if (f->fonts_changed) f 16775 src/xdisp.c adjust_frame_glyphs (f); f 16782 src/xdisp.c SET_FRAME_GARBAGED (f); f 16783 src/xdisp.c f->fonts_changed = false; f 16787 src/xdisp.c if (f != sf && f->cursor_type_changed) f 16788 src/xdisp.c fset_redisplay (f); f 16790 src/xdisp.c clear_desired_matrices (f); f 17162 src/xdisp.c struct frame *f = XFRAME (frame); f 17166 src/xdisp.c if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 17167 src/xdisp.c && !EQ (FRAME_TTY (f)->top_frame, frame)) f 17171 src/xdisp.c if (FRAME_WINDOW_P (f) || FRAME_TERMCAP_P (f) || f == sf) f 17175 src/xdisp.c = f->redisplay || !REDISPLAY_SOME_P (); f 17176 src/xdisp.c bool f_redisplay_flag = f->redisplay; f 17181 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17186 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 17187 src/xdisp.c FRAME_TERMINAL (f)->condemn_scroll_bars_hook (f); f 17189 src/xdisp.c if (FRAME_REDISPLAY_P (f) && !FRAME_OBSCURED_P (f)) f 17198 src/xdisp.c f->inhibit_clear_image_cache = true; f 17199 src/xdisp.c redisplay_windows (FRAME_ROOT_WINDOW (f)); f 17204 src/xdisp.c f->redisplay = true; f 17207 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17212 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 17213 src/xdisp.c FRAME_TERMINAL (f)->judge_scroll_bars_hook (f); f 17215 src/xdisp.c if (FRAME_REDISPLAY_P (f) && !FRAME_OBSCURED_P (f)) f 17218 src/xdisp.c if (f->fonts_changed) f 17220 src/xdisp.c adjust_frame_glyphs (f); f 17224 src/xdisp.c SET_FRAME_GARBAGED (f); f 17225 src/xdisp.c f->fonts_changed = false; f 17230 src/xdisp.c if (!f->already_hscrolled_p) f 17232 src/xdisp.c f->already_hscrolled_p = true; f 17234 src/xdisp.c && hscroll_windows (f->root_window)) f 17252 src/xdisp.c if (!f_redisplay_flag && f->redisplay) f 17263 src/xdisp.c if (FRAME_GARBAGED_P (f) f 17268 src/xdisp.c if (FRAME_WINDOW_P (f) f 17269 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 17270 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 17279 src/xdisp.c pending |= update_frame (f, false, false); f 17287 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 17289 src/xdisp.c fset_redisplay (f); f 17290 src/xdisp.c f->garbaged = false; f 17293 src/xdisp.c f->cursor_type_changed = false; f 17294 src/xdisp.c f->updated_p = true; f 17295 src/xdisp.c f->inhibit_clear_image_cache = false; f 17309 src/xdisp.c struct frame *f = XFRAME (frame); f 17310 src/xdisp.c if (f->updated_p) f 17312 src/xdisp.c f->redisplay = false; f 17313 src/xdisp.c f->garbaged = false; f 17314 src/xdisp.c mark_window_display_accurate (f->root_window, true); f 17315 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 17316 src/xdisp.c FRAME_TERMINAL (f)->frame_up_to_date_hook (f); f 17764 src/xdisp.c struct frame *f = XFRAME (frame); f 17765 src/xdisp.c if (FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) f 17766 src/xdisp.c (*FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) (f); f 19141 src/xdisp.c struct frame *f = XFRAME (w->frame); f 19171 src/xdisp.c && !f->cursor_type_changed f 19660 src/xdisp.c struct frame *f = XFRAME (w->frame); f 19673 src/xdisp.c FRAME_WINDOW_P (f)) > 0) f 19743 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20258 src/xdisp.c if (f->fonts_changed) f 20352 src/xdisp.c if (f->fonts_changed) f 20561 src/xdisp.c || f->cursor_type_changed f 20576 src/xdisp.c if (f->fonts_changed) f 20700 src/xdisp.c = WINDOW_TOTAL_LINES (w) * FRAME_LINE_HEIGHT (f) / frame_line_height; f 20734 src/xdisp.c && !FRAME_WINDOW_P (f) f 20757 src/xdisp.c f->fonts_changed = true; f 20768 src/xdisp.c f->fonts_changed = true; f 20779 src/xdisp.c f->fonts_changed = true; f 20785 src/xdisp.c if (f->fonts_changed) f 20800 src/xdisp.c && EQ (FRAME_SELECTED_WINDOW (f), window)) f 20804 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20807 src/xdisp.c redisplay_menu_p = FRAME_EXTERNAL_MENU_BAR (f); f 20809 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20813 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20819 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20821 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 20822 src/xdisp.c && (FRAME_TAB_BAR_LINES (f) > 0 f 20824 src/xdisp.c && redisplay_tab_bar (f)) f 20828 src/xdisp.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 20829 src/xdisp.c update_frame_tool_bar (f); f 20831 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 20832 src/xdisp.c && (FRAME_TOOL_BAR_LINES (f) > 0 f 20834 src/xdisp.c && redisplay_tool_bar (f)) f 20840 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20846 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20852 src/xdisp.c if (FRAME_WINDOW_P (f) f 20857 src/xdisp.c update_begin (f); f 20867 src/xdisp.c update_end (f); f 20894 src/xdisp.c if (FRAME_TERMINAL (f)->redeem_scroll_bar_hook) f 20895 src/xdisp.c (*FRAME_TERMINAL (f)->redeem_scroll_bar_hook) (w); f 20942 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20963 src/xdisp.c if (f->fonts_changed f 21048 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21065 src/xdisp.c !FRAME_WINDOW_P (f) f 21069 src/xdisp.c || f->cursor_type_changed f 21138 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21217 src/xdisp.c update_begin (f); f 21219 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21220 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21222 src/xdisp.c update_end (f); f 21354 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21385 src/xdisp.c update_begin (f); f 21387 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21388 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21390 src/xdisp.c update_end (f); f 21675 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21682 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 21690 src/xdisp.c frame_row = f->current_matrix->rows + WINDOW_TOP_EDGE_LINE (w); f 21835 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21877 src/xdisp.c if (windows_or_buffers_changed || f->cursor_type_changed) f 21895 src/xdisp.c if (!FRAME_WINDOW_P (f) f 21896 src/xdisp.c && (!FRAME_LINE_INS_DEL_OK (f) f 22110 src/xdisp.c if (FRAME_W32_P (f) && w32_use_visible_system_caret) f 22237 src/xdisp.c && !f->fonts_changed f 22242 src/xdisp.c && !f->fonts_changed f 22250 src/xdisp.c if (f->fonts_changed) f 22364 src/xdisp.c update_begin (f); f 22366 src/xdisp.c if (FRAME_WINDOW_P (f)) f 22370 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 22371 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 22394 src/xdisp.c set_terminal_window (f, end); f 22398 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22399 src/xdisp.c ins_del_lines (f, end - dvpos, -dvpos); f 22403 src/xdisp.c ins_del_lines (f, from, dvpos); f 22409 src/xdisp.c set_terminal_window (f, end); f 22415 src/xdisp.c ins_del_lines (f, from + dvpos, dvpos); f 22419 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22420 src/xdisp.c ins_del_lines (f, end + dvpos, -dvpos); f 22423 src/xdisp.c set_terminal_window (f, 0); f 22426 src/xdisp.c update_end (f); f 22451 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 22514 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 22887 src/xdisp.c struct frame *f = XFRAME (selected_frame); f 22889 src/xdisp.c if (f->current_matrix) f 22890 src/xdisp.c dump_glyph_matrix (f->current_matrix, 1); f 23039 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 23076 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); f 23106 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) f 23132 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23177 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 23200 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23224 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 23292 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23302 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); f 23412 src/xdisp.c || FRAME_WINDOW_P (it->f) f 23417 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); f 23420 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23423 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); f 23426 src/xdisp.c : FRAME_FONT (it->f)); f 23451 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23459 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23460 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); f 23469 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) f 23478 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23484 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); f 23492 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 23588 src/xdisp.c struct frame *f = it->f; f 23596 src/xdisp.c + (!FRAME_WINDOW_P (f) f 23613 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); f 23628 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p f 23632 src/xdisp.c if (FRAME_WINDOW_P (f) f 23638 src/xdisp.c && face->background == FRAME_BACKGROUND_PIXEL (f) f 23657 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); f 23661 src/xdisp.c if (FRAME_WINDOW_P (f)) f 23674 src/xdisp.c || (WINDOWP (f->tab_bar_window) f 23675 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) f 23677 src/xdisp.c || (WINDOWP (f->tool_bar_window) f 23678 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) f 23701 src/xdisp.c : FRAME_FONT (f)); f 23793 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (f); f 23869 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 23940 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 24047 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); f 24231 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 24243 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); f 24558 src/xdisp.c + (SCROLL_LIMIT + 10) * FRAME_LINE_HEIGHT (tem_it.f), f 24737 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); f 24950 src/xdisp.c it->f->fonts_changed = true; f 24971 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) f 24972 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); f 24991 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) f 24998 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); f 25004 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); f 25145 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) f 25287 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25296 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25374 src/xdisp.c && !FRAME_WINDOW_P (it->f)) f 25433 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) f 25466 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25523 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); f 25609 src/xdisp.c && ((FRAME_WINDOW_P (it->f) f 25622 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25656 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 25718 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25825 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) f 26426 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; f 26447 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); f 26459 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) f 26494 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) f 26696 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 26703 src/xdisp.c if (FRAME_W32_P (f)) f 26707 src/xdisp.c if (FRAME_PGTK_P (f)) f 26712 src/xdisp.c if (FRAME_X_P (f)) f 26717 src/xdisp.c if (FRAME_NS_P (f)) f 26722 src/xdisp.c if (FRAME_HAIKU_P (f)) f 26727 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 26728 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); f 26730 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 26733 src/xdisp.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); f 26735 src/xdisp.c if (FRAME_WINDOW_P (f)) f 26739 src/xdisp.c menu_window = XWINDOW (f->menu_bar_window); f 26749 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, f 26752 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 26761 src/xdisp.c for (i = 0; i < FRAME_MENU_BAR_LINES (f); ++i) f 26771 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); f 26827 src/xdisp.c if (FRAME_WINDOW_P (it.f) && menu_window) f 26839 src/xdisp.c FRAME_MENU_BAR_HEIGHT (it.f) += delta_height; f 26840 src/xdisp.c adjust_frame_size (it.f, -1, -1, 3, false, Qmenu_bar_lines); f 26903 src/xdisp.c struct frame *f = SELECTED_FRAME (); f 26904 src/xdisp.c struct window *w = XWINDOW (f->selected_window); f 26908 src/xdisp.c eassert (FRAME_TERMCAP_P (f)); f 26915 src/xdisp.c if (y >= f->desired_matrix->nrows) f 26918 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); f 26920 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; f 26923 src/xdisp.c deep_copy_glyph_row (row, f->current_matrix->rows + y); f 26932 src/xdisp.c eassert (x < f->desired_matrix->matrix_w); f 26949 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); f 26955 src/xdisp.c item_len, 0, FRAME_COLS (f) - 1, -1); f 26959 src/xdisp.c FRAME_COLS (f) - 1, -1); f 26963 src/xdisp.c width, 0, FRAME_COLS (f) - 1, -1); f 27163 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 27231 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); f 27665 src/xdisp.c if (!FRAME_LIVE_P (it->f)) f 27972 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 28240 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 28241 src/xdisp.c char *decode_mode_spec_buf = f->decode_mode_spec_buffer; f 28247 src/xdisp.c int width = min (field_width, FRAME_MESSAGE_BUF_SIZE (f)); f 28318 src/xdisp.c for (i = 0; i < FRAME_MESSAGE_BUF_SIZE (f) - 1; ++i) f 28363 src/xdisp.c if (!NILP (f->title)) f 28364 src/xdisp.c return SSDATA (f->title); f 28365 src/xdisp.c if (f->explicit_name || ! FRAME_WINDOW_P (f)) f 28366 src/xdisp.c return SSDATA (f->name); f 28648 src/xdisp.c if (! FRAME_WINDOW_P (f)) f 28653 src/xdisp.c (FRAME_KEYBOARD_CODING (f)->id), f 28656 src/xdisp.c (FRAME_TERMINAL_CODING (f)->id), f 28886 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 29028 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 29081 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 29264 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); f 29283 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) f 29284 src/xdisp.c : FRAME_RES_Y (it->f)); f 29297 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29304 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); f 29383 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) f 29384 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29399 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 29402 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); f 29403 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); f 29408 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) f 29518 src/xdisp.c # define ALLOCATE_HDC(hdc, f) \ f 29521 src/xdisp.c HDC hdc = get_frame_dc ((f)) f 29522 src/xdisp.c # define RELEASE_HDC(hdc, f) \ f 29523 src/xdisp.c release_frame_dc ((f), (hdc)); \ f 29526 src/xdisp.c # define ALLOCATE_HDC(hdc, f) f 29527 src/xdisp.c # define RELEASE_HDC(hdc, f) f 29540 src/xdisp.c s->f = XFRAME (w->frame); f 29613 src/xdisp.c get_char_face_and_encoding (struct frame *f, int c, int face_id, f 29616 src/xdisp.c struct face *face = FACE_FROM_ID (f, face_id); f 29635 src/xdisp.c prepare_face_for_display (f, face); f 29647 src/xdisp.c get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph, f 29654 src/xdisp.c face = FACE_FROM_ID (f, glyph->face_id); f 29657 src/xdisp.c prepare_face_for_display (f, face); f 29731 src/xdisp.c int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c, f 29734 src/xdisp.c face = get_char_face_and_encoding (s->f, c, face_id, f 29764 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29765 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29767 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29769 src/xdisp.c s->face = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, c, -1, Qnil)); f 29770 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29784 src/xdisp.c s->font = FRAME_FONT (s->f); f 29817 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29818 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29820 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29821 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29824 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29881 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29882 src/xdisp.c s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); f 29889 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29890 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29892 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29893 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29929 src/xdisp.c eassert (s->f == XFRAME (s->w->frame)); f 29947 src/xdisp.c s->face = get_glyph_face_and_encoding (s->f, glyph, f 29964 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29965 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29967 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29969 src/xdisp.c = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, f 29971 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29981 src/xdisp.c s->font = FRAME_FONT (s->f); f 29998 src/xdisp.c s->img = IMAGE_FROM_ID (s->f, s->first_glyph->u.img_id); f 30001 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 30009 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30010 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30012 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30013 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30027 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 30035 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30036 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30038 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30039 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30064 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 30072 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 30073 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 30075 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 30076 src/xdisp.c prepare_face_for_display (s->f, s->face); f 30169 src/xdisp.c gui_get_glyph_overhangs (struct glyph *glyph, struct frame *f, int *left, int *right) f 30176 src/xdisp.c struct face *face = get_glyph_face_and_encoding (f, glyph, &char2b); f 30259 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30314 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30356 src/xdisp.c if (FRAME_WINDOW_P (s->f) f 30367 src/xdisp.c struct face *regular_face = FACE_FROM_ID (s->f, g->face_id); f 30404 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30405 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30416 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30417 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30542 src/xdisp.c struct face *base_face = FACE_FROM_ID (f, face_id); \ f 30718 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 30720 src/xdisp.c ALLOCATE_HDC (hdc, f); f 30764 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 30790 src/xdisp.c if (FRAME_RIF (f)->compute_glyph_string_overhangs) f 30792 src/xdisp.c FRAME_RIF (f)->compute_glyph_string_overhangs (s); f 30922 src/xdisp.c FRAME_RIF (f)->draw_glyph_string (s); f 30950 src/xdisp.c RELEASE_HDC (hdc, f); f 30970 src/xdisp.c struct face *prev_face = FACE_FROM_ID (s->f, g->face_id); f 30982 src/xdisp.c return FACE_FROM_ID (s->f, g[1].face_id)->font; f 30991 src/xdisp.c if (!it->f->fonts_changed \ f 30996 src/xdisp.c it->f->fonts_changed = true; \ f 31196 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 31198 src/xdisp.c prepare_face_for_display (it->f, face); f 31210 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); f 31212 src/xdisp.c prepare_image_for_display (it->f, img); f 31370 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 31372 src/xdisp.c prepare_face_for_display (it->f, face); f 31609 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31611 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 31612 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 31613 src/xdisp.c prepare_face_for_display (it->f, face); f 31648 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) f 31649 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, f 31707 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); f 31714 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31757 src/xdisp.c width -= FRAME_WINDOW_P (it->f); f 31771 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31787 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31852 src/xdisp.c if (FRAME_WINDOW_P (temp_it.f) f 31869 src/xdisp.c struct face *face = FACE_FROM_ID (temp_it.f, temp_it.face_id); f 31871 src/xdisp.c face->font ? face->font : FRAME_FONT (temp_it.f); f 31908 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f)); f 31961 src/xdisp.c font = FRAME_FONT (it->f); f 31962 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); f 31973 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); f 31974 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 31979 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32113 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 32116 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); f 32151 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); f 32152 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 32153 src/xdisp.c prepare_face_for_display (it->f, face); f 32274 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32294 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32631 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32688 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32699 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, f 32752 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); f 32753 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); f 32760 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, f 32923 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 33045 src/xdisp.c struct frame *f; f 33054 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 33074 src/xdisp.c FRAME_RIF (f)->shift_glyphs_for_insert (f, frame_x, frame_y, shifted_region_width, f 33102 src/xdisp.c struct frame *f; f 33108 src/xdisp.c f = XFRAME (w->frame); f 33109 src/xdisp.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 33159 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, from_x, from_y, f 33229 src/xdisp.c set_frame_cursor_types (struct frame *f, Lisp_Object arg) f 33234 src/xdisp.c FRAME_DESIRED_CURSOR (f) = get_specified_cursor_type (arg, &width); f 33235 src/xdisp.c FRAME_CURSOR_WIDTH (f) = width; f 33242 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) f 33244 src/xdisp.c FRAME_BLINK_OFF_CURSOR_WIDTH (f) = width; f 33247 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; f 33250 src/xdisp.c f->cursor_type_changed = true; f 33271 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33281 src/xdisp.c && FRAME_HAS_MINIBUF_P (f) f 33282 src/xdisp.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 33288 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 33289 src/xdisp.c return FRAME_DESIRED_CURSOR (f); f 33300 src/xdisp.c else if (w != XWINDOW (f->selected_window) f 33301 src/xdisp.c || f != FRAME_DISPLAY_INFO (f)->highlight_frame) f 33320 src/xdisp.c cursor_type = FRAME_DESIRED_CURSOR (f); f 33321 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 33354 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 33388 src/xdisp.c if (FRAME_BLINK_OFF_CURSOR (f) != DEFAULT_CURSOR) f 33390 src/xdisp.c *width = FRAME_BLINK_OFF_CURSOR_WIDTH (f); f 33391 src/xdisp.c return FRAME_BLINK_OFF_CURSOR (f); f 33591 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33592 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 33702 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, x, y, width, cursor_row->visible_height); f 33726 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33737 src/xdisp.c if (! FRAME_REDISPLAY_P (f) f 33763 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 33826 src/xdisp.c FRAME_RIF (f)->draw_window_cursor (w, glyph_row, x, y, f 33891 src/xdisp.c gui_update_cursor (struct frame *f, bool on_p) f 33893 src/xdisp.c update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); f 33942 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 33945 src/xdisp.c if (f != hlinfo->mouse_face_mouse_frame) f 34047 src/xdisp.c if (FRAME_WINDOW_P (f) f 34076 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (track_mouse)) f 34080 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tool_bar_window) f 34082 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tab_bar_window)) f 34083 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->text_cursor); f 34086 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->hand_cursor); f 34088 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->nontext_cursor); f 35023 src/xdisp.c define_frame_cursor1 (struct frame *f, Emacs_Cursor cursor, Lisp_Object pointer) f 35026 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 35037 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35039 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35041 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 35043 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35045 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35048 src/xdisp.c cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 35051 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hourglass_cursor; f 35053 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->modeline_cursor; f 35055 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35059 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, cursor); f 35074 src/xdisp.c struct frame *f = XFRAME (w->frame); f 35075 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35205 src/xdisp.c if (FRAME_WINDOW_P (f)) f 35213 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35229 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35233 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35236 src/xdisp.c && !FRAME_HAS_MINIBUF_P (f) f 35246 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35248 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35395 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 35408 src/xdisp.c note_mouse_highlight (struct frame *f, int x, int y) f 35410 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35430 src/xdisp.c if (!f->glyphs_initialized_p f 35431 src/xdisp.c || f->pointer_invisible) f 35436 src/xdisp.c hlinfo->mouse_face_mouse_frame = f; f 35442 src/xdisp.c window = window_from_coordinates (f, x, y, &part, true, true); f 35459 src/xdisp.c if (!FRAME_WINDOW_P (f) f 35460 src/xdisp.c && (y >= FRAME_MENU_BAR_LINES (f) f 35461 src/xdisp.c && y < FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f))) f 35465 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &ignore); f 35471 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, f 35482 src/xdisp.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 35483 src/xdisp.c && !NILP (get_frame_param (f, Qdrag_internal_border))) f 35485 src/xdisp.c enum internal_border_part part = frame_internal_border_part (f, x, y); f 35490 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35492 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35495 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->left_edge_cursor; f 35498 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_left_corner_cursor; f 35501 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_edge_cursor; f 35504 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_right_corner_cursor; f 35507 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->right_edge_cursor; f 35510 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_right_corner_cursor; f 35513 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_edge_cursor; f 35516 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_left_corner_cursor; f 35520 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35521 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35524 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35544 src/xdisp.c if (EQ (window, f->tab_bar_window)) f 35546 src/xdisp.c note_tab_bar_highlight (f, x, y); f 35549 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35561 src/xdisp.c f->last_tab_bar_item = -1; f 35568 src/xdisp.c if (EQ (window, f->tool_bar_window)) f 35570 src/xdisp.c note_tool_bar_highlight (f, x, y); f 35584 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35596 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35602 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35611 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35616 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35620 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35622 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 35648 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 35709 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 35713 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35988 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 36035 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 36063 src/xdisp.c cancel_mouse_face (struct frame *f) f 36066 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 36069 src/xdisp.c if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f) f 36252 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 36262 src/xdisp.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f) || FRAME_RIGHT_DIVIDER_WIDTH (f)) f 36279 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); f 36293 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x0, y0, y1); f 36303 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 36322 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36329 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 36354 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36366 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36382 src/xdisp.c SET_FRAME_GARBAGED (f); f 36528 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36531 src/xdisp.c while (w && !FRAME_GARBAGED_P (f)) f 36552 src/xdisp.c expose_frame (struct frame *f, int x, int y, int w, int h) f 36557 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 36566 src/xdisp.c if (FRAME_FACE_CACHE (f) == NULL f 36567 src/xdisp.c || FRAME_FACE_CACHE (f)->used < BASIC_FACE_ID_SENTINEL) f 36576 src/xdisp.c r.width = FRAME_TEXT_WIDTH (f); f 36577 src/xdisp.c r.height = FRAME_TEXT_HEIGHT (f); f 36589 src/xdisp.c mouse_face_overwritten_p = expose_window_tree (XWINDOW (f->root_window), &r); f 36591 src/xdisp.c if (WINDOWP (f->tab_bar_window)) f 36593 src/xdisp.c |= expose_window (XWINDOW (f->tab_bar_window), &r); f 36596 src/xdisp.c if (WINDOWP (f->tool_bar_window)) f 36598 src/xdisp.c |= expose_window (XWINDOW (f->tool_bar_window), &r); f 36602 src/xdisp.c if (WINDOWP (f->menu_bar_window)) f 36604 src/xdisp.c |= expose_window (XWINDOW (f->menu_bar_window), &r); f 36620 src/xdisp.c if (mouse_face_overwritten_p && !FRAME_GARBAGED_P (f)) f 36622 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 36623 src/xdisp.c if (f == hlinfo->mouse_face_mouse_frame) f 36628 src/xdisp.c note_mouse_highlight (f, mouse_x, mouse_y); f 37845 src/xdisp.c struct frame *f = XFRAME (frame); f 37846 src/xdisp.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 37850 src/xdisp.c r->top_line = FRAME_TOP_MARGIN (f); f 37851 src/xdisp.c r->pixel_top = r->top_line * FRAME_LINE_HEIGHT (f); f 37852 src/xdisp.c r->total_cols = FRAME_COLS (f); f 37853 src/xdisp.c r->pixel_width = r->total_cols * FRAME_COLUMN_WIDTH (f); f 37854 src/xdisp.c r->total_lines = FRAME_TOTAL_LINES (f) - 1 - FRAME_MARGINS (f); f 37855 src/xdisp.c r->pixel_height = r->total_lines * FRAME_LINE_HEIGHT (f); f 37857 src/xdisp.c m->top_line = FRAME_TOTAL_LINES (f) - 1; f 37858 src/xdisp.c m->pixel_top = m->top_line * FRAME_LINE_HEIGHT (f); f 37859 src/xdisp.c m->total_cols = FRAME_COLS (f); f 37860 src/xdisp.c m->pixel_width = m->total_cols * FRAME_COLUMN_WIDTH (f); f 37862 src/xdisp.c m->pixel_height = m->total_lines * FRAME_LINE_HEIGHT (f); f 37908 src/xdisp.c struct frame *f = XFRAME (frame); f 37910 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37911 src/xdisp.c && FRAME_RIF (f)->show_hourglass) f 37912 src/xdisp.c FRAME_RIF (f)->show_hourglass (f); f 37964 src/xdisp.c struct frame *f = XFRAME (frame); f 37966 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37967 src/xdisp.c && FRAME_RIF (f)->hide_hourglass) f 37968 src/xdisp.c FRAME_RIF (f)->hide_hourglass (f); f 37971 src/xdisp.c else if (!FRAME_W32_P (f)) f 38058 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 38059 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 38061 src/xdisp.c struct face *mouse_face = FACE_FROM_ID (f, hlinfo->mouse_face_face_id); f 38088 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 1622 src/xmenu.c prepare_for_entry_into_toolkit_menu (struct frame *f) f 1630 src/xmenu.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1647 src/xmenu.c f = XFRAME (frame); f 1649 src/xmenu.c if (FRAME_X_P (f) f 1650 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1651 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1652 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1665 src/xmenu.c struct frame *f; f 1699 src/xmenu.c f = XFRAME (frame); f 1701 src/xmenu.c if (FRAME_X_P (f) f 1702 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1703 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1704 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1743 src/xmenu.c create_and_show_popup_menu (struct frame *f, widget_value *first_wv, f 1758 src/xmenu.c eassert (FRAME_X_P (f)); f 1761 src/xmenu.c apply_systemfont_to_menu (f, f->output_data.x->widget); f 1766 src/xmenu.c f->output_data.x->widget, true, 0, f 1774 src/xmenu.c event->display = FRAME_X_DISPLAY (f); f 1776 src/xmenu.c event->root = FRAME_DISPLAY_INFO (f)->root_window; f 1783 src/xmenu.c x += FRAME_LEFT_SCROLL_BAR_AREA_WIDTH (f); f 1784 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 1793 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->grabbed & (1 << i)) f 1801 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1809 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 1834 src/xmenu.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 1839 src/xmenu.c (XPointer) &(XID[]) {FRAME_OUTER_WINDOW (f), property_atom}); f 1847 src/xmenu.c prepare_for_entry_into_toolkit_menu (f); f 1873 src/xmenu.c record_unwind_protect_ptr (leave_toolkit_menu, f); f 1877 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), menu_id, true); f 1892 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 1911 src/xmenu.c eassert (FRAME_X_P (f)); f 2097 src/xmenu.c create_and_show_popup_menu (f, first_wv, x, y, f 2188 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2192 src/xmenu.c eassert (FRAME_X_P (f)); f 2194 src/xmenu.c menu = xg_create_widget ("dialog", first_wv->name, f, first_wv, f 2236 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2240 src/xmenu.c eassert (FRAME_X_P (f)); f 2244 src/xmenu.c apply_systemfont_to_dialog (f->output_data.x->widget); f 2247 src/xmenu.c f->output_data.x->widget, true, 0, f 2266 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), dialog_id, true); f 2279 src/xmenu.c x_dialog_show (struct frame *f, Lisp_Object title, f 2294 src/xmenu.c eassert (FRAME_X_P (f)); f 2400 src/xmenu.c create_and_show_dialog (f, first_wv); f 2439 src/xmenu.c xw_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 2446 src/xmenu.c check_window_system (f); f 2463 src/xmenu.c selection = x_dialog_show (f, title, header, &error_name); f 2522 src/xmenu.c struct frame *f = data->frame; f 2531 src/xmenu.c XUngrabPointer (FRAME_X_DISPLAY (f), CurrentTime); f 2532 src/xmenu.c XUngrabKeyboard (FRAME_X_DISPLAY (f), CurrentTime); f 2534 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2539 src/xmenu.c x_mouse_leave (FRAME_DISPLAY_INFO (f)); f 2545 src/xmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 2551 src/xmenu.c for (i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 2553 src/xmenu.c device = &FRAME_DISPLAY_INFO (f)->devices[i]; f 2567 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 2584 src/xmenu.c eassert (FRAME_X_P (f) || FRAME_MSDOS_P (f)); f 2600 src/xmenu.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &root, f 2605 src/xmenu.c menu = XMenuCreate (FRAME_X_DISPLAY (f), root, "emacs"); f 2618 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 2621 src/xmenu.c x += f->left_pos; f 2622 src/xmenu.c y += f->top_pos; f 2645 src/xmenu.c lpane = XMenuAddPane (FRAME_X_DISPLAY (f), menu, pane_string, true); f 2648 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2705 src/xmenu.c || (XMenuAddSelection (FRAME_X_DISPLAY (f), f 2710 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2722 src/xmenu.c XMenuRecompute (FRAME_X_DISPLAY (f), menu); f 2723 src/xmenu.c dispwidth = DisplayWidth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2724 src/xmenu.c dispheight = DisplayHeight (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2729 src/xmenu.c XMenuLocate (FRAME_X_DISPLAY (f), menu, 0, 0, x, y, f 2742 src/xmenu.c if (FRAME_HAS_MINIBUF_P (f) && uly + height > dispheight - 1) f 2777 src/xmenu.c FRAME_X_DISPLAY (f)); f 2789 src/xmenu.c &(struct pop_down_menu) {f, menu}); f 2793 src/xmenu.c menu_help_frame = f; f 2796 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2800 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 2817 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 2904 src/xterm.c struct frame *f, Window wdesc, f 2914 src/xterm.c lmsg.source_window = FRAME_X_WINDOW (f); f 2917 src/xterm.c xm_send_top_level_leave_message (dpyinfo, FRAME_X_WINDOW (f), f 4014 src/xterm.c struct frame *f; f 4016 src/xterm.c f = decode_window_system_frame (frame); f 4062 src/xterm.c if (owner != FRAME_X_WINDOW (f)) f 4173 src/xterm.c struct frame *tooltip, *f; f 4196 src/xterm.c f = x_top_window_to_frame (dpyinfo, child); f 4202 src/xterm.c if (f) f 4350 src/xterm.c f = x_top_window_to_frame (dpyinfo, child_return); f 4352 src/xterm.c if (f) f 4564 src/xterm.c x_dnd_send_enter (struct frame *f, Window target, Window toplevel, f 4567 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4575 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4587 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4597 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4602 src/xterm.c x_dnd_send_position (struct frame *f, Window target, Window toplevel, f 4607 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4614 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4669 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4677 src/xterm.c x_dnd_send_leave (struct frame *f, Window target, Window toplevel) f 4679 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4686 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4696 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4701 src/xterm.c x_dnd_send_drop (struct frame *f, Window target, Window toplevel, f 4709 src/xterm.c x_dnd_send_leave (f, target, toplevel); f 4713 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4719 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4729 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4798 src/xterm.c x_restore_events_after_dnd (struct frame *f, XWindowAttributes *wa) f 4802 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4814 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4819 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4833 src/xterm.c struct frame *f; f 4838 src/xterm.c f = x_dnd_frame; f 4853 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4855 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4862 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4864 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4866 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4867 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4888 src/xterm.c struct frame *f = frame; f 4912 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4914 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4921 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4923 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4925 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4926 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4939 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 4948 src/xterm.c x_restore_events_after_dnd (f, &x_dnd_old_window_attrs); f 4960 src/xterm.c struct frame *f; f 4963 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4965 src/xterm.c if (f) f 4967 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4969 src/xterm.c x_dnd_movement_frame = f; f 4982 src/xterm.c struct frame *f; f 4988 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4990 src/xterm.c if (f) f 4992 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4994 src/xterm.c x_dnd_wheel_frame = f; f 5011 src/xterm.c struct frame *f; f 5022 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 5024 src/xterm.c if (!f) f 5030 src/xterm.c x_translate_coordinates (f, root_x, root_y, &win_x, &win_y); f 5036 src/xterm.c XSETFRAME (lval, f); f 5052 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 5072 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist), f 5093 src/xterm.c x_flush (struct frame *f) f 5095 src/xterm.c eassert (f && FRAME_X_P (f)); f 5102 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 5108 src/xterm.c x_drop_xrender_surfaces (struct frame *f) f 5110 src/xterm.c font_drop_xrender_surfaces (f); f 5113 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f) f 5114 src/xterm.c && FRAME_X_PICTURE (f) != None) f 5116 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 5117 src/xterm.c FRAME_X_PICTURE (f)); f 5118 src/xterm.c FRAME_X_PICTURE (f) = None; f 5126 src/xterm.c x_xr_ensure_picture (struct frame *f) f 5128 src/xterm.c if (FRAME_X_PICTURE (f) == None && FRAME_X_PICTURE_FORMAT (f)) f 5132 src/xterm.c XRenderPictFormat *fmt = FRAME_X_PICTURE_FORMAT (f); f 5134 src/xterm.c FRAME_X_PICTURE (f) = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 5135 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 5179 src/xterm.c x_toolkit_position (struct frame *f, int x, int y, f 5186 src/xterm.c y += (FRAME_MENUBAR_HEIGHT (f) f 5187 src/xterm.c + FRAME_TOOLBAR_TOP_HEIGHT (f)); f 5188 src/xterm.c x += FRAME_TOOLBAR_LEFT_WIDTH (f); f 5190 src/xterm.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 5191 src/xterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 5192 src/xterm.c && y >= 0 && y < FRAME_MENUBAR_HEIGHT (f)); f 5194 src/xterm.c if (FRAME_X_OUTPUT (f)->toolbar_widget) f 5196 src/xterm.c scale = xg_get_scale (f); f 5202 src/xterm.c *tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 5206 src/xterm.c *menu_bar_p = (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5207 src/xterm.c && (y < 0 && y >= -FRAME_MENUBAR_HEIGHT (f))); f 5209 src/xterm.c *menu_bar_p = (WINDOWP (f->menu_bar_window) f 5210 src/xterm.c && (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5211 src/xterm.c && (y > 0 && y < FRAME_MENU_BAR_HEIGHT (f)))); f 5216 src/xterm.c x_update_opaque_region (struct frame *f, XEvent *configure) f 5221 src/xterm.c : FRAME_PIXEL_WIDTH (f)), f 5224 src/xterm.c : FRAME_PIXEL_HEIGHT (f))}; f 5230 src/xterm.c if (!FRAME_DISPLAY_INFO (f)->alpha_bits) f 5233 src/xterm.c if (f->alpha_background < 1.0) f 5234 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5235 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5240 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5241 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5245 src/xterm.c else if (FRAME_TOOLTIP_P (f)) f 5246 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5247 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5254 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 5256 src/xterm.c object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); f 5260 src/xterm.c class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); f 5277 src/xterm.c x_gc_get_ext_data (struct frame *f, GC gc, int create_if_not_found_p) f 5279 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5313 src/xterm.c #define FRAME_CR_CONTEXT(f) ((f)->output_data.x->cr_context) f 5314 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_WIDTH(f) \ f 5315 src/xterm.c ((f)->output_data.x->cr_surface_desired_width) f 5316 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_HEIGHT(f) \ f 5317 src/xterm.c ((f)->output_data.x->cr_surface_desired_height) f 5328 src/xterm.c xi_frame_selected_for (struct frame *f, unsigned long event) f 5333 src/xterm.c masks = FRAME_X_OUTPUT (f)->xi_masks; f 5338 src/xterm.c for (i = 0; i < FRAME_X_OUTPUT (f)->num_xi_masks; ++i) f 5891 src/xterm.c xi_unlink_touch_points (struct frame *f) f 5897 src/xterm.c for (i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 5899 src/xterm.c device = &FRAME_DISPLAY_INFO (f)->devices[i]; f 5905 src/xterm.c if (last->frame == f) f 5975 src/xterm.c x_cr_destroy_frame_context (struct frame *f) f 5977 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 5979 src/xterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 5980 src/xterm.c FRAME_CR_CONTEXT (f) = NULL; f 5985 src/xterm.c x_cr_update_surface_desired_size (struct frame *f, int width, int height) f 5987 src/xterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 5988 src/xterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height) f 5990 src/xterm.c x_cr_destroy_frame_context (f); f 5991 src/xterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 5992 src/xterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 5997 src/xterm.c x_cr_gc_clip (cairo_t *cr, struct frame *f, GC gc) f 6001 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6016 src/xterm.c x_begin_cr_clip (struct frame *f, GC gc) f 6018 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 6022 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 6023 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 6026 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xcb_visual) f 6027 src/xterm.c surface = cairo_xcb_surface_create (FRAME_DISPLAY_INFO (f)->xcb_connection, f 6028 src/xterm.c (xcb_drawable_t) FRAME_X_RAW_DRAWABLE (f), f 6029 src/xterm.c FRAME_DISPLAY_INFO (f)->xcb_visual, f 6033 src/xterm.c surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 6034 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 6035 src/xterm.c FRAME_X_VISUAL (f), f 6038 src/xterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 6042 src/xterm.c x_cr_gc_clip (cr, f, gc); f 6048 src/xterm.c x_end_cr_clip (struct frame *f) f 6050 src/xterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 6052 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 6053 src/xterm.c x_mark_frame_dirty (f); f 6058 src/xterm.c x_set_cr_source_with_gc_foreground (struct frame *f, GC gc, f 6065 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 6067 src/xterm.c x_query_colors (f, &color, 1); f 6068 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 6070 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 6073 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6075 src/xterm.c f->alpha_background); f 6077 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 6081 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6083 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 6088 src/xterm.c x_set_cr_source_with_gc_background (struct frame *f, GC gc, f 6095 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 6098 src/xterm.c x_query_colors (f, &color, 1); f 6100 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 6102 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 6105 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6107 src/xterm.c f->alpha_background); f 6109 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 6113 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 6115 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 6133 src/xterm.c x_try_cr_xlib_drawable (struct frame *f, GC gc) f 6135 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 6160 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 6161 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 6169 src/xterm.c pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_RAW_DRAWABLE (f), f 6171 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f))); f 6172 src/xterm.c xlib_surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 6173 src/xterm.c pixmap, FRAME_X_VISUAL (f), f 6185 src/xterm.c x_cr_gc_clip (buf, f, gc); f 6190 src/xterm.c (void *) (uintptr_t) FRAME_X_RAW_DRAWABLE (f), NULL); f 6191 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = pixmap; f 6198 src/xterm.c x_end_cr_xlib_drawable (struct frame *f, GC gc) f 6200 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 6209 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6224 src/xterm.c x_cr_gc_clip (cr, f, gc); f 6228 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = saved_drawable; f 6291 src/xterm.c x_cr_draw_image (struct frame *f, GC gc, cairo_pattern_t *image, f 6295 src/xterm.c cairo_t *cr = x_begin_cr_clip (f, gc); f 6301 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6318 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6323 src/xterm.c x_end_cr_clip (f); f 6327 src/xterm.c x_cr_draw_frame (cairo_t *cr, struct frame *f) f 6331 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6332 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6334 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6335 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6336 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6337 src/xterm.c expose_frame (f, 0, 0, width, height); f 6338 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6363 src/xterm.c struct frame *f; f 6374 src/xterm.c f = XFRAME (XCAR (frames)); f 6376 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6377 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6417 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6418 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6419 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6420 src/xterm.c expose_frame (f, 0, 0, width, height); f 6421 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6427 src/xterm.c f = XFRAME (XCAR (frames)); f 6429 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6430 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6458 src/xterm.c x_xr_apply_ext_clip (struct frame *f, GC gc) f 6460 src/xterm.c eassert (FRAME_X_PICTURE (f) != None); f 6462 src/xterm.c struct x_gc_ext_data *data = x_gc_get_ext_data (f, gc, 1); f 6465 src/xterm.c XRenderSetPictureClipRectangles (FRAME_X_DISPLAY (f), f 6466 src/xterm.c FRAME_X_PICTURE (f), f 6472 src/xterm.c x_xr_reset_ext_clip (struct frame *f) f 6476 src/xterm.c XRenderChangePicture (FRAME_X_DISPLAY (f), f 6477 src/xterm.c FRAME_X_PICTURE (f), f 6484 src/xterm.c x_set_clip_rectangles (struct frame *f, GC gc, XRectangle *rectangles, int n) f 6486 src/xterm.c XSetClipRectangles (FRAME_X_DISPLAY (f), gc, 0, 0, rectangles, n, Unsorted); f 6491 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 1); f 6500 src/xterm.c x_reset_clip_rectangles (struct frame *f, GC gc) f 6502 src/xterm.c XSetClipMask (FRAME_X_DISPLAY (f), gc, None); f 6505 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6516 src/xterm.c x_xrender_color_from_gc_foreground (struct frame *f, GC gc, XRenderColor *color, f 6522 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 6524 src/xterm.c x_query_colors (f, &xc, 1); f 6527 src/xterm.c ? 65535 * f->alpha_background f 6546 src/xterm.c x_xrender_color_from_gc_background (struct frame *f, GC gc, XRenderColor *color, f 6552 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 6554 src/xterm.c x_query_colors (f, &xc, 1); f 6557 src/xterm.c ? 65535 * f->alpha_background f 6576 src/xterm.c x_fill_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6580 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6584 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6593 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6601 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6605 src/xterm.c cairo_pattern_t *pattern = x_bitmap_stipple (f, xgcv.stipple); f 6608 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6613 src/xterm.c x_end_cr_clip (f); f 6617 src/xterm.c && f->alpha_background != 1.0 f 6618 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6619 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6621 src/xterm.c x_xr_ensure_picture (f); f 6623 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6634 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6637 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), f 6641 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 10)) f 6643 src/xterm.c x_xrender_color_from_gc_background (f, gc, &alpha, true); f 6644 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6647 src/xterm.c stipple = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 6649 src/xterm.c XRenderFindStandardFormat (FRAME_X_DISPLAY (f), f 6653 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), PictOpSrc, f 6654 src/xterm.c FRAME_X_PICTURE (f), f 6657 src/xterm.c fill = XRenderCreateSolidFill (FRAME_X_DISPLAY (f), &xc); f 6659 src/xterm.c XRenderComposite (FRAME_X_DISPLAY (f), PictOpOver, fill, stipple, f 6660 src/xterm.c FRAME_X_PICTURE (f), 0, 0, x, y, x, y, width, height); f 6662 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), stipple); f 6663 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), fill); f 6668 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6669 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6670 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6673 src/xterm.c x_xr_reset_ext_clip (f); f 6674 src/xterm.c x_mark_frame_dirty (f); f 6680 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6690 src/xterm.c x_clear_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6696 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6697 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6700 src/xterm.c x_end_cr_clip (f); f 6704 src/xterm.c && f->alpha_background != 1.0 f 6705 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6706 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6708 src/xterm.c x_xr_ensure_picture (f); f 6710 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6714 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6715 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 6716 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6717 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6719 src/xterm.c x_xr_reset_ext_clip (f); f 6720 src/xterm.c x_mark_frame_dirty (f); f 6728 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6731 src/xterm.c XFillRectangle (dpy, FRAME_X_DRAWABLE (f), f 6738 src/xterm.c x_draw_rectangle (struct frame *f, GC gc, int x, int y, int width, int height) f 6743 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6744 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6748 src/xterm.c x_end_cr_clip (f); f 6750 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6756 src/xterm.c x_clear_window (struct frame *f) f 6761 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 6762 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, true); f 6764 src/xterm.c x_end_cr_clip (f); f 6767 src/xterm.c if (f->alpha_background != 1.0 f 6769 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 6773 src/xterm.c x_clear_area (f, 0, 0, FRAME_PIXEL_WIDTH (f), f 6774 src/xterm.c FRAME_PIXEL_HEIGHT (f)); f 6777 src/xterm.c XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 6784 src/xterm.c x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y, f 6789 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6790 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6796 src/xterm.c x_end_cr_clip (f); f 6809 src/xterm.c x_erase_corners_for_relief (struct frame *f, GC gc, int x, int y, f 6816 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6817 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6838 src/xterm.c x_end_cr_clip (f); f 6842 src/xterm.c x_draw_horizontal_wave (struct frame *f, GC gc, int x, int y, f 6849 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6850 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6879 src/xterm.c x_end_cr_clip (f); f 6899 src/xterm.c x_find_topmost_parent (struct frame *f) f 6901 src/xterm.c struct x_output *x = f->output_data.x; f 6903 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6905 src/xterm.c while (wi != FRAME_DISPLAY_INFO (f)->root_window) f 6924 src/xterm.c x_set_frame_alpha (struct frame *f) f 6926 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 6927 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6928 src/xterm.c Window win = FRAME_OUTER_WINDOW (f); f 6934 src/xterm.c if (dpyinfo->highlight_frame == f) f 6935 src/xterm.c alpha = f->alpha[0]; f 6937 src/xterm.c alpha = f->alpha[1]; f 6961 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 6963 src/xterm.c parent = x_find_topmost_parent (f); f 7085 src/xterm.c struct frame *f, XEvent *event) f 7092 src/xterm.c output = FRAME_X_OUTPUT (f); f 7112 src/xterm.c struct frame *f; f 7115 src/xterm.c f = (struct frame *) user_data; f 7116 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7121 src/xterm.c && event->xclient.window == FRAME_OUTER_WINDOW (f)) f 7132 src/xterm.c x_sync_wait_for_frame_drawn_event (struct frame *f) f 7137 src/xterm.c if (!FRAME_X_WAITING_FOR_DRAW (f) f 7140 src/xterm.c || !FRAME_VISIBLE_P (f)) f 7143 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7146 src/xterm.c if (x_if_event (FRAME_X_DISPLAY (f), &event, f 7147 src/xterm.c x_sync_is_frame_drawn_event, (XPointer) f, f 7153 src/xterm.c if (FRAME_X_DRAW_JUST_HUNG (f)) f 7158 src/xterm.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 7162 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7167 src/xterm.c store_frame_param (f, Quse_frame_synchronization, Qnil); f 7174 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = true; f 7178 src/xterm.c x_sync_note_frame_times (dpyinfo, f, &event); f 7180 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 7187 src/xterm.c x_sync_update_begin (struct frame *f) f 7192 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 7195 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7197 src/xterm.c if (FRAME_X_OUTPUT (f)->ext_sync_end_pending_p) f 7199 src/xterm.c FRAME_X_COUNTER_VALUE (f) f 7200 src/xterm.c = FRAME_X_OUTPUT (f)->resize_counter_value; f 7202 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7213 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = false; f 7222 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 7226 src/xterm.c FRAME_X_OUTPUT (f)->temp_frame_time = x_sync_current_monotonic_time (); f 7235 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7239 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 3); f 7241 src/xterm.c eassert (XSyncValueLow32 (FRAME_X_COUNTER_VALUE (f)) % 4 == 1); f 7243 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7244 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7245 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7254 src/xterm.c x_sync_trigger_fence (struct frame *f, XSyncValue value) f 7259 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xsync_major < 3 f 7260 src/xterm.c || (FRAME_DISPLAY_INFO (f)->xsync_major == 3 f 7261 src/xterm.c && FRAME_DISPLAY_INFO (f)->xsync_minor < 1)) f 7274 src/xterm.c XSyncTriggerFence (FRAME_X_DISPLAY (f), f 7275 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[idx]); f 7281 src/xterm.c x_sync_init_fences (struct frame *f) f 7286 src/xterm.c output = FRAME_X_OUTPUT (f); f 7287 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7296 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7300 src/xterm.c FRAME_X_WINDOW (f), f 7303 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7304 src/xterm.c FRAME_X_WINDOW (f), f 7307 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 7314 src/xterm.c x_sync_free_fences (struct frame *f) f 7316 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[0] != None) f 7317 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7318 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[0]); f 7320 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[1] != None) f 7321 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7322 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[1]); f 7331 src/xterm.c x_sync_update_finish (struct frame *f) f 7336 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 7339 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7353 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7357 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 0); f 7361 src/xterm.c x_sync_trigger_fence (f, FRAME_X_COUNTER_VALUE (f)); f 7364 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7365 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7366 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7368 src/xterm.c if (FRAME_OUTPUT_DATA (f)->use_vsync_p) f 7369 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = true; f 7376 src/xterm.c XEvent *message, struct frame *f) f 7380 src/xterm.c if (FRAME_OUTER_WINDOW (f) == message->xclient.window) f 7382 src/xterm.c counter = FRAME_X_COUNTER_VALUE (f); f 7391 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 7396 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = false; f 7399 src/xterm.c x_sync_note_frame_times (dpyinfo, f, message); f 7410 src/xterm.c x_update_begin (struct frame *f) f 7416 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7418 src/xterm.c x_sync_update_begin (f); f 7424 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7427 src/xterm.c FRAME_X_COMPLETE_P (f) = false; f 7436 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7439 src/xterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 7441 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->normal_gc, f 7445 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, x, y0, 1, y1 - y0, false); f 7447 src/xterm.c XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 7448 src/xterm.c f->output_data.x->normal_gc, x, y0, x, y1); f 7457 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7458 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 7460 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 7462 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 7463 src/xterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 7466 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7469 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7470 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7476 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7477 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7479 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7480 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7482 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7483 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7490 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7491 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7493 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7494 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7496 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7497 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7504 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7505 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7517 src/xterm.c show_back_buffer (struct frame *f) f 7524 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7529 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 7532 src/xterm.c x_sync_update_begin (f); f 7536 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 7541 src/xterm.c swap_info.swap_window = FRAME_X_WINDOW (f); f 7543 src/xterm.c XdbeSwapBuffers (FRAME_X_DISPLAY (f), &swap_info, 1); f 7547 src/xterm.c x_sync_update_finish (f); f 7551 src/xterm.c FRAME_X_NEED_BUFFER_FLIP (f) = false; f 7560 src/xterm.c x_flip_and_flush (struct frame *f) f 7568 src/xterm.c && !FRAME_TOOLTIP_P (f)) f 7573 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7574 src/xterm.c show_back_buffer (f); f 7578 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7580 src/xterm.c x_flush (f); f 7588 src/xterm.c x_update_end (struct frame *f) f 7591 src/xterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 7595 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f) && FRAME_CR_CONTEXT (f)) f 7596 src/xterm.c cairo_surface_flush (cairo_get_target (FRAME_CR_CONTEXT (f))); f 7605 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7607 src/xterm.c x_sync_update_finish (f); f 7615 src/xterm.c XTframe_up_to_date (struct frame *f) f 7623 src/xterm.c eassert (FRAME_X_P (f)); f 7625 src/xterm.c FRAME_MOUSE_UPDATE (f); f 7629 src/xterm.c && FRAME_X_NEED_BUFFER_FLIP (f)) f 7630 src/xterm.c show_back_buffer (f); f 7633 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7638 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_end_pending_p f 7639 src/xterm.c && FRAME_X_BASIC_COUNTER (f) != None) f 7641 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7642 src/xterm.c FRAME_X_BASIC_COUNTER (f), f 7643 src/xterm.c FRAME_X_OUTPUT (f)->pending_basic_counter_value); f 7644 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = false; f 7647 src/xterm.c if (FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 7649 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 7657 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = false; f 7666 src/xterm.c XTbuffer_flipping_unblocked_hook (struct frame *f) f 7670 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7671 src/xterm.c show_back_buffer (f); f 7686 src/xterm.c x_clear_under_internal_border (struct frame *f) f 7688 src/xterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0) f 7690 src/xterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 7691 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 7692 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 7693 src/xterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 7694 src/xterm.c int bottom_margin = FRAME_BOTTOM_MARGIN_HEIGHT (f); f 7695 src/xterm.c int face_id = (FRAME_PARENT_FRAME (f) f 7697 src/xterm.c ? lookup_basic_face (NULL, f, f 7701 src/xterm.c ? lookup_basic_face (NULL, f, f 7704 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7709 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7710 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7713 src/xterm.c x_fill_rectangle (f, gc, 0, margin, width, border, false); f 7714 src/xterm.c x_fill_rectangle (f, gc, 0, 0, border, height, false); f 7715 src/xterm.c x_fill_rectangle (f, gc, width - border, 0, border, height, false); f 7716 src/xterm.c x_fill_rectangle (f, gc, 0, height - bottom_margin - border, f 7718 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7722 src/xterm.c x_clear_area (f, 0, 0, border, height); f 7723 src/xterm.c x_clear_area (f, 0, margin, width, border); f 7724 src/xterm.c x_clear_area (f, width - border, 0, border, height); f 7725 src/xterm.c x_clear_area (f, 0, height - bottom_margin - border, f 7753 src/xterm.c struct frame *f; f 7758 src/xterm.c && (f = XFRAME (w->frame), f 7759 src/xterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 7766 src/xterm.c (FRAME_PARENT_FRAME (f) f 7768 src/xterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 7771 src/xterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 7773 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7778 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7779 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7782 src/xterm.c x_fill_rectangle (f, gc, 0, y, width, height, true); f 7783 src/xterm.c x_fill_rectangle (f, gc, FRAME_PIXEL_WIDTH (f) - width, y, f 7785 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7789 src/xterm.c x_clear_area (f, 0, y, width, height); f 7790 src/xterm.c x_clear_area (f, FRAME_PIXEL_WIDTH (f) - width, y, width, height); f 7841 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7842 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7843 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7858 src/xterm.c x_fill_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7867 src/xterm.c x_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7883 src/xterm.c : f->output_data.x->cursor_pixel) f 7894 src/xterm.c gui_define_fringe_bitmap (f, p->which); f 7896 src/xterm.c x_cr_draw_image (f, gc, fringe_bmp[p->which], 0, p->dh, f 7904 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 7907 src/xterm.c int depth = FRAME_DISPLAY_INFO (f)->n_planes; f 7923 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 7924 src/xterm.c && f->alpha_background < 1.0) f 7929 src/xterm.c x_query_colors (f, &bg, 1); f 7932 src/xterm.c = x_premultiply_pixel (FRAME_DISPLAY_INFO (f), f 7934 src/xterm.c f->alpha_background); f 7942 src/xterm.c : f->output_data.x->cursor_pixel) f 7947 src/xterm.c if (FRAME_X_PICTURE_FORMAT (f) f 7948 src/xterm.c && (x_xr_ensure_picture (f), FRAME_X_PICTURE (f))) f 7950 src/xterm.c FRAME_X_PICTURE_FORMAT (f), f 7957 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 7968 src/xterm.c XRenderChangePicture (display, FRAME_X_PICTURE (f), f 7985 src/xterm.c x_xr_apply_ext_clip (f, gc); f 7987 src/xterm.c None, FRAME_X_PICTURE (f), f 7989 src/xterm.c x_xr_reset_ext_clip (f); f 8008 src/xterm.c x_reset_clip_rectangles (f, gc); f 8140 src/xterm.c x_set_gtk_user_time (struct frame *f, Time time) f 8145 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 8185 src/xterm.c x_update_frame_user_time_window (struct frame *f) f 8190 src/xterm.c output = FRAME_X_OUTPUT (f); f 8191 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 8194 src/xterm.c || !x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time)) f 8197 src/xterm.c && output->user_time_window != FRAME_OUTER_WINDOW (f)) f 8200 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8204 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8211 src/xterm.c if (!x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time_window)) f 8214 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 8215 src/xterm.c else if (output->user_time_window != FRAME_OUTER_WINDOW (f)) f 8220 src/xterm.c FRAME_OUTER_WINDOW (f), f 8222 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 8227 src/xterm.c if (output->user_time_window == FRAME_OUTER_WINDOW (f) f 8239 src/xterm.c = x_create_special_window (dpyinfo, FRAME_X_WINDOW (f)); f 8241 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8243 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 8267 src/xterm.c if (s->font == FRAME_FONT (s->f) f 8268 src/xterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 8269 src/xterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) f 8271 src/xterm.c s->gc = s->f->output_data.x->cursor_gc; f 8277 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8279 src/xterm.c xgcv.background = s->f->output_data.x->cursor_pixel; f 8286 src/xterm.c xgcv.foreground = s->f->output_data.x->cursor_foreground_pixel; f 8298 src/xterm.c IF_DEBUG (x_check_font (s->f, s->font)); f 8305 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8306 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8309 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8310 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8312 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8330 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8341 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8342 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8345 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8346 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8348 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8373 src/xterm.c prepare_face_for_display (s->f, s->face); f 8419 src/xterm.c x_set_clip_rectangles (s->f, s->gc, r, n); f 8439 src/xterm.c x_set_clip_rectangles (dst->f, dst->gc, &r, 1); f 8483 src/xterm.c x_clear_rectangle (s->f, s->gc, x, y, w, h, s->hl != DRAW_CURSOR); f 8489 src/xterm.c x_clear_point (struct frame *f, GC gc, int x, int y, f 8495 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 8497 src/xterm.c if (f->alpha_background != 1.0 f 8500 src/xterm.c x_clear_rectangle (f, gc, x, y, 1, 1, true); f 8506 src/xterm.c XDrawPoint (dpy, FRAME_X_DRAWABLE (f), gc, x, y); f 8529 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8533 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8582 src/xterm.c x_draw_rectangle (s->f, f 8593 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8600 src/xterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 8612 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8625 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8629 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8644 src/xterm.c x_draw_rectangle (s->f, f 8680 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8686 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8750 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8757 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8837 src/xterm.c x_draw_rectangle (s->f, s->gc, f 8861 src/xterm.c struct frame *f; f 8876 src/xterm.c f = XFRAME (frame); f 8877 src/xterm.c if (FRAME_X_P (f) f 8878 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 8879 src/xterm.c && f->output_data.x->widget == widget) f 8880 src/xterm.c return f; f 8896 src/xterm.c struct frame *f = x_frame_of_widget (widget); f 8897 src/xterm.c return x_alloc_lighter_color (f, display, cmap, pixel, factor, delta); f 9089 src/xterm.c x_query_colors (struct frame *f, XColor *colors, int ncolors) f 9091 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9151 src/xterm.c XQueryColors (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), colors, ncolors); f 9157 src/xterm.c x_query_frame_background_color (struct frame *f, XColor *bgcolor) f 9159 src/xterm.c unsigned long background = FRAME_BACKGROUND_PIXEL (f); f 9164 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits) f 9167 src/xterm.c background = (background & ~FRAME_DISPLAY_INFO (f)->alpha_mask); f 9168 src/xterm.c background |= (((unsigned long) (f->alpha_background * 0xffff) f 9169 src/xterm.c >> (16 - FRAME_DISPLAY_INFO (f)->alpha_bits)) f 9170 src/xterm.c << FRAME_DISPLAY_INFO (f)->alpha_offset); f 9172 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 9173 src/xterm.c && f->alpha_background < 1.0) f 9176 src/xterm.c x_query_colors (f, &bg, 1); f 9179 src/xterm.c = x_premultiply_pixel (FRAME_DISPLAY_INFO (f), f 9180 src/xterm.c &bg, f->alpha_background); f 9187 src/xterm.c x_query_colors (f, bgcolor, 1); f 9212 src/xterm.c x_parse_color (struct frame *f, const char *color_name, f 9242 src/xterm.c cmap = FRAME_X_COLORMAP (f); f 9243 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 9244 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 9477 src/xterm.c x_alloc_nearest_color (struct frame *f, Colormap cmap, XColor *color) f 9479 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9481 src/xterm.c gamma_correct (f, color); f 9492 src/xterm.c return x_alloc_nearest_color_1 (FRAME_X_DISPLAY (f), cmap, color); f 9501 src/xterm.c x_copy_color (struct frame *f, unsigned long pixel) f 9509 src/xterm.c if (!x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 9515 src/xterm.c x_query_colors (f, &color, 1); f 9516 src/xterm.c XAllocColor (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), &color); f 9547 src/xterm.c x_alloc_lighter_color (struct frame *f, Display *display, Colormap cmap, f 9556 src/xterm.c x_query_colors (f, &color, 1); f 9593 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9600 src/xterm.c x_free_colors (f, &new.pixel, 1); f 9605 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9624 src/xterm.c x_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 9628 src/xterm.c struct x_output *di = f->output_data.x; f 9632 src/xterm.c Colormap cmap = FRAME_X_COLORMAP (f); f 9633 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9634 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 9644 src/xterm.c x_free_colors (f, &relief->pixel, 1); f 9652 src/xterm.c && x_alloc_lighter_color (f, dpy, cmap, &pixel, factor, delta)) f 9659 src/xterm.c relief->gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), mask, &xgcv); f 9671 src/xterm.c struct x_output *di = s->f->output_data.x; f 9678 src/xterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 9679 src/xterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 9685 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (s->f), s->gc, GCBackground, &xgcv); f 9693 src/xterm.c x_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 9694 src/xterm.c WHITE_PIX_DEFAULT (s->f)); f 9695 src/xterm.c x_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 9696 src/xterm.c BLACK_PIX_DEFAULT (s->f)); f 9702 src/xterm.c x_fill_triangle (struct frame *f, GC gc, XPoint point1, f 9711 src/xterm.c XFillPolygon (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 9753 src/xterm.c x_draw_relief_rect (struct frame *f, int left_x, int top_y, int right_x, f 9764 src/xterm.c top_left_gc = f->output_data.x->white_relief.gc; f 9765 src/xterm.c bottom_right_gc = f->output_data.x->black_relief.gc; f 9769 src/xterm.c top_left_gc = f->output_data.x->black_relief.gc; f 9770 src/xterm.c bottom_right_gc = f->output_data.x->white_relief.gc; f 9773 src/xterm.c x_set_clip_rectangles (f, top_left_gc, clip_rect, 1); f 9774 src/xterm.c x_set_clip_rectangles (f, bottom_right_gc, clip_rect, 1); f 9778 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9787 src/xterm.c x_fill_rectangle (f, bottom_right_gc, right_x + 1 - vwidth, top_y, f 9797 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9800 src/xterm.c x_fill_trapezoid_for_relief (f, top_left_gc, left_x, top_y, f 9806 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, bottom_y + 1 - hwidth, f 9809 src/xterm.c x_fill_trapezoid_for_relief (f, bottom_right_gc, f 9814 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9817 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9821 src/xterm.c XSetBackground (FRAME_X_DISPLAY (f), top_left_gc, f 9822 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 9823 src/xterm.c x_erase_corners_for_relief (f, top_left_gc, left_x, top_y, f 9828 src/xterm.c x_reset_clip_rectangles (f, top_left_gc); f 9829 src/xterm.c x_reset_clip_rectangles (f, bottom_right_gc); f 9840 src/xterm.c white_gc = f->output_data.x->white_relief.gc; f 9841 src/xterm.c black_gc = f->output_data.x->black_relief.gc; f 9842 src/xterm.c normal_gc = f->output_data.x->normal_gc; f 9844 src/xterm.c drawable = FRAME_X_DRAWABLE (f); f 9845 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 9847 src/xterm.c x_set_clip_rectangles (f, white_gc, clip_rect, 1); f 9848 src/xterm.c x_set_clip_rectangles (f, black_gc, clip_rect, 1); f 9858 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, f 9863 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, vwidth, f 9872 src/xterm.c x_fill_rectangle (f, gc, left_x, bottom_y - hwidth + 1, f 9876 src/xterm.c x_fill_rectangle (f, gc, right_x - vwidth + 1, top_y, f 9882 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9888 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9897 src/xterm.c x_draw_rectangle (f, black_gc, left_x, top_y, f 9926 src/xterm.c x_clear_point (f, normal_gc, left_x, top_y, true); f 9930 src/xterm.c x_clear_point (f, normal_gc, left_x, bottom_y, true); f 9934 src/xterm.c x_clear_point (f, normal_gc, right_x, top_y, true); f 9938 src/xterm.c x_clear_point (f, normal_gc, right_x, bottom_y, true); f 9941 src/xterm.c x_reset_clip_rectangles (f, white_gc); f 9942 src/xterm.c x_reset_clip_rectangles (f, black_gc); f 9959 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 9964 src/xterm.c x_set_clip_rectangles (s->f, s->gc, clip_rect, 1); f 9967 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9973 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9978 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9984 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9989 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 10055 src/xterm.c x_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 10078 src/xterm.c display = FRAME_X_DISPLAY (s->f); f 10081 src/xterm.c if (s->img->picture && FRAME_X_PICTURE_FORMAT (s->f)) f 10087 src/xterm.c default_format = FRAME_X_PICTURE_FORMAT (s->f); f 10145 src/xterm.c x_cr_draw_image (s->f, s->gc, s->img->cr_data, f 10159 src/xterm.c x_draw_rectangle (s->f, s->gc, x - relief, y - relief, f 10185 src/xterm.c XChangeGC (FRAME_X_DISPLAY (s->f), s->gc, mask, &xgcv); f 10193 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 10195 src/xterm.c FRAME_X_PICTURE (s->f), f 10210 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 10212 src/xterm.c FRAME_X_PICTURE (s->f), f 10227 src/xterm.c x_draw_rectangle (s->f, s->gc, f 10237 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10330 src/xterm.c x_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 10360 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10403 src/xterm.c x_draw_rectangle (s->f, s->gc, x - r, y - r, f 10411 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10425 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10429 src/xterm.c x_fill_rectangle (s->f, s->gc, x, y, w, h, true); f 10458 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10488 src/xterm.c int depth = FRAME_DISPLAY_INFO (s->f)->n_planes; f 10491 src/xterm.c pixmap = XCreatePixmap (display, FRAME_X_DRAWABLE (s->f), f 10514 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->alpha_bits f 10515 src/xterm.c && s->f->alpha_background != 1.0 f 10516 src/xterm.c && FRAME_CHECK_XR_VERSION (s->f, 0, 2) f 10517 src/xterm.c && FRAME_X_PICTURE_FORMAT (s->f)) f 10525 src/xterm.c FRAME_X_PICTURE_FORMAT (s->f), f 10527 src/xterm.c x_xrender_color_from_gc_background (s->f, s->gc, &xc, true); f 10528 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (s->f), PictOpSrc, pict, f 10573 src/xterm.c XCopyArea (display, pixmap, FRAME_X_DRAWABLE (s->f), s->gc, f 10624 src/xterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 10636 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10654 src/xterm.c x_set_clip_rectangles (s->f, gc, &r, 1); f 10660 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10670 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10674 src/xterm.c x_reset_clip_rectangles (s->f, gc); f 10732 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10742 src/xterm.c x_draw_horizontal_wave (s->f, s->gc, s->x, s->ybase - wave_height + 3, f 10788 src/xterm.c XDrawLine (display, FRAME_X_DRAWABLE (s->f), s->gc, x1, y1, x2, y2); f 10931 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 11024 src/xterm.c x_fill_rectangle (s->f, s->gc, f 11029 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 11033 src/xterm.c x_fill_rectangle (s->f, s->gc, f 11046 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 11050 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 11054 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 11076 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 11080 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 11084 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 11109 src/xterm.c x_reset_clip_rectangles (prev->f, prev->gc); f 11134 src/xterm.c x_reset_clip_rectangles (next->f, next->gc); f 11143 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 11158 src/xterm.c x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) f 11163 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11164 src/xterm.c f->output_data.x->normal_gc, f 11173 src/xterm.c x_delete_glyphs (struct frame *f, int n) f 11193 src/xterm.c x_clear_area (struct frame *f, int x, int y, int width, int height) f 11200 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 11201 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, f 11205 src/xterm.c x_end_cr_clip (f); f 11208 src/xterm.c if (f->alpha_background != 1.0 f 11210 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 11217 src/xterm.c x_xr_ensure_picture (f); f 11218 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 11219 src/xterm.c && FRAME_X_PICTURE (f) != None f 11220 src/xterm.c && f->alpha_background != 1.0 f 11221 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 11224 src/xterm.c GC gc = f->output_data.x->normal_gc; f 11226 src/xterm.c x_xr_apply_ext_clip (f, gc); f 11227 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 11228 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 11229 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 11231 src/xterm.c x_xr_reset_ext_clip (f); f 11232 src/xterm.c x_mark_frame_dirty (f); f 11236 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), f 11237 src/xterm.c FRAME_X_DRAWABLE (f), f 11238 src/xterm.c f->output_data.x->reverse_gc, f 11243 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11253 src/xterm.c x_clear_frame (struct frame *f) f 11257 src/xterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 11260 src/xterm.c font_drop_xrender_surfaces (f); f 11261 src/xterm.c x_clear_window (f); f 11265 src/xterm.c x_scroll_bar_clear (f); f 11276 src/xterm.c x_send_hourglass_message (struct frame *f, bool hourglass_enabled) f 11281 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11288 src/xterm.c msg.xclient.window = FRAME_X_WINDOW (f); f 11291 src/xterm.c XSendEvent (dpyinfo->display, FRAME_X_WINDOW (f), f 11298 src/xterm.c x_show_hourglass (struct frame *f) f 11300 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11304 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11315 src/xterm.c x_send_hourglass_message (f, true); f 11320 src/xterm.c if (FRAME_OUTER_WINDOW (f)) f 11329 src/xterm.c Window parent = FRAME_X_WINDOW (f); f 11331 src/xterm.c Window parent = FRAME_OUTER_WINDOW (f); f 11341 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_X_WINDOW (f); f 11343 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_OUTER_WINDOW (f); f 11346 src/xterm.c = (Window) xcb_generate_id (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11348 src/xterm.c xcb_create_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11351 src/xterm.c parent, 0, 0, FRAME_PIXEL_WIDTH (f), f 11352 src/xterm.c FRAME_PIXEL_HEIGHT (f), 0, f 11362 src/xterm.c flush_frame (f); f 11366 src/xterm.c xcb_configure_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11369 src/xterm.c xcb_map_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11371 src/xterm.c xcb_flush (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11380 src/xterm.c x_hide_hourglass (struct frame *f) f 11382 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11388 src/xterm.c XUnmapWindow (FRAME_X_DISPLAY (f), x->hourglass_window); f 11390 src/xterm.c xcb_unmap_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11393 src/xterm.c x_send_hourglass_message (f, false); f 11400 src/xterm.c XTflash (struct frame *f) f 11409 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11412 src/xterm.c values.foreground = (FRAME_FOREGROUND_PIXEL (f) f 11413 src/xterm.c ^ FRAME_BACKGROUND_PIXEL (f)); f 11415 src/xterm.c gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11419 src/xterm.c gc = FRAME_X_OUTPUT (f)->normal_gc; f 11423 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 11425 src/xterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 11427 src/xterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 11428 src/xterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 11432 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11434 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11436 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11437 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11439 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11442 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 11443 src/xterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 11449 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11450 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11451 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11453 src/xterm.c x_flush (f); f 11457 src/xterm.c fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 11487 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11489 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11491 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11492 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11494 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11497 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f) f 11498 src/xterm.c - FRAME_BOTTOM_MARGIN_HEIGHT (f)), f 11503 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11504 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11505 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11507 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11508 src/xterm.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 11509 src/xterm.c x_flush (f); f 11517 src/xterm.c XTring_bell (struct frame *f) f 11521 src/xterm.c if (!FRAME_X_DISPLAY (f)) f 11524 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11527 src/xterm.c XTflash (f); f 11538 src/xterm.c XkbBell (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 0, None); f 11540 src/xterm.c XBell (FRAME_X_DISPLAY (f), 0); f 11542 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 11556 src/xterm.c x_ins_del_lines (struct frame *f, int vpos, int n) f 11567 src/xterm.c struct frame *f = XFRAME (w->frame); f 11605 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11606 src/xterm.c Window window = FRAME_X_WINDOW (f); f 11699 src/xterm.c XFlushGC (FRAME_X_DISPLAY (f), f 11700 src/xterm.c f->output_data.x->normal_gc); f 11704 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 11706 src/xterm.c cairo_surface_t *surface = cairo_get_target (FRAME_CR_CONTEXT (f)); f 11710 src/xterm.c == FRAME_X_DISPLAY (f)); f 11712 src/xterm.c == FRAME_X_RAW_DRAWABLE (f)); f 11714 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11715 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11716 src/xterm.c f->output_data.x->normal_gc, f 11726 src/xterm.c xcb_copy_area (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11727 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11728 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11729 src/xterm.c (xcb_gcontext_t) XGContextFromGC (f->output_data.x->normal_gc), f 11745 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 11757 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11758 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11759 src/xterm.c f->output_data.x->normal_gc, f 11775 src/xterm.c x_frame_highlight (struct frame *f) f 11779 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11791 src/xterm.c XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11792 src/xterm.c f->output_data.x->border_pixel); f 11795 src/xterm.c gui_update_cursor (f, true); f 11796 src/xterm.c x_set_frame_alpha (f); f 11800 src/xterm.c x_frame_unhighlight (struct frame *f) f 11804 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11814 src/xterm.c XSetWindowBorderPixmap (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11815 src/xterm.c f->output_data.x->border_tile); f 11819 src/xterm.c gui_update_cursor (f, true); f 11820 src/xterm.c x_set_frame_alpha (f); f 11896 src/xterm.c xfixes_toggle_visible_pointer (struct frame *f, bool invisible) f 11900 src/xterm.c XFixesHideCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11902 src/xterm.c XFixesShowCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11903 src/xterm.c f->pointer_invisible = invisible; f 11942 src/xterm.c x_toggle_visible_pointer (struct frame *f, bool invisible) f 11946 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11964 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11974 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11977 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11978 src/xterm.c f->output_data.x->current_cursor); f 11980 src/xterm.c f->pointer_invisible = invisible; f 11984 src/xterm.c XTtoggle_invisible_pointer (struct frame *f, bool invisible) f 11988 src/xterm.c if (FRAME_DISPLAY_INFO (f)->fixes_pointer_blanking f 11989 src/xterm.c && x_fixes_pointer_blanking_supported (FRAME_DISPLAY_INFO (f))) f 11990 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11993 src/xterm.c x_toggle_visible_pointer (f, invisible); f 12077 src/xterm.c struct frame *f; f 12091 src/xterm.c f = XFRAME (frame); f 12092 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12094 src/xterm.c if (f->output_data.x->hourglass_window == wdesc) f 12095 src/xterm.c return f; f 12097 src/xterm.c if ((f->output_data.x->edit_widget f 12098 src/xterm.c && XtWindow (f->output_data.x->edit_widget) == wdesc) f 12100 src/xterm.c || (!f->output_data.x->edit_widget f 12101 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 12102 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 12103 src/xterm.c return f; f 12106 src/xterm.c if (f->output_data.x->edit_widget) f 12109 src/xterm.c struct x_output *x = f->output_data.x; f 12111 src/xterm.c return f; f 12114 src/xterm.c if (FRAME_X_WINDOW (f) == wdesc f 12115 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 12116 src/xterm.c return f; f 12131 src/xterm.c struct frame *f; f 12142 src/xterm.c f = XFRAME (frame); f 12144 src/xterm.c if (FRAME_X_P (f) && FRAME_TOOLTIP_P (f) f 12145 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 12146 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 12147 src/xterm.c return f; f 12150 src/xterm.c if (!FRAME_X_P (f)) f 12153 src/xterm.c if (FRAME_X_OUTPUT (f)->ttip_window) f 12154 src/xterm.c widget = GTK_WIDGET (FRAME_X_OUTPUT (f)->ttip_window); f 12195 src/xterm.c struct frame *f, *found = NULL; f 12212 src/xterm.c f = XFRAME (frame); f 12213 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 12216 src/xterm.c x = f->output_data.x; f 12218 src/xterm.c found = f; f 12225 src/xterm.c found = f; f 12230 src/xterm.c found = f; f 12233 src/xterm.c found = f; f 12236 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 12238 src/xterm.c found = f; f 12262 src/xterm.c struct frame *f; f 12270 src/xterm.c f = XFRAME (frame); f 12271 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12273 src/xterm.c x = f->output_data.x; f 12275 src/xterm.c if (x->menubar_widget && xg_event_is_for_menubar (f, event)) f 12276 src/xterm.c return f; f 12281 src/xterm.c return f; f 12294 src/xterm.c struct frame *f; f 12302 src/xterm.c f = XFRAME (frame); f 12303 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 12305 src/xterm.c x = f->output_data.x; f 12313 src/xterm.c return f; f 12316 src/xterm.c return f; f 12319 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 12321 src/xterm.c return f; f 12441 src/xterm.c struct frame *f; f 12448 src/xterm.c f = XFRAME (frame); f 12450 src/xterm.c if (!FRAME_LIVE_P (f) || !FRAME_DISPLAY_INFO (f)->display) f 12454 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12455 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList); f 12456 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12457 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12464 src/xterm.c struct frame *f; f 12466 src/xterm.c f = XFRAME (XCDR (timestamp_and_frame)); f 12468 src/xterm.c if (FRAME_LIVE_P (f)) f 12478 src/xterm.c x_dnd_process_quit (struct frame *f, Time timestamp) f 12486 src/xterm.c x_dnd_send_leave (f, x_dnd_last_seen_window, f 12498 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12505 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 12507 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 12510 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 12545 src/xterm.c x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction, f 12576 src/xterm.c if (FRAME_DISPLAY_INFO (f)->untrusted) f 12589 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 12592 src/xterm.c XSETFRAME (frame, f); f 12594 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist); f 12613 src/xterm.c ltimestamp = x_timestamp_for_selection (FRAME_DISPLAY_INFO (f), f 12633 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), xaction); f 12640 src/xterm.c = xm_operations_from_actions (FRAME_DISPLAY_INFO (f), f 12644 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12678 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 12679 src/xterm.c XSetTextProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12680 src/xterm.c &prop, FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12682 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12683 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList, XA_ATOM, 32, f 12686 src/xterm.c x_check_errors (FRAME_X_DISPLAY (f), f 12700 src/xterm.c = FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list; f 12734 src/xterm.c x_dnd_frame = f; f 12754 src/xterm.c = x_wm_supports (f, FRAME_DISPLAY_INFO (f)->Xatom_net_client_list_stacking); f 12765 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 12770 src/xterm.c if (FRAME_DISPLAY_INFO (f)->client_pointer_device != -1) f 12772 src/xterm.c = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 12775 src/xterm.c XIGetClientPointer (FRAME_X_DISPLAY (f), None, f 12780 src/xterm.c device = xi_device_from_id (FRAME_DISPLAY_INFO (f), f 12797 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xkb) f 12799 src/xterm.c XkbSelectEvents (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12801 src/xterm.c XkbGetState (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12811 src/xterm.c if (x_dnd_compute_toplevels (FRAME_DISPLAY_INFO (f))) f 12830 src/xterm.c XGetWindowAttributes (FRAME_X_DISPLAY (f), f 12831 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12839 src/xterm.c XSelectInput (FRAME_X_DISPLAY (f), f 12840 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12845 src/xterm.c x_dnd_update_state (FRAME_DISPLAY_INFO (f), CurrentTime); f 12904 src/xterm.c x_clean_failable_requests (FRAME_DISPLAY_INFO (f)); f 12916 src/xterm.c if (event_display == FRAME_DISPLAY_INFO (f)) f 12923 src/xterm.c == FRAME_X_DISPLAY (f)) f 12948 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12982 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 13000 src/xterm.c x_dnd_process_quit (f, hold_quit.timestamp); f 13005 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13022 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 13033 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 13037 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13049 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 13064 src/xterm.c x_dnd_do_unsupported_drop (FRAME_DISPLAY_INFO (f), f 13090 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 13091 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13117 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 13137 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 13145 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 13146 src/xterm.c atom_name = x_get_atom_name (FRAME_DISPLAY_INFO (f), f 13386 src/xterm.c struct frame *f) f 13395 src/xterm.c if (device->focus_frame == f) f 13398 src/xterm.c if (device->focus_implicit_frame == f) f 13409 src/xterm.c struct frame *f, struct xi_device_t *device, f 13423 src/xterm.c if (device->focus_frame == f) f 13429 src/xterm.c if (device->focus_implicit_frame == f) f 13436 src/xterm.c if (change && f != dpyinfo->x_focus_frame) f 14222 src/xterm.c x_compute_root_window_offset (struct frame *f, int root_x, int root_y, f 14225 src/xterm.c FRAME_X_OUTPUT (f)->window_offset_certain_p = true; f 14226 src/xterm.c FRAME_X_OUTPUT (f)->root_x = root_x - event_x; f 14227 src/xterm.c FRAME_X_OUTPUT (f)->root_y = root_y - event_y; f 14237 src/xterm.c x_translate_coordinates (struct frame *f, int root_x, int root_y, f 14243 src/xterm.c output = FRAME_X_OUTPUT (f); f 14256 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), f 14257 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 14258 src/xterm.c FRAME_X_WINDOW (f), root_x, root_y, f 14277 src/xterm.c x_translate_coordinates_to_root (struct frame *f, int x, int y, f 14283 src/xterm.c output = FRAME_X_OUTPUT (f); f 14296 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 14297 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 14314 src/xterm.c x_handle_translate_coordinates (struct frame *f, Lisp_Object dest_window, f 14323 src/xterm.c if (!FRAME_X_OUTPUT (f)->window_offset_certain_p) f 14326 src/xterm.c return list3 (make_fixnum (source_x + FRAME_X_OUTPUT (f)->root_x), f 14327 src/xterm.c make_fixnum (source_y + FRAME_X_OUTPUT (f)->root_y), f 14339 src/xterm.c xi_compute_root_window_offset (struct frame *f, XIDeviceEvent *xev) f 14343 src/xterm.c x_compute_root_window_offset (f, xev->root_x, xev->root_y, f 14348 src/xterm.c xi_compute_root_window_offset_enter (struct frame *f, XIEnterEvent *enter) f 14350 src/xterm.c x_compute_root_window_offset (f, enter->root_x, enter->root_y, f 14357 src/xterm.c xi_compute_root_window_offset_pinch (struct frame *f, XIGesturePinchEvent *pev) f 14361 src/xterm.c x_compute_root_window_offset (f, pev->root_x, pev->root_y, f 14505 src/xterm.c struct frame *f) f 14515 src/xterm.c result->modifiers = (x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 14524 src/xterm.c if (event->window != FRAME_X_WINDOW (f)) f 14525 src/xterm.c x_translate_coordinates (f, event->x_root, event->y_root, f 14530 src/xterm.c XSETFRAME (result->frame_or_window, f); f 14963 src/xterm.c struct frame *f = x_window_to_frame (dpyinfo, win); f 14965 src/xterm.c if (f && FRAME_PARENT_FRAME (f)) f 15409 src/xterm.c struct frame *f = XFRAME (w->frame); f 15414 src/xterm.c if (!x_protect_window_for_callback (FRAME_DISPLAY_INFO (f), window)) f 15421 src/xterm.c ? FRAME_DISPLAY_INFO (f)->Xatom_Horizontal_Scrollbar f 15422 src/xterm.c : FRAME_DISPLAY_INFO (f)->Xatom_Scrollbar); f 15423 src/xterm.c ev->display = FRAME_X_DISPLAY (f); f 15424 src/xterm.c ev->window = FRAME_X_WINDOW (f); f 15445 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), False, f 15624 src/xterm.c struct frame *f; f 15635 src/xterm.c f = g_object_get_data (G_OBJECT (range), XG_FRAME_DATA); f 15637 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 15647 src/xterm.c if (FRAME_DISPLAY_INFO (f)->grabbed != 0 f 15648 src/xterm.c && FRAME_DISPLAY_INFO (f)->grabbed < (1 << 4)) f 15867 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15872 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15879 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15884 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15893 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15916 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15923 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15930 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 15955 src/xterm.c f->output_data.x->nontext_cursor); f 15960 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 15961 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 15975 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15982 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15992 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 15994 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15997 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15998 src/xterm.c FRAME_X_COLORMAP (f), f 16001 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 16004 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16006 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16009 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 16010 src/xterm.c FRAME_X_COLORMAP (f), f 16013 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 16019 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 16020 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16027 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 16041 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 16047 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 16057 src/xterm.c f->output_data.x->edit_widget, av, ac); f 16101 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 16124 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 16131 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16138 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 16163 src/xterm.c f->output_data.x->nontext_cursor); f 16168 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 16169 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 16183 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 16190 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16200 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 16202 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16205 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 16206 src/xterm.c FRAME_X_COLORMAP (f), f 16209 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 16212 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16214 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 16217 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 16218 src/xterm.c FRAME_X_COLORMAP (f), f 16221 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 16227 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 16228 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 16235 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 16249 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 16255 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 16265 src/xterm.c f->output_data.x->edit_widget, av, ac); f 16332 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16333 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16444 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16445 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16541 src/xterm.c struct frame *f = XFRAME (w->frame); f 16550 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); f 16552 src/xterm.c x_create_toolkit_scroll_bar (f, bar); f 16561 src/xterm.c a.cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 16569 src/xterm.c x_clear_area (f, left, top, width, window_box_height (w)); f 16574 src/xterm.c window = XCreateWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 16591 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 16592 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 16614 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 16617 src/xterm.c fset_scroll_bars (f, barobj); f 16626 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 16629 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16632 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16636 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16640 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16642 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16670 src/xterm.c struct frame *f; f 16681 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16683 src/xterm.c gc = f->output_data.x->normal_gc; f 16684 src/xterm.c w = FRAME_X_DRAWABLE (f); f 16688 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); f 16689 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); f 16690 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 16724 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16725 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16726 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16728 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16729 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16731 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16736 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16737 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16741 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16742 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16743 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 16746 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16757 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16758 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16759 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16761 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16762 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16764 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16769 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16770 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16774 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16775 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16776 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16789 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16794 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); f 16796 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); f 16799 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16820 src/xterm.c struct frame *f = XFRAME (w->frame); f 16839 src/xterm.c x_clear_area (f, left, top, width, height); f 16877 src/xterm.c x_clear_area (f, left, top, width, height); f 16879 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16882 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 16897 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 16924 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height); f 16945 src/xterm.c struct frame *f = XFRAME (w->frame); f 16968 src/xterm.c x_clear_area (f, left, top, pixel_width, height); f 16999 src/xterm.c x_clear_area (f, f 17003 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 17006 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 17020 src/xterm.c x_clear_area (f, left, top, width, rest); f 17032 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 17054 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, width); f 17115 src/xterm.c struct frame *f; f 17125 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 17130 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 17133 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 17135 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 17147 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 17150 src/xterm.c fset_scroll_bars (f, barobj); f 17160 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 17165 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 17168 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 17170 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 17182 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 17185 src/xterm.c fset_scroll_bars (f, barobj); f 17195 src/xterm.c XTjudge_scroll_bars (struct frame *f) f 17199 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 17203 src/xterm.c fset_condemned_scroll_bars (f, Qnil); f 17225 src/xterm.c x_scroll_bar_handle_exposure (struct frame *f, XEvent *event) f 17254 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 17255 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 17284 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17285 src/xterm.c GC gc = f->output_data.x->normal_gc; f 17287 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 17288 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17289 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 17291 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17292 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 17294 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 17297 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17298 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17303 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 17304 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17305 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 17308 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 17312 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 17313 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17314 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17360 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17391 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17432 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); f 17433 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 17438 src/xterm.c f->mouse_moved = true; f 17468 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17478 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17490 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17502 src/xterm.c *fp = f; f 17517 src/xterm.c f->mouse_moved = false; f 17537 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17547 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17559 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17571 src/xterm.c *fp = f; f 17586 src/xterm.c f->mouse_moved = false; f 17600 src/xterm.c x_scroll_bar_clear (struct frame *f) f 17604 src/xterm.c GC gc = f->output_data.x->normal_gc; f 17606 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 17607 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17608 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 17610 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17611 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 17616 src/xterm.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) f 17618 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 17619 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 17629 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17630 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17791 src/xterm.c struct frame *f; f 17795 src/xterm.c f = x_any_window_to_frame (dpyinfo, f 17799 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->xany.window); f 17801 src/xterm.c if (f && xg_filter_key (f, xev)) f 17829 src/xterm.c static void xembed_send_message (struct frame *f, Time, f 17834 src/xterm.c x_net_wm_state (struct frame *f, Window window) f 17840 src/xterm.c x_get_current_wm_state (f, window, &value, &sticky, &shaded); f 17858 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 17859 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 17860 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 17866 src/xterm.c x_flush_dirty_back_buffer_on (struct frame *f) f 17869 src/xterm.c if (FRAME_GARBAGED_P (f) f 17873 src/xterm.c || !FRAME_X_COMPLETE_P (f) f 17874 src/xterm.c || !FRAME_X_NEED_BUFFER_FLIP (f)) f 17877 src/xterm.c show_back_buffer (f); f 18587 src/xterm.c x_handle_wm_state (struct frame *f, struct input_event *ie) f 18597 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 18599 src/xterm.c if (XGetWindowProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 18615 src/xterm.c if (state[0] == NormalState && FRAME_ICONIFIED_P (f)) f 18619 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 18620 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 18621 src/xterm.c f->output_data.x->has_been_visible = true; f 18624 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18629 src/xterm.c && !x_wm_supports (f, dpyinfo->Xatom_net_wm_state_hidden)) f 18634 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 18635 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 18638 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18715 src/xterm.c struct frame *any, *f = NULL, *mouse_frame; f 18994 src/xterm.c f = any; f 18997 src/xterm.c if (f && FRAME_XIC (f)) f 18998 src/xterm.c XSetICFocus (FRAME_XIC (f)); f 19017 src/xterm.c if (f) f 19059 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 19063 src/xterm.c if (f == SELECTED_FRAME ()) f 19064 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 19067 src/xterm.c else if (f) f 19068 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 19077 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 19080 src/xterm.c if (!f) f 19085 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19119 src/xterm.c struct frame *f f 19128 src/xterm.c if (f) f 19133 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->pending_basic_counter_value, f 19135 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = true; f 19139 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->resize_counter_value, f 19143 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = true; f 19148 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 19157 src/xterm.c if (widget && !FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 19164 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = true; f 19181 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 19186 src/xterm.c if (f) f 19188 src/xterm.c f->left_pos = new_x; f 19189 src/xterm.c f->top_pos = new_y; f 19197 src/xterm.c f = any; f 19198 src/xterm.c if (f) f 19200 src/xterm.c _XEditResCheckMessages (f->output_data.x->widget, f 19216 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 19217 src/xterm.c if (!f) f 19224 src/xterm.c x_kill_gs_process (pixmap, f); f 19226 src/xterm.c expose_frame (f, 0, 0, 0, 0); f 19288 src/xterm.c f = any; f 19290 src/xterm.c if (!f || FRAME_TOOLTIP_P (f)) f 19301 src/xterm.c if (x_handle_dnd_message (f, &event->xclient, dpyinfo, &inev.ie, f 19455 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xproperty.window); f 19456 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_net_wm_state f 19458 src/xterm.c && !FRAME_X_EMBEDDED_P (f)) f 19460 src/xterm.c bool not_hidden = x_handle_net_wm_state (f, &event->xproperty); f 19462 src/xterm.c if (not_hidden && FRAME_ICONIFIED_P (f)) f 19466 src/xterm.c (f, build_string ("PropertyNotify, not hidden & iconified")); f 19471 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19472 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19474 src/xterm.c f->output_data.x->has_been_visible = true; f 19479 src/xterm.c if (f->was_invisible) f 19482 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 19483 src/xterm.c f->was_invisible = false; f 19486 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19488 src/xterm.c else if (!not_hidden && !FRAME_ICONIFIED_P (f)) f 19492 src/xterm.c (f, build_string ("PropertyNotify, hidden & not iconified")); f 19494 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19495 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19497 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19501 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_wm_state f 19502 src/xterm.c && !FRAME_X_EMBEDDED_P (f) && !FRAME_PARENT_FRAME (f)) f 19512 src/xterm.c x_handle_wm_state (f, &inev.ie); f 19514 src/xterm.c if (f && FRAME_X_OUTPUT (f)->alpha_identical_p f 19535 src/xterm.c f->alpha[0] = 1.0; f 19536 src/xterm.c f->alpha[1] = 1.0; f 19538 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19543 src/xterm.c rc = XGetWindowProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19557 src/xterm.c f->alpha[0] = (double) opacity / (double) OPAQUE; f 19558 src/xterm.c f->alpha[1] = (double) opacity / (double) OPAQUE; f 19560 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19564 src/xterm.c f->alpha[0] = 1.0; f 19565 src/xterm.c f->alpha[1] = 1.0; f 19567 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19572 src/xterm.c (xcb_window_t) FRAME_OUTER_WINDOW (f), f 19592 src/xterm.c f->alpha[0] = (double) value / (double) OPAQUE; f 19593 src/xterm.c f->alpha[1] = (double) value / (double) OPAQUE; f 19594 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19598 src/xterm.c f->alpha[0] = 1.0; f 19599 src/xterm.c f->alpha[1] = 1.0; f 19601 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19640 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xreparent.window); f 19641 src/xterm.c if (f) f 19644 src/xterm.c if (FRAME_OUTPUT_DATA (f)->parent_desc f 19645 src/xterm.c && FRAME_X_EMBEDDED_P (f)) f 19652 src/xterm.c FRAME_X_OUTPUT (f)->explicit_parent = false; f 19655 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19657 src/xterm.c x_make_frame_visible (f); f 19662 src/xterm.c f->output_data.x->parent_desc = event->xreparent.parent; f 19664 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 19666 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 19679 src/xterm.c if (FRAME_X_OUTPUT (f)->has_been_visible) f 19680 src/xterm.c x_update_frame_user_time_window (f); f 19688 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 19689 src/xterm.c &root, &f->left_pos, &f->top_pos, f 19693 src/xterm.c x_set_frame_alpha (f); f 19713 src/xterm.c f = x_window_to_frame (dpyinfo, event->xexpose.window); f 19714 src/xterm.c if (f) f 19716 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 19726 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19727 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19731 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 19732 src/xterm.c x_drop_xrender_surfaces (f); f 19734 src/xterm.c f->output_data.x->has_been_visible = true; f 19735 src/xterm.c SET_FRAME_GARBAGED (f); f 19737 src/xterm.c else if (FRAME_GARBAGED_P (f)) f 19746 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), f 19747 src/xterm.c FRAME_X_WINDOW (f), f 19751 src/xterm.c x_clear_under_internal_border (f); f 19755 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19758 src/xterm.c if (f->output_data.x->edit_widget) f 19766 src/xterm.c x_clear_area (f, f 19770 src/xterm.c expose_frame (f, event->xexpose.x, event->xexpose.y, f 19773 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19776 src/xterm.c x_clear_under_internal_border (f); f 19781 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19785 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19786 src/xterm.c show_back_buffer (f); f 19810 src/xterm.c f = x_window_to_frame (dpyinfo, event->xgraphicsexpose.drawable); f 19811 src/xterm.c if (f) f 19813 src/xterm.c expose_frame (f, event->xgraphicsexpose.x, f 19818 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19821 src/xterm.c x_clear_under_internal_border (f); f 19824 src/xterm.c show_back_buffer (f); f 19863 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xunmap.window); f 19864 src/xterm.c if (f) /* F may no longer exist if f 19867 src/xterm.c bool visible = FRAME_VISIBLE_P (f); f 19873 src/xterm.c if (FRAME_TOOLTIP_P (f) && popup_activated ()) f 19900 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19907 src/xterm.c if (visible || FRAME_ICONIFIED_P (f)) f 19911 src/xterm.c (f, build_string ("UnmapNotify, visible | iconified")); f 19913 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19915 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19919 src/xterm.c (f, build_string ("UnmapNotify, not visible & not iconified")); f 19955 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xmap.window); f 19956 src/xterm.c if (f) f 19958 src/xterm.c bool iconified = FRAME_ICONIFIED_P (f); f 19961 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->xmap.window, &value, &sticky, f 19966 src/xterm.c (f, f 19974 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 19975 src/xterm.c -1, -1, f->new_width, f->new_height); f 19979 src/xterm.c if (!f->output_data.x->has_been_visible) f 19982 src/xterm.c x_check_fullscreen (f); f 19986 src/xterm.c if (FRAME_SKIP_TASKBAR (f)) f 19987 src/xterm.c x_set_skip_taskbar (f, Qt, Qnil); f 19995 src/xterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 19996 src/xterm.c x_set_z_group (f, Qabove, Qnil); f 19997 src/xterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 19998 src/xterm.c x_set_z_group (f, Qbelow, Qnil); f 20003 src/xterm.c if (not_hidden || FRAME_X_EMBEDDED_P (f)) f 20005 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 20006 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 20010 src/xterm.c if (f->was_invisible) f 20013 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 20014 src/xterm.c f->was_invisible = false; f 20017 src/xterm.c f->output_data.x->has_been_visible = true; f 20020 src/xterm.c x_update_opaque_region (f, NULL); f 20022 src/xterm.c if ((not_hidden || FRAME_X_EMBEDDED_P (f)) && iconified) f 20025 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20044 src/xterm.c f = any; f 20047 src/xterm.c if (f) f 20048 src/xterm.c x_set_gtk_user_time (f, event->xkey.time); f 20054 src/xterm.c && (f == 0 f 20056 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 20058 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 20071 src/xterm.c if (f == 0) f 20080 src/xterm.c f = x_any_window_to_frame (dpyinfo, XtWindow (widget)); f 20085 src/xterm.c if (f != 0) f 20108 src/xterm.c if (event->xkey.window == FRAME_X_WINDOW (f)) f 20111 src/xterm.c x_compute_root_window_offset (f, event->xkey.x_root, f 20165 src/xterm.c if (FRAME_XIC (f)) f 20169 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 20173 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 20178 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 20288 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20519 src/xterm.c if (f) f 20521 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 20524 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 20525 src/xterm.c xic_set_statusarea (f); f 20593 src/xterm.c f = any; f 20595 src/xterm.c if (f && event->xcrossing.window == FRAME_X_WINDOW (f)) f 20596 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20605 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 20614 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 20615 src/xterm.c x_note_mouse_movement (f, &event->xmotion, Qnil); f 20619 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 20658 src/xterm.c f = any; f 20659 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 20661 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 20662 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 20663 src/xterm.c f->output_data.x->has_been_visible = true; f 20665 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20726 src/xterm.c f = x_window_to_frame (dpyinfo, event->xcrossing.window); f 20728 src/xterm.c if (!f) f 20729 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20731 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20734 src/xterm.c if (f) f 20741 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 20746 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 20749 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 20755 src/xterm.c x_flush_dirty_back_buffer_on (f); f 20771 src/xterm.c if (event->xcrossing.window == FRAME_X_WINDOW (f)) f 20772 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20818 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xmotion.window); f 20820 src/xterm.c if (f && event->xmotion.window == FRAME_X_WINDOW (f)) f 20823 src/xterm.c x_compute_root_window_offset (f, event->xmotion.x_root, f 20855 src/xterm.c if (f) f 20857 src/xterm.c XTtoggle_invisible_pointer (f, false); f 20863 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 20869 src/xterm.c f->mouse_moved = true; f 20870 src/xterm.c f->last_mouse_device = Qnil; f 20873 src/xterm.c remember_mouse_glyph (f, event->xmotion.x, f 20875 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 21061 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 21062 src/xterm.c f = 0; f 21072 src/xterm.c if (f) f 21087 src/xterm.c && (f == XFRAME (selected_frame) f 21092 src/xterm.c if (xmotion.window != FRAME_X_WINDOW (f)) f 21094 src/xterm.c x_translate_coordinates (f, xmotion.x_root, xmotion.y_root, f 21096 src/xterm.c xmotion.window = FRAME_X_WINDOW (f); f 21100 src/xterm.c (f, xmotion.x, xmotion.y, 0, false, false); f 21122 src/xterm.c if (!x_note_mouse_movement (f, &xmotion, Qnil)) f 21147 src/xterm.c if (f) f 21148 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21314 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 21315 src/xterm.c x_drop_xrender_surfaces (f); f 21322 src/xterm.c f = x_top_window_to_frame (dpyinfo, configureEvent.xconfigure.window); f 21335 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 21336 src/xterm.c x_drop_xrender_surfaces (f); f 21339 src/xterm.c if (f) f 21340 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 21357 src/xterm.c if (f || (any && configureEvent.xconfigure.window f 21359 src/xterm.c x_update_opaque_region (f ? f : any, &configureEvent); f 21364 src/xterm.c if (!f f 21365 src/xterm.c && (f = any) f 21366 src/xterm.c && configureEvent.xconfigure.window == FRAME_X_WINDOW (f) f 21367 src/xterm.c && (FRAME_VISIBLE_P (f) f 21374 src/xterm.c (f, build_string ("ConfigureNotify"), f 21375 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 21378 src/xterm.c f->new_width, f->new_height); f 21381 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 21382 src/xterm.c x_drop_xrender_surfaces (f); f 21384 src/xterm.c xg_frame_resized (f, configureEvent.xconfigure.width, f 21387 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 21390 src/xterm.c x_update_opaque_region (f, &configureEvent); f 21391 src/xterm.c f = 0; f 21394 src/xterm.c if (f && (FRAME_VISIBLE_P (f) f 21401 src/xterm.c if (configureEvent.xconfigure.window == FRAME_X_WINDOW (f)) f 21403 src/xterm.c x_net_wm_state (f, configureEvent.xconfigure.window); f 21407 src/xterm.c if (FRAME_TOOLTIP_P (f)) f 21409 src/xterm.c if (FRAME_PIXEL_HEIGHT (f) != configureEvent.xconfigure.height f 21410 src/xterm.c || FRAME_PIXEL_WIDTH (f) != configureEvent.xconfigure.width) f 21411 src/xterm.c SET_FRAME_GARBAGED (f); f 21413 src/xterm.c FRAME_PIXEL_HEIGHT (f) = configureEvent.xconfigure.height; f 21414 src/xterm.c FRAME_PIXEL_WIDTH (f) = configureEvent.xconfigure.width; f 21425 src/xterm.c (f, build_string ("ConfigureNotify"), f 21426 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 21427 src/xterm.c width, height, f->new_width, f->new_height); f 21437 src/xterm.c if (width != FRAME_PIXEL_WIDTH (f) f 21438 src/xterm.c || height != FRAME_PIXEL_HEIGHT (f) f 21439 src/xterm.c || (f->new_size_p f 21440 src/xterm.c && ((f->new_width >= 0 && width != f->new_width) f 21441 src/xterm.c || (f->new_height >= 0 && height != f->new_height)))) f 21443 src/xterm.c change_frame_size (f, width, height, false, true, false); f 21444 src/xterm.c x_clear_under_internal_border (f); f 21445 src/xterm.c SET_FRAME_GARBAGED (f); f 21446 src/xterm.c cancel_mouse_face (f); f 21454 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f) f 21455 src/xterm.c && gtk_widget_get_mapped (FRAME_GTK_OUTER_WIDGET (f))) f 21458 src/xterm.c int old_left = f->left_pos; f 21459 src/xterm.c int old_top = f->top_pos; f 21462 src/xterm.c XSETFRAME (frame, f); f 21464 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 21465 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 21471 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21472 src/xterm.c &root, &f->left_pos, &f->top_pos, f 21476 src/xterm.c if (!FRAME_TOOLTIP_P (f) f 21477 src/xterm.c && (old_left != f->left_pos || old_top != f->top_pos)) f 21480 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21486 src/xterm.c if (f) f 21488 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 21489 src/xterm.c xic_set_statusarea (f); f 21491 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 21497 src/xterm.c if (f && dpyinfo->supports_xi2) f 21508 src/xterm.c if (dpyinfo->last_mouse_motion_frame == f) f 21511 src/xterm.c hlinfo = MOUSE_HL_INFO (f); f 21513 src/xterm.c if (hlinfo->mouse_face_mouse_frame == f) f 21571 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21573 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21576 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21587 src/xterm.c dpyinfo->last_mouse_frame = f; f 21589 src/xterm.c if (f) f 21590 src/xterm.c f->last_tab_bar_item = -1; f 21592 src/xterm.c if (f) f 21593 src/xterm.c f->last_tool_bar_item = -1; f 21753 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21755 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21758 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21763 src/xterm.c if (f && event->xbutton.type == ButtonPress f 21767 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21775 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 21778 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21782 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 21783 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 21788 src/xterm.c if (!f) f 21790 src/xterm.c f = x_any_window_to_frame (dpyinfo, event->xbutton.window); f 21794 src/xterm.c && f) f 21803 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21809 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21815 src/xterm.c f = NULL; f 21818 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 21819 src/xterm.c f = 0; f 21821 src/xterm.c if (f) f 21824 src/xterm.c if (WINDOWP (f->tab_bar_window) f 21825 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 21831 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21832 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 21837 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21839 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21845 src/xterm.c if (WINDOWP (f->tool_bar_window) f 21846 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 21852 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21853 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 21855 src/xterm.c || f->last_tool_bar_item != -1)); f 21860 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21862 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21879 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21885 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21891 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 21892 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21893 src/xterm.c xembed_send_message (f, event->xbutton.time, f 21919 src/xterm.c dpyinfo->last_mouse_frame = f; f 21920 src/xterm.c if (f && !tab_bar_p) f 21921 src/xterm.c f->last_tab_bar_item = -1; f 21923 src/xterm.c if (f && !tool_bar_p) f 21924 src/xterm.c f->last_tool_bar_item = -1; f 21933 src/xterm.c if (f != 0) f 21934 src/xterm.c f->mouse_moved = false; f 21937 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 21947 src/xterm.c && f && event->type == ButtonPress f 21951 src/xterm.c && event->xbutton.x < FRAME_PIXEL_WIDTH (f) f 21953 src/xterm.c && event->xbutton.y < FRAME_MENUBAR_HEIGHT (f) f 21966 src/xterm.c if (!f->output_data.x->saved_menu_event) f 21967 src/xterm.c f->output_data.x->saved_menu_event = xmalloc (sizeof *event); f 21968 src/xterm.c *f->output_data.x->saved_menu_event = *event; f 21970 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21997 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xvisibility.window); f 21999 src/xterm.c if (f) f 22000 src/xterm.c FRAME_X_OUTPUT (f)->visibility_state = event->xvisibility.state; f 22109 src/xterm.c f = any; f 22110 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 22112 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 22113 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 22114 src/xterm.c f->output_data.x->has_been_visible = true; f 22116 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22219 src/xterm.c f = any; f 22221 src/xterm.c if (f && enter->event == FRAME_X_WINDOW (f)) f 22222 src/xterm.c xi_compute_root_window_offset_enter (f, enter); f 22224 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 22233 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 22234 src/xterm.c x_note_mouse_movement (f, &ev, source ? source->name : Qnil); f 22238 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 22365 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 22369 src/xterm.c f = x_window_to_frame (dpyinfo, leave->event); f 22371 src/xterm.c if (!f) f 22372 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 22375 src/xterm.c if (f) f 22382 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 22387 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 22390 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 22396 src/xterm.c x_flush_dirty_back_buffer_on (f); f 22413 src/xterm.c if (f && leave->event == FRAME_X_WINDOW (f)) f 22414 src/xterm.c xi_compute_root_window_offset_enter (f, leave); f 22496 src/xterm.c if (!f) f 22498 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 22500 src/xterm.c if (!f) f 22507 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 22509 src/xterm.c if (!f) f 22516 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, true)) f 22520 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 22535 src/xterm.c x_translate_coordinates (f, f 22572 src/xterm.c window = window_from_coordinates (f, real_x, real_y, NULL, f 22581 src/xterm.c scroll_height = FRAME_PIXEL_HEIGHT (f); f 22639 src/xterm.c && xev->child != FRAME_X_WINDOW (f)) f 22666 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22685 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22738 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 22740 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 22743 src/xterm.c xi_compute_root_window_offset (f, xev); f 22770 src/xterm.c if (f) f 22772 src/xterm.c XTtoggle_invisible_pointer (f, false); f 22778 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 22784 src/xterm.c f->mouse_moved = true; f 22785 src/xterm.c f->last_mouse_device = (source ? source->name f 22789 src/xterm.c remember_mouse_glyph (f, lrint (xev->event_x), f 22791 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 22986 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 22987 src/xterm.c f = 0; f 22989 src/xterm.c if (f) f 22991 src/xterm.c if (xev->event != FRAME_X_WINDOW (f)) f 22993 src/xterm.c x_translate_coordinates (f, lrint (xev->root_x), f 22996 src/xterm.c ev.window = FRAME_X_WINDOW (f); f 23012 src/xterm.c && (f == XFRAME (selected_frame) f 23016 src/xterm.c Lisp_Object window = window_from_coordinates (f, ev.x, ev.y, 0, false, false); f 23041 src/xterm.c if (!x_note_mouse_movement (f, &ev, source ? source->name : Qnil)) f 23073 src/xterm.c if (f) f 23074 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23101 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 23104 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23108 src/xterm.c xi_compute_root_window_offset (f, xev); f 23123 src/xterm.c dpyinfo->last_mouse_frame = f; f 23128 src/xterm.c if (f) f 23129 src/xterm.c f->last_tab_bar_item = -1; f 23131 src/xterm.c if (f) f 23132 src/xterm.c f->last_tool_bar_item = -1; f 23145 src/xterm.c if (f && device) f 23146 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23449 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 23451 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23454 src/xterm.c xi_compute_root_window_offset (f, xev); f 23456 src/xterm.c if (f && xev->evtype == XI_ButtonPress f 23459 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23467 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 23480 src/xterm.c FRAME_OUTER_WINDOW (f), xev->time); f 23489 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 23493 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 23494 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 23498 src/xterm.c if (f) f 23504 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23509 src/xterm.c if (!f) f 23514 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23516 src/xterm.c if (xev->detail > 3 && xev->detail < 8 && f) f 23520 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 23521 src/xterm.c x_translate_coordinates (f, real_x, real_y, f 23536 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23549 src/xterm.c f = NULL; f 23552 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 23553 src/xterm.c f = 0; f 23556 src/xterm.c if (f) f 23574 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23587 src/xterm.c if (WINDOWP (f->tab_bar_window) f 23588 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 23594 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23595 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 23600 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23602 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23608 src/xterm.c if (WINDOWP (f->tool_bar_window) f 23609 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 23615 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23623 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 23625 src/xterm.c || f->last_tool_bar_item != -1)); f 23630 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23633 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23649 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23655 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23661 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 23662 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23663 src/xterm.c xembed_send_message (f, xev->time, f 23692 src/xterm.c dpyinfo->last_mouse_frame = f; f 23693 src/xterm.c if (f && !tab_bar_p) f 23694 src/xterm.c f->last_tab_bar_item = -1; f 23696 src/xterm.c if (f && !tool_bar_p) f 23697 src/xterm.c f->last_tool_bar_item = -1; f 23710 src/xterm.c if (f) f 23711 src/xterm.c f->mouse_moved = false; f 23716 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 23717 src/xterm.c if (f /* Gtk+ menus only react to the first three buttons. */ f 23728 src/xterm.c set_frame_menubar (f, true); f 23900 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23902 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23905 src/xterm.c xi_compute_root_window_offset (f, xev); f 23912 src/xterm.c if (f) f 23913 src/xterm.c x_set_gtk_user_time (f, xev->time); f 23916 src/xterm.c if (f) f 23922 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 24003 src/xterm.c && (f == 0 f 24005 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 24007 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 24019 src/xterm.c if (f != 0) f 24029 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24033 src/xterm.c if (FRAME_XIC (f)) f 24036 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 24040 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 24046 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 24401 src/xterm.c f = x_any_window_to_frame (xkey->event); f 24403 src/xterm.c if (f && xg_filter_key (f, event)) f 24577 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24579 src/xterm.c if (f) f 24582 src/xterm.c xi_compute_root_window_offset (f, xev); f 24585 src/xterm.c menu_bar_p = (f && FRAME_X_OUTPUT (f)->menubar_widget f 24586 src/xterm.c && xg_event_is_for_menubar (f, event)); f 24587 src/xterm.c if (f && FRAME_X_OUTPUT (f)->toolbar_widget) f 24589 src/xterm.c int scale = xg_get_scale (f); f 24596 src/xterm.c tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 24605 src/xterm.c && WINDOWP (f->tool_bar_window) f 24606 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 24612 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 24620 src/xterm.c tool_bar_p = EQ (window, f->tool_bar_window); f 24637 src/xterm.c note_mouse_highlight (f, x, y); f 24644 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 24647 src/xterm.c handle_tool_bar_click_with_device (f, x, y, true, 0, f 24653 src/xterm.c x_flush_dirty_back_buffer_on (f); f 24659 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_device f 24661 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_id = xev->detail; f 24670 src/xterm.c if (f && device->direct_p) f 24686 src/xterm.c xev->event_y, f); f 24690 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24720 src/xterm.c set_frame_menubar (f, true); f 24798 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24800 src/xterm.c if (f && device->direct_p) f 24804 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24809 src/xterm.c if (touchpoint->frame == f) f 24847 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24849 src/xterm.c if (f && device->direct_p) f 24855 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24869 src/xterm.c if (!f) f 24870 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24872 src/xterm.c if (f && (FRAME_OUTPUT_DATA (f)->tool_bar_touch_id f 24875 src/xterm.c if (f->last_tool_bar_item != -1) f 24876 src/xterm.c handle_tool_bar_click_with_device (f, xev->event_x, f 24884 src/xterm.c note_mouse_highlight (f, -1, -1); f 24885 src/xterm.c x_flush_dirty_back_buffer_on (f); f 24888 src/xterm.c FRAME_OUTPUT_DATA (f)->tool_bar_touch_device = 0; f 24971 src/xterm.c if (f) f 24973 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 24976 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 24977 src/xterm.c xic_set_statusarea (f); f 25376 src/xterm.c if (f) f 25377 src/xterm.c XSETFRAME (frame, f); f 25386 src/xterm.c xi_handle_interaction (dpyinfo, f, f 25605 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25617 src/xterm.c x_set_clip_rectangles (f, gc, &clip_rect, 1); f 25626 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25627 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 25628 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 25646 src/xterm.c xgcv.foreground = f->output_data.x->cursor_pixel; f 25651 src/xterm.c dpyinfo->scratch_cursor_gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), f 25667 src/xterm.c x_draw_rectangle (f, gc, x, y, wd, h - 1); f 25668 src/xterm.c x_reset_clip_rectangles (f, gc); f 25682 src/xterm.c struct frame *f = XFRAME (w->frame); f 25707 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 25708 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 25709 src/xterm.c GC gc = FRAME_DISPLAY_INFO (f)->scratch_cursor_gc; f 25711 src/xterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 25719 src/xterm.c if (face->background == f->output_data.x->cursor_pixel) f 25722 src/xterm.c xgcv.background = xgcv.foreground = f->output_data.x->cursor_pixel; f 25733 src/xterm.c FRAME_DISPLAY_INFO (f)->scratch_cursor_gc = gc; f 25743 src/xterm.c width = FRAME_CURSOR_WIDTH (f); f 25753 src/xterm.c x_fill_rectangle (f, gc, x, f 25773 src/xterm.c x_fill_rectangle (f, gc, x, f 25779 src/xterm.c x_reset_clip_rectangles (f, gc); f 25787 src/xterm.c x_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 25789 src/xterm.c if (!f->pointer_invisible f 25790 src/xterm.c && f->output_data.x->current_cursor != cursor) f 25791 src/xterm.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), cursor); f 25792 src/xterm.c f->output_data.x->current_cursor = cursor; f 25799 src/xterm.c x_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 25801 src/xterm.c x_clear_area (f, x, y, width, height); f 25813 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25859 src/xterm.c if (w == XWINDOW (f->selected_window)) f 25871 src/xterm.c x_bitmap_icon (struct frame *f, Lisp_Object file) f 25875 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25879 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25880 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25881 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25888 src/xterm.c if (xg_set_icon (f, file)) f 25891 src/xterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 25892 src/xterm.c x_create_bitmap_mask (f, bitmap_id); f 25897 src/xterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 25903 src/xterm.c if (xg_set_icon (f, xg_default_icon_file) f 25904 src/xterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 25906 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 25912 src/xterm.c if ((FRAME_X_VISUAL_INFO (f)->class == TrueColor f 25913 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticColor f 25914 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticGray) f 25918 src/xterm.c || FRAME_X_VISUAL_INFO (f)->colormap_size >= (240 * 4)) f 25920 src/xterm.c rc = x_create_bitmap_from_xpm_data (f, gnu_xpm_bits); f 25922 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25929 src/xterm.c rc = image_create_bitmap_from_data (f, f 25936 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25937 src/xterm.c x_create_bitmap_mask (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25945 src/xterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25947 src/xterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 25950 src/xterm.c x_wm_set_icon_pixmap (f, bitmap_id); f 25951 src/xterm.c f->output_data.x->icon_bitmap = bitmap_id; f 25961 src/xterm.c x_text_icon (struct frame *f, const char *icon_name) f 25963 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25972 src/xterm.c XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); f 25975 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25976 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25977 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25978 src/xterm.c x_wm_set_icon_pixmap (f, 0); f 26528 src/xterm.c struct frame *f; f 26570 src/xterm.c f = x_dnd_frame; f 26585 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 26587 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 26594 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 26596 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 26598 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 26905 src/xterm.c x_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 26912 src/xterm.c FRAME_FONTSET (f) = fontset; f 26913 src/xterm.c if (FRAME_FONT (f) == font) f 26918 src/xterm.c FRAME_FONT (f) = font; f 26919 src/xterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 26920 src/xterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 26922 src/xterm.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 26925 src/xterm.c FRAME_MENU_BAR_HEIGHT (f) = FRAME_MENU_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26928 src/xterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26934 src/xterm.c unit = FRAME_COLUMN_WIDTH (f); f 26935 src/xterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 26936 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 26937 src/xterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 26939 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 26945 src/xterm.c if (FRAME_X_WINDOW (f) != 0 && !FRAME_TOOLTIP_P (f)) f 26947 src/xterm.c (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 26948 src/xterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, false, Qfont); f 26951 src/xterm.c if (FRAME_XIC (f) f 26952 src/xterm.c && (FRAME_XIC_STYLE (f) & (XIMPreeditPosition | XIMStatusArea))) f 26955 src/xterm.c xic_set_xfontset (f, SSDATA (fontset_ascii (fontset))); f 26987 src/xterm.c x_maybe_clear_preedit (struct frame *f) f 26992 src/xterm.c output = FRAME_X_OUTPUT (f); f 27000 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 27028 src/xterm.c struct frame *f = XFRAME (frame); f 27029 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 27031 src/xterm.c FRAME_XIC (f) = NULL; f 27032 src/xterm.c xic_free_xfontset (f); f 27035 src/xterm.c x_maybe_clear_preedit (f); f 27143 src/xterm.c struct frame *f = XFRAME (frame); f 27145 src/xterm.c if (FRAME_X_P (f) f 27146 src/xterm.c && FRAME_DISPLAY_INFO (f) == xim_inst->dpyinfo) f 27147 src/xterm.c if (FRAME_XIC (f) == NULL) f 27149 src/xterm.c create_frame_xic (f); f 27150 src/xterm.c if (FRAME_XIC_STYLE (f) & XIMStatusArea) f 27151 src/xterm.c xic_set_statusarea (f); f 27152 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 27265 src/xterm.c x_calc_absolute_position (struct frame *f) f 27267 src/xterm.c int flags = f->size_hint_flags; f 27268 src/xterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 27277 src/xterm.c if ((flags & XNegative) && (f->left_pos <= 0)) f 27279 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 27283 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 27288 src/xterm.c XSETFRAME (frame, f); f 27296 src/xterm.c f->left_pos = (FRAME_PIXEL_WIDTH (p) - width - 2 * f->border_width f 27297 src/xterm.c + f->left_pos); f 27299 src/xterm.c f->left_pos = (x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 27300 src/xterm.c - width + f->left_pos); f 27304 src/xterm.c if ((flags & YNegative) && (f->top_pos <= 0)) f 27306 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 27321 src/xterm.c XtVaGetValues (f->output_data.x->column_widget, XtNheight, &height, NULL); f 27324 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 27329 src/xterm.c XSETFRAME (frame, f); f 27338 src/xterm.c f->top_pos = (FRAME_PIXEL_HEIGHT (p) - height - 2 * f->border_width f 27339 src/xterm.c + f->top_pos); f 27341 src/xterm.c f->top_pos = (x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 27342 src/xterm.c - height + f->top_pos); f 27348 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 27358 src/xterm.c x_set_offset (struct frame *f, int xoff, int yoff, int change_gravity) f 27362 src/xterm.c int scale = xg_get_scale (f); f 27367 src/xterm.c f->top_pos = yoff; f 27368 src/xterm.c f->left_pos = xoff; f 27369 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 27371 src/xterm.c f->size_hint_flags |= XNegative; f 27373 src/xterm.c f->size_hint_flags |= YNegative; f 27374 src/xterm.c f->win_gravity = NorthWestGravity; f 27377 src/xterm.c x_calc_absolute_position (f); f 27380 src/xterm.c x_wm_set_size_hint (f, 0, false); f 27389 src/xterm.c if (change_gravity != 0 && FRAME_GTK_OUTER_WIDGET (f)) f 27390 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 27391 src/xterm.c f->left_pos / scale, f->top_pos / scale); f 27397 src/xterm.c modified_left = f->left_pos; f 27398 src/xterm.c modified_top = f->top_pos; f 27400 src/xterm.c if (change_gravity != 0 && FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A) f 27405 src/xterm.c modified_left += FRAME_X_OUTPUT (f)->move_offset_left; f 27406 src/xterm.c modified_top += FRAME_X_OUTPUT (f)->move_offset_top; f 27411 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 27414 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27423 src/xterm.c if (!FRAME_PARENT_FRAME (f) f 27429 src/xterm.c x_sync_with_move (f, f->left_pos, f->top_pos, f 27430 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN); f 27443 src/xterm.c && (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN f 27444 src/xterm.c || (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A f 27445 src/xterm.c && (FRAME_X_OUTPUT (f)->move_offset_left == 0 f 27446 src/xterm.c && FRAME_X_OUTPUT (f)->move_offset_top == 0)))) f 27447 src/xterm.c x_check_expected_move (f, modified_left, modified_top); f 27453 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 27594 src/xterm.c x_wm_supports (struct frame *f, Atom want_atom) f 27596 src/xterm.c return x_wm_supports_1 (FRAME_DISPLAY_INFO (f), f 27626 src/xterm.c x_set_sticky (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27629 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27631 src/xterm.c XSETFRAME (frame, f); f 27638 src/xterm.c x_set_shaded (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27641 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27643 src/xterm.c XSETFRAME (frame, f); f 27660 src/xterm.c x_set_skip_taskbar (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27665 src/xterm.c xg_set_skip_taskbar (f, new_value); f 27668 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27670 src/xterm.c XSETFRAME (frame, f); f 27674 src/xterm.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 27695 src/xterm.c x_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 27700 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27702 src/xterm.c XSETFRAME (frame, f); f 27710 src/xterm.c FRAME_Z_GROUP (f) = z_group_none; f 27718 src/xterm.c FRAME_Z_GROUP (f) = z_group_above; f 27726 src/xterm.c FRAME_Z_GROUP (f) = z_group_below; f 27732 src/xterm.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 27746 src/xterm.c x_get_current_wm_state (struct frame *f, f 27755 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27764 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 27798 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27812 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27858 src/xterm.c do_ewmh_fullscreen (struct frame *f) f 27860 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27861 src/xterm.c bool have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state); f 27865 src/xterm.c x_get_current_wm_state (f, FRAME_OUTER_WINDOW (f), &cur, &dummy, &dummy); f 27870 src/xterm.c have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state_fullscreen); f 27872 src/xterm.c if (have_net_atom && cur != f->want_fullscreen) f 27876 src/xterm.c XSETFRAME (frame, f); f 27881 src/xterm.c switch (f->want_fullscreen) f 27980 src/xterm.c f->want_fullscreen = FULLSCREEN_NONE; f 27988 src/xterm.c XTfullscreen_hook (struct frame *f) f 27990 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 27994 src/xterm.c x_check_fullscreen (f); f 28000 src/xterm.c x_handle_net_wm_state (struct frame *f, const XPropertyEvent *event) f 28005 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->window, f 28026 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 28027 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 28028 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 28036 src/xterm.c x_check_fullscreen (struct frame *f) f 28040 src/xterm.c if (do_ewmh_fullscreen (f)) f 28043 src/xterm.c if (f->output_data.x->parent_desc != FRAME_DISPLAY_INFO (f)->root_window) f 28050 src/xterm.c if (f->want_fullscreen != FULLSCREEN_NONE) f 28052 src/xterm.c int width = FRAME_PIXEL_WIDTH (f), height = FRAME_PIXEL_HEIGHT (f); f 28053 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 28055 src/xterm.c switch (f->want_fullscreen) f 28071 src/xterm.c height = height + FRAME_MENUBAR_HEIGHT (f); f 28081 src/xterm.c x_wm_set_size_hint (f, 0, false); f 28083 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28086 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28087 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 28089 src/xterm.c change_frame_size (f, width, height, false, true, false); f 28094 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 28106 src/xterm.c x_check_expected_move (struct frame *f, int expected_left, int expected_top) f 28113 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 28122 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_A; f 28123 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_left = expected_left - current_left; f 28124 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_top = expected_top - current_top; f 28128 src/xterm.c adjusted_left = expected_left + FRAME_X_OUTPUT (f)->move_offset_left; f 28129 src/xterm.c adjusted_top = expected_top + FRAME_X_OUTPUT (f)->move_offset_top; f 28131 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28134 src/xterm.c x_sync_with_move (f, expected_left, expected_top, false); f 28139 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_B; f 28150 src/xterm.c x_sync_with_move (struct frame *f, int left, int top, bool fuzzy) f 28167 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 28197 src/xterm.c x_wait_for_event (struct frame *f, int eventtype) f 28205 src/xterm.c int fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 28207 src/xterm.c f->wait_event_type = eventtype; f 28217 src/xterm.c while (f->wait_event_type) f 28237 src/xterm.c f->wait_event_type = 0; f 28247 src/xterm.c x_set_window_size_1 (struct frame *f, bool change_gravity, f 28251 src/xterm.c f->win_gravity = NorthWestGravity; f 28252 src/xterm.c x_wm_set_size_hint (f, 0, false); f 28254 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28255 src/xterm.c width, height + FRAME_MENUBAR_HEIGHT (f)); f 28261 src/xterm.c SET_FRAME_GARBAGED (f); f 28286 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28288 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 28292 src/xterm.c (f, build_string ("x_set_window_size_1, visible"), f 28293 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 28294 src/xterm.c f->new_width, f->new_height); f 28300 src/xterm.c (f, build_string ("x_set_window_size_1, invisible"), f 28301 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 28302 src/xterm.c f->new_width, f->new_height); f 28306 src/xterm.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, width), f 28307 src/xterm.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, height), f 28319 src/xterm.c x_set_window_size (struct frame *f, bool change_gravity, f 28325 src/xterm.c if (FRAME_GTK_WIDGET (f)) f 28326 src/xterm.c xg_frame_set_char_size (f, width, height); f 28328 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 28330 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 28331 src/xterm.c x_clear_under_internal_border (f); f 28335 src/xterm.c mark_window_cursors_off (XWINDOW (f->root_window)); f 28341 src/xterm.c cancel_mouse_face (f); f 28351 src/xterm.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 28356 src/xterm.c deviceid = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 28358 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 28362 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f), 0); f 28363 src/xterm.c XIWarpPointer (FRAME_X_DISPLAY (f), deviceid, None, f 28364 src/xterm.c FRAME_X_WINDOW (f), 0, 0, 0, 0, pix_x, pix_y); f 28365 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 28370 src/xterm.c XWarpPointer (FRAME_X_DISPLAY (f), None, FRAME_X_WINDOW (f), f 28377 src/xterm.c x_raise_frame (struct frame *f) f 28381 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28383 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), f 28384 src/xterm.c FRAME_OUTER_WINDOW (f)); f 28385 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28392 src/xterm.c x_lower_frame_1 (struct frame *f) f 28408 src/xterm.c if (sibling == f) f 28412 src/xterm.c != FRAME_PARENT_FRAME (f)) f 28416 src/xterm.c windows[1] = FRAME_OUTER_WINDOW (f); f 28418 src/xterm.c XRestackWindows (FRAME_X_DISPLAY (f), windows, 2); f 28425 src/xterm.c x_lower_frame (struct frame *f) f 28427 src/xterm.c if (FRAME_PARENT_FRAME (f) f 28428 src/xterm.c && (FRAME_HAS_VERTICAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)) f 28429 src/xterm.c || FRAME_HAS_HORIZONTAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)))) f 28430 src/xterm.c x_lower_frame_1 (f); f 28432 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), f 28433 src/xterm.c FRAME_OUTER_WINDOW (f)); f 28439 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 28440 src/xterm.c lower_frame_xwidget_views (FRAME_PARENT_FRAME (f)); f 28443 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28447 src/xterm.c XTframe_raise_lower (struct frame *f, bool raise_flag) f 28450 src/xterm.c x_raise_frame (f); f 28452 src/xterm.c x_lower_frame (f); f 28458 src/xterm.c xembed_request_focus (struct frame *f) f 28462 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28463 src/xterm.c xembed_send_message (f, CurrentTime, f 28485 src/xterm.c x_get_server_time (struct frame *f) f 28499 src/xterm.c if (FRAME_DISPLAY_INFO (f)->server_time_monotonic_p) f 28509 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28511 src/xterm.c client_data[0] = FRAME_OUTER_WINDOW (f); f 28514 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 28528 src/xterm.c x_ewmh_activate_frame (struct frame *f) f 28534 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28536 src/xterm.c if (FRAME_VISIBLE_P (f)) f 28542 src/xterm.c msg.xclient.window = FRAME_OUTER_WINDOW (f); f 28563 src/xterm.c time = x_get_server_time (f); f 28565 src/xterm.c x_set_gtk_user_time (f, time); f 28569 src/xterm.c dpyinfo->x_focus_frame = f; f 28578 src/xterm.c time = x_get_server_time (f); f 28580 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), f 28581 src/xterm.c FRAME_OUTER_WINDOW (f), f 28583 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 28596 src/xterm.c x_get_focus_frame (struct frame *f) f 28600 src/xterm.c struct frame *focus = FRAME_DISPLAY_INFO (f)->x_focus_frame; f 28613 src/xterm.c x_get_toplevel_parent (struct frame *f) f 28617 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 28620 src/xterm.c parent = FRAME_PARENT_FRAME (f); f 28689 src/xterm.c x_focus_frame (struct frame *f, bool noactivate) f 28694 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28705 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28709 src/xterm.c xembed_request_focus (f); f 28716 src/xterm.c && !FRAME_OVERRIDE_REDIRECT (f) f 28719 src/xterm.c && !FRAME_PARENT_FRAME (f) f 28724 src/xterm.c != f)) f 28725 src/xterm.c && x_wm_supports (f, dpyinfo->Xatom_net_active_window)) f 28732 src/xterm.c x_ewmh_activate_frame (f); f 28751 src/xterm.c time = x_get_server_time (f); f 28757 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 28761 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 28782 src/xterm.c xembed_set_info (struct frame *f, enum xembed_info flags) f 28785 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 28790 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28797 src/xterm.c xembed_send_message (struct frame *f, Time t, enum xembed_message msg, f 28803 src/xterm.c event.xclient.window = FRAME_X_OUTPUT (f)->parent_desc; f 28804 src/xterm.c event.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_XEMBED; f 28816 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f), 0); f 28817 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_OUTPUT (f)->parent_desc, f 28819 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 28833 src/xterm.c x_make_frame_visible (struct frame *f) f 28841 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 28843 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 28847 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28848 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28849 src/xterm.c f->left_pos, f->top_pos); f 28851 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 28855 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28856 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28863 src/xterm.c gui_set_bitmap_icon (f); f 28866 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28869 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28875 src/xterm.c if (! FRAME_ICONIFIED_P (f) f 28876 src/xterm.c && ! FRAME_X_EMBEDDED_P (f) f 28877 src/xterm.c && ! f->output_data.x->asked_for_visible) f 28878 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 28881 src/xterm.c output = FRAME_X_OUTPUT (f); f 28882 src/xterm.c x_update_frame_user_time_window (f); f 28899 src/xterm.c f->output_data.x->asked_for_visible = true; f 28902 src/xterm.c x_wm_set_window_state (f, NormalState); f 28904 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28905 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28909 src/xterm.c XtMapWidget (f->output_data.x->widget); f 28913 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28914 src/xterm.c gtk_window_deiconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 28916 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28917 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28919 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28923 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28925 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28926 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28938 src/xterm.c bool previously_visible = f->output_data.x->has_been_visible; f 28940 src/xterm.c XSETFRAME (frame, f); f 28942 src/xterm.c int original_left = f->left_pos; f 28943 src/xterm.c int original_top = f->top_pos; f 28963 src/xterm.c if (!FRAME_VISIBLE_P (f) f 28964 src/xterm.c && !FRAME_ICONIFIED_P (f) f 28965 src/xterm.c && !FRAME_X_EMBEDDED_P (f) f 28966 src/xterm.c && !FRAME_PARENT_FRAME (f) f 28968 src/xterm.c && f->win_gravity == NorthWestGravity f 28984 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28989 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 29015 src/xterm.c if (!FRAME_VISIBLE_P (f) f 29020 src/xterm.c (f, build_string ("x_make_frame_visible")); f 29022 src/xterm.c x_wait_for_event (f, MapNotify); f 29027 src/xterm.c x_flush (f); f 29036 src/xterm.c x_make_frame_invisible (struct frame *f) f 29041 src/xterm.c window = FRAME_OUTER_WINDOW (f); f 29044 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 29045 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 29051 src/xterm.c xi_unlink_touch_points (f); f 29059 src/xterm.c x_wm_set_size_hint (f, 0, true); f 29062 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 29063 src/xterm.c gtk_widget_hide (FRAME_GTK_OUTER_WIDGET (f)); f 29066 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 29067 src/xterm.c xembed_set_info (f, 0); f 29071 src/xterm.c if (! XWithdrawWindow (FRAME_X_DISPLAY (f), window, f 29072 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f)))) f 29081 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 29088 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29089 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 29092 src/xterm.c frame_size_history_plain (f, build_string ("x_make_frame_invisible")); f 29098 src/xterm.c x_make_frame_visible_invisible (struct frame *f, bool visible) f 29101 src/xterm.c x_make_frame_visible (f); f 29103 src/xterm.c x_make_frame_invisible (f); f 29121 src/xterm.c x_iconify_frame (struct frame *f) f 29128 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 29129 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 29131 src/xterm.c if (FRAME_ICONIFIED_P (f)) f 29136 src/xterm.c gui_set_bitmap_icon (f); f 29139 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 29141 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 29142 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 29144 src/xterm.c gtk_window_iconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 29145 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29146 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 29154 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 29157 src/xterm.c x_wm_set_window_state (f, IconicState); f 29159 src/xterm.c XtMapWidget (f->output_data.x->widget); f 29163 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29164 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 29169 src/xterm.c result = XIconifyWindow (FRAME_X_DISPLAY (f), f 29170 src/xterm.c XtWindow (f->output_data.x->widget), f 29171 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f))); f 29177 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 29178 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29181 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 29187 src/xterm.c if (! FRAME_VISIBLE_P (f) f 29188 src/xterm.c && ! FRAME_ICONIFIED_P (f) f 29189 src/xterm.c && ! FRAME_X_EMBEDDED_P (f)) f 29190 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 29200 src/xterm.c msg.xclient.window = FRAME_X_WINDOW (f); f 29202 src/xterm.c msg.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_wm_change_state; f 29210 src/xterm.c if (! XSendEvent (FRAME_X_DISPLAY (f), f 29211 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 29223 src/xterm.c x_wm_set_window_state (f, IconicState); f 29225 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 29228 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29231 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 29232 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 29234 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 29243 src/xterm.c x_free_frame_resources (struct frame *f) f 29245 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 29256 src/xterm.c xi_handle_delete_frame (dpyinfo, f); f 29261 src/xterm.c xi_unlink_touch_points (f); f 29270 src/xterm.c if (f->pointer_invisible) f 29271 src/xterm.c XTtoggle_invisible_pointer (f, 0); f 29276 src/xterm.c free_frame_faces (f); f 29277 src/xterm.c tear_down_x_back_buffer (f); f 29279 src/xterm.c if (f->output_data.x->icon_desc) f 29280 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); f 29287 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) f 29295 src/xterm.c if (FRAME_XIC (f)) f 29296 src/xterm.c free_frame_xic (f); f 29300 src/xterm.c x_cr_destroy_frame_context (f); f 29303 src/xterm.c if (f->output_data.x->widget) f 29305 src/xterm.c XtDestroyWidget (f->output_data.x->widget); f 29306 src/xterm.c f->output_data.x->widget = NULL; f 29310 src/xterm.c else if (FRAME_X_WINDOW (f)) f 29311 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29313 src/xterm.c free_frame_menubar (f); f 29315 src/xterm.c if (f->shell_position) f 29316 src/xterm.c xfree (f->shell_position); f 29320 src/xterm.c kill_frame_xwidget_views (f); f 29324 src/xterm.c xg_free_frame_widgets (f); f 29327 src/xterm.c tear_down_x_back_buffer (f); f 29328 src/xterm.c if (FRAME_X_WINDOW (f)) f 29329 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 29333 src/xterm.c if (FRAME_X_BASIC_COUNTER (f) != None) f 29334 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 29335 src/xterm.c FRAME_X_BASIC_COUNTER (f)); f 29337 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) != None) f 29338 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 29339 src/xterm.c FRAME_X_EXTENDED_COUNTER (f)); f 29342 src/xterm.c unload_color (f, FRAME_FOREGROUND_PIXEL (f)); f 29343 src/xterm.c unload_color (f, FRAME_BACKGROUND_PIXEL (f)); f 29344 src/xterm.c unload_color (f, f->output_data.x->cursor_pixel); f 29345 src/xterm.c unload_color (f, f->output_data.x->cursor_foreground_pixel); f 29346 src/xterm.c unload_color (f, f->output_data.x->border_pixel); f 29347 src/xterm.c unload_color (f, f->output_data.x->mouse_pixel); f 29349 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 29350 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_background_pixel); f 29351 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 29352 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); f 29355 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) f 29356 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_top_shadow_pixel); f 29357 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel != -1) f 29358 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); f 29360 src/xterm.c if (f->output_data.x->white_relief.pixel != -1) f 29361 src/xterm.c unload_color (f, f->output_data.x->white_relief.pixel); f 29362 src/xterm.c if (f->output_data.x->black_relief.pixel != -1) f 29363 src/xterm.c unload_color (f, f->output_data.x->black_relief.pixel); f 29365 src/xterm.c x_free_gcs (f); f 29368 src/xterm.c if (f->output_data.x->white_relief.gc) f 29370 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->white_relief.gc); f 29371 src/xterm.c f->output_data.x->white_relief.gc = 0; f 29373 src/xterm.c if (f->output_data.x->black_relief.gc) f 29375 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->black_relief.gc); f 29376 src/xterm.c f->output_data.x->black_relief.gc = 0; f 29380 src/xterm.c if (f->output_data.x->text_cursor != 0) f 29381 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->text_cursor); f 29382 src/xterm.c if (f->output_data.x->nontext_cursor != 0) f 29383 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->nontext_cursor); f 29384 src/xterm.c if (f->output_data.x->modeline_cursor != 0) f 29385 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->modeline_cursor); f 29386 src/xterm.c if (f->output_data.x->hand_cursor != 0) f 29387 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hand_cursor); f 29388 src/xterm.c if (f->output_data.x->hourglass_cursor != 0) f 29389 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hourglass_cursor); f 29390 src/xterm.c if (f->output_data.x->horizontal_drag_cursor != 0) f 29391 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->horizontal_drag_cursor); f 29392 src/xterm.c if (f->output_data.x->vertical_drag_cursor != 0) f 29393 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->vertical_drag_cursor); f 29394 src/xterm.c if (f->output_data.x->left_edge_cursor != 0) f 29395 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->left_edge_cursor); f 29396 src/xterm.c if (f->output_data.x->top_left_corner_cursor != 0) f 29397 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_left_corner_cursor); f 29398 src/xterm.c if (f->output_data.x->top_edge_cursor != 0) f 29399 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_edge_cursor); f 29400 src/xterm.c if (f->output_data.x->top_right_corner_cursor != 0) f 29401 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_right_corner_cursor); f 29402 src/xterm.c if (f->output_data.x->right_edge_cursor != 0) f 29403 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->right_edge_cursor); f 29404 src/xterm.c if (f->output_data.x->bottom_right_corner_cursor != 0) f 29405 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_right_corner_cursor); f 29406 src/xterm.c if (f->output_data.x->bottom_edge_cursor != 0) f 29407 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_edge_cursor); f 29408 src/xterm.c if (f->output_data.x->bottom_left_corner_cursor != 0) f 29409 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_left_corner_cursor); f 29413 src/xterm.c x_sync_free_fences (f); f 29425 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider) f 29426 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider); f 29428 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider) f 29429 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider); f 29432 src/xterm.c if (f == dpyinfo->motif_drag_atom_owner) f 29438 src/xterm.c if (f == dpyinfo->x_focus_frame) f 29440 src/xterm.c if (f == dpyinfo->x_focus_event_frame) f 29442 src/xterm.c if (f == dpyinfo->highlight_frame) f 29444 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 29449 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 29451 src/xterm.c if (f == dpyinfo->last_mouse_frame) f 29471 src/xterm.c x_destroy_window (struct frame *f) f 29473 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 29478 src/xterm.c x_free_frame_resources (f); f 29480 src/xterm.c xfree (f->output_data.x->saved_menu_event); f 29483 src/xterm.c if (f->output_data.x->preedit_chars) f 29484 src/xterm.c xfree (f->output_data.x->preedit_chars); f 29489 src/xterm.c if (f->output_data.x->xi_masks) f 29490 src/xterm.c XFree (f->output_data.x->xi_masks); f 29494 src/xterm.c if (f->output_data.x->xi_masks) f 29495 src/xterm.c xfree (f->output_data.x->xi_masks); f 29499 src/xterm.c xfree (f->output_data.x); f 29500 src/xterm.c f->output_data.x = NULL; f 29743 src/xterm.c x_embed_frame (struct x_display_info *dpyinfo, struct frame *f) f 29749 src/xterm.c XReparentWindow (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 29750 src/xterm.c FRAME_OUTPUT_DATA (f)->parent_desc, 0, 0); f 29773 src/xterm.c x_wm_set_size_hint (struct frame *f, long flags, bool user_position) f 29777 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29789 src/xterm.c if (f->output_data.x->widget) f 29794 src/xterm.c eassert (XtIsWMShell (f->output_data.x->widget)); f 29795 src/xterm.c shell = (WMShellWidget) f->output_data.x->widget; f 29811 src/xterm.c = widget_update_wm_size_hints (f->output_data.x->widget, f 29812 src/xterm.c f->output_data.x->edit_widget); f 29814 src/xterm.c widget_update_wm_size_hints (f->output_data.x->widget, f 29815 src/xterm.c f->output_data.x->edit_widget); f 29850 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 29851 src/xterm.c XtWindow (f->output_data.x->widget), f 29859 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 29860 src/xterm.c XtWindow (f->output_data.x->widget), f 29871 src/xterm.c size_hints.x = f->left_pos; f 29872 src/xterm.c size_hints.y = f->top_pos; f 29874 src/xterm.c size_hints.width = FRAME_PIXEL_WIDTH (f); f 29875 src/xterm.c size_hints.height = FRAME_PIXEL_HEIGHT (f); f 29877 src/xterm.c size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f); f 29878 src/xterm.c size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f); f 29880 src/xterm.c size_hints.max_width = x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 29881 src/xterm.c - FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29882 src/xterm.c size_hints.max_height = x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 29883 src/xterm.c - FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29889 src/xterm.c base_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29890 src/xterm.c base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29900 src/xterm.c size_hints.base_height = base_height + FRAME_MENUBAR_HEIGHT (f); f 29917 src/xterm.c value = XGetWMNormalHints (FRAME_X_DISPLAY (f), window, &hints, f 29940 src/xterm.c size_hints.win_gravity = f->win_gravity; f 29950 src/xterm.c XSetWMNormalHints (FRAME_X_DISPLAY (f), window, &size_hints); f 29952 src/xterm.c xg_wm_set_size_hint (f, flags, user_position); f 29959 src/xterm.c x_wm_set_window_state (struct frame *f, int state) f 29965 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29967 src/xterm.c Window window = FRAME_X_WINDOW (f); f 29969 src/xterm.c f->output_data.x->wm_hints.flags |= StateHint; f 29970 src/xterm.c f->output_data.x->wm_hints.initial_state = state; f 29972 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29977 src/xterm.c x_wm_set_icon_pixmap (struct frame *f, ptrdiff_t pixmap_id) f 29982 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29987 src/xterm.c icon_pixmap = image_bitmap_pixmap (f, pixmap_id); f 29988 src/xterm.c f->output_data.x->wm_hints.icon_pixmap = icon_pixmap; f 29989 src/xterm.c icon_mask = x_bitmap_mask (f, pixmap_id); f 29990 src/xterm.c f->output_data.x->wm_hints.icon_mask = icon_mask; f 30002 src/xterm.c xg_set_frame_icon (f, icon_pixmap, icon_mask); f 30011 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 30013 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 30018 src/xterm.c f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); f 30019 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 30025 src/xterm.c x_wm_set_icon_position (struct frame *f, int icon_x, int icon_y) f 30027 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 30029 src/xterm.c f->output_data.x->wm_hints.flags |= IconPositionHint; f 30030 src/xterm.c f->output_data.x->wm_hints.icon_x = icon_x; f 30031 src/xterm.c f->output_data.x->wm_hints.icon_y = icon_y; f 30033 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 30047 src/xterm.c x_check_font (struct frame *f, struct font *font) f 30051 src/xterm.c eassert (font->driver->check (f, font) == 0); f 30062 src/xterm.c x_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 30071 src/xterm.c XFreePixmap (FRAME_X_DISPLAY (f), pixmap); f 31700 src/xterm.c struct frame *f; f 31717 src/xterm.c f = XFRAME (frame); f 31719 src/xterm.c if (FRAME_LIVE_P (f) && f->terminal == terminal) f 31996 src/xterm.c x_reset_conversion (struct frame *f) f 32000 src/xterm.c if (FRAME_XIC (f)) f 32002 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() {}