f 231 lib-src/ebrowse.c set_flag (int *f, int flag) f 233 lib-src/ebrowse.c *f |= flag; f 237 lib-src/ebrowse.c has_flag (int f, int flag) f 239 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 418 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 311 lib-src/update-game-score.c FILE *f = fopen (filename, "r"); f 312 lib-src/update-game-score.c if (!f) f 314 lib-src/update-game-score.c if (fstat (fileno (f), &st) != 0) f 325 lib-src/update-game-score.c nread = fread (filedata, 1, filesize + 1, f); f 333 lib-src/update-game-score.c if (ferror (f) || fclose (f) != 0) f 433 lib-src/update-game-score.c FILE *f; f 446 lib-src/update-game-score.c f = fdopen (fd, "w"); f 447 lib-src/update-game-score.c if (! f) f 450 lib-src/update-game-score.c if (fprintf (f, "%s %s\n", scores[i].score, scores[i].user_data) < 0) f 452 lib-src/update-game-score.c if (fclose (f) != 0) f 85 lib/attribute.h #define ATTRIBUTE_DEALLOC(f, i) _GL_ATTRIBUTE_DEALLOC(f, i) f 187 lib/cdefs.h #define __glibc_fortify(f, __l, __s, __osz, ...) \ f 189 lib/cdefs.h ? __ ## f ## _alias (__VA_ARGS__) \ f 191 lib/cdefs.h ? __ ## f ## _chk_warn (__VA_ARGS__, __osz) \ f 192 lib/cdefs.h : __ ## f ## _chk (__VA_ARGS__, __osz))) \ f 197 lib/cdefs.h #define __glibc_fortify_n(f, __l, __s, __osz, ...) \ f 199 lib/cdefs.h ? __ ## f ## _alias (__VA_ARGS__) \ f 201 lib/cdefs.h ? __ ## f ## _chk_warn (__VA_ARGS__, (__osz) / (__s)) \ f 202 lib/cdefs.h : __ ## f ## _chk (__VA_ARGS__, (__osz) / (__s)))) \ f 63 lib/dirent.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 65 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 1710 lib/mini-gmp.c mp_limb_t f; f 1736 lib/mini-gmp.c f = (mp_limb_t) x; f 1737 lib/mini-gmp.c x -= f; f 1740 lib/mini-gmp.c rp[i] = f; f 1744 lib/mini-gmp.c f = (mp_limb_t) x; f 1745 lib/mini-gmp.c x -= f; f 1747 lib/mini-gmp.c rp[i] = f; f 1825 lib/mini-gmp.c mp_limb_t f, xl; f 1827 lib/mini-gmp.c f = (mp_limb_t) d; f 1829 lib/mini-gmp.c if (xl > f) f 1831 lib/mini-gmp.c else if (xl < f) f 1833 lib/mini-gmp.c d = B * (d - f); f 156 lib/nstrftime.c #define add(n, f) width_add (width, n, f) f 157 lib/nstrftime.c #define width_add(width, n, f) \ f 178 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 || INT_ADD_WRAPV (width, *f - L_('0'), &width)) 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 1391 lib/nstrftime.c for (colons = 1; f[colons] == L_(':'); colons++) f 1393 lib/nstrftime.c if (f[colons] != L_('z')) f 1395 lib/nstrftime.c f += colons; f 1471 lib/nstrftime.c --f; f 1478 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 99 lib/stdio.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 101 lib/stdio.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 108 lib/stdlib.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 110 lib/stdlib.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 75 lib/string.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) f 77 lib/string.in.h # define _GL_ATTRIBUTE_DEALLOC(f, i) f 499 nt/inc/ms-w32.h #define mkdir(d,f) sys_mkdir(d,f) f 590 src/alloc.c XFLOAT_INIT (Lisp_Object f, double n) f 592 src/alloc.c XFLOAT (f)->u.data = n; f 6577 src/alloc.c struct face *face = FACE_FROM_ID_OR_NULL (c->f, i); f 6634 src/alloc.c struct frame *f = (struct frame *) ptr; f 6636 src/alloc.c mark_face_cache (f->face_cache); f 6638 src/alloc.c if (FRAME_WINDOW_P (f) && FRAME_OUTPUT_DATA (f)) f 6640 src/alloc.c struct font *font = FRAME_FONT (f); f 1694 src/buffer.c struct frame *f = decode_live_frame (frame); f 1695 src/buffer.c Lisp_Object tail = f->buffer_list, pred = f->buffer_predicate; f 2120 src/buffer.c register struct frame *f = XFRAME (selected_frame); f 2137 src/buffer.c fset_buffer_list (f, Fcons (buffer, Fdelq (buffer, f->buffer_list))); f 2138 src/buffer.c fset_buried_buffer_list (f, Fdelq (buffer, f->buried_buffer_list)); f 2156 src/buffer.c register struct frame *f = XFRAME (selected_frame); f 2173 src/buffer.c fset_buffer_list (f, Fdelq (buffer, f->buffer_list)); f 2175 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 763 src/comp.c FILE *f = emacs_fopen (SSDATA (encoded_filename), is_gz ? "rb" : "r"); f 765 src/comp.c if (!f) f 772 src/comp.c ? md5_gz_stream (f, SSDATA (digest)) f 773 src/comp.c : md5_stream (f, SSDATA (digest)); f 775 src/comp.c int res = md5_stream (f, SSDATA (digest)); f 777 src/comp.c fclose (f); f 871 src/comp.c bcall0 (Lisp_Object f) f 873 src/comp.c Ffuncall (1, &f); f 2208 src/comp.c gcc_jit_function *f = f 2215 src/comp.c return gcc_jit_context_new_call (comp.ctxt, NULL, f, 1, args); f 2236 src/comp.c gcc_jit_function *f = f 2243 src/comp.c return gcc_jit_context_new_call (comp.ctxt, NULL, f, 2, args); f 2776 src/comp.c gcc_jit_function *f = f 2782 src/comp.c DECL_BLOCK (block, f); f 2797 src/comp.c gcc_jit_lvalue *ptrvar = gcc_jit_function_new_local (f, NULL, f 5163 src/comp.c static FILE *f; f 5164 src/comp.c if (!f) f 5168 src/comp.c f = fopen (str, "w"); f 5170 src/comp.c if (!f) f 5172 src/comp.c fprintf (f, "function %s file %s\n", f 5175 src/comp.c fflush (f); f 5257 src/comp.c static_obj_t *(*f)(void) = dynlib_sym (comp_u->handle, name); f 5258 src/comp.c if (!f) f 5261 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 1330 src/dispextern.h struct frame *f; f 1873 src/dispextern.h struct frame *f; f 1907 src/dispextern.h FACE_FOR_CHAR (struct frame *f, struct face *face, int character, f 1911 src/dispextern.h return face_for_char (f, face, character, pos, object); f 2313 src/dispextern.h struct frame *f; f 2821 src/dispextern.h if (FRAME_RIF ((IT)->f) != NULL) \ f 2822 src/dispextern.h FRAME_RIF ((IT)->f)->produce_glyphs ((IT)); \ f 2970 src/dispextern.h void (*flush_display) (struct frame *f); f 2977 src/dispextern.h void (*get_glyph_overhangs) (struct glyph *glyph, struct frame *f, f 3005 src/dispextern.h void (*define_frame_cursor) (struct frame *f, Emacs_Cursor cursor); f 3008 src/dispextern.h void (*clear_frame_area) (struct frame *f, int x, int y, f 3014 src/dispextern.h void (*clear_under_internal_border) (struct frame *f); f 3037 src/dispextern.h void (*shift_glyphs_for_insert) (struct frame *f, f 3042 src/dispextern.h void (*show_hourglass) (struct frame *f); f 3045 src/dispextern.h void (*hide_hourglass) (struct frame *f); f 3049 src/dispextern.h void (*default_font_parameter) (struct frame *f, Lisp_Object parms); f 3657 src/dispextern.h #define IMAGE_BACKGROUND(img, f, ximg) \ f 3660 src/dispextern.h : image_background (img, f, ximg)) f 3666 src/dispextern.h #define IMAGE_BACKGROUND_TRANSPARENT(img, f, mask) \ f 3669 src/dispextern.h : image_background_transparent (img, f, mask)) f 3704 src/dispextern.h void clear_current_matrices (struct frame *f); f 195 src/dispnew.c add_frame_display_history (struct frame *f, bool paused_p) f 198 src/dispnew.c void *ptr = f; f 785 src/dispnew.c clear_current_matrices (register struct frame *f) f 788 src/dispnew.c if (f->current_matrix) f 789 src/dispnew.c clear_glyph_matrix (f->current_matrix); f 795 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 796 src/dispnew.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 801 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 802 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 807 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 808 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 812 src/dispnew.c eassert (WINDOWP (FRAME_ROOT_WINDOW (f))); f 813 src/dispnew.c clear_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (f)), 0); f 820 src/dispnew.c clear_desired_matrices (register struct frame *f) f 822 src/dispnew.c if (f->desired_matrix) f 823 src/dispnew.c clear_glyph_matrix (f->desired_matrix); f 826 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 827 src/dispnew.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->desired_matrix); f 831 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 832 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->desired_matrix); f 836 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 837 src/dispnew.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->desired_matrix); f 841 src/dispnew.c eassert (WINDOWP (FRAME_ROOT_WINDOW (f))); f 842 src/dispnew.c clear_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (f)), 1); f 1164 src/dispnew.c line_hash_code (struct frame *f, struct glyph_row *row) f 1177 src/dispnew.c if (FRAME_MUST_WRITE_SPACES (f)) f 1198 src/dispnew.c line_draw_cost (struct frame *f, struct glyph_matrix *matrix, int vpos) f 1208 src/dispnew.c if (!FRAME_MUST_WRITE_SPACES (f)) f 1632 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (window))); f 1666 src/dispnew.c w->desired_matrix = new_glyph_matrix (f->desired_pool); f 1667 src/dispnew.c w->current_matrix = new_glyph_matrix (f->current_pool); f 1745 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1747 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1750 src/dispnew.c int ch_height = max (FRAME_SMALLEST_FONT_HEIGHT (f), 1); f 1773 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1774 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1777 src/dispnew.c int ch_width = max (FRAME_SMALLEST_CHAR_WIDTH (f), 1); f 1834 src/dispnew.c adjust_frame_glyphs (struct frame *f) f 1840 src/dispnew.c if (FRAME_WINDOW_P (f)) f 1841 src/dispnew.c adjust_frame_glyphs_for_window_redisplay (f); f 1844 src/dispnew.c adjust_frame_glyphs_for_frame_redisplay (f); f 1845 src/dispnew.c eassert (FRAME_INITIAL_P (f) f 1848 src/dispnew.c || (f->current_matrix f 1849 src/dispnew.c && f->current_matrix->nrows > 0 f 1850 src/dispnew.c && f->current_matrix->rows f 1851 src/dispnew.c && f->desired_matrix f 1852 src/dispnew.c && f->desired_matrix->nrows > 0 f 1853 src/dispnew.c && f->desired_matrix->rows)); f 1857 src/dispnew.c adjust_decode_mode_spec_buffer (f); f 1859 src/dispnew.c f->glyphs_initialized_p = true; f 1902 src/dispnew.c struct frame *f = XFRAME (w->frame); f 1904 src/dispnew.c struct glyph_matrix *fm = f->current_matrix; f 1938 src/dispnew.c save_current_matrix (struct frame *f) f 1942 src/dispnew.c saved->nrows = f->current_matrix->nrows; f 1947 src/dispnew.c struct glyph_row *from = f->current_matrix->rows + i; f 1982 src/dispnew.c restore_current_matrix (struct frame *f, struct glyph_matrix *saved) f 1989 src/dispnew.c struct glyph_row *to = f->current_matrix->rows + i; f 2027 src/dispnew.c adjust_frame_glyphs_for_frame_redisplay (struct frame *f) f 2034 src/dispnew.c if (!FRAME_LIVE_P (f)) f 2037 src/dispnew.c top_window_y = FRAME_TOP_MARGIN (f); f 2040 src/dispnew.c if (f->desired_pool == NULL) f 2042 src/dispnew.c f->desired_pool = new_glyph_pool (); f 2043 src/dispnew.c f->current_pool = new_glyph_pool (); f 2047 src/dispnew.c if (f->desired_matrix == NULL) f 2049 src/dispnew.c f->desired_matrix = new_glyph_matrix (f->desired_pool); f 2050 src/dispnew.c f->current_matrix = new_glyph_matrix (f->current_pool); f 2061 src/dispnew.c = allocate_matrices_for_frame_redisplay (FRAME_ROOT_WINDOW (f), f 2070 src/dispnew.c pool_changed_p = realloc_glyph_pool (f->desired_pool, matrix_dim); f 2071 src/dispnew.c realloc_glyph_pool (f->current_pool, matrix_dim); f 2078 src/dispnew.c allocate_matrices_for_frame_redisplay (FRAME_ROOT_WINDOW (f), f 2085 src/dispnew.c if (matrix_dim.width != FRAME_TOTAL_COLS (f) f 2086 src/dispnew.c || matrix_dim.height != FRAME_TOTAL_LINES (f)) f 2096 src/dispnew.c if (!FRAME_WINDOW_P (f) && pool_changed_p) f 2097 src/dispnew.c SET_FRAME_GARBAGED (f); f 2101 src/dispnew.c eassert (matrix_dim.width == FRAME_TOTAL_COLS (f) f 2102 src/dispnew.c && matrix_dim.height == FRAME_TOTAL_LINES (f)); f 2114 src/dispnew.c && !FRAME_GARBAGED_P (f) f 2115 src/dispnew.c && matrix_dim.width == f->current_matrix->matrix_w f 2116 src/dispnew.c && matrix_dim.height == f->current_matrix->matrix_h f 2121 src/dispnew.c && !showing_window_margins_p (XWINDOW (FRAME_ROOT_WINDOW (f)))) f 2123 src/dispnew.c struct glyph_matrix *copy = save_current_matrix (f); f 2124 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2125 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2126 src/dispnew.c restore_current_matrix (f, copy); f 2127 src/dispnew.c fake_current_matrices (FRAME_ROOT_WINDOW (f)); f 2131 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2132 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2133 src/dispnew.c SET_FRAME_GARBAGED (f); f 2136 src/dispnew.c else if (!FRAME_INITIAL_P (f) && !noninteractive && initialized) f 2138 src/dispnew.c if (!f->desired_matrix->nrows || !f->desired_matrix->rows) f 2140 src/dispnew.c adjust_glyph_matrix (NULL, f->desired_matrix, 0, 0, matrix_dim); f 2141 src/dispnew.c SET_FRAME_GARBAGED (f); f 2143 src/dispnew.c if (!f->current_matrix->nrows || !f->current_matrix->rows) f 2145 src/dispnew.c adjust_glyph_matrix (NULL, f->current_matrix, 0, 0, matrix_dim); f 2146 src/dispnew.c SET_FRAME_GARBAGED (f); f 2156 src/dispnew.c adjust_frame_glyphs_for_window_redisplay (struct frame *f) f 2158 src/dispnew.c eassert (FRAME_WINDOW_P (f) && FRAME_LIVE_P (f)); f 2161 src/dispnew.c allocate_matrices_for_window_redisplay (XWINDOW (FRAME_ROOT_WINDOW (f))); f 2169 src/dispnew.c if (NILP (f->menu_bar_window)) f 2172 src/dispnew.c fset_menu_bar_window (f, make_window ()); f 2173 src/dispnew.c w = XWINDOW (f->menu_bar_window); f 2174 src/dispnew.c XSETFRAME (frame, f); f 2179 src/dispnew.c w = XWINDOW (f->menu_bar_window); f 2187 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2188 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2189 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2190 src/dispnew.c w->pixel_height = FRAME_MENU_BAR_HEIGHT (f); f 2191 src/dispnew.c w->total_lines = FRAME_MENU_BAR_LINES (f); f 2201 src/dispnew.c if (NILP (f->tab_bar_window)) f 2204 src/dispnew.c fset_tab_bar_window (f, make_window ()); f 2205 src/dispnew.c w = XWINDOW (f->tab_bar_window); f 2206 src/dispnew.c XSETFRAME (frame, f); f 2211 src/dispnew.c w = XWINDOW (f->tab_bar_window); f 2215 src/dispnew.c w->pixel_top = FRAME_MENU_BAR_HEIGHT (f) f 2216 src/dispnew.c + (!NILP (Vtab_bar_position) ? FRAME_TOOL_BAR_HEIGHT (f) : 0); f 2217 src/dispnew.c w->top_line = FRAME_MENU_BAR_LINES (f) f 2218 src/dispnew.c + (!NILP (Vtab_bar_position) ? FRAME_TOOL_BAR_LINES (f) : 0); f 2219 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2220 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2221 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2222 src/dispnew.c w->total_lines = FRAME_TAB_BAR_LINES (f); f 2223 src/dispnew.c w->pixel_height = FRAME_TAB_BAR_HEIGHT (f); f 2233 src/dispnew.c if (NILP (f->tool_bar_window)) f 2236 src/dispnew.c fset_tool_bar_window (f, make_window ()); f 2237 src/dispnew.c w = XWINDOW (f->tool_bar_window); f 2238 src/dispnew.c XSETFRAME (frame, f); f 2243 src/dispnew.c w = XWINDOW (f->tool_bar_window); f 2247 src/dispnew.c w->pixel_top = FRAME_MENU_BAR_HEIGHT (f) f 2248 src/dispnew.c + (NILP (Vtab_bar_position) ? FRAME_TAB_BAR_HEIGHT (f) : 0); f 2249 src/dispnew.c w->top_line = FRAME_MENU_BAR_LINES (f) f 2250 src/dispnew.c + (NILP (Vtab_bar_position) ? FRAME_TAB_BAR_LINES (f) : 0); f 2251 src/dispnew.c w->total_cols = FRAME_TOTAL_COLS (f); f 2252 src/dispnew.c w->pixel_width = (FRAME_PIXEL_WIDTH (f) f 2253 src/dispnew.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 2254 src/dispnew.c w->total_lines = FRAME_TOOL_BAR_LINES (f); f 2255 src/dispnew.c w->pixel_height = FRAME_TOOL_BAR_HEIGHT (f); f 2265 src/dispnew.c adjust_decode_mode_spec_buffer (struct frame *f) f 2267 src/dispnew.c int frame_message_buf_size = FRAME_MESSAGE_BUF_SIZE (f); f 2270 src/dispnew.c f->decode_mode_spec_buffer = xrealloc (f->decode_mode_spec_buffer, f 2286 src/dispnew.c free_glyphs (struct frame *f) f 2288 src/dispnew.c if (f && f->glyphs_initialized_p) f 2293 src/dispnew.c f->glyphs_initialized_p = false; f 2296 src/dispnew.c if (!NILP (f->root_window)) f 2297 src/dispnew.c free_window_matrices (XWINDOW (f->root_window)); f 2302 src/dispnew.c if (!NILP (f->menu_bar_window)) f 2304 src/dispnew.c struct window *w = XWINDOW (f->menu_bar_window); f 2308 src/dispnew.c fset_menu_bar_window (f, Qnil); f 2314 src/dispnew.c if (!NILP (f->tab_bar_window)) f 2316 src/dispnew.c struct window *w = XWINDOW (f->tab_bar_window); f 2320 src/dispnew.c fset_tab_bar_window (f, Qnil); f 2326 src/dispnew.c if (!NILP (f->tool_bar_window)) f 2328 src/dispnew.c struct window *w = XWINDOW (f->tool_bar_window); f 2332 src/dispnew.c fset_tool_bar_window (f, Qnil); f 2338 src/dispnew.c if (f->desired_matrix) f 2340 src/dispnew.c free_glyph_matrix (f->desired_matrix); f 2341 src/dispnew.c free_glyph_matrix (f->current_matrix); f 2342 src/dispnew.c f->desired_matrix = f->current_matrix = NULL; f 2346 src/dispnew.c if (f->desired_pool) f 2348 src/dispnew.c free_glyph_pool (f->desired_pool); f 2349 src/dispnew.c free_glyph_pool (f->current_pool); f 2350 src/dispnew.c f->desired_pool = f->current_pool = NULL; f 2475 src/dispnew.c build_frame_matrix (struct frame *f) f 2480 src/dispnew.c eassert (!FRAME_WINDOW_P (f)); f 2484 src/dispnew.c for (i = FRAME_TOP_MARGIN (f); i < f->desired_matrix->nrows; ++i) f 2485 src/dispnew.c clear_glyph_row (MATRIX_ROW (f->desired_matrix, i)); f 2488 src/dispnew.c build_frame_matrix_from_window_tree (f->desired_matrix, f 2489 src/dispnew.c XWINDOW (FRAME_ROOT_WINDOW (f))); f 2723 src/dispnew.c set_frame_matrix_frame (struct frame *f) f 2725 src/dispnew.c frame_matrix_frame = f; f 2878 src/dispnew.c struct frame *f = XFRAME (w->frame); f 2884 src/dispnew.c eassert (!FRAME_WINDOW_P (f)); f 2893 src/dispnew.c frame_row = f->current_matrix->rows + WINDOW_TOP_EDGE_LINE (w); f 3004 src/dispnew.c struct frame *f = XFRAME (w->frame); f 3005 src/dispnew.c struct window *root = XWINDOW (FRAME_ROOT_WINDOW (f)); f 3065 src/dispnew.c struct frame *f = XFRAME (w->frame); f 3066 src/dispnew.c check_matrix_pointers (w->desired_matrix, f->desired_matrix); f 3067 src/dispnew.c check_matrix_pointers (w->current_matrix, f->current_matrix); f 3148 src/dispnew.c redraw_frame (struct frame *f) f 3151 src/dispnew.c eassert (f->glyphs_initialized_p); f 3152 src/dispnew.c update_begin (f); f 3153 src/dispnew.c if (FRAME_MSDOS_P (f)) f 3154 src/dispnew.c FRAME_TERMINAL (f)->set_terminal_modes_hook (FRAME_TERMINAL (f)); f 3156 src/dispnew.c if (FRAME_WINDOW_P (f)) f 3161 src/dispnew.c SET_FRAME_GARBAGED (f); f 3163 src/dispnew.c clear_frame (f); f 3164 src/dispnew.c clear_current_matrices (f); f 3165 src/dispnew.c update_end (f); f 3166 src/dispnew.c fset_redisplay (f); f 3170 src/dispnew.c mark_window_display_accurate (FRAME_ROOT_WINDOW (f), 0); f 3171 src/dispnew.c set_window_update_flags (XWINDOW (FRAME_ROOT_WINDOW (f)), true); f 3172 src/dispnew.c f->garbaged = false; f 3211 src/dispnew.c update_frame (struct frame *f, bool force_p, bool inhibit_hairy_id_p) f 3215 src/dispnew.c struct window *root_window = XWINDOW (f->root_window); f 3225 src/dispnew.c if (FRAME_WINDOW_P (f)) f 3235 src/dispnew.c update_begin (f); f 3240 src/dispnew.c if (WINDOWP (f->menu_bar_window)) f 3241 src/dispnew.c update_window (XWINDOW (f->menu_bar_window), true); f 3246 src/dispnew.c if (WINDOWP (f->tab_bar_window)) f 3248 src/dispnew.c struct window *w = XWINDOW (f->tab_bar_window); f 3260 src/dispnew.c tem = f->current_tab_bar_string; f 3261 src/dispnew.c fset_current_tab_bar_string (f, f->desired_tab_bar_string); f 3262 src/dispnew.c fset_desired_tab_bar_string (f, tem); f 3269 src/dispnew.c if (WINDOWP (f->tool_bar_window)) f 3271 src/dispnew.c struct window *w = XWINDOW (f->tool_bar_window); f 3283 src/dispnew.c tem = f->current_tool_bar_string; f 3284 src/dispnew.c fset_current_tool_bar_string (f, f->desired_tool_bar_string); f 3285 src/dispnew.c fset_desired_tool_bar_string (f, tem); f 3292 src/dispnew.c update_end (f); f 3298 src/dispnew.c set_frame_matrix_frame (f); f 3301 src/dispnew.c build_frame_matrix (f); f 3304 src/dispnew.c if (FRAME_INITIAL_P (f)) f 3310 src/dispnew.c update_begin (f); f 3311 src/dispnew.c paused_p = update_frame_1 (f, force_p, inhibit_hairy_id_p, 1, false); f 3312 src/dispnew.c update_end (f); f 3315 src/dispnew.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 3317 src/dispnew.c if (FRAME_TTY (f)->termscript) f 3318 src/dispnew.c fflush (FRAME_TTY (f)->termscript); f 3319 src/dispnew.c if (FRAME_TERMCAP_P (f)) f 3320 src/dispnew.c fflush (FRAME_TTY (f)->output); f 3326 src/dispnew.c add_frame_display_history (f, paused_p); f 3349 src/dispnew.c update_frame_with_menu (struct frame *f, int row, int col) f 3351 src/dispnew.c struct window *root_window = XWINDOW (f->root_window); f 3354 src/dispnew.c eassert (FRAME_TERMCAP_P (f)); f 3358 src/dispnew.c set_frame_matrix_frame (f); f 3361 src/dispnew.c update_begin (f); f 3365 src/dispnew.c paused_p = update_frame_1 (f, 1, 1, cursor_at_point_p, true); f 3369 src/dispnew.c cursor_to (f, row, col); f 3370 src/dispnew.c update_end (f); f 3372 src/dispnew.c if (FRAME_TTY (f)->termscript) f 3373 src/dispnew.c fflush (FRAME_TTY (f)->termscript); f 3374 src/dispnew.c fflush (FRAME_TTY (f)->output); f 3383 src/dispnew.c add_frame_display_history (f, paused_p); f 3397 src/dispnew.c update_mouse_position (struct frame *f, int x, int y) f 3402 src/dispnew.c note_mouse_highlight (f, x, y); f 3410 src/dispnew.c XSETFRAME (frame, f); f 3473 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3479 src/dispnew.c update_begin (f); f 3481 src/dispnew.c update_end (f); f 3497 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3522 src/dispnew.c FRAME_RIF (f)->write_glyphs (w, row, row->glyphs[area], f 3524 src/dispnew.c FRAME_RIF (f)->clear_end_of_line (w, row, area, -1); f 3862 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3863 src/dispnew.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3867 src/dispnew.c if (FRAME_RIF (f)->update_window_begin_hook) f 3868 src/dispnew.c FRAME_RIF (f)->update_window_begin_hook (w); f 3872 src/dispnew.c if (f == hlinfo->mouse_face_mouse_frame) f 3879 src/dispnew.c if (FRAME_GARBAGED_P (f)) f 3898 src/dispnew.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 3927 src/dispnew.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3934 src/dispnew.c if (FRAME_RIF (f)->update_window_end_hook) f 3935 src/dispnew.c FRAME_RIF (f)->update_window_end_hook (w, f 4309 src/dispnew.c struct frame *f = XFRAME (w->frame); f 4313 src/dispnew.c eassert (FRAME_WINDOW_P (f)); f 4323 src/dispnew.c && FRAME_HAS_MINIBUF_P (f) f 4324 src/dispnew.c && BASE_EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 4908 src/dispnew.c update_frame_1 (struct frame *f, bool force_p, bool inhibit_id_p, f 4912 src/dispnew.c struct glyph_matrix *current_matrix = f->current_matrix; f 4913 src/dispnew.c struct glyph_matrix *desired_matrix = f->desired_matrix; f 4920 src/dispnew.c if (baud_rate != FRAME_COST_BAUD_RATE (f)) f 4921 src/dispnew.c calculate_costs (f); f 4930 src/dispnew.c if (!FRAME_LINE_INS_DEL_OK (f)) f 4941 src/dispnew.c force_p |= scrolling (f); f 4945 src/dispnew.c update_frame_line (f, desired_matrix->nrows - 1, updating_menu_p); f 4954 src/dispnew.c if (FRAME_TERMCAP_P (f) && FRAME_TTY (f)->output_buffer_size == 0) f 4960 src/dispnew.c FILE *display_output = FRAME_TTY (f)->output; f 4973 src/dispnew.c update_frame_line (f, i, updating_menu_p); f 4977 src/dispnew.c pause_p = 0 < i && i < FRAME_TOTAL_LINES (f) - 1; f 4991 src/dispnew.c && FRAME_HAS_MINIBUF_P (f) f 4992 src/dispnew.c && BASE_EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 4994 src/dispnew.c int top = WINDOW_TOP_EDGE_LINE (XWINDOW (FRAME_MINIBUF_WINDOW (f))); f 5000 src/dispnew.c int row = FRAME_TOTAL_LINES (f); f 5025 src/dispnew.c if (col >= FRAME_CURSOR_X_LIMIT (f)) f 5028 src/dispnew.c if (row < FRAME_TOTAL_LINES (f) - 1) f 5030 src/dispnew.c col = FRAME_LEFT_SCROLL_BAR_COLS (f); f 5035 src/dispnew.c col = FRAME_CURSOR_X_LIMIT (f) - 1; f 5038 src/dispnew.c cursor_to (f, row, col); f 5044 src/dispnew.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 5057 src/dispnew.c cursor_to (f, y, x); f 5064 src/dispnew.c clear_desired_matrices (f); f 5205 src/dispnew.c #define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_TOTAL_COLS ((f))]) f 5211 src/dispnew.c update_frame_line (struct frame *f, int vpos, bool updating_menu_p) f 5216 src/dispnew.c struct glyph_matrix *current_matrix = f->current_matrix; f 5217 src/dispnew.c struct glyph_matrix *desired_matrix = f->desired_matrix; f 5221 src/dispnew.c bool write_spaces_p = FRAME_MUST_WRITE_SPACES (f); f 5222 src/dispnew.c bool colored_spaces_p = (FACE_FROM_ID (f, DEFAULT_FACE_ID)->background f 5254 src/dispnew.c cursor_to (f, 0, 0); f 5278 src/dispnew.c cursor_to (f, vpos, 0); f 5279 src/dispnew.c write_glyphs (f, nbody, nlen); f 5285 src/dispnew.c if (nlen < FRAME_TOTAL_COLS (f)) f 5287 src/dispnew.c cursor_to (f, vpos, nlen); f 5288 src/dispnew.c clear_end_of_line (f, FRAME_TOTAL_COLS (f)); f 5293 src/dispnew.c cursor_to (f, vpos, 0); f 5306 src/dispnew.c if (!FRAME_CHAR_INS_DEL_OK (f)) f 5325 src/dispnew.c cursor_to (f, vpos, i); f 5326 src/dispnew.c write_glyphs (f, nbody + i, j - i); f 5336 src/dispnew.c cursor_to (f, vpos, nlen); f 5337 src/dispnew.c clear_end_of_line (f, olen); f 5359 src/dispnew.c cursor_to (f, vpos, nsp); f 5360 src/dispnew.c write_glyphs (f, nbody + nsp, nlen - nsp); f 5409 src/dispnew.c && (!FRAME_CHAR_INS_DEL_OK (f) f 5410 src/dispnew.c || endmatch <= char_ins_del_cost (f)[tem])) f 5419 src/dispnew.c && (!FRAME_CHAR_INS_DEL_OK (f) f 5420 src/dispnew.c || begmatch + endmatch <= char_ins_del_cost (f)[nsp - osp])) f 5432 src/dispnew.c cursor_to (f, vpos, nsp); f 5433 src/dispnew.c delete_glyphs (f, osp - nsp); f 5442 src/dispnew.c cursor_to (f, vpos, nlen - endmatch + osp - nsp); f 5443 src/dispnew.c delete_glyphs (f, olen + nsp - osp - nlen); f 5446 src/dispnew.c cursor_to (f, vpos, osp); f 5447 src/dispnew.c insert_glyphs (f, 0, nsp - osp); f 5460 src/dispnew.c if (nlen == FRAME_TOTAL_COLS (f)) f 5468 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5469 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, nlen - tem); f 5484 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5489 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, out); f 5494 src/dispnew.c delete_glyphs (f, del); f 5497 src/dispnew.c insert_glyphs (f, nbody + nsp + begmatch + out, nlen - olen + del); f 5502 src/dispnew.c cursor_to (f, vpos, nsp + begmatch); f 5503 src/dispnew.c write_glyphs (f, nbody + nsp + begmatch, nlen - tem); f 5504 src/dispnew.c delete_glyphs (f, olen - nlen); f 5513 src/dispnew.c cursor_to (f, vpos, nlen); f 5514 src/dispnew.c clear_end_of_line (f, olen); f 5601 src/dispnew.c to_x += (w->hscroll - w->min_hscroll) * FRAME_COLUMN_WIDTH (it.f); f 5604 src/dispnew.c it.first_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); f 5605 src/dispnew.c it.last_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); f 5651 src/dispnew.c img = IMAGE_OPT_FROM_ID (it.f, it.image_id); f 5906 src/dispnew.c struct frame *f = XFRAME (frame); f 5908 src/dispnew.c if (FRAME_TERMCAP_P (f) && FRAME_TTY (f) == tty) f 5912 src/dispnew.c change_frame_size (f, width, height, false, true, false); f 5944 src/dispnew.c struct frame *f = XFRAME (frame); f 5951 src/dispnew.c if (f->new_size_p && (f->new_height >= 0 || f->new_width >= 0)) f 5952 src/dispnew.c change_frame_size (f, f->new_width, f->new_height, f 5960 src/dispnew.c change_frame_size_1 (struct frame *f, int new_width, int new_height, f 5966 src/dispnew.c && ((new_width != f->new_width f 5967 src/dispnew.c || new_height != f->new_height f 5968 src/dispnew.c || new_width != FRAME_PIXEL_WIDTH (f) f 5969 src/dispnew.c || new_height != FRAME_PIXEL_HEIGHT (f)))) f 5971 src/dispnew.c (f, build_string ("change_frame_size_1, delayed"), f 5972 src/dispnew.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 5973 src/dispnew.c new_width, new_height, f->new_width, f->new_height); f 5976 src/dispnew.c f->new_width = new_width; f 5977 src/dispnew.c f->new_height = new_height; f 5978 src/dispnew.c f->new_size_p = true; f 5986 src/dispnew.c f->new_height = -1; f 5987 src/dispnew.c f->new_width = -1; f 5988 src/dispnew.c f->new_size_p = false; f 5992 src/dispnew.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, new_width), f 5993 src/dispnew.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_height), 5, f 6009 src/dispnew.c change_frame_size (struct frame *f, int new_width, int new_height, f 6014 src/dispnew.c if (FRAME_MSDOS_P (f)) f 6025 src/dispnew.c change_frame_size_1 (f, new_width, new_height, pretend, delay, safe); f 6599 src/dispnew.c struct frame *f = XFRAME (selected_frame); f 6607 src/dispnew.c if (f->output_method != output_initial) f 6609 src/dispnew.c f->output_method = t->type; f 6610 src/dispnew.c f->terminal = t; f 6614 src/dispnew.c f->output_data.tty = &the_only_tty_output; f 6615 src/dispnew.c f->output_data.tty->display_info = &the_only_display_info; f 6617 src/dispnew.c if (f->output_method == output_termcap) f 6618 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 3820 src/editfns.c char *f = convspec; f 3821 src/editfns.c *f++ = '%'; f 3823 src/editfns.c *f = '+'; f += plus_flag; f 3824 src/editfns.c *f = ' '; f += space_flag; f 3825 src/editfns.c *f = '#'; f += sharp_flag; f 3826 src/editfns.c *f++ = '.'; f 3827 src/editfns.c *f++ = '*'; f 3830 src/editfns.c memcpy (f, PRIdMAX, pMlen); f 3831 src/editfns.c f += pMlen; f 3834 src/editfns.c *f++ = conversion; f 3835 src/editfns.c *f = '\0'; f 3908 src/editfns.c f[-1] = 'L'; f 3909 src/editfns.c *f++ = conversion; f 3910 src/editfns.c *f = '\0'; f 3952 src/editfns.c strcpy (f - pMlen - 1, "f"); f 1759 src/emacs.c pid_t f; f 1762 src/emacs.c f = fork (); f 1765 src/emacs.c f = fork (); /* in orig */ f 1767 src/emacs.c f = 0; /* in exec'd */ f 1769 src/emacs.c if (f > 0) f 1798 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 193 src/floatfns.c double f = extract_float (x); f 195 src/floatfns.c double sgnfcand = frexp (f, &exponent); f 322 src/floatfns.c double f = XFLOAT_DATA (arg); f 323 src/floatfns.c if (f == 0) f 325 src/floatfns.c if (!isfinite (f)) f 326 src/floatfns.c return f < 0 ? make_float (-f) : arg; f 328 src/floatfns.c frexp (f, &ivalue); f 1527 src/fns.c EMACS_INT f, t; f 1531 src/fns.c f = XFIXNUM (from); f 1532 src/fns.c if (f < 0) f 1533 src/fns.c f += size; f 1536 src/fns.c f = 0; f 1551 src/fns.c if (! (0 <= f && f <= t && t <= size)) f 1554 src/fns.c *ifrom = f; f 4066 src/fns.c char const *f = from; f 4082 src/fns.c if (f == flim) f 4087 src/fns.c c = *f++; f 4100 src/fns.c if (f == flim) f 4102 src/fns.c c = *f++; f 4122 src/fns.c if (f == flim) f 4129 src/fns.c c = *f++; f 4138 src/fns.c if (f == flim) f 4140 src/fns.c c = *f++; f 4164 src/fns.c if (f == flim) f 4171 src/fns.c c = *f++; f 246 src/font.c static int font_pixel_size (struct frame *f, Lisp_Object); f 305 src/font.c font_pixel_size (struct frame *f, Lisp_Object spec) f 317 src/font.c if (FRAME_WINDOW_P (f)) f 325 src/font.c dpi = FRAME_RES_Y (f); f 1040 src/font.c char *f[XLFD_LAST_INDEX + 1]; f 1050 src/font.c i = 1, f[XLFD_FOUNDRY_INDEX] = name; f 1064 src/font.c f[i++] = p + 1; f 1069 src/font.c f[i] = name + len; f 1071 src/font.c #define INTERN_FIELD(N) font_intern_prop (f[N], f[(N) + 1] - 1 - f[N], 0) f 1072 src/font.c #define INTERN_FIELD_SYM(N) font_intern_prop (f[N], f[(N) + 1] - 1 - f[N], 1) f 1093 src/font.c if (strcmp (f[XLFD_REGISTRY_INDEX], "*-*") == 0) f 1097 src/font.c font_intern_prop (f[XLFD_REGISTRY_INDEX], f 1098 src/font.c f[XLFD_LAST_INDEX] - f[XLFD_REGISTRY_INDEX], f 1100 src/font.c p = f[XLFD_PIXEL_INDEX]; f 1115 src/font.c p = f[XLFD_POINT_INDEX]; f 1137 src/font.c p = f[XLFD_AVGWIDTH_INDEX]; f 1140 src/font.c val = font_intern_prop (p, f[XLFD_REGISTRY_INDEX] - 1 - p, 0); f 1154 src/font.c if (*f[j] == '*') f 1156 src/font.c if (f[j][1] && f[j][1] != '-') f 1164 src/font.c prop[j] = font_intern_prop (f[j], f[i] - f[j], 0); f 1262 src/font.c const char *f[XLFD_REGISTRY_INDEX + 1]; f 1279 src/font.c f[j] = "*-*"; f 1281 src/font.c f[j] = "*"; f 1294 src/font.c f[j] = p = alloca (alloc); f 1299 src/font.c f[j] = SSDATA (val); f 1308 src/font.c f[j] = "*"; f 1318 src/font.c f[j] = p = alloca (alloc); f 1341 src/font.c f[XLFD_PIXEL_INDEX] = p = font_size_index_buf; f 1345 src/font.c f[XLFD_PIXEL_INDEX] = "*-*"; f 1350 src/font.c f[XLFD_PIXEL_INDEX] = p = font_size_index_buf; f 1354 src/font.c f[XLFD_PIXEL_INDEX] = "*-*"; f 1360 src/font.c f[XLFD_RESX_INDEX] = p = dpi_index_buf; f 1364 src/font.c f[XLFD_RESX_INDEX] = "*-*"; f 1370 src/font.c f[XLFD_SPACING_INDEX] = (spacing <= FONT_SPACING_PROPORTIONAL ? "p" f 1376 src/font.c f[XLFD_SPACING_INDEX] = "*"; f 1381 src/font.c f[XLFD_AVGWIDTH_INDEX] = p = avgwidth_index_buf; f 1385 src/font.c f[XLFD_AVGWIDTH_INDEX] = "*"; f 1388 src/font.c f[XLFD_FOUNDRY_INDEX], f[XLFD_FAMILY_INDEX], f 1389 src/font.c f[XLFD_WEIGHT_INDEX], f[XLFD_SLANT_INDEX], f 1390 src/font.c f[XLFD_SWIDTH_INDEX], f[XLFD_ADSTYLE_INDEX], f 1391 src/font.c f[XLFD_PIXEL_INDEX], f[XLFD_RESX_INDEX], f 1392 src/font.c f[XLFD_SPACING_INDEX], f[XLFD_AVGWIDTH_INDEX], f 1393 src/font.c f[XLFD_REGISTRY_INDEX]); f 1994 src/font.c struct frame *f, int best_only) f 2009 src/font.c = make_fixnum (font_pixel_size (f, prefer)); f 2054 src/font.c = ((best_only <= 0 || font_has_char (f, data[i].entity, best_only) f 2314 src/font.c font_prepare_cache (struct frame *f, struct font_driver const *driver) f 2318 src/font.c cache = driver->get_cache (f); f 2336 src/font.c font_finish_cache (struct frame *f, struct font_driver const *driver) f 2341 src/font.c cache = driver->get_cache (f); f 2350 src/font.c font_clear_cache (f, XCAR (val), driver); f 2357 src/font.c font_get_cache (struct frame *f, struct font_driver const *driver) f 2359 src/font.c Lisp_Object val = driver->get_cache (f); f 2372 src/font.c font_clear_cache (struct frame *f, Lisp_Object cache, f 2540 src/font.c font_list_entities (struct frame *f, Lisp_Object spec) f 2542 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2554 src/font.c size = font_pixel_size (f, spec); f 2575 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2585 src/font.c val = (driver_list->driver->list) (f, scratch_font_spec); f 2624 src/font.c font_matching_entity (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 2626 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 2634 src/font.c ASET (work, FONT_SIZE_INDEX, make_fixnum (font_pixel_size (f, spec))); f 2644 src/font.c Lisp_Object cache = font_get_cache (f, driver_list->driver); f 2652 src/font.c entity = driver_list->driver->match (f, work); f 2674 src/font.c font_open_entity (struct frame *f, Lisp_Object entity, int pixel_size) f 2687 src/font.c for (driver_list = f->font_driver_list; f 2701 src/font.c || driver_list->driver->cached_font_ok (f, fn, entity)) f 2710 src/font.c font_object = driver_list->driver->open_font (f, entity, psize); f 2739 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts++; f 2740 src/font.c if (FRAME_DISPLAY_INFO (f)->n_fonts == 1) f 2742 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width; f 2743 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height; f 2744 src/font.c f->fonts_changed = 1; f 2748 src/font.c if (FRAME_SMALLEST_CHAR_WIDTH (f) > min_width) f 2749 src/font.c FRAME_SMALLEST_CHAR_WIDTH (f) = min_width, f->fonts_changed = 1; f 2750 src/font.c if (FRAME_SMALLEST_FONT_HEIGHT (f) > height) f 2751 src/font.c FRAME_SMALLEST_FONT_HEIGHT (f) = height, f->fonts_changed = 1; f 2762 src/font.c font_close_object (struct frame *f, Lisp_Object font_object) f 2772 src/font.c eassert (FRAME_DISPLAY_INFO (f)->n_fonts); f 2773 src/font.c FRAME_DISPLAY_INFO (f)->n_fonts--; f 2782 src/font.c font_has_char (struct frame *f, Lisp_Object font, int c) f 2791 src/font.c for (driver_list = f->font_driver_list; f 2910 src/font.c font_select_entity (struct frame *f, Lisp_Object entities, f 2922 src/font.c if (c < 0 || font_has_char (f, font_entity, c) > 0) f 2950 src/font.c return font_sort_entities (entities, prefer, f, c); f 2958 src/font.c font_find_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec, int c) f 2995 src/font.c pixel_size = font_pixel_size (f, spec); f 3000 src/font.c pixel_size = POINT_TO_PIXEL (pt / 10, FRAME_RES_Y (f)); f 3099 src/font.c entities = font_list_entities (f, work); f 3104 src/font.c val = font_select_entity (f, entities, f 3123 src/font.c font_open_for_lface (struct frame *f, Lisp_Object entity, Lisp_Object *attrs, Lisp_Object spec) f 3133 src/font.c size = font_pixel_size (f, spec); f 3142 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 3143 src/font.c recompute_basic_faces (f); f 3145 src/font.c struct face *def = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 3152 src/font.c size = POINT_TO_PIXEL (pt, FRAME_RES_Y (f)); f 3156 src/font.c Lisp_Object ffsize = get_frame_param (f, Qfontsize); f 3158 src/font.c ? POINT_TO_PIXEL (XFLOATINT (ffsize), FRAME_RES_Y (f)) f 3166 src/font.c return font_open_entity (f, entity, size); f 3175 src/font.c font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) f 3179 src/font.c entity = font_find_for_lface (f, attrs, spec, -1); f 3184 src/font.c entity = font_matching_entity (f, attrs, spec); f 3211 src/font.c entity = font_matching_entity (f, attrs, spec); f 3223 src/font.c entity = font_open_for_lface (f, entity, attrs, spec); f 3236 src/font.c font_prepare_for_face (struct frame *f, struct face *face) f 3239 src/font.c face->font->driver->prepare_face (f, face); f 3246 src/font.c font_done_for_face (struct frame *f, struct face *face) f 3249 src/font.c face->font->driver->done_face (f, face); f 3257 src/font.c font_open_by_spec (struct frame *f, Lisp_Object spec) f 3273 src/font.c return font_load_for_lface (f, attrs, spec); f 3281 src/font.c font_open_by_name (struct frame *f, Lisp_Object name) f 3284 src/font.c Lisp_Object ret = font_open_by_spec (f, spec); f 3306 src/font.c register_font_driver (struct font_driver const *driver, struct frame *f) f 3308 src/font.c struct font_driver_list *root = f ? f->font_driver_list : font_driver_list; f 3312 src/font.c if (f && ! driver->draw) f 3327 src/font.c else if (f) f 3328 src/font.c f->font_driver_list = list; f 3331 src/font.c if (! f) f 3336 src/font.c free_font_driver_list (struct frame *f) f 3340 src/font.c for (list = f->font_driver_list; list; list = next) f 3345 src/font.c f->font_driver_list = NULL; f 3361 src/font.c font_update_drivers (struct frame *f, Lisp_Object new_drivers) f 3369 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3386 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3394 src/font.c driver->end_for_frame (f); f 3395 src/font.c font_finish_cache (f, driver); f 3401 src/font.c || driver->start_for_frame (f) == 0) f 3403 src/font.c font_prepare_cache (f, driver); f 3423 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3429 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3434 src/font.c next = &f->font_driver_list; f 3443 src/font.c if (! f->font_driver_list->on) f 3447 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3454 src/font.c || driver->start_for_frame (f) == 0) f 3456 src/font.c font_prepare_cache (f, driver); f 3463 src/font.c for (list = f->font_driver_list; list; list = list->next) f 3472 src/font.c fset_font_data (struct frame *f, Lisp_Object val) f 3474 src/font.c f->font_data = val; f 3478 src/font.c font_put_frame_data (struct frame *f, Lisp_Object driver, void *data) f 3480 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3483 src/font.c fset_font_data (f, Fdelq (val, f->font_data)); f 3487 src/font.c fset_font_data (f, Fcons (Fcons (driver, make_mint_ptr (data)), f 3488 src/font.c f->font_data)); f 3495 src/font.c font_get_frame_data (struct frame *f, Lisp_Object driver) f 3497 src/font.c Lisp_Object val = assq_no_quit (driver, f->font_data); f 3565 src/font.c struct frame *f; f 3602 src/font.c f = XFRAME (w->frame); f 3603 src/font.c if (! FRAME_WINDOW_P (f)) f 3616 src/font.c face = FACE_FROM_ID (f, face_id); f 3620 src/font.c int face_id = FACE_FOR_CHAR (f, face, c, pos, string); f 3621 src/font.c face = FACE_FROM_ID (f, face_id); f 3672 src/font.c struct frame *f = XFRAME (w->frame); f 3686 src/font.c : lookup_basic_face (w, f, DEFAULT_FACE_ID); f 3691 src/font.c face = FACE_FROM_ID (f, face_id); f 4030 src/font.c struct frame *f = decode_live_frame (frame); f 4059 src/font.c int dpi = FIXNUMP (font_dpi) ? XFIXNUM (font_dpi) : FRAME_RES_Y (f); f 4140 src/font.c struct frame *f = decode_live_frame (frame); f 4155 src/font.c list = font_list_entities (f, font_spec); f 4163 src/font.c vec = font_sort_entities (list, prefer, f, 0); f 4181 src/font.c struct frame *f = decode_live_frame (frame); f 4185 src/font.c for (driver_list = f->font_driver_list; driver_list; f 4189 src/font.c Lisp_Object val = driver_list->driver->list_family (f); f 4260 src/font.c clear_font_cache (struct frame *f) f 4262 src/font.c struct font_driver_list *driver_list = f->font_driver_list; f 4267 src/font.c Lisp_Object val, tmp, cache = driver_list->driver->get_cache (f); f 4276 src/font.c font_clear_cache (f, XCAR (val), driver_list->driver); f 4475 src/font.c struct frame *f; f 4481 src/font.c f = XFRAME (selected_frame); f 4482 src/font.c face_id = lookup_basic_face (NULL, f, DEFAULT_FACE_ID); f 4506 src/font.c f = XFRAME (w->frame); f 4513 src/font.c if (! FRAME_WINDOW_P (f)) f 4514 src/font.c return terminal_glyph_code (FRAME_TERMINAL (f), c); f 4518 src/font.c if (FRAME_FACE_CACHE (f)->used == 0) f 4519 src/font.c recompute_basic_faces (f); f 4521 src/font.c face_id = FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, pos, Qnil); f 4522 src/font.c struct face *face = FACE_FROM_ID (f, face_id); f 4817 src/font.c ASET (val, 2, make_fixnum (anchor->f.f1.AnchorPoint)); f 4820 src/font.c ASET (val, 3, font_otf_DeviceTable (&anchor->f.f2.XDeviceTable)); f 4821 src/font.c ASET (val, 4, font_otf_DeviceTable (&anchor->f.f2.YDeviceTable)); f 4953 src/font.c struct frame *f = decode_live_frame (frame); f 4963 src/font.c isize = POINT_TO_PIXEL (XFLOAT_DATA (size), FRAME_RES_Y (f)); f 4971 src/font.c return font_open_entity (f, font_entity, isize); f 5050 src/font.c struct frame *f; f 5055 src/font.c f = XFRAME (selected_frame); f 5059 src/font.c f = XFRAME (frame); f 5062 src/font.c if (font_has_char (f, font, XFIXNAT (ch)) <= 0) f 5248 src/font.c struct frame *f = XFRAME (frame); f 5268 src/font.c face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5271 src/font.c font->driver->prepare_face (f, face); f 5273 src/font.c len = font->driver->draw_text (f, face, 0, font->ascent, code, i, width); f 5275 src/font.c font->driver->done_face (f, face); f 5287 src/font.c struct frame *f = decode_live_frame (frame); f 5289 src/font.c if (FRAME_WINDOW_P (f)) f 5290 src/font.c return FRAME_DISPLAY_INFO (f)->name_list_element; f 5345 src/font.c struct frame *f; f 5352 src/font.c f = decode_window_system_frame (frame); f 5360 src/font.c font_object = font_open_by_name (f, name); f 5365 src/font.c font_object = font_open_entity (f, name, 0); f 5368 src/font.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5369 src/font.c Lisp_Object entity = font_matching_entity (f, face->lface, name); f 5371 src/font.c font_object = ! NILP (entity) ? font_open_entity (f, entity, 0) : Qnil; f 5402 src/font.c font_close_object (f, font_object); f 5538 src/font.c font_drop_xrender_surfaces (struct frame *f) f 5542 src/font.c for (list = f->font_driver_list; list; list = list->next) f 5544 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 583 src/font.h Lisp_Object (*get_cache) (struct frame *f); f 615 src/font.h Lisp_Object (*match) (struct frame *f, Lisp_Object font_spec); f 620 src/font.h Lisp_Object (*list_family) (struct frame *f); f 628 src/font.h Lisp_Object (*open_font) (struct frame *f, Lisp_Object font_entity, f 636 src/font.h void (*prepare_face) (struct frame *f, struct face *face); f 640 src/font.h void (*done_face) (struct frame *f, struct face *face); f 725 src/font.h int (*start_for_frame) (struct frame *f); f 730 src/font.h int (*end_for_frame) (struct frame *f); f 754 src/font.h int (*check) (struct frame *f, struct font *font); f 775 src/font.h bool (*cached_font_ok) (struct frame *f, f 788 src/font.h void (*drop_xrender_surfaces) (struct frame *f); f 851 src/font.h extern Lisp_Object font_find_for_lface (struct frame *f, Lisp_Object *lface, f 853 src/font.h extern Lisp_Object font_open_for_lface (struct frame *f, Lisp_Object entity, f 856 src/font.h extern Lisp_Object font_load_for_lface (struct frame *f, Lisp_Object *lface, f 858 src/font.h extern void font_prepare_for_face (struct frame *f, struct face *face); f 859 src/font.h extern void font_done_for_face (struct frame *f, struct face *face); f 862 src/font.h extern Lisp_Object font_open_by_spec (struct frame *f, Lisp_Object spec); f 863 src/font.h extern Lisp_Object font_open_by_name (struct frame *f, Lisp_Object name); f 877 src/font.h extern void free_font_driver_list (struct frame *f); f 887 src/font.h extern Lisp_Object font_update_drivers (struct frame *f, Lisp_Object list); f 904 src/font.h extern void *font_get_frame_data (struct frame *f, Lisp_Object); f 912 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 683 src/fontset.c if (font_has_char (f, font_object, c)) f 697 src/fontset.c if (! NILP (font_object) && font_has_char (f, font_object, c)) f 705 src/fontset.c font_entity = font_find_for_lface (f, face->lface, f 713 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, f 887 src/fontset.c free_face_fontset (struct frame *f, struct face *face) f 895 src/fontset.c eassert (f == XFRAME (FONTSET_FRAME (fontset))); f 905 src/fontset.c eassert (f == XFRAME (FONTSET_FRAME (fontset))); f 918 src/fontset.c face_for_char (struct frame *f, struct face *face, int c, f 950 src/fontset.c if (font_has_char (f, font_object, c)) f 965 src/fontset.c if (font_has_char (f, font_object, c)) return face->id; f 1014 src/fontset.c face_id = face_for_font (f, font_object, face); f 1024 src/fontset.c face_id = face_for_font (f, Qnil, face); f 1084 src/fontset.c make_fontset_for_ascii_face (struct frame *f, int base_fontset_id, struct face *face) f 1088 src/fontset.c XSETFRAME (frame, f); f 1265 src/fontset.c list_fontsets (struct frame *f, Lisp_Object pattern, int size) f 1270 src/fontset.c XSETFRAME (frame, f); f 1322 src/fontset.c struct frame *f = XFRAME (FONTSET_FRAME (this)); f 1324 src/fontset.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1327 src/fontset.c free_realized_face (f, face); f 1365 src/fontset.c struct frame *f = decode_live_frame (*frame); f 1367 src/fontset.c XSETFRAME (*frame, f); f 1373 src/fontset.c if (!FRAME_WINDOW_P (f)) f 1375 src/fontset.c id = FRAME_FONTSET (f); f 1658 src/fontset.c struct frame *f = XFRAME (fr); f 1662 src/fontset.c if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f)) f 1664 src/fontset.c if (fontset_id != FRAME_FONTSET (f)) f 1666 src/fontset.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 1668 src/fontset.c font_object = font_load_for_lface (f, face->lface, font_spec); f 1670 src/fontset.c font_object = font_open_by_spec (f, font_spec); f 1677 src/fontset.c if (FRAME_WINDOW_P (f)) f 1682 src/fontset.c gui_set_frame_parameters_1 (f, arg, true); f 2107 src/fontset.c struct frame *f = XFRAME (frame); f 2109 src/fontset.c if (FRAME_LIVE_P (f)) f 2112 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 342 src/frame.c struct frame *f = XFRAME (frame); f 348 src/frame.c par_size = get_frame_param (f, Qmin_width), f 352 src/frame.c par_size = get_frame_param (f, Qmin_height), f 364 src/frame.c ? FRAME_LINE_HEIGHT (f) f 365 src/frame.c : FRAME_COLUMN_WIDTH (f))); f 373 src/frame.c if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) && NILP (horizontal)) f 375 src/frame.c int min_height = (FRAME_MENU_BAR_LINES (f) f 376 src/frame.c + FRAME_TAB_BAR_LINES (f) f 377 src/frame.c + FRAME_WANTS_MODELINE_P (f) f 418 src/frame.c keep_ratio (struct frame *f, struct frame *p, int old_width, int old_height, f 421 src/frame.c Lisp_Object keep_ratio = get_frame_param (f, Qkeep_ratio); f 433 src/frame.c pos_x = f->left_pos; f 436 src/frame.c pos_x = (int)(f->left_pos * width_factor + 0.5); f 441 src/frame.c && FRAME_PIXEL_WIDTH (p) - FRAME_PIXEL_WIDTH (f) < pos_x) f 444 src/frame.c = FRAME_PIXEL_WIDTH (p) - FRAME_PIXEL_WIDTH (f); f 452 src/frame.c f->left_pos = pos_x; f 456 src/frame.c pos_y = f->top_pos; f 459 src/frame.c pos_y = (int)(f->top_pos * height_factor + 0.5); f 464 src/frame.c && FRAME_PIXEL_HEIGHT (p) - FRAME_PIXEL_HEIGHT (f) < pos_y) f 472 src/frame.c = FRAME_PIXEL_HEIGHT (p) - FRAME_PIXEL_HEIGHT (f); f 480 src/frame.c f->top_pos = pos_y; f 483 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 484 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, pos_x, pos_y, -1); f 493 src/frame.c = (int)(FRAME_PIXEL_WIDTH (f) * width_factor + 0.5); f 499 src/frame.c = (int)(FRAME_PIXEL_HEIGHT (f) * height_factor + 0.5); f 501 src/frame.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, pixel_width), f 502 src/frame.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, pixel_height), 1, f 511 src/frame.c frame_size_history_adjust (struct frame *f, int inhibit, Lisp_Object parameter, f 525 src/frame.c XSETFRAME (frame, f); f 550 src/frame.c frame_size_history_plain (struct frame *f, Lisp_Object parameter) f 554 src/frame.c XSETFRAME (frame, f); f 566 src/frame.c frame_size_history_extra (struct frame *f, Lisp_Object parameter, f 573 src/frame.c XSETFRAME (frame, f); f 639 src/frame.c adjust_frame_size (struct frame *f, int new_text_width, int new_text_height, f 642 src/frame.c int unit_width = FRAME_COLUMN_WIDTH (f); f 643 src/frame.c int unit_height = FRAME_LINE_HEIGHT (f); f 644 src/frame.c int old_native_width = FRAME_PIXEL_WIDTH (f); f 645 src/frame.c int old_native_height = FRAME_PIXEL_HEIGHT (f); f 654 src/frame.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 658 src/frame.c + ((FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 659 src/frame.c ? WINDOW_PIXEL_HEIGHT (XWINDOW (FRAME_MINIBUF_WINDOW (f))) f 662 src/frame.c int old_text_cols = FRAME_COLS (f); f 663 src/frame.c int old_text_lines = FRAME_LINES (f); f 665 src/frame.c int old_text_width = FRAME_TEXT_WIDTH (f); f 666 src/frame.c int old_text_height = FRAME_TEXT_HEIGHT (f); f 670 src/frame.c XSETFRAME (frame, f); f 683 src/frame.c new_text_width = FRAME_TEXT_WIDTH (f); f 685 src/frame.c new_text_height = FRAME_TEXT_HEIGHT (f); f 687 src/frame.c inhibit_horizontal = (FRAME_INNER_WIDTH (f) >= min_inner_width f 689 src/frame.c || frame_inhibit_resize (f, true, parameter))); f 690 src/frame.c inhibit_vertical = (FRAME_INNER_HEIGHT (f) >= min_inner_height f 692 src/frame.c || frame_inhibit_resize (f, false, parameter))); f 702 src/frame.c : max (FRAME_TEXT_TO_PIXEL_WIDTH (f, new_text_width), f 704 src/frame.c + 2 * FRAME_INTERNAL_BORDER_WIDTH (f))); f 705 src/frame.c new_inner_width = new_native_width - 2 * FRAME_INTERNAL_BORDER_WIDTH (f); f 706 src/frame.c new_text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, new_native_width); f 711 src/frame.c : max (FRAME_TEXT_TO_PIXEL_HEIGHT (f, new_text_height), f 713 src/frame.c + FRAME_TOP_MARGIN_HEIGHT (f) f 714 src/frame.c + 2 * FRAME_INTERNAL_BORDER_WIDTH (f))); f 716 src/frame.c - FRAME_TOP_MARGIN_HEIGHT (f) f 717 src/frame.c - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 718 src/frame.c new_text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_native_height); f 721 src/frame.c if (FRAME_WINDOW_P (f) f 722 src/frame.c && f->can_set_window_size f 737 src/frame.c && (f->new_width >= 0 || f->new_height >= 0)) f 748 src/frame.c if (f->new_width >= 0) f 749 src/frame.c new_native_width = f->new_width; f 750 src/frame.c if (f->new_height >= 0) f 751 src/frame.c new_native_height = f->new_height; f 755 src/frame.c frame_size_history_adjust (f, inhibit, parameter, f 769 src/frame.c f->new_width = new_native_width; f 770 src/frame.c f->new_height = new_native_height; f 775 src/frame.c f->new_size_p = false; f 778 src/frame.c if (FRAME_TERMINAL (f)->set_window_size_hook) f 779 src/frame.c FRAME_TERMINAL (f)->set_window_size_hook f 780 src/frame.c (f, 0, new_native_width, new_native_height); f 781 src/frame.c f->resized_p = true; f 787 src/frame.c frame_size_history_adjust (f, inhibit, parameter, f 799 src/frame.c if ((XWINDOW (FRAME_ROOT_WINDOW (f))->pixel_top f 800 src/frame.c == FRAME_TOP_MARGIN_HEIGHT (f)) f 820 src/frame.c int dos_new_text_lines = new_text_lines + FRAME_TOP_MARGIN (f); f 823 src/frame.c new_text_lines = dos_new_text_lines - FRAME_TOP_MARGIN (f); f 828 src/frame.c resize_frame_windows (f, new_inner_width, true); f 832 src/frame.c if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) f 833 src/frame.c FrameCols (FRAME_TTY (f)) = new_text_cols; f 836 src/frame.c if (WINDOWP (f->tab_bar_window)) f 838 src/frame.c XWINDOW (f->tab_bar_window)->pixel_width = new_inner_width; f 839 src/frame.c XWINDOW (f->tab_bar_window)->total_cols f 845 src/frame.c if (WINDOWP (f->tool_bar_window)) f 847 src/frame.c XWINDOW (f->tool_bar_window)->pixel_width = new_inner_width; f 848 src/frame.c XWINDOW (f->tool_bar_window)->total_cols f 860 src/frame.c || WINDOW_TOP_PIXEL_EDGE (r) != FRAME_TOP_MARGIN_HEIGHT (f)) f 862 src/frame.c resize_frame_windows (f, new_inner_height, false); f 866 src/frame.c if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) f 867 src/frame.c FrameRows (FRAME_TTY (f)) = new_text_lines + FRAME_TOP_MARGIN (f); f 873 src/frame.c FRAME_COLS (f) = new_text_cols; f 874 src/frame.c FRAME_LINES (f) = new_text_lines; f 875 src/frame.c FRAME_TEXT_WIDTH (f) = new_text_width; f 876 src/frame.c FRAME_TEXT_HEIGHT (f) = new_text_height; f 877 src/frame.c FRAME_PIXEL_WIDTH (f) = new_native_width; f 878 src/frame.c FRAME_PIXEL_HEIGHT (f) = new_native_height; f 879 src/frame.c FRAME_TOTAL_COLS (f) = FRAME_PIXEL_WIDTH (f) / FRAME_COLUMN_WIDTH (f); f 880 src/frame.c FRAME_TOTAL_LINES (f) = FRAME_PIXEL_HEIGHT (f) / FRAME_LINE_HEIGHT (f); f 883 src/frame.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 894 src/frame.c adjust_frame_glyphs (f); f 895 src/frame.c calculate_costs (f); f 896 src/frame.c SET_FRAME_GARBAGED (f); f 900 src/frame.c f->resized_p = true; f 915 src/frame.c if (FRAME_PARENT_FRAME (XFRAME (frame1)) == f) f 916 src/frame.c keep_ratio (XFRAME (frame1), f, old_native_width, old_native_height, f 935 src/frame.c struct frame *f; f 940 src/frame.c f = allocate_frame (); f 941 src/frame.c XSETFRAME (frame, f); f 946 src/frame.c fset_tool_bar_position (f, Qtop); f 953 src/frame.c f->wants_modeline = true; f 954 src/frame.c f->redisplay = true; f 955 src/frame.c f->garbaged = true; f 956 src/frame.c f->can_set_window_size = false; f 957 src/frame.c f->after_make_frame = false; f 958 src/frame.c f->inhibit_horizontal_resize = false; f 959 src/frame.c f->inhibit_vertical_resize = false; f 960 src/frame.c f->tab_bar_redisplayed = false; f 961 src/frame.c f->tab_bar_resized = false; f 962 src/frame.c f->tool_bar_redisplayed = false; f 963 src/frame.c f->tool_bar_resized = false; f 964 src/frame.c f->column_width = 1; /* !FRAME_WINDOW_P value. */ f 965 src/frame.c f->line_height = 1; /* !FRAME_WINDOW_P value. */ f 966 src/frame.c f->new_width = -1; f 967 src/frame.c f->new_height = -1; f 969 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 970 src/frame.c f->horizontal_scroll_bars = false; f 971 src/frame.c f->want_fullscreen = FULLSCREEN_NONE; f 972 src/frame.c f->undecorated = false; f 973 src/frame.c f->no_special_glyphs = false; f 975 src/frame.c f->override_redirect = false; f 977 src/frame.c f->skip_taskbar = false; f 978 src/frame.c f->no_focus_on_map = false; f 979 src/frame.c f->no_accept_focus = false; f 980 src/frame.c f->z_group = z_group_none; f 981 src/frame.c f->tooltip = false; f 982 src/frame.c f->was_invisible = false; f 983 src/frame.c f->child_frame_border_width = -1; f 984 src/frame.c f->last_tab_bar_item = -1; f 986 src/frame.c f->last_tool_bar_item = -1; f 989 src/frame.c f->ns_appearance = ns_appearance_system_default; f 990 src/frame.c f->ns_transparent_titlebar = false; f 993 src/frame.c f->select_mini_window_flag = false; f 995 src/frame.c f->change_stamp = 1; f 1006 src/frame.c fset_minibuffer_window (f, mini_window); f 1007 src/frame.c store_frame_param (f, Qminibuffer, Qt); f 1013 src/frame.c fset_minibuffer_window (f, Qnil); f 1020 src/frame.c FRAME_COLS (f) = FRAME_TOTAL_COLS (f) = rw->total_cols = 80; f 1021 src/frame.c FRAME_TEXT_WIDTH (f) = FRAME_PIXEL_WIDTH (f) = rw->pixel_width f 1022 src/frame.c = 80 * FRAME_COLUMN_WIDTH (f); f 1023 src/frame.c FRAME_LINES (f) = FRAME_TOTAL_LINES (f) = 25; f 1024 src/frame.c FRAME_TEXT_HEIGHT (f) = FRAME_PIXEL_HEIGHT (f) = 25 * FRAME_LINE_HEIGHT (f); f 1026 src/frame.c rw->total_lines = FRAME_LINES (f) - (mini_p ? 1 : 0); f 1027 src/frame.c rw->pixel_height = rw->total_lines * FRAME_LINE_HEIGHT (f); f 1030 src/frame.c (f, make_hash_table (hashtest_eq, DEFAULT_HASH_SIZE, DEFAULT_REHASH_SIZE, f 1040 src/frame.c mw->pixel_height = FRAME_LINE_HEIGHT (f); f 1058 src/frame.c fset_buffer_list (f, list1 (buf)); f 1068 src/frame.c fset_root_window (f, root_window); f 1069 src/frame.c fset_selected_window (f, root_window); f 1072 src/frame.c XWINDOW (f->selected_window)->use_time = ++window_select_count; f 1074 src/frame.c return f; f 1086 src/frame.c struct frame *f; f 1096 src/frame.c f = make_frame (0); f 1106 src/frame.c XSETFRAME (frame_dummy, f); f 1116 src/frame.c fset_minibuffer_window (f, mini_window); f 1117 src/frame.c store_frame_param (f, Qminibuffer, mini_window); f 1128 src/frame.c return f; f 1138 src/frame.c register struct frame *f = make_frame (0); f 1142 src/frame.c XSETFRAME (frame, f); f 1144 src/frame.c f->auto_raise = 0; f 1145 src/frame.c f->auto_lower = 0; f 1146 src/frame.c f->no_split = 1; f 1147 src/frame.c f->wants_modeline = 0; f 1153 src/frame.c mini_window = f->root_window; f 1154 src/frame.c fset_minibuffer_window (f, mini_window); f 1155 src/frame.c store_frame_param (f, Qminibuffer, Qonly); f 1169 src/frame.c return f; f 1180 src/frame.c struct frame *f; f 1189 src/frame.c f = make_frame (true); f 1190 src/frame.c XSETFRAME (frame, f); f 1195 src/frame.c fset_name (f, build_pure_c_string ("F1")); f 1197 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1199 src/frame.c f->output_method = terminal->type; f 1200 src/frame.c f->terminal = terminal; f 1201 src/frame.c f->terminal->reference_count++; f 1203 src/frame.c FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR; f 1204 src/frame.c FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR; f 1207 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 1208 src/frame.c f->horizontal_scroll_bars = false; f 1212 src/frame.c set_menu_bar_lines (f, make_fixnum (1), Qnil); f 1215 src/frame.c set_tab_bar_lines (f, make_fixnum (0), Qnil); f 1218 src/frame.c adjust_frame_glyphs (f); f 1221 src/frame.c init_frame_faces (f); f 1223 src/frame.c last_nonminibuf_frame = f; f 1225 src/frame.c f->can_set_window_size = true; f 1226 src/frame.c f->after_make_frame = true; f 1228 src/frame.c return f; f 1235 src/frame.c register struct frame *f; f 1242 src/frame.c f = make_frame (1); f 1244 src/frame.c XSETFRAME (frame, f); f 1247 src/frame.c fset_name (f, make_formatted_string (name, "F%"PRIdMAX, ++tty_frame_count)); f 1249 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1251 src/frame.c f->terminal = terminal; f 1252 src/frame.c f->terminal->reference_count++; f 1254 src/frame.c f->output_data.tty = &the_only_tty_output; f 1255 src/frame.c f->output_data.tty->display_info = &the_only_display_info; f 1259 src/frame.c f->output_method = output_msdos_raw; f 1261 src/frame.c f->output_method = output_termcap; f 1263 src/frame.c f->output_method = output_termcap; f 1264 src/frame.c create_tty_output (f); f 1265 src/frame.c FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR; f 1266 src/frame.c FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR; f 1270 src/frame.c f->vertical_scroll_bar_type = vertical_scroll_bar_none; f 1271 src/frame.c f->horizontal_scroll_bars = false; f 1274 src/frame.c FRAME_MENU_BAR_LINES (f) = NILP (Vmenu_bar_mode) ? 0 : 1; f 1275 src/frame.c FRAME_TAB_BAR_LINES (f) = NILP (Vtab_bar_mode) ? 0 : 1; f 1276 src/frame.c FRAME_LINES (f) = FRAME_LINES (f) - FRAME_MENU_BAR_LINES (f) f 1277 src/frame.c - FRAME_TAB_BAR_LINES (f); f 1278 src/frame.c FRAME_MENU_BAR_HEIGHT (f) = FRAME_MENU_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 1279 src/frame.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 1280 src/frame.c FRAME_TEXT_HEIGHT (f) = FRAME_TEXT_HEIGHT (f) - FRAME_MENU_BAR_HEIGHT (f) f 1281 src/frame.c - FRAME_TAB_BAR_HEIGHT (f); f 1284 src/frame.c if (FRAMEP (FRAME_TTY (f)->top_frame) f 1285 src/frame.c && FRAME_LIVE_P (XFRAME (FRAME_TTY (f)->top_frame))) f 1286 src/frame.c SET_FRAME_VISIBLE (XFRAME (FRAME_TTY (f)->top_frame), 2); /* obscured */ f 1288 src/frame.c FRAME_TTY (f)->top_frame = frame; f 1291 src/frame.c init_frame_faces (f); f 1293 src/frame.c return f; f 1339 src/frame.c struct frame *f; f 1398 src/frame.c f = make_terminal_frame (t); f 1402 src/frame.c get_tty_size (fileno (FRAME_TTY (f)->input), &width, &height); f 1404 src/frame.c adjust_frame_size (f, width, height - FRAME_TOP_MARGIN (f), f 1408 src/frame.c adjust_frame_glyphs (f); f 1409 src/frame.c calculate_costs (f); f 1410 src/frame.c XSETFRAME (frame, f); f 1420 src/frame.c fset_face_hash_table (f, Fcopy_hash_table (sf->face_hash_table)); f 1425 src/frame.c struct Lisp_Hash_Table *table = XHASH_TABLE (f->face_hash_table); f 1435 src/frame.c f->can_set_window_size = true; f 1436 src/frame.c f->after_make_frame = true; f 1460 src/frame.c struct frame *sf = SELECTED_FRAME (), *f; f 1473 src/frame.c f = XFRAME (frame); f 1475 src/frame.c if (!FRAME_LIVE_P (f) || FRAME_TOOLTIP_P (f)) f 1477 src/frame.c else if (f == sf) f 1490 src/frame.c if (track && FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->get_focus_frame) f 1500 src/frame.c gfocus = FRAME_TERMINAL (f)->get_focus_frame (f); f 1521 src/frame.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 1523 src/frame.c struct tty_display_info *tty = FRAME_TTY (f); f 1534 src/frame.c SET_FRAME_VISIBLE (f, 1); f 1538 src/frame.c if (FRAME_COLS (f) != FrameCols (tty)) f 1539 src/frame.c FrameCols (tty) = FRAME_COLS (f); f 1540 src/frame.c if (FRAME_TOTAL_LINES (f) != FrameRows (tty)) f 1541 src/frame.c FrameRows (tty) = FRAME_TOTAL_LINES (f); f 1553 src/frame.c if (EQ (f->selected_window, f->minibuffer_window) f 1556 src/frame.c && NILP (Fminibufferp (XWINDOW (f->minibuffer_window)->contents, Qt))) f 1569 src/frame.c if (f->select_mini_window_flag f 1570 src/frame.c && !NILP (Fminibufferp (XWINDOW (f->minibuffer_window)->contents, Qt))) f 1571 src/frame.c f->selected_window = f->minibuffer_window; f 1572 src/frame.c f->select_mini_window_flag = false; f 1577 src/frame.c Fselect_window (f->selected_window, norecord); f 1586 src/frame.c if (!frame_ancestor_p (f, sf)) f 1610 src/frame.c struct frame *f; f 1613 src/frame.c f = XFRAME (frame); f 1615 src/frame.c if (FRAME_TOOLTIP_P (f)) f 1689 src/frame.c struct frame *f = decode_live_frame (frame); f 1690 src/frame.c struct frame *p = FRAME_PARENT_FRAME (f); f 1755 src/frame.c struct frame *c = XFRAME (candidate), *f = XFRAME (frame); f 1757 src/frame.c if ((!FRAME_TERMCAP_P (c) && !FRAME_TERMCAP_P (f) f 1758 src/frame.c && FRAME_KBOARD (c) == FRAME_KBOARD (f)) f 1759 src/frame.c || (FRAME_TERMCAP_P (c) && FRAME_TERMCAP_P (f) f 1760 src/frame.c && FRAME_TTY (c) == FRAME_TTY (f))) f 1798 src/frame.c Lisp_Object f, tail; f 1804 src/frame.c FOR_EACH_FRAME (tail, f) f 1808 src/frame.c f = candidate_frame (f, frame, minibuf); f 1809 src/frame.c if (!NILP (f)) f 1810 src/frame.c return f; f 1812 src/frame.c if (EQ (frame, f)) f 1823 src/frame.c Lisp_Object f, tail, prev = Qnil; f 1827 src/frame.c FOR_EACH_FRAME (tail, f) f 1829 src/frame.c if (EQ (frame, f) && !NILP (prev)) f 1831 src/frame.c f = candidate_frame (f, frame, minibuf); f 1832 src/frame.c if (!NILP (f)) f 1833 src/frame.c prev = f; f 1921 src/frame.c other_frames (struct frame *f, bool invisible, bool force) f 1924 src/frame.c Lisp_Object minibuffer_window = FRAME_MINIBUF_WINDOW (f); f 1926 src/frame.c XSETFRAME (frame, f); f 1935 src/frame.c if (f != f1) f 1957 src/frame.c || (FRAME_WINDOW_P (f1) && !FRAME_WINDOW_P (f)))))) f 1975 src/frame.c struct frame *f = decode_any_frame (frame); f 1980 src/frame.c bool nochild = !FRAME_PARENT_FRAME (f); f 1986 src/frame.c if (!FRAME_LIVE_P (f)) f 1988 src/frame.c else if (!EQ (force, Qnoelisp) && !other_frames (f, false, !NILP (force))) f 1996 src/frame.c else if ((x_dnd_in_progress && f == x_dnd_frame) f 1997 src/frame.c || (x_dnd_waiting_for_finish && f == x_dnd_finish_frame)) f 2001 src/frame.c else if (f == haiku_dnd_frame) f 2005 src/frame.c XSETFRAME (frame, f); f 2015 src/frame.c else if (FRAME_PARENT_FRAME (f1) == f) f 2017 src/frame.c if (FRAME_HAS_MINIBUF_P (f1) && !FRAME_HAS_MINIBUF_P (f) f 2018 src/frame.c && EQ (FRAME_MINIBUF_WINDOW (f), FRAME_MINIBUF_WINDOW (f1))) f 2040 src/frame.c if (FRAME_HAS_MINIBUF_P (f)) f 2063 src/frame.c is_tooltip_frame = FRAME_TOOLTIP_P (f); f 2087 src/frame.c if (!FRAME_LIVE_P (f)) f 2089 src/frame.c else if (!EQ (force, Qnoelisp) && !other_frames (f, false, !NILP (force))) f 2101 src/frame.c if (f == sf) f 2116 src/frame.c && FRAME_TERMINAL (f) == FRAME_TERMINAL (f1) f 2159 src/frame.c move_minibuffers_onto_frame (f, selected_frame, true); f 2162 src/frame.c if (EQ (f->minibuffer_window, echo_area_window)) f 2167 src/frame.c if (FRAME_X_P (f)) f 2177 src/frame.c x_clear_frame_selections (f); f 2183 src/frame.c if (FRAME_PGTK_P (f)) f 2189 src/frame.c pgtk_clear_frame_selections (f); f 2197 src/frame.c free_glyphs (f); f 2201 src/frame.c font_update_drivers (f, Qnil); f 2206 src/frame.c delete_all_child_windows (f->root_window); f 2207 src/frame.c fset_root_window (f, Qnil); f 2210 src/frame.c SET_FRAME_VISIBLE (f, 0); f 2216 src/frame.c fset_menu_bar_vector (f, Qnil); f 2220 src/frame.c fset_buffer_list (f, Qnil); f 2221 src/frame.c fset_buried_buffer_list (f, Qnil); f 2223 src/frame.c free_font_driver_list (f); f 2225 src/frame.c xfree (f->namebuf); f 2227 src/frame.c xfree (f->decode_mode_spec_buffer); f 2228 src/frame.c xfree (FRAME_INSERT_COST (f)); f 2229 src/frame.c xfree (FRAME_DELETEN_COST (f)); f 2230 src/frame.c xfree (FRAME_INSERTN_COST (f)); f 2231 src/frame.c xfree (FRAME_DELETE_COST (f)); f 2242 src/frame.c if (FRAME_TERMINAL (f)->delete_frame_hook) f 2243 src/frame.c (*FRAME_TERMINAL (f)->delete_frame_hook) (f); f 2244 src/frame.c terminal = FRAME_TERMINAL (f); f 2245 src/frame.c f->terminal = 0; /* Now the frame is dead. */ f 2284 src/frame.c if (f == last_nonminibuf_frame) f 2469 src/frame.c frame_internal_border_part (struct frame *f, int x, int y) f 2471 src/frame.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 2472 src/frame.c int offset = FRAME_LINE_HEIGHT (f); f 2473 src/frame.c int width = FRAME_PIXEL_WIDTH (f); f 2474 src/frame.c int height = FRAME_PIXEL_HEIGHT (f); f 2566 src/frame.c struct frame *f; f 2570 src/frame.c f = SELECTED_FRAME (); f 2574 src/frame.c if (FRAME_TERMINAL (f)->mouse_position_hook) f 2578 src/frame.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, -1, f 2584 src/frame.c if (! NILP (x) && f) f 2588 src/frame.c pixel_to_glyph_coords (f, col, row, &col, &row, NULL, 1); f 2592 src/frame.c if (f) f 2593 src/frame.c XSETFRAME (lispy_dummy, f); f 2615 src/frame.c struct frame *f; f 2619 src/frame.c f = SELECTED_FRAME (); f 2623 src/frame.c if (FRAME_TERMINAL (f)->mouse_position_hook) f 2627 src/frame.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, -1, f 2633 src/frame.c if (f) f 2634 src/frame.c XSETFRAME (lispy_dummy, f); f 2650 src/frame.c frame_char_to_pixel_position (struct frame *f, int x, int y, f 2653 src/frame.c *pix_x = FRAME_COL_TO_PIXEL_X (f, x) + FRAME_COLUMN_WIDTH (f) / 2; f 2654 src/frame.c *pix_y = FRAME_LINE_TO_PIXEL_Y (f, y) + FRAME_LINE_HEIGHT (f) / 2; f 2658 src/frame.c if (*pix_x > FRAME_PIXEL_WIDTH (f)) f 2659 src/frame.c *pix_x = FRAME_PIXEL_WIDTH (f); f 2663 src/frame.c if (*pix_y > FRAME_PIXEL_HEIGHT (f)) f 2664 src/frame.c *pix_y = FRAME_PIXEL_HEIGHT (f); f 2670 src/frame.c frame_set_mouse_position (struct frame *f, int x, int y) f 2674 src/frame.c frame_char_to_pixel_position (f, x, y, &pix_x, &pix_y); f 2675 src/frame.c frame_set_mouse_pixel_position (f, pix_x, pix_y); f 2784 src/frame.c struct frame *f = decode_live_frame (frame); f 2786 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->frame_visible_invisible_hook) f 2787 src/frame.c FRAME_TERMINAL (f)->frame_visible_invisible_hook (f, true); f 2789 src/frame.c make_frame_visible_1 (f->root_window); f 2794 src/frame.c XSETFRAME (frame, f); f 2831 src/frame.c struct frame *f = decode_live_frame (frame); f 2833 src/frame.c if (NILP (force) && !other_frames (f, true, false)) f 2836 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->frame_visible_invisible_hook) f 2837 src/frame.c FRAME_TERMINAL (f)->frame_visible_invisible_hook (f, false); f 2854 src/frame.c struct frame *f = decode_live_frame (frame); f 2856 src/frame.c Lisp_Object parent = f->parent_frame; f 2878 src/frame.c if (FRAME_WINDOW_P (f) && FRAME_TERMINAL (f)->iconify_frame_hook) f 2879 src/frame.c FRAME_TERMINAL (f)->iconify_frame_hook (f); f 2929 src/frame.c struct frame *f = decode_live_frame (frame); f 2931 src/frame.c XSETFRAME (frame, f); f 2933 src/frame.c if (FRAME_TERMCAP_P (f)) f 2940 src/frame.c if (FRAME_TERMINAL (f)->frame_raise_lower_hook) f 2941 src/frame.c (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, true); f 2954 src/frame.c struct frame *f = decode_live_frame (frame); f 2956 src/frame.c if (FRAME_TERMINAL (f)->frame_raise_lower_hook) f 2957 src/frame.c (*FRAME_TERMINAL (f)->frame_raise_lower_hook) (f, false); f 2993 src/frame.c struct frame *f = decode_any_frame (frame); f 2998 src/frame.c fset_focus_frame (f, focus_frame); f 3000 src/frame.c if (FRAME_TERMINAL (f)->frame_rehighlight_hook) f 3001 src/frame.c (*FRAME_TERMINAL (f)->frame_rehighlight_hook) (f); f 3026 src/frame.c struct frame *f = decode_window_system_frame (frame); f 3027 src/frame.c if (f && FRAME_TERMINAL (f)->focus_frame_hook) f 3028 src/frame.c FRAME_TERMINAL (f)->focus_frame_hook (f, !NILP (noactivate)); f 3047 src/frame.c struct frame *f = decode_live_frame (frame); f 3048 src/frame.c f->after_make_frame = !NILP (made); f 3049 src/frame.c f->inhibit_horizontal_resize = false; f 3050 src/frame.c f->inhibit_vertical_resize = false; f 3102 src/frame.c set_term_frame_name (struct frame *f, Lisp_Object name) f 3104 src/frame.c f->explicit_name = ! NILP (name); f 3113 src/frame.c if (frame_name_fnn_p (SSDATA (f->name), SBYTES (f->name))) f 3123 src/frame.c if (! NILP (Fstring_equal (name, f->name))) f 3132 src/frame.c fset_name (f, name); f 3137 src/frame.c store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val) f 3147 src/frame.c else if (FRAME_MINIBUF_ONLY_P (f)) f 3149 src/frame.c if (EQ (val, FRAME_MINIBUF_WINDOW (f))) f 3154 src/frame.c else if (FRAME_HAS_MINIBUF_P (f)) f 3156 src/frame.c if (EQ (val, FRAME_MINIBUF_WINDOW (f))) f 3163 src/frame.c fset_minibuffer_window (f, val); f 3167 src/frame.c Lisp_Object old_val = Fcdr (Fassq (Qminibuffer, f->param_alist)); f 3189 src/frame.c Lisp_Object oldval = Fcdr (Fassq (prop, f->param_alist)); f 3200 src/frame.c XSETFRAME (frame, f); f 3219 src/frame.c fset_buffer_list (f, Fnreverse (list)); f 3228 src/frame.c fset_buried_buffer_list (f, Fnreverse (list)); f 3234 src/frame.c Lisp_Object old_val = Fcdr (Fassq (prop, f->param_alist)); f 3242 src/frame.c if (FRAME_TERMCAP_P (f) && EQ (prop, Qtty_color_mode) f 3243 src/frame.c && f == FRAME_TTY (f)->previous_frame) f 3245 src/frame.c FRAME_TTY (f)->previous_frame = NULL; f 3248 src/frame.c old_alist_elt = Fassq (prop, f->param_alist); f 3250 src/frame.c fset_param_alist (f, Fcons (Fcons (prop, val), f->param_alist)); f 3258 src/frame.c fset_buffer_predicate (f, val); f 3260 src/frame.c if (! FRAME_WINDOW_P (f)) f 3263 src/frame.c set_menu_bar_lines (f, val, make_fixnum (FRAME_MENU_BAR_LINES (f))); f 3265 src/frame.c set_tab_bar_lines (f, val, make_fixnum (FRAME_TAB_BAR_LINES (f))); f 3267 src/frame.c set_term_frame_name (f, val); f 3275 src/frame.c frame_unspecified_color (struct frame *f, Lisp_Object unspec) f 3278 src/frame.c ? tty_color_name (f, FRAME_BACKGROUND_PIXEL (f)) f 3280 src/frame.c ? tty_color_name (f, FRAME_FOREGROUND_PIXEL (f)) : Qnil)); f 3291 src/frame.c struct frame *f = decode_any_frame (frame); f 3294 src/frame.c if (!FRAME_LIVE_P (f)) f 3297 src/frame.c alist = Fcopy_alist (f->param_alist); f 3299 src/frame.c if (!FRAME_WINDOW_P (f)) f 3309 src/frame.c elt = frame_unspecified_color (f, XCDR (elt)); f 3315 src/frame.c tty_color_name (f, FRAME_FOREGROUND_PIXEL (f))); f 3319 src/frame.c elt = frame_unspecified_color (f, XCDR (elt)); f 3325 src/frame.c tty_color_name (f, FRAME_BACKGROUND_PIXEL (f))); f 3327 src/frame.c build_string (FRAME_MSDOS_P (f) f 3329 src/frame.c : FRAME_W32_P (f) ? "w32term" f 3333 src/frame.c store_in_alist (&alist, Qname, f->name); f 3341 src/frame.c height = ((f->new_size_p && f->new_height >= 0) f 3342 src/frame.c ? f->new_height / FRAME_LINE_HEIGHT (f) f 3343 src/frame.c : FRAME_LINES (f)); f 3345 src/frame.c width = ((f->new_size_p && f->new_width >= 0) f 3346 src/frame.c ? f->new_width / FRAME_COLUMN_WIDTH (f) f 3347 src/frame.c : FRAME_COLS(f)); f 3350 src/frame.c store_in_alist (&alist, Qmodeline, FRAME_WANTS_MODELINE_P (f) ? Qt : Qnil); f 3351 src/frame.c store_in_alist (&alist, Qunsplittable, FRAME_NO_SPLIT_P (f) ? Qt : Qnil); f 3352 src/frame.c store_in_alist (&alist, Qbuffer_list, f->buffer_list); f 3353 src/frame.c store_in_alist (&alist, Qburied_buffer_list, f->buried_buffer_list); f 3357 src/frame.c if (FRAME_WINDOW_P (f)) f 3358 src/frame.c gui_report_frame_params (f, &alist); f 3365 src/frame.c XSETFASTINT (lines, FRAME_MENU_BAR_LINES (f)); f 3367 src/frame.c XSETFASTINT (lines, FRAME_TAB_BAR_LINES (f)); f 3380 src/frame.c struct frame *f = decode_any_frame (frame); f 3385 src/frame.c XSETFRAME (frame, f); f 3387 src/frame.c if (FRAME_LIVE_P (f)) f 3391 src/frame.c value = f->name; f 3395 src/frame.c value = (f->vertical_scroll_bar_type == vertical_scroll_bar_none f 3397 src/frame.c : (f->vertical_scroll_bar_type == vertical_scroll_bar_left f 3400 src/frame.c value = f->horizontal_scroll_bars ? Qt : Qnil; f 3401 src/frame.c else if (EQ (parameter, Qline_spacing) && f->extra_line_spacing == 0) f 3405 src/frame.c else if (EQ (parameter, Qfont) && FRAME_X_P (f)) f 3406 src/frame.c value = FRAME_FONT (f)->props[FONT_NAME_INDEX]; f 3409 src/frame.c else if (EQ (parameter, Qdisplay) && FRAME_X_P (f)) f 3410 src/frame.c value = XCAR (FRAME_DISPLAY_INFO (f)->name_list_element); f 3415 src/frame.c value = Fassq (parameter, f->param_alist); f 3423 src/frame.c if (STRINGP (value) && !FRAME_WINDOW_P (f)) f 3425 src/frame.c Lisp_Object tem = frame_unspecified_color (f, value); f 3436 src/frame.c value = Fcdr (Fassq (parameter, f->param_alist)); f 3461 src/frame.c struct frame *f = decode_live_frame (frame); f 3466 src/frame.c if (FRAME_WINDOW_P (f)) f 3467 src/frame.c gui_set_frame_parameters (f, alist); f 3471 src/frame.c if (FRAME_MSDOS_P (f)) f 3472 src/frame.c IT_set_frame_parameters (f, alist); f 3502 src/frame.c store_frame_param (f, prop, val); f 3506 src/frame.c update_face_from_frame_parameter (f, prop, val); f 3522 src/frame.c struct frame *f = decode_any_frame (frame); f 3524 src/frame.c if (FRAME_WINDOW_P (f)) f 3525 src/frame.c return make_fixnum (FRAME_LINE_HEIGHT (f)); f 3541 src/frame.c struct frame *f = decode_any_frame (frame); f 3543 src/frame.c if (FRAME_WINDOW_P (f)) f 3544 src/frame.c return make_fixnum (FRAME_COLUMN_WIDTH (f)); f 3560 src/frame.c struct frame *f = decode_any_frame (frame); f 3563 src/frame.c if (FRAME_WINDOW_P (f)) f 3564 src/frame.c return make_fixnum (FRAME_PIXEL_WIDTH (f)); f 3567 src/frame.c return make_fixnum (FRAME_TOTAL_COLS (f)); f 3589 src/frame.c struct frame *f = decode_any_frame (frame); f 3592 src/frame.c if (FRAME_WINDOW_P (f)) f 3593 src/frame.c return make_fixnum (FRAME_PIXEL_HEIGHT (f)); f 3596 src/frame.c return make_fixnum (FRAME_TOTAL_LINES (f)); f 3608 src/frame.c struct frame *f = decode_any_frame (frame); f 3610 src/frame.c if (FRAME_WINDOW_P (f)) f 3611 src/frame.c return make_fixnum (FRAME_TOOLBAR_WIDTH (f)); f 3750 src/frame.c struct frame *f = decode_live_frame (frame); f 3752 src/frame.c = check_frame_pixels (height, pixelwise, FRAME_LINE_HEIGHT (f)); f 3756 src/frame.c (f, FRAME_TEXT_WIDTH (f), text_height, 1, !NILP (pretend), Qheight); f 3779 src/frame.c struct frame *f = decode_live_frame (frame); f 3781 src/frame.c = check_frame_pixels (width, pixelwise, FRAME_COLUMN_WIDTH (f)); f 3785 src/frame.c (f, text_width, FRAME_TEXT_HEIGHT (f), 1, !NILP (pretend), Qwidth); f 3801 src/frame.c struct frame *f = decode_live_frame (frame); f 3803 src/frame.c = check_frame_pixels (width, pixelwise, FRAME_COLUMN_WIDTH (f)); f 3805 src/frame.c = check_frame_pixels (height, pixelwise, FRAME_LINE_HEIGHT (f)); f 3808 src/frame.c adjust_frame_size (f, text_width, text_height, 1, false, Qsize); f 3826 src/frame.c register struct frame *f = decode_live_frame (frame); f 3828 src/frame.c return Fcons (make_fixnum (f->left_pos), make_fixnum (f->top_pos)); f 3842 src/frame.c struct frame *f = decode_live_frame (frame); f 3846 src/frame.c if (FRAME_WINDOW_P (f)) f 3849 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 3850 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, xval, yval, 1); f 3888 src/frame.c struct frame *f = decode_live_frame (frame); f 3890 src/frame.c return (FRAME_WINDOW_STATE_CHANGE (f) = !NILP (arg)) ? Qt : Qnil; f 3901 src/frame.c struct frame *f = decode_live_frame (frame); f 3903 src/frame.c return (make_float (f ? FRAME_SCALE_FACTOR (f) : 1)); f 4021 src/frame.c frame_float (struct frame *f, Lisp_Object val, enum frame_float_type what, f 4034 src/frame.c struct frame *p = FRAME_PARENT_FRAME (f); f 4055 src/frame.c XSETFRAME (frame, f); f 4085 src/frame.c else if (FRAME_UNDECORATED (f)) f 4088 src/frame.c = FRAME_PIXEL_WIDTH (f) - FRAME_TEXT_WIDTH (f); f 4090 src/frame.c = FRAME_PIXEL_HEIGHT (f) - FRAME_TEXT_HEIGHT (f); f 4100 src/frame.c XSETFRAME (frame, f); f 4108 src/frame.c - FRAME_TEXT_WIDTH (f)); f 4112 src/frame.c - FRAME_TEXT_HEIGHT (f)); f 4119 src/frame.c = FRAME_PIXEL_WIDTH (f) - FRAME_TEXT_WIDTH (f); f 4121 src/frame.c = FRAME_PIXEL_HEIGHT (f) - FRAME_TEXT_HEIGHT (f); f 4138 src/frame.c - FRAME_TEXT_WIDTH (f) f 4151 src/frame.c - FRAME_TEXT_HEIGHT (f) f 4180 src/frame.c gui_set_frame_parameters_1 (struct frame *f, Lisp_Object alist, f 4209 src/frame.c XSETFRAME (frame, f); f 4268 src/frame.c width = XFIXNAT (val) * FRAME_COLUMN_WIDTH (f) ; f 4273 src/frame.c width = frame_float (f, val, FRAME_FLOAT_WIDTH, &parent_done, f 4283 src/frame.c height = XFIXNAT (val) * FRAME_LINE_HEIGHT (f); f 4288 src/frame.c height = frame_float (f, val, FRAME_FLOAT_HEIGHT, &parent_done, f 4310 src/frame.c old_value = get_frame_param (f, prop); f 4312 src/frame.c store_frame_param (f, prop, val); f 4317 src/frame.c && FRAME_RIF (f)->frame_parm_handlers[XFIXNUM (param_index)]) f 4318 src/frame.c (*(FRAME_RIF (f)->frame_parm_handlers[XFIXNUM (param_index)])) (f, val, old_value); f 4324 src/frame.c store_frame_param (f, Qfont_parameter, val); f 4332 src/frame.c if (f->left_pos < 0) f 4333 src/frame.c left = list2 (Qplus, make_fixnum (f->left_pos)); f 4335 src/frame.c XSETINT (left, f->left_pos); f 4340 src/frame.c if (f->top_pos < 0) f 4341 src/frame.c top = list2 (Qplus, make_fixnum (f->top_pos)); f 4343 src/frame.c XSETINT (top, f->top_pos); f 4352 src/frame.c icon_left = Fcdr (Fassq (Qicon_left, f->param_alist)); f 4361 src/frame.c icon_top = Fcdr (Fassq (Qicon_top, f->param_alist)); f 4376 src/frame.c height = FRAME_TEXT_HEIGHT (f); f 4382 src/frame.c width = FRAME_TEXT_WIDTH (f); f 4386 src/frame.c adjust_frame_size (f, width, height, 1, 0, parameter); f 4391 src/frame.c && ! (FIXNUMP (left) && XFIXNUM (left) == f->left_pos f 4392 src/frame.c && FIXNUMP (top) && XFIXNUM (top) == f->top_pos)) f 4398 src/frame.c f->size_hint_flags &= ~ (XNegative | YNegative); f 4400 src/frame.c f->size_hint_flags |= XNegative; f 4405 src/frame.c f->size_hint_flags |= XNegative; f 4412 src/frame.c f->size_hint_flags |= XNegative; f 4419 src/frame.c leftpos = frame_float (f, left, FRAME_FLOAT_LEFT, &parent_done, f 4423 src/frame.c f->size_hint_flags |= YNegative; f 4428 src/frame.c f->size_hint_flags |= YNegative; f 4435 src/frame.c f->size_hint_flags |= YNegative; f 4442 src/frame.c toppos = frame_float (f, top, FRAME_FLOAT_TOP, &parent_done, f 4446 src/frame.c f->top_pos = toppos; f 4447 src/frame.c f->left_pos = leftpos; f 4449 src/frame.c f->win_gravity = NorthWestGravity; f 4452 src/frame.c if (FRAME_TERMINAL (f)->set_frame_offset_hook) f 4453 src/frame.c FRAME_TERMINAL (f)->set_frame_offset_hook (f, leftpos, toppos, -1); f 4458 src/frame.c Lisp_Object old_value = get_frame_param (f, Qfullscreen); f 4460 src/frame.c store_frame_param (f, Qfullscreen, fullscreen); f 4462 src/frame.c gui_set_fullscreen (f, fullscreen, old_value); f 4469 src/frame.c x_wm_set_icon_position (f, XFIXNUM (icon_left), XFIXNUM (icon_top)); f 4476 src/frame.c gui_set_frame_parameters (struct frame *f, Lisp_Object alist) f 4478 src/frame.c gui_set_frame_parameters_1 (f, alist, false); f 4488 src/frame.c gui_report_frame_params (struct frame *f, Lisp_Object *alistptr) f 4496 src/frame.c XSETINT (tem, f->left_pos); f 4497 src/frame.c if (f->left_pos >= 0) f 4502 src/frame.c XSETINT (tem, f->top_pos); f 4503 src/frame.c if (f->top_pos >= 0) f 4509 src/frame.c make_fixnum (f->border_width)); f 4511 src/frame.c FRAME_CHILD_FRAME_BORDER_WIDTH (f) >= 0 f 4512 src/frame.c ? make_fixnum (FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 4515 src/frame.c make_fixnum (FRAME_INTERNAL_BORDER_WIDTH (f))); f 4517 src/frame.c make_fixnum (FRAME_RIGHT_DIVIDER_WIDTH (f))); f 4519 src/frame.c make_fixnum (FRAME_BOTTOM_DIVIDER_WIDTH (f))); f 4521 src/frame.c make_fixnum (FRAME_LEFT_FRINGE_WIDTH (f))); f 4523 src/frame.c make_fixnum (FRAME_RIGHT_FRINGE_WIDTH (f))); f 4525 src/frame.c (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 f 4526 src/frame.c ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) f 4532 src/frame.c (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) > 0 f 4533 src/frame.c ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f)) f 4541 src/frame.c w = (uintptr_t) FRAME_NATIVE_WINDOW (f); f 4547 src/frame.c if (FRAME_X_OUTPUT (f)->widget) f 4549 src/frame.c w = (uintptr_t) FRAME_OUTER_WINDOW (f); f 4553 src/frame.c store_in_alist (alistptr, Qicon_name, f->icon_name); f 4555 src/frame.c (FRAME_VISIBLE_P (f) ? Qt f 4556 src/frame.c : FRAME_ICONIFIED_P (f) ? Qicon : Qnil)); f 4558 src/frame.c XCAR (FRAME_DISPLAY_INFO (f)->name_list_element)); f 4560 src/frame.c if (FRAME_OUTPUT_DATA (f)->parent_desc == FRAME_DISPLAY_INFO (f)->root_window) f 4563 src/frame.c tem = make_fixed_natnum ((uintptr_t) FRAME_OUTPUT_DATA (f)->parent_desc); f 4564 src/frame.c store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil)); f 4566 src/frame.c store_in_alist (alistptr, Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)); f 4574 src/frame.c gui_set_fullscreen (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4577 src/frame.c f->want_fullscreen = FULLSCREEN_NONE; f 4579 src/frame.c f->want_fullscreen = FULLSCREEN_BOTH; f 4581 src/frame.c f->want_fullscreen = FULLSCREEN_WIDTH; f 4583 src/frame.c f->want_fullscreen = FULLSCREEN_HEIGHT; f 4585 src/frame.c f->want_fullscreen = FULLSCREEN_MAXIMIZED; f 4587 src/frame.c if (FRAME_TERMINAL (f)->fullscreen_hook != NULL) f 4588 src/frame.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 4596 src/frame.c gui_set_line_spacing (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4599 src/frame.c f->extra_line_spacing = 0; f 4601 src/frame.c f->extra_line_spacing = XFIXNAT (new_value); f 4604 src/frame.c int new_spacing = XFLOAT_DATA (new_value) * FRAME_LINE_HEIGHT (f) + 0.5; f 4607 src/frame.c f->extra_line_spacing = new_spacing; f 4613 src/frame.c if (FRAME_VISIBLE_P (f)) f 4614 src/frame.c redraw_frame (f); f 4622 src/frame.c gui_set_screen_gamma (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4627 src/frame.c f->gamma = 0; f 4630 src/frame.c f->gamma = 1.0 / (0.4545 * XFLOATINT (new_value)); f 4635 src/frame.c bgcolor = Fassq (Qbackground_color, f->param_alist); f 4641 src/frame.c && FRAME_RIF (f)->frame_parm_handlers[XFIXNAT (parm_index)]) f 4642 src/frame.c (*FRAME_RIF (f)->frame_parm_handlers[XFIXNAT (parm_index)]) f 4643 src/frame.c (f, bgcolor, Qnil); f 4647 src/frame.c fset_redisplay (f); f 4652 src/frame.c gui_set_font (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4659 src/frame.c store_frame_param (f, Qfont, oldval); f 4669 src/frame.c font_object = font_open_by_name (f, arg); f 4676 src/frame.c font_object = font_open_by_name (f, fontset_ascii (fontset)); f 4702 src/frame.c fontset = FRAME_FONTSET (f); f 4725 src/frame.c if (FRAME_TERMINAL (f)->set_new_font_hook) f 4726 src/frame.c FRAME_TERMINAL (f)->set_new_font_hook (f, font_object, fontset); f 4727 src/frame.c store_frame_param (f, Qfont, arg); f 4730 src/frame.c f->n_tab_bar_rows = 0; f 4732 src/frame.c f->n_tool_bar_rows = 0; f 4735 src/frame.c clear_current_matrices (f); f 4738 src/frame.c SET_FRAME_GARBAGED (f); f 4742 src/frame.c f->fonts_changed = true; f 4744 src/frame.c recompute_basic_faces (f); f 4758 src/frame.c gui_set_font_backend (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4788 src/frame.c if (FRAME_FONT (f)) f 4791 src/frame.c XSETFRAME (frame, f); f 4795 src/frame.c new_value = font_update_drivers (f, NILP (new_value) ? Qt : new_value); f 4800 src/frame.c font_update_drivers (f, old_value); f 4803 src/frame.c store_frame_param (f, Qfont_backend, new_value); f 4805 src/frame.c if (FRAME_FONT (f)) f 4808 src/frame.c FRAME_RIF (f)->default_font_parameter (f, Qnil); f 4815 src/frame.c gui_set_left_fringe (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4817 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 4818 src/frame.c int old_width = FRAME_LEFT_FRINGE_WIDTH (f); f 4826 src/frame.c f->left_fringe_width = new_width; f 4827 src/frame.c f->fringe_cols /* Round up. */ f 4828 src/frame.c = (new_width + FRAME_RIGHT_FRINGE_WIDTH (f) + unit - 1) / unit; f 4830 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4831 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qleft_fringe); f 4833 src/frame.c SET_FRAME_GARBAGED (f); f 4839 src/frame.c gui_set_right_fringe (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 4841 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 4842 src/frame.c int old_width = FRAME_RIGHT_FRINGE_WIDTH (f); f 4850 src/frame.c f->right_fringe_width = new_width; f 4851 src/frame.c f->fringe_cols /* Round up. */ f 4852 src/frame.c = (new_width + FRAME_LEFT_FRINGE_WIDTH (f) + unit - 1) / unit; f 4854 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4855 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qright_fringe); f 4857 src/frame.c SET_FRAME_GARBAGED (f); f 4863 src/frame.c gui_set_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4867 src/frame.c if (border_width == f->border_width) f 4870 src/frame.c if (FRAME_NATIVE_WINDOW (f) != 0) f 4873 src/frame.c f->border_width = border_width; f 4877 src/frame.c gui_set_right_divider_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4879 src/frame.c int old = FRAME_RIGHT_DIVIDER_WIDTH (f); f 4883 src/frame.c f->right_divider_width = new; f 4884 src/frame.c adjust_frame_size (f, -1, -1, 4, 0, Qright_divider_width); f 4885 src/frame.c adjust_frame_glyphs (f); f 4886 src/frame.c SET_FRAME_GARBAGED (f); f 4891 src/frame.c gui_set_bottom_divider_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4893 src/frame.c int old = FRAME_BOTTOM_DIVIDER_WIDTH (f); f 4897 src/frame.c f->bottom_divider_width = new; f 4898 src/frame.c adjust_frame_size (f, -1, -1, 4, 0, Qbottom_divider_width); f 4899 src/frame.c adjust_frame_glyphs (f); f 4900 src/frame.c SET_FRAME_GARBAGED (f); f 4905 src/frame.c gui_set_visibility (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 4908 src/frame.c XSETFRAME (frame, f); f 4919 src/frame.c gui_set_autoraise (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4921 src/frame.c f->auto_raise = !NILP (arg); f 4925 src/frame.c gui_set_autolower (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4927 src/frame.c f->auto_lower = !NILP (arg); f 4931 src/frame.c gui_set_unsplittable (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4933 src/frame.c f->no_split = !NILP (arg); f 4937 src/frame.c gui_set_vertical_scroll_bars (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4939 src/frame.c if ((EQ (arg, Qleft) && FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f)) f 4940 src/frame.c || (EQ (arg, Qright) && FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) f 4941 src/frame.c || (NILP (arg) && FRAME_HAS_VERTICAL_SCROLL_BARS (f)) f 4942 src/frame.c || (!NILP (arg) && !FRAME_HAS_VERTICAL_SCROLL_BARS (f))) f 4944 src/frame.c FRAME_VERTICAL_SCROLL_BAR_TYPE (f) f 4961 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 4962 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qvertical_scroll_bars); f 4964 src/frame.c SET_FRAME_GARBAGED (f); f 4969 src/frame.c gui_set_horizontal_scroll_bars (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4972 src/frame.c if ((NILP (arg) && FRAME_HAS_HORIZONTAL_SCROLL_BARS (f)) f 4973 src/frame.c || (!NILP (arg) && !FRAME_HAS_HORIZONTAL_SCROLL_BARS (f))) f 4975 src/frame.c f->horizontal_scroll_bars = NILP (arg) ? false : true; f 4981 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 4982 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qhorizontal_scroll_bars); f 4984 src/frame.c SET_FRAME_GARBAGED (f); f 4990 src/frame.c gui_set_scroll_bar_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 4992 src/frame.c int unit = FRAME_COLUMN_WIDTH (f); f 4995 src/frame.c && XFIXNAT (arg) != FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) f 4997 src/frame.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = XFIXNAT (arg); f 4998 src/frame.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (XFIXNAT (arg) + unit - 1) / unit; f 4999 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5000 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_width); f 5002 src/frame.c SET_FRAME_GARBAGED (f); f 5006 src/frame.c if (FRAME_TERMINAL (f)->set_scroll_bar_default_width_hook) f 5007 src/frame.c FRAME_TERMINAL (f)->set_scroll_bar_default_width_hook (f); f 5009 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5010 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_width); f 5012 src/frame.c SET_FRAME_GARBAGED (f); f 5015 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.hpos = 0; f 5016 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.x = 0; f 5020 src/frame.c gui_set_scroll_bar_height (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5023 src/frame.c int unit = FRAME_LINE_HEIGHT (f); f 5026 src/frame.c && XFIXNAT (arg) != FRAME_CONFIG_SCROLL_BAR_HEIGHT (f)) f 5028 src/frame.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = XFIXNAT (arg); f 5029 src/frame.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (XFIXNAT (arg) + unit - 1) / unit; f 5030 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5031 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_height); f 5033 src/frame.c SET_FRAME_GARBAGED (f); f 5037 src/frame.c if (FRAME_TERMINAL (f)->set_scroll_bar_default_height_hook) f 5038 src/frame.c FRAME_TERMINAL (f)->set_scroll_bar_default_height_hook (f); f 5040 src/frame.c if (FRAME_NATIVE_WINDOW (f)) f 5041 src/frame.c adjust_frame_size (f, -1, -1, 3, 0, Qscroll_bar_height); f 5043 src/frame.c SET_FRAME_GARBAGED (f); f 5046 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.vpos = 0; f 5047 src/frame.c XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.y = 0; f 5052 src/frame.c gui_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5091 src/frame.c f->alpha[i] = newval[i]; f 5093 src/frame.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 5096 src/frame.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 5102 src/frame.c gui_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 5124 src/frame.c f->alpha_background = alpha; f 5126 src/frame.c recompute_basic_faces (f); f 5127 src/frame.c SET_FRAME_GARBAGED (f); f 5138 src/frame.c gui_set_no_special_glyphs (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 5141 src/frame.c FRAME_NO_SPECIAL_GLYPHS (f) = !NILP (new_value); f 5471 src/frame.c gui_frame_get_arg (struct frame *f, Lisp_Object alist, Lisp_Object param, f 5475 src/frame.c return gui_display_get_arg (FRAME_DISPLAY_INFO (f), f 5482 src/frame.c gui_frame_get_and_record_arg (struct frame *f, Lisp_Object alist, f 5489 src/frame.c value = gui_display_get_arg (FRAME_DISPLAY_INFO (f), alist, param, f 5492 src/frame.c store_frame_param (f, param, value); f 5505 src/frame.c gui_default_parameter (struct frame *f, Lisp_Object alist, Lisp_Object prop, f 5512 src/frame.c tem = gui_frame_get_arg (f, alist, prop, xprop, xclass, type); f 5523 src/frame.c gui_set_frame_parameters_1 (f, arg, was_unbound); f 5697 src/frame.c gui_figure_window_size (struct frame *f, Lisp_Object parms, bool tabbar_p, f 5702 src/frame.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5704 src/frame.c int text_width = 80 * FRAME_COLUMN_WIDTH (f); f 5705 src/frame.c int text_height = 36 * FRAME_LINE_HEIGHT (f); f 5709 src/frame.c f->top_pos = 0; f 5710 src/frame.c f->left_pos = 0; f 5717 src/frame.c if (tabbar_p && FRAME_TAB_BAR_LINES (f)) f 5722 src/frame.c FRAME_TAB_BAR_HEIGHT (f) = frame_default_tab_bar_height; f 5741 src/frame.c FRAME_TAB_BAR_HEIGHT (f) f 5751 src/frame.c if (toolbar_p && FRAME_TOOL_BAR_LINES (f)) f 5754 src/frame.c FRAME_TOOL_BAR_HEIGHT (f) = frame_default_tool_bar_height; f 5771 src/frame.c FRAME_TOOL_BAR_HEIGHT (f) f 5778 src/frame.c f->new_width = f->new_height = -1; f 5793 src/frame.c f->inhibit_horizontal_resize = true; f 5803 src/frame.c int new_width = frame_float (f, width, FRAME_FLOAT_WIDTH, f 5816 src/frame.c text_width = XFIXNUM (width) * FRAME_COLUMN_WIDTH (f); f 5829 src/frame.c f->inhibit_vertical_resize = true; f 5839 src/frame.c int new_height = frame_float (f, height, FRAME_FLOAT_HEIGHT, f 5852 src/frame.c text_height = XFIXNUM (height) * FRAME_LINE_HEIGHT (f); f 5864 src/frame.c adjust_frame_size (f, text_width, text_height, 5, false, f 5875 src/frame.c f->top_pos = 0; f 5882 src/frame.c f->top_pos = - XFIXNUM (XCAR (XCDR (top))); f 5889 src/frame.c f->top_pos = XFIXNUM (XCAR (XCDR (top))); f 5892 src/frame.c f->top_pos = frame_float (f, top, FRAME_FLOAT_TOP, &parent_done, f 5895 src/frame.c f->top_pos = 0; f 5898 src/frame.c f->top_pos = check_integer_range (top, INT_MIN, INT_MAX); f 5899 src/frame.c if (f->top_pos < 0) f 5905 src/frame.c f->left_pos = 0; f 5912 src/frame.c f->left_pos = - XFIXNUM (XCAR (XCDR (left))); f 5919 src/frame.c f->left_pos = XFIXNUM (XCAR (XCDR (left))); f 5922 src/frame.c f->left_pos = frame_float (f, left, FRAME_FLOAT_LEFT, &parent_done, f 5925 src/frame.c f->left_pos = 0; f 5928 src/frame.c f->left_pos = check_integer_range (left, INT_MIN, INT_MAX); f 5929 src/frame.c if (f->left_pos < 0) f 5942 src/frame.c f->win_gravity = SouthEastGravity; f 5944 src/frame.c f->win_gravity = NorthEastGravity; f 5949 src/frame.c f->win_gravity = SouthWestGravity; f 5951 src/frame.c f->win_gravity = NorthWestGravity; f 5954 src/frame.c f->size_hint_flags = window_prompting; f 5964 src/frame.c frame_make_pointer_invisible (struct frame *f) f 5968 src/frame.c if (f && FRAME_LIVE_P (f) && !f->pointer_invisible f 5969 src/frame.c && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) f 5971 src/frame.c f->mouse_moved = 0; f 5972 src/frame.c FRAME_TERMINAL (f)->toggle_invisible_pointer_hook (f, 1); f 5973 src/frame.c f->pointer_invisible = 1; f 5979 src/frame.c frame_make_pointer_visible (struct frame *f) f 5983 src/frame.c if (f && FRAME_LIVE_P (f) && f->pointer_invisible && f->mouse_moved f 5984 src/frame.c && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) f 5986 src/frame.c FRAME_TERMINAL (f)->toggle_invisible_pointer_hook (f, 0); f 5987 src/frame.c f->pointer_invisible = 0; f 6007 src/frame.c struct frame *f = decode_live_frame (frame); f 6009 src/frame.c f->was_invisible = !NILP (was_invisible); f 6011 src/frame.c return f->was_invisible ? Qt : Qnil; f 6025 src/frame.c struct frame *f; f 6028 src/frame.c f = decode_window_system_frame (frame); f 6042 src/frame.c font_parameter = get_frame_param (f, Qfont_parameter); f 6050 src/frame.c if (FRAME_RIF (f)->default_font_parameter) f 6051 src/frame.c FRAME_RIF (f)->default_font_parameter (f, params); f 6067 src/frame.c store_frame_param (f, Qfont_parameter, font_parameter); f 670 src/frame.h fset_buffer_list (struct frame *f, Lisp_Object val) f 672 src/frame.h f->buffer_list = val; f 675 src/frame.h fset_buried_buffer_list (struct frame *f, Lisp_Object val) f 677 src/frame.h f->buried_buffer_list = val; f 680 src/frame.h fset_condemned_scroll_bars (struct frame *f, Lisp_Object val) f 682 src/frame.h f->condemned_scroll_bars = val; f 685 src/frame.h fset_face_hash_table (struct frame *f, Lisp_Object val) f 687 src/frame.h f->face_hash_table = val; f 691 src/frame.h fset_parent_frame (struct frame *f, Lisp_Object val) f 693 src/frame.h f->parent_frame = val; f 697 src/frame.h fset_focus_frame (struct frame *f, Lisp_Object val) f 699 src/frame.h f->focus_frame = val; f 702 src/frame.h fset_icon_name (struct frame *f, Lisp_Object val) f 704 src/frame.h f->icon_name = val; f 707 src/frame.h fset_menu_bar_items (struct frame *f, Lisp_Object val) f 709 src/frame.h f->menu_bar_items = val; f 712 src/frame.h fset_menu_bar_vector (struct frame *f, Lisp_Object val) f 714 src/frame.h f->menu_bar_vector = val; f 718 src/frame.h fset_menu_bar_window (struct frame *f, Lisp_Object val) f 720 src/frame.h f->menu_bar_window = val; f 724 src/frame.h fset_name (struct frame *f, Lisp_Object val) f 726 src/frame.h f->name = val; f 729 src/frame.h fset_param_alist (struct frame *f, Lisp_Object val) f 731 src/frame.h f->param_alist = val; f 734 src/frame.h fset_root_window (struct frame *f, Lisp_Object val) f 736 src/frame.h f->root_window = val; f 739 src/frame.h fset_scroll_bars (struct frame *f, Lisp_Object val) f 741 src/frame.h f->scroll_bars = val; f 744 src/frame.h fset_selected_window (struct frame *f, Lisp_Object val) f 746 src/frame.h f->selected_window = val; f 749 src/frame.h fset_old_selected_window (struct frame *f, Lisp_Object val) f 751 src/frame.h f->old_selected_window = val; f 754 src/frame.h fset_title (struct frame *f, Lisp_Object val) f 756 src/frame.h f->title = val; f 759 src/frame.h fset_tab_bar_items (struct frame *f, Lisp_Object val) f 761 src/frame.h f->tab_bar_items = val; f 765 src/frame.h fset_tab_bar_window (struct frame *f, Lisp_Object val) f 767 src/frame.h f->tab_bar_window = val; f 770 src/frame.h fset_current_tab_bar_string (struct frame *f, Lisp_Object val) f 772 src/frame.h f->current_tab_bar_string = val; f 775 src/frame.h fset_desired_tab_bar_string (struct frame *f, Lisp_Object val) f 777 src/frame.h f->desired_tab_bar_string = val; f 781 src/frame.h fset_tool_bar_items (struct frame *f, Lisp_Object val) f 783 src/frame.h f->tool_bar_items = val; f 787 src/frame.h fset_tool_bar_position (struct frame *f, Lisp_Object val) f 789 src/frame.h f->tool_bar_position = val; f 794 src/frame.h fset_tool_bar_window (struct frame *f, Lisp_Object val) f 796 src/frame.h f->tool_bar_window = val; f 799 src/frame.h fset_current_tool_bar_string (struct frame *f, Lisp_Object val) f 801 src/frame.h f->current_tool_bar_string = val; f 804 src/frame.h fset_desired_tool_bar_string (struct frame *f, Lisp_Object val) f 806 src/frame.h f->desired_tool_bar_string = val; f 834 src/frame.h #define FRAME_KBOARD(f) ((f)->terminal->kboard) f 847 src/frame.h #define FRAME_INITIAL_P(f) ((f)->output_method == output_initial) f 848 src/frame.h #define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap) f 849 src/frame.h #define FRAME_X_P(f) ((f)->output_method == output_x_window) f 851 src/frame.h #define FRAME_W32_P(f) false f 853 src/frame.h #define FRAME_W32_P(f) ((f)->output_method == output_w32) f 856 src/frame.h #define FRAME_MSDOS_P(f) false f 858 src/frame.h #define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw) f 861 src/frame.h #define FRAME_NS_P(f) false f 863 src/frame.h #define FRAME_NS_P(f) ((f)->output_method == output_ns) f 866 src/frame.h #define FRAME_PGTK_P(f) false f 868 src/frame.h #define FRAME_PGTK_P(f) ((f)->output_method == output_pgtk) f 871 src/frame.h #define FRAME_HAIKU_P(f) false f 873 src/frame.h #define FRAME_HAIKU_P(f) ((f)->output_method == output_haiku) f 879 src/frame.h #define FRAME_WINDOW_P(f) FRAME_X_P (f) f 882 src/frame.h #define FRAME_WINDOW_P(f) FRAME_W32_P (f) f 885 src/frame.h #define FRAME_WINDOW_P(f) FRAME_NS_P(f) f 888 src/frame.h #define FRAME_WINDOW_P(f) FRAME_PGTK_P(f) f 891 src/frame.h #define FRAME_WINDOW_P(f) FRAME_HAIKU_P (f) f 894 src/frame.h #define FRAME_WINDOW_P(f) ((void) (f), false) f 901 src/frame.h #define FRAME_RES_X(f) \ f 902 src/frame.h (eassert (FRAME_WINDOW_P (f)), FRAME_DISPLAY_INFO (f)->resx) f 903 src/frame.h #define FRAME_RES_Y(f) \ f 904 src/frame.h (eassert (FRAME_WINDOW_P (f)), FRAME_DISPLAY_INFO (f)->resy) f 910 src/frame.h #define FRAME_RES_X(f) default_pixels_per_inch_x () f 911 src/frame.h #define FRAME_RES_Y(f) default_pixels_per_inch_y () f 930 src/frame.h #define FRAME_LIVE_P(f) ((f)->terminal != 0) f 933 src/frame.h #define FRAME_MINIBUF_ONLY_P(f) \ f 934 src/frame.h EQ (FRAME_ROOT_WINDOW (f), FRAME_MINIBUF_WINDOW (f)) f 938 src/frame.h #define FRAME_HAS_MINIBUF_P(f) \ f 939 src/frame.h (WINDOWP (f->minibuffer_window) \ f 940 src/frame.h && XFRAME (XWINDOW (f->minibuffer_window)->frame) == f) f 944 src/frame.h # define FRAME_SCALE_FACTOR(f) (FRAME_NS_P (f) ? ns_frame_scale_factor (f) : 1) f 946 src/frame.h # define FRAME_SCALE_FACTOR(f) (FRAME_PGTK_P (f) ? pgtk_frame_scale_factor (f) : 1) f 948 src/frame.h # define FRAME_SCALE_FACTOR(f) 1 f 953 src/frame.h #define FRAME_PIXEL_WIDTH(f) ((f)->pixel_width) f 954 src/frame.h #define FRAME_PIXEL_HEIGHT(f) ((f)->pixel_height) f 955 src/frame.h #define FRAME_TOTAL_COLS(f) ((f)->total_cols) f 956 src/frame.h #define FRAME_TOTAL_LINES(f) ((f)->total_lines) f 960 src/frame.h #define FRAME_TEXT_WIDTH(f) (f)->text_width f 961 src/frame.h #define FRAME_TEXT_HEIGHT(f) (f)->text_height f 962 src/frame.h #define FRAME_COLS(f) ((f)->text_cols) f 963 src/frame.h #define FRAME_LINES(f) ((f)->text_lines) f 967 src/frame.h #define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar f 969 src/frame.h #define FRAME_EXTERNAL_MENU_BAR(f) false f 973 src/frame.h #define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines f 974 src/frame.h #define FRAME_MENU_BAR_HEIGHT(f) (f)->menu_bar_height f 977 src/frame.h #define FRAME_TAB_BAR_LINES(f) (f)->tab_bar_lines f 978 src/frame.h #define FRAME_TAB_BAR_HEIGHT(f) (f)->tab_bar_height f 982 src/frame.h #define FRAME_EXTERNAL_TOOL_BAR(f) (f)->external_tool_bar f 984 src/frame.h #define FRAME_EXTERNAL_TOOL_BAR(f) false f 989 src/frame.h #define FRAME_TOOL_BAR_POSITION(f) (f)->tool_bar_position f 991 src/frame.h #define FRAME_TOOL_BAR_POSITION(f) ((void) (f), Qtop) f 995 src/frame.h #define FRAME_TOOL_BAR_LINES(f) (f)->tool_bar_lines f 996 src/frame.h #define FRAME_TOOL_BAR_HEIGHT(f) (f)->tool_bar_height f 1011 src/frame.h #define FRAME_VISIBLE_P(f) (f)->visible f 1014 src/frame.h #define FRAME_OBSCURED_P(f) ((f)->visible > 1) f 1017 src/frame.h #define FRAME_ICONIFIED_P(f) (f)->iconified f 1020 src/frame.h #define SET_FRAME_GARBAGED(f) \ f 1021 src/frame.h (frame_garbaged = true, fset_redisplay (f), f->garbaged = true) f 1024 src/frame.h #define FRAME_GARBAGED_P(f) (f)->garbaged f 1027 src/frame.h #define FRAME_NO_SPLIT_P(f) (f)->no_split f 1030 src/frame.h #define FRAME_WANTS_MODELINE_P(f) (f)->wants_modeline f 1034 src/frame.h #define FRAME_WINDOWS_FROZEN(f) (f)->frozen_window_starts f 1038 src/frame.h #define FRAME_WINDOW_CHANGE(f) (f)->window_change f 1042 src/frame.h #define FRAME_WINDOW_STATE_CHANGE(f) (f)->window_state_change f 1045 src/frame.h #define FRAME_MINIBUF_WINDOW(f) f->minibuffer_window f 1048 src/frame.h #define FRAME_ROOT_WINDOW(f) f->root_window f 1051 src/frame.h #define FRAME_SELECTED_WINDOW(f) f->selected_window f 1053 src/frame.h #define FRAME_OLD_SELECTED_WINDOW(f) f->old_selected_window f 1055 src/frame.h #define FRAME_INSERT_COST(f) (f)->insert_line_cost f 1056 src/frame.h #define FRAME_DELETE_COST(f) (f)->delete_line_cost f 1057 src/frame.h #define FRAME_INSERTN_COST(f) (f)->insert_n_lines_cost f 1058 src/frame.h #define FRAME_DELETEN_COST(f) (f)->delete_n_lines_cost f 1059 src/frame.h #define FRAME_FOCUS_FRAME(f) f->focus_frame f 1064 src/frame.h #define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) ((f)->vertical_scroll_bar_type) f 1065 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS(f) \ f 1066 src/frame.h ((f)->vertical_scroll_bar_type != vertical_scroll_bar_none) f 1067 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) \ f 1068 src/frame.h ((f)->vertical_scroll_bar_type == vertical_scroll_bar_left) f 1069 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) \ f 1070 src/frame.h ((f)->vertical_scroll_bar_type == vertical_scroll_bar_right) f 1073 src/frame.h #define FRAME_VERTICAL_SCROLL_BAR_TYPE(f) \ f 1074 src/frame.h ((void) (f), vertical_scroll_bar_none) f 1075 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS(f) ((void) (f), 0) f 1076 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT(f) ((void) (f), 0) f 1077 src/frame.h #define FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT(f) ((void) (f), 0) f 1081 src/frame.h #define FRAME_UNDECORATED(f) ((f)->undecorated) f 1083 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((void) (f), 0) f 1085 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((f)->override_redirect) f 1087 src/frame.h #define FRAME_PARENT_FRAME(f) \ f 1088 src/frame.h (NILP ((f)->parent_frame) \ f 1090 src/frame.h : XFRAME ((f)->parent_frame)) f 1091 src/frame.h #define FRAME_SKIP_TASKBAR(f) ((f)->skip_taskbar) f 1092 src/frame.h #define FRAME_NO_FOCUS_ON_MAP(f) ((f)->no_focus_on_map) f 1093 src/frame.h #define FRAME_NO_ACCEPT_FOCUS(f) ((f)->no_accept_focus) f 1094 src/frame.h #define FRAME_NO_SPECIAL_GLYPHS(f) ((f)->no_special_glyphs) f 1095 src/frame.h #define FRAME_Z_GROUP(f) ((f)->z_group) f 1096 src/frame.h #define FRAME_Z_GROUP_NONE(f) ((f)->z_group == z_group_none) f 1097 src/frame.h #define FRAME_Z_GROUP_ABOVE(f) ((f)->z_group == z_group_above) f 1098 src/frame.h #define FRAME_Z_GROUP_ABOVE_SUSPENDED(f) \ f 1099 src/frame.h ((f)->z_group == z_group_above_suspended) f 1100 src/frame.h #define FRAME_Z_GROUP_BELOW(f) ((f)->z_group == z_group_below) f 1101 src/frame.h #define FRAME_TOOLTIP_P(f) ((f)->tooltip) f 1103 src/frame.h #define FRAME_NS_APPEARANCE(f) ((f)->ns_appearance) f 1104 src/frame.h #define FRAME_NS_TRANSPARENT_TITLEBAR(f) ((f)->ns_transparent_titlebar) f 1107 src/frame.h #define FRAME_UNDECORATED(f) ((void) (f), 0) f 1108 src/frame.h #define FRAME_OVERRIDE_REDIRECT(f) ((void) (f), 0) f 1109 src/frame.h #define FRAME_PARENT_FRAME(f) ((void) (f), NULL) f 1110 src/frame.h #define FRAME_SKIP_TASKBAR(f) ((void) (f), 0) f 1111 src/frame.h #define FRAME_NO_FOCUS_ON_MAP(f) ((void) (f), 0) f 1112 src/frame.h #define FRAME_NO_ACCEPT_FOCUS(f) ((void) (f), 0) f 1113 src/frame.h #define FRAME_NO_SPECIAL_GLYPHS(f) ((void) (f), 0) f 1114 src/frame.h #define FRAME_Z_GROUP(f) ((void) (f), z_group_none) f 1115 src/frame.h #define FRAME_Z_GROUP_NONE(f) ((void) (f), true) f 1116 src/frame.h #define FRAME_Z_GROUP_ABOVE(f) ((void) (f), false) f 1117 src/frame.h #define FRAME_Z_GROUP_BELOW(f) ((void) (f), false) f 1118 src/frame.h #define FRAME_TOOLTIP_P(f) ((void) f, false) f 1123 src/frame.h #define FRAME_HAS_HORIZONTAL_SCROLL_BARS(f) \ f 1124 src/frame.h ((f)->horizontal_scroll_bars) f 1126 src/frame.h #define FRAME_HAS_HORIZONTAL_SCROLL_BARS(f) ((void) (f), 0) f 1132 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_WIDTH(f) ((f)->config_scroll_bar_width) f 1137 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_HEIGHT(f) ((f)->config_scroll_bar_height) f 1142 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_COLS(f) ((f)->config_scroll_bar_cols) f 1147 src/frame.h #define FRAME_CONFIG_SCROLL_BAR_LINES(f) ((f)->config_scroll_bar_lines) f 1150 src/frame.h #define FRAME_LEFT_SCROLL_BAR_AREA_WIDTH(f) \ f 1151 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ f 1152 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1156 src/frame.h #define FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH(f) \ f 1157 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ f 1158 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1165 src/frame.h #define FRAME_LEFT_SCROLL_BAR_COLS(f) \ f 1166 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f) \ f 1167 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1174 src/frame.h #define FRAME_RIGHT_SCROLL_BAR_COLS(f) \ f 1175 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (f) \ f 1176 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1181 src/frame.h #define FRAME_SCROLL_BAR_AREA_WIDTH(f) \ f 1182 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1183 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1188 src/frame.h #define FRAME_SCROLL_BAR_AREA_HEIGHT(f) \ f 1189 src/frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1190 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) \ f 1194 src/frame.h #define FRAME_SCROLL_BAR_COLS(f) \ f 1195 src/frame.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1196 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_COLS (f) \ f 1200 src/frame.h #define FRAME_SCROLL_BAR_LINES(f) \ f 1201 src/frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1202 src/frame.h ? FRAME_CONFIG_SCROLL_BAR_LINES (f) \ f 1206 src/frame.h #define FRAME_CURSOR_X_LIMIT(f) \ f 1207 src/frame.h (FRAME_COLS (f) + FRAME_LEFT_SCROLL_BAR_COLS (f)) f 1210 src/frame.h #define FRAME_SCROLL_BARS(f) (f->scroll_bars) f 1211 src/frame.h #define FRAME_CONDEMNED_SCROLL_BARS(f) (f->condemned_scroll_bars) f 1213 src/frame.h #define FRAME_MENU_BAR_ITEMS(f) (f->menu_bar_items) f 1214 src/frame.h #define FRAME_COST_BAUD_RATE(f) ((f)->cost_calculation_baud_rate) f 1216 src/frame.h #define FRAME_DESIRED_CURSOR(f) ((f)->desired_cursor) f 1217 src/frame.h #define FRAME_BLINK_OFF_CURSOR(f) ((f)->blink_off_cursor) f 1218 src/frame.h #define FRAME_CURSOR_WIDTH(f) ((f)->cursor_width) f 1219 src/frame.h #define FRAME_BLINK_OFF_CURSOR_WIDTH(f) ((f)->blink_off_cursor_width) f 1221 src/frame.h #define FRAME_FOREGROUND_PIXEL(f) ((f)->foreground_pixel) f 1222 src/frame.h #define FRAME_BACKGROUND_PIXEL(f) ((f)->background_pixel) f 1231 src/frame.h #define FRAME_MESSAGE_BUF_SIZE(f) (((int) FRAME_COLS (f)) * 4) f 1282 src/frame.h SET_FRAME_VISIBLE (struct frame *f, int v) f 1287 src/frame.h if (v == 1 && f->visible != 1) f 1289 src/frame.h if (FRAME_GARBAGED_P (f)) f 1292 src/frame.h f->visible = v; f 1297 src/frame.h SET_FRAME_ICONIFIED (struct frame *f, int i) f 1305 src/frame.h f->iconified = i; f 1312 src/frame.h XSETFRAME (frame, f); f 1314 src/frame.h if (FRAME_WINDOW_P (f)) f 1349 src/frame.h window_system_available (struct frame *f) f 1352 src/frame.h return f ? FRAME_WINDOW_P (f) || FRAME_MSDOS_P (f) : display_available (); f 1412 src/frame.h FRAME_FRINGE_COLS (struct frame *f) f 1414 src/frame.h return frame_dimension (f->fringe_cols); f 1420 src/frame.h FRAME_LEFT_FRINGE_WIDTH (struct frame *f) f 1422 src/frame.h return frame_dimension (f->left_fringe_width); f 1425 src/frame.h FRAME_RIGHT_FRINGE_WIDTH (struct frame *f) f 1427 src/frame.h return frame_dimension (f->right_fringe_width); f 1433 src/frame.h FRAME_TOTAL_FRINGE_WIDTH (struct frame *f) f 1435 src/frame.h return FRAME_LEFT_FRINGE_WIDTH (f) + FRAME_RIGHT_FRINGE_WIDTH (f); f 1439 src/frame.h FRAME_CHILD_FRAME_BORDER_WIDTH (struct frame *f) f 1441 src/frame.h return frame_dimension (f->child_frame_border_width); f 1448 src/frame.h FRAME_INTERNAL_BORDER_WIDTH (struct frame *f) f 1451 src/frame.h return (FRAME_PARENT_FRAME(f) f 1452 src/frame.h ? (FRAME_CHILD_FRAME_BORDER_WIDTH(f) >= 0 f 1453 src/frame.h ? FRAME_CHILD_FRAME_BORDER_WIDTH(f) f 1454 src/frame.h : frame_dimension (f->internal_border_width)) f 1455 src/frame.h : frame_dimension (f->internal_border_width)); f 1457 src/frame.h return frame_dimension (f->internal_border_width); f 1463 src/frame.h FRAME_RIGHT_DIVIDER_WIDTH (struct frame *f) f 1465 src/frame.h return frame_dimension (f->right_divider_width); f 1469 src/frame.h FRAME_BOTTOM_DIVIDER_WIDTH (struct frame *f) f 1471 src/frame.h return frame_dimension (f->bottom_divider_width); f 1477 src/frame.h FACE_FROM_ID (struct frame *f, int id) f 1479 src/frame.h eassert (0 <= id && id < FRAME_FACE_CACHE (f)->used); f 1480 src/frame.h return FRAME_FACE_CACHE (f)->faces_by_id[id]; f 1487 src/frame.h FACE_FROM_ID_OR_NULL (struct frame *f, int id) f 1489 src/frame.h int used = FRAME_FACE_CACHE (f)->used; f 1491 src/frame.h return 0 <= id && id < used ? FRAME_FACE_CACHE (f)->faces_by_id[id] : NULL; f 1499 src/frame.h IMAGE_FROM_ID (struct frame *f, int id) f 1501 src/frame.h eassert (0 <= id && id < FRAME_IMAGE_CACHE (f)->used); f 1502 src/frame.h return FRAME_IMAGE_CACHE (f)->images[id]; f 1509 src/frame.h IMAGE_OPT_FROM_ID (struct frame *f, int id) f 1511 src/frame.h int used = FRAME_IMAGE_CACHE (f)->used; f 1513 src/frame.h return 0 <= id && id < used ? FRAME_IMAGE_CACHE (f)->images[id] : NULL; f 1563 src/frame.h #define FRAME_LINE_TO_PIXEL_Y(f, row) \ f 1564 src/frame.h (((row) < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1565 src/frame.h + (row) * FRAME_LINE_HEIGHT (f)) f 1567 src/frame.h #define FRAME_COL_TO_PIXEL_X(f, col) \ f 1568 src/frame.h (FRAME_INTERNAL_BORDER_WIDTH (f) \ f 1569 src/frame.h + (col) * FRAME_COLUMN_WIDTH (f)) f 1573 src/frame.h #define FRAME_TEXT_COLS_TO_PIXEL_WIDTH(f, cols) \ f 1574 src/frame.h ((cols) * FRAME_COLUMN_WIDTH (f) \ f 1575 src/frame.h + FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1576 src/frame.h + FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1577 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1579 src/frame.h #define FRAME_TEXT_LINES_TO_PIXEL_HEIGHT(f, lines) \ f 1580 src/frame.h ((lines) * FRAME_LINE_HEIGHT (f) \ f 1581 src/frame.h + FRAME_TOP_MARGIN_HEIGHT (f) \ f 1582 src/frame.h + FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1583 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1587 src/frame.h #define FRAME_PIXEL_Y_TO_LINE(f, y) \ f 1588 src/frame.h (((y) < FRAME_TOP_MARGIN_HEIGHT (f) \ f 1590 src/frame.h : ((y) < (FRAME_TOP_MARGIN_HEIGHT (f) \ f 1591 src/frame.h + FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1592 src/frame.h ? (y) - (FRAME_TOP_MARGIN_HEIGHT (f) \ f 1593 src/frame.h + FRAME_INTERNAL_BORDER_WIDTH (f) \ f 1595 src/frame.h + FRAME_LINE_HEIGHT (f) - 1) \ f 1596 src/frame.h : (y) - FRAME_INTERNAL_BORDER_WIDTH (f))) \ f 1597 src/frame.h / FRAME_LINE_HEIGHT (f)) f 1599 src/frame.h #define FRAME_PIXEL_X_TO_COL(f, x) \ f 1600 src/frame.h (((x) - FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1601 src/frame.h / FRAME_COLUMN_WIDTH (f)) f 1605 src/frame.h #define FRAME_PIXEL_WIDTH_TO_TEXT_COLS(f, width) \ f 1607 src/frame.h - FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1608 src/frame.h - FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1609 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1610 src/frame.h / FRAME_COLUMN_WIDTH (f)) f 1612 src/frame.h #define FRAME_PIXEL_HEIGHT_TO_TEXT_LINES(f, height) \ f 1614 src/frame.h - FRAME_TOP_MARGIN_HEIGHT (f) \ f 1615 src/frame.h - FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1616 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) \ f 1617 src/frame.h / FRAME_LINE_HEIGHT (f)) f 1621 src/frame.h #define FRAME_TEXT_TO_PIXEL_WIDTH(f, width) \ f 1623 src/frame.h + FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1624 src/frame.h + FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1625 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1627 src/frame.h #define FRAME_TEXT_TO_PIXEL_HEIGHT(f, height) \ f 1629 src/frame.h + FRAME_TOP_MARGIN_HEIGHT (f) \ f 1630 src/frame.h + FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1631 src/frame.h + 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1635 src/frame.h #define FRAME_PIXEL_TO_TEXT_WIDTH(f, width) \ f 1637 src/frame.h - FRAME_SCROLL_BAR_AREA_WIDTH (f) \ f 1638 src/frame.h - FRAME_TOTAL_FRINGE_WIDTH (f) \ f 1639 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1641 src/frame.h #define FRAME_PIXEL_TO_TEXT_HEIGHT(f, height) \ f 1643 src/frame.h - FRAME_TOP_MARGIN_HEIGHT (f) \ f 1644 src/frame.h - FRAME_SCROLL_BAR_AREA_HEIGHT (f) \ f 1645 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1647 src/frame.h #define FRAME_INNER_WIDTH(f) \ f 1648 src/frame.h (FRAME_PIXEL_WIDTH (f) \ f 1649 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1651 src/frame.h #define FRAME_INNER_HEIGHT(f) \ f 1652 src/frame.h (FRAME_PIXEL_HEIGHT (f) \ f 1653 src/frame.h - FRAME_TOP_MARGIN_HEIGHT (f) \ f 1654 src/frame.h - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)) f 1657 src/frame.h #define FRAME_SMALLEST_CHAR_WIDTH(f) \ f 1658 src/frame.h FRAME_DISPLAY_INFO (f)->smallest_char_width f 1661 src/frame.h #define FRAME_SMALLEST_FONT_HEIGHT(f) \ f 1662 src/frame.h FRAME_DISPLAY_INFO (f)->smallest_font_height f 1710 src/frame.h extern void set_frame_menubar (struct frame *f, bool deep_p); f 1711 src/frame.h extern void frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y); f 1714 src/frame.h extern enum internal_border_part frame_internal_border_part (struct frame *f, int x, int y); f 1729 src/frame.h gui_set_bitmap_icon (struct frame *f) f 1731 src/frame.h Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist); f 1734 src/frame.h && FRAME_TERMINAL (f)->set_bitmap_icon_hook) f 1735 src/frame.h FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, XCDR (obj)); f 1742 src/frame.h flush_frame (struct frame *f) f 1744 src/frame.h struct redisplay_interface *rif = FRAME_RIF (f); f 1747 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 1848 src/fringe.c gui_define_fringe_bitmap (struct frame *f, int n) f 1850 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 x_sync (f); 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 x_sync (f); f 4901 src/gtkutil.c SET_FRAME_GARBAGED (f); f 4902 src/gtkutil.c cancel_mouse_face (f); f 4925 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4927 src/gtkutil.c FRAME_X_DISPLAY (f)); f 4966 src/gtkutil.c new_step = size / max (1, FRAME_LINES (f)); f 5013 src/gtkutil.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 5015 src/gtkutil.c FRAME_X_DISPLAY (f)); f 5047 src/gtkutil.c xg_event_is_for_scrollbar (struct frame *f, const EVENT *event, f 5054 src/gtkutil.c if (f && ((FRAME_DISPLAY_INFO (f)->supports_xi2 f 5057 src/gtkutil.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 5064 src/gtkutil.c if (f f 5075 src/gtkutil.c GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); f 5077 src/gtkutil.c GdkDisplay *gdpy = FRAME_X_DISPLAY (f); f 5092 src/gtkutil.c retval = gwin != gtk_widget_get_window (f->output_data.xp->edit_widget); f 5095 src/gtkutil.c else if (f && ((FRAME_DISPLAY_INFO (f)->supports_xi2 f 5098 src/gtkutil.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 5106 src/gtkutil.c else if (f f 5173 src/gtkutil.c #define GETSETUP(f) make_float (f (page_setup, GTK_UNIT_POINTS)) f 5190 src/gtkutil.c struct frame *f = XFRAME (Fnth (make_fixnum (page_nr), frames)); f 5194 src/gtkutil.c x_cr_draw_frame (cr, f); f 5196 src/gtkutil.c pgtk_cr_draw_frame (cr, f); f 5279 src/gtkutil.c struct frame *f = g_object_get_data (G_OBJECT (w), XG_FRAME_DATA); f 5284 src/gtkutil.c if (! f || ! f->n_tool_bar_items || NILP (f->tool_bar_items)) f 5289 src/gtkutil.c key = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_KEY); f 5290 src/gtkutil.c XSETFRAME (frame, f); f 5299 src/gtkutil.c event.modifiers = x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), mod); f 5301 src/gtkutil.c event.modifiers = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), mod); f 5307 src/gtkutil.c FRAME_TERMINAL (f)->focus_frame_hook (f, false); f 5338 src/gtkutil.c struct frame *f = g_object_get_data (G_OBJECT (w), XG_FRAME_DATA); f 5341 src/gtkutil.c if (! f || ! f->n_tool_bar_items || NILP (f->tool_bar_items)) f 5347 src/gtkutil.c help = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_HELP); f 5350 src/gtkutil.c help = AREF (f->tool_bar_items, idx + TOOL_BAR_ITEM_CAPTION); f 5355 src/gtkutil.c XSETFRAME (frame, f); f 5397 src/gtkutil.c xg_pack_tool_bar (struct frame *f, Lisp_Object pos) f 5399 src/gtkutil.c xp_output *x = f->output_data.xp; f 5434 src/gtkutil.c static bool xg_update_tool_bar_sizes (struct frame *f); f 5444 src/gtkutil.c struct frame *f = user_data; f 5446 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 5447 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, false, Qtool_bar_lines); f 5453 src/gtkutil.c xg_create_tool_bar (struct frame *f) f 5455 src/gtkutil.c xp_output *x = f->output_data.xp; f 5460 src/gtkutil.c = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5470 src/gtkutil.c g_object_set_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5483 src/gtkutil.c G_CALLBACK (tb_size_cb), f); f 5491 src/gtkutil.c #define PROP(IDX) AREF (f->tool_bar_items, i * TOOL_BAR_ITEM_NSLOTS + (IDX)) f 5497 src/gtkutil.c find_rtl_image (struct frame *f, Lisp_Object image, Lisp_Object rtl) f 5504 src/gtkutil.c for (i = 0; i < f->n_tool_bar_items; ++i) f 5523 src/gtkutil.c xg_make_tool_item (struct frame *f, f 5582 src/gtkutil.c g_object_set_data (G_OBJECT (weventbox), XG_FRAME_DATA, (gpointer)f); f 5601 src/gtkutil.c g_object_set_data (G_OBJECT (wb), XG_FRAME_DATA, (gpointer)f); f 5692 src/gtkutil.c xg_update_tool_bar_sizes (struct frame *f) f 5694 src/gtkutil.c xp_output *x = f->output_data.xp; f 5698 src/gtkutil.c int scale = xg_get_scale (f); f 5724 src/gtkutil.c if (nl != FRAME_TOOLBAR_LEFT_WIDTH (f) f 5725 src/gtkutil.c || nr != FRAME_TOOLBAR_RIGHT_WIDTH (f) f 5726 src/gtkutil.c || nt != FRAME_TOOLBAR_TOP_HEIGHT (f) f 5727 src/gtkutil.c || nb != FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 5729 src/gtkutil.c FRAME_TOOLBAR_RIGHT_WIDTH (f) = FRAME_TOOLBAR_LEFT_WIDTH (f) f 5730 src/gtkutil.c = FRAME_TOOLBAR_TOP_HEIGHT (f) = FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = 0; f 5731 src/gtkutil.c FRAME_TOOLBAR_LEFT_WIDTH (f) = nl; f 5732 src/gtkutil.c FRAME_TOOLBAR_RIGHT_WIDTH (f) = nr; f 5733 src/gtkutil.c FRAME_TOOLBAR_TOP_HEIGHT (f) = nt; f 5734 src/gtkutil.c FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = nb; f 5782 src/gtkutil.c update_frame_tool_bar (struct frame *f) f 5785 src/gtkutil.c xp_output *x = f->output_data.xp; f 5797 src/gtkutil.c if (! FRAME_GTK_WIDGET (f)) f 5801 src/gtkutil.c if (! FRAME_GTK_OUTER_WIDGET (f)) f 5829 src/gtkutil.c xg_create_tool_bar (f); f 5839 src/gtkutil.c tbinfo = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 5842 src/gtkutil.c if (! NILP (tbinfo->last_tool_bar) && ! NILP (f->tool_bar_items) f 5843 src/gtkutil.c && tbinfo->n_last_items == f->n_tool_bar_items f 5847 src/gtkutil.c && ! NILP (Fequal (tbinfo->last_tool_bar, f->tool_bar_items))) f 5853 src/gtkutil.c tbinfo->last_tool_bar = f->tool_bar_items; f 5854 src/gtkutil.c tbinfo->n_last_items = f->n_tool_bar_items; f 5863 src/gtkutil.c for (i = j = 0; i < f->n_tool_bar_items; ++i) f 5955 src/gtkutil.c image = find_rtl_image (f, image, rtl); f 5974 src/gtkutil.c img_id = lookup_image (f, image, -1); f 5975 src/gtkutil.c img = IMAGE_FROM_ID (f, img_id); f 5976 src/gtkutil.c prepare_image_for_display (f, img); f 6035 src/gtkutil.c w = xg_get_image_for_pixmap (f, img, x->widget, NULL); f 6056 src/gtkutil.c ti = xg_make_tool_item (f, w, &wbutton, f 6078 src/gtkutil.c if (f->n_tool_bar_items != 0) f 6081 src/gtkutil.c xg_pack_tool_bar (f, FRAME_TOOL_BAR_POSITION (f)); f 6083 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 6086 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6088 src/gtkutil.c f->tool_bar_resized = f->tool_bar_redisplayed; f 6098 src/gtkutil.c free_frame_tool_bar (struct frame *f) f 6100 src/gtkutil.c xp_output *x = f->output_data.xp; f 6123 src/gtkutil.c FRAME_TOOLBAR_TOP_HEIGHT (f) = FRAME_TOOLBAR_BOTTOM_HEIGHT (f) = 0; f 6124 src/gtkutil.c FRAME_TOOLBAR_LEFT_WIDTH (f) = FRAME_TOOLBAR_RIGHT_WIDTH (f) = 0; f 6126 src/gtkutil.c tbinfo = g_object_get_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6131 src/gtkutil.c g_object_set_data (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6136 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6143 src/gtkutil.c xg_change_toolbar_position (struct frame *f, Lisp_Object pos) f 6145 src/gtkutil.c xp_output *x = f->output_data.xp; f 6163 src/gtkutil.c xg_pack_tool_bar (f, pos); f 6166 src/gtkutil.c if (xg_update_tool_bar_sizes (f)) f 6167 src/gtkutil.c adjust_frame_size (f, -1, -1, 2, 0, Qtool_bar_lines); f 6294 src/gtkutil.c struct frame *f = user_data; f 6319 src/gtkutil.c dpyinfo = FRAME_DISPLAY_INFO (f); f 6334 src/gtkutil.c XSETFRAME (ie.frame_or_window, f); f 6384 src/gtkutil.c struct frame *f = NULL; f 6399 src/gtkutil.c f = XFRAME (tem); f 6404 src/gtkutil.c if (!f) f 6412 src/gtkutil.c = FRAME_DISPLAY_INFO (f)->pending_keystroke_time; f 6415 src/gtkutil.c FRAME_DISPLAY_INFO (f)->pending_keystroke_time = 0; f 6419 src/gtkutil.c && !FRAME_DISPLAY_INFO (f)->prefer_native_input) f 6423 src/gtkutil.c XSETFRAME (inev.ie.frame_or_window, f); f 6425 src/gtkutil.c xstate = xg_virtual_mods_to_x (FRAME_DISPLAY_INFO (f), f 6429 src/gtkutil.c |= x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), xstate); f 6435 src/gtkutil.c source = xi_device_from_id (FRAME_DISPLAY_INFO (f), f 6436 src/gtkutil.c FRAME_DISPLAY_INFO (f)->pending_keystroke_source); f 6553 src/gtkutil.c XNoOp (FRAME_X_DISPLAY (f)); f 6665 src/gtkutil.c struct frame *f = user_data; f 6667 src/gtkutil.c if (f->alpha_background < 1.0) f 6670 src/gtkutil.c XChangeProperty (FRAME_X_DISPLAY (f), f 6671 src/gtkutil.c FRAME_X_WINDOW (f), f 6672 src/gtkutil.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 6676 src/gtkutil.c if (FRAME_GTK_OUTER_WIDGET (f) f 6677 src/gtkutil.c && gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f))) f 6678 src/gtkutil.c gdk_window_set_opaque_region (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 67 src/gtkutil.h struct frame *f; f 88 src/gtkutil.h extern char *xg_get_file_name (struct frame *f, f 94 src/gtkutil.h extern Lisp_Object xg_get_font (struct frame *f, const char *); f 98 src/gtkutil.h struct frame *f, f 105 src/gtkutil.h struct frame *f, f 112 src/gtkutil.h extern void xg_update_frame_menubar (struct frame *f); f 118 src/gtkutil.h extern void xg_create_scroll_bar (struct frame *f, f 123 src/gtkutil.h extern void xg_create_horizontal_scroll_bar (struct frame *f, f 128 src/gtkutil.h extern void xg_remove_scroll_bar (struct frame *f, ptrdiff_t scrollbar_id); f 130 src/gtkutil.h extern void xg_update_scrollbar_pos (struct frame *f, f 136 src/gtkutil.h extern void xg_update_horizontal_scrollbar_pos (struct frame *f, f 153 src/gtkutil.h extern int xg_get_default_scrollbar_width (struct frame *f); f 154 src/gtkutil.h extern int xg_get_default_scrollbar_height (struct frame *f); f 158 src/gtkutil.h extern void update_frame_tool_bar (struct frame *f); f 159 src/gtkutil.h extern void free_frame_tool_bar (struct frame *f); f 160 src/gtkutil.h extern void xg_change_toolbar_position (struct frame *f, Lisp_Object pos); f 162 src/gtkutil.h extern void xg_frame_resized (struct frame *f, f 165 src/gtkutil.h extern void xg_frame_set_char_size (struct frame *f, int width, int height); f 168 src/gtkutil.h extern int xg_get_scale (struct frame *f); f 179 src/gtkutil.h extern bool xg_create_frame_widgets (struct frame *f); f 180 src/gtkutil.h extern void xg_free_frame_widgets (struct frame *f); f 181 src/gtkutil.h extern void xg_set_background_color (struct frame *f, unsigned long bg); f 182 src/gtkutil.h extern bool xg_check_special_colors (struct frame *f, f 186 src/gtkutil.h extern void xg_create_frame_outer_widgets (struct frame *f); f 190 src/gtkutil.h extern void xg_set_frame_icon (struct frame *f, f 195 src/gtkutil.h extern void xg_set_undecorated (struct frame *f, Lisp_Object undecorated); f 197 src/gtkutil.h extern void xg_set_skip_taskbar (struct frame *f, Lisp_Object skip_taskbar); f 198 src/gtkutil.h extern void xg_set_no_focus_on_map (struct frame *f, Lisp_Object no_focus_on_map); f 199 src/gtkutil.h extern void xg_set_no_accept_focus (struct frame *f, Lisp_Object no_accept_focus); f 200 src/gtkutil.h extern void xg_set_override_redirect (struct frame *f, Lisp_Object override_redirect); f 202 src/gtkutil.h extern bool xg_prepare_tooltip (struct frame *f, f 207 src/gtkutil.h extern void xg_show_tooltip (struct frame *f, int root_x, int root_y); f 209 src/gtkutil.h extern void xg_show_tooltip (struct frame *f, Lisp_Object string); f 211 src/gtkutil.h extern bool xg_hide_tooltip (struct frame *f); f 868 src/haiku_font_support.cc font_family f; f 870 src/haiku_font_support.cc be_fixed_font->GetFamilyAndStyle (&f, &s); f 873 src/haiku_font_support.cc strncpy (ptn->family, f, sizeof ptn->family - 1); f 880 src/haiku_font_support.cc font_family f; f 882 src/haiku_font_support.cc be_plain_font->GetFamilyAndStyle (&f, &s); f 885 src/haiku_font_support.cc strncpy (ptn->family, f, sizeof ptn->family - 1); f 732 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f = next) f 734 src/haiku_support.cc if (f->window->LockLooper ()) f 736 src/haiku_support.cc f->window->Unparent (); f 737 src/haiku_support.cc f->window->UnlockLooper (); f 738 src/haiku_support.cc next = f->next; f 739 src/haiku_support.cc delete f; f 775 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 776 src/haiku_support.cc f = f->next) f 777 src/haiku_support.cc f->window->UpwardsSubsetChildren (w); f 797 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 798 src/haiku_support.cc f = f->next) f 799 src/haiku_support.cc f->window->UpwardsUnSubsetChildren (w); f 874 src/haiku_support.cc struct child_frame *f = new struct child_frame; f 876 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 877 src/haiku_support.cc f = f->next) f 879 src/haiku_support.cc if (window == f->window) f 883 src/haiku_support.cc f->window = window; f 884 src/haiku_support.cc f->next = subset_windows; f 885 src/haiku_support.cc f->xoff = -1; f 886 src/haiku_support.cc f->yoff = -1; f 888 src/haiku_support.cc subset_windows = f; f 904 src/haiku_support.cc DoMove (struct child_frame *f) f 907 src/haiku_support.cc f->window->MoveToIncludingFrame (frame.left + f->xoff, f 908 src/haiku_support.cc frame.top + f->yoff); f 912 src/haiku_support.cc DoUpdateWorkspace (struct child_frame *f) f 914 src/haiku_support.cc f->window->SetWorkspaces (this->Workspaces ()); f 924 src/haiku_support.cc for (struct child_frame *f = subset_windows; f; f 925 src/haiku_support.cc f = f->next) f 927 src/haiku_support.cc if (window == f->window) f 929 src/haiku_support.cc f->xoff = xoff; f 930 src/haiku_support.cc f->yoff = yoff; f 932 src/haiku_support.cc DoMove (f); f 1142 src/haiku_support.cc struct child_frame *f; f 1174 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1175 src/haiku_support.cc DoMove (f); f 1185 src/haiku_support.cc struct child_frame *f; f 1189 src/haiku_support.cc for (f = subset_windows; f; f = f->next) f 1190 src/haiku_support.cc DoUpdateWorkspace (f); f 1390 src/haiku_support.cc for (struct child_frame *f; f; f = f->next) f 1391 src/haiku_support.cc if (f->window == c) f 1393 src/haiku_support.cc r->top -= f->yoff; f 1394 src/haiku_support.cc r->bottom -= f->yoff; f 1395 src/haiku_support.cc r->left -= f->xoff; f 1396 src/haiku_support.cc r->right -= f->xoff; f 113 src/haikufns.c haiku_update_after_decoration_change (struct frame *f) f 120 src/haikufns.c if (!FRAME_OUTPUT_DATA (f)->configury_done) f 123 src/haikufns.c be_send_move_frame_event (FRAME_HAIKU_WINDOW (f)); f 127 src/haikufns.c haiku_change_tool_bar_height (struct frame *f, int height) f 129 src/haikufns.c int unit = FRAME_LINE_HEIGHT (f); f 130 src/haikufns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 132 src/haikufns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 135 src/haikufns.c fset_redisplay (f); f 137 src/haikufns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 138 src/haikufns.c FRAME_TOOL_BAR_LINES (f) = lines; f 139 src/haikufns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 141 src/haikufns.c if (FRAME_HAIKU_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 143 src/haikufns.c clear_frame (f); f 144 src/haikufns.c clear_current_matrices (f); f 147 src/haikufns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 148 src/haikufns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 150 src/haikufns.c if (!f->tool_bar_resized) f 155 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 158 src/haikufns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 160 src/haikufns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 164 src/haikufns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 168 src/haikufns.c adjust_frame_glyphs (f); f 169 src/haikufns.c SET_FRAME_GARBAGED (f); f 171 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 172 src/haikufns.c haiku_clear_under_internal_border (f); f 176 src/haikufns.c haiku_change_tab_bar_height (struct frame *f, int height) f 178 src/haikufns.c int unit = FRAME_LINE_HEIGHT (f); f 179 src/haikufns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 191 src/haikufns.c fset_redisplay (f); f 194 src/haikufns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 195 src/haikufns.c FRAME_TAB_BAR_LINES (f) = lines; f 196 src/haikufns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 198 src/haikufns.c if (FRAME_HAIKU_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 200 src/haikufns.c clear_frame (f); f 201 src/haikufns.c clear_current_matrices (f); f 204 src/haikufns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 205 src/haikufns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 207 src/haikufns.c if (!f->tab_bar_resized) f 209 src/haikufns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 214 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 217 src/haikufns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 219 src/haikufns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 223 src/haikufns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 227 src/haikufns.c adjust_frame_glyphs (f); f 228 src/haikufns.c SET_FRAME_GARBAGED (f); f 229 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 230 src/haikufns.c haiku_clear_under_internal_border (f); f 234 src/haikufns.c haiku_set_no_focus_on_map (struct frame *f, Lisp_Object value, f 238 src/haikufns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (value); f 242 src/haikufns.c haiku_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 244 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 249 src/haikufns.c if (FRAME_MINIBUF_ONLY_P (f)) f 258 src/haikufns.c haiku_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 262 src/haikufns.c haiku_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 264 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 266 src/haikufns.c int olines = FRAME_TAB_BAR_LINES (f); f 270 src/haikufns.c if (FRAME_MINIBUF_ONLY_P (f)) f 280 src/haikufns.c haiku_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 284 src/haikufns.c gamma_correct (struct frame *f, Emacs_Color *color) f 286 src/haikufns.c if (f->gamma) f 288 src/haikufns.c color->red = (pow (color->red / 65535.0, f->gamma) f 290 src/haikufns.c color->green = (pow (color->green / 65535.0, f->gamma) f 292 src/haikufns.c color->blue = (pow (color->blue / 65535.0, f->gamma) f 413 src/haikufns.c struct frame *f = decode_window_system_frame (object); f 414 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 421 src/haikufns.c haiku_set_title_bar_text (struct frame *f, Lisp_Object text) f 423 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 426 src/haikufns.c BWindow_retitle (FRAME_HAIKU_WINDOW (f), SSDATA (ENCODE_UTF_8 (text))); f 432 src/haikufns.c haiku_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 435 src/haikufns.c if (EQ (name, f->title)) f 440 src/haikufns.c fset_title (f, name); f 443 src/haikufns.c name = f->name; f 445 src/haikufns.c haiku_set_title_bar_text (f, name); f 449 src/haikufns.c haiku_set_child_frame_border_width (struct frame *f, f 461 src/haikufns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 463 src/haikufns.c f->child_frame_border_width = border; f 465 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 466 src/haikufns.c adjust_frame_size (f, -1, -1, 3, 0, Qchild_frame_border_width); f 468 src/haikufns.c SET_FRAME_GARBAGED (f); f 473 src/haikufns.c haiku_set_parent_frame (struct frame *f, Lisp_Object new_value, f 483 src/haikufns.c store_frame_param (f, Qparent_frame, old_value); f 496 src/haikufns.c EmacsWindow_unparent (FRAME_HAIKU_WINDOW (f)); f 497 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = NULL; f 502 src/haikufns.c EmacsWindow_parent_to (FRAME_HAIKU_WINDOW (f), f 504 src/haikufns.c BWindow_set_offset (FRAME_HAIKU_WINDOW (f), f 505 src/haikufns.c f->left_pos, f->top_pos); f 509 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = FRAME_HAIKU_WINDOW (p); f 511 src/haikufns.c fset_parent_frame (f, new_value); f 516 src/haikufns.c haiku_set_z_group (struct frame *f, Lisp_Object new_value, f 523 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 531 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_NONE); f 532 src/haikufns.c FRAME_Z_GROUP (f) = z_group_none; f 536 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_ABOVE); f 537 src/haikufns.c FRAME_Z_GROUP (f) = z_group_above; f 541 src/haikufns.c BWindow_set_z_group (FRAME_HAIKU_WINDOW (f), Z_GROUP_BELOW); f 542 src/haikufns.c FRAME_Z_GROUP (f) = z_group_below; f 553 src/haikufns.c haiku_update_after_decoration_change (f); f 557 src/haikufns.c haiku_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 559 src/haikufns.c haiku_set_name (f, arg, 1); f 563 src/haikufns.c haiku_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 566 src/haikufns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 569 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 570 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), f 571 src/haikufns.c FRAME_NO_ACCEPT_FOCUS (f)); f 576 src/haikufns.c initial_setup_back_buffer (struct frame *f) f 579 src/haikufns.c if (NILP (CDR (Fassq (Qinhibit_double_buffering, f->param_alist)))) f 580 src/haikufns.c EmacsView_set_up_double_buffering (FRAME_HAIKU_VIEW (f)); f 587 src/haikufns.c struct frame *f = XFRAME (frame); f 592 src/haikufns.c if (!FRAME_LIVE_P (f)) f 599 src/haikufns.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 609 src/haikufns.c if (FRAME_IMAGE_CACHE (f) != NULL f 610 src/haikufns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 611 src/haikufns.c FRAME_IMAGE_CACHE (f)->refcount++; f 613 src/haikufns.c haiku_free_frame_resources (f); f 614 src/haikufns.c free_glyphs (f); f 633 src/haikufns.c haiku_decode_color (struct frame *f, Lisp_Object color_name) f 646 src/haikufns.c haiku_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 651 src/haikufns.c fg = haiku_decode_color (f, arg); f 652 src/haikufns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 653 src/haikufns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 654 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 656 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 661 src/haikufns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 663 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 664 src/haikufns.c redraw_frame (f); f 671 src/haikufns.c struct frame *f, *cascade_target; f 725 src/haikufns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 728 src/haikufns.c f = make_minibuffer_frame (); f 732 src/haikufns.c f = make_frame_without_minibuffer (tem, kb, display); f 734 src/haikufns.c f = make_frame (1); f 736 src/haikufns.c XSETFRAME (frame, f); f 738 src/haikufns.c f->terminal = dpyinfo->terminal; f 740 src/haikufns.c f->output_method = output_haiku; f 741 src/haikufns.c f->output_data.haiku = xzalloc (sizeof *f->output_data.haiku); f 742 src/haikufns.c f->output_data.haiku->wait_for_event_type = -1; f 743 src/haikufns.c f->output_data.haiku->relief_background = -1; f 745 src/haikufns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, parms, Qicon_name, f 748 src/haikufns.c if (! STRINGP (f->icon_name)) f 749 src/haikufns.c fset_icon_name (f, Qnil); f 751 src/haikufns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 760 src/haikufns.c fset_name (f, Vinvocation_name); f 761 src/haikufns.c f->explicit_name = 0; f 765 src/haikufns.c fset_name (f, name); f 766 src/haikufns.c f->explicit_name = 1; f 771 src/haikufns.c register_font_driver (&ftcrfont_driver, f); f 773 src/haikufns.c register_font_driver (&ftcrhbfont_driver, f); f 776 src/haikufns.c register_font_driver (&haikufont_driver, f); f 779 src/haikufns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 781 src/haikufns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 784 src/haikufns.c FRAME_RIF (f)->default_font_parameter (f, parms); f 786 src/haikufns.c if (!FRAME_FONT (f)) f 792 src/haikufns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 794 src/haikufns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (0), f 797 src/haikufns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 800 src/haikufns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 802 src/haikufns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 804 src/haikufns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, Qt, f 807 src/haikufns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 810 src/haikufns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 812 src/haikufns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 814 src/haikufns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("font-color"), f 816 src/haikufns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 818 src/haikufns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 820 src/haikufns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 822 src/haikufns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 825 src/haikufns.c init_frame_faces (f); f 831 src/haikufns.c store_frame_param (f, Qmin_width, tem); f 835 src/haikufns.c store_frame_param (f, Qmin_height, tem); f 837 src/haikufns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 838 src/haikufns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, 1, f 841 src/haikufns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 843 src/haikufns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 849 src/haikufns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 853 src/haikufns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 857 src/haikufns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 861 src/haikufns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, "bufferPredicate", f 863 src/haikufns.c gui_default_parameter (f, parms, Qtitle, Qnil, "title", "Title", f 867 src/haikufns.c window_prompting = gui_figure_window_size (f, parms, false, true); f 871 src/haikufns.c f->no_split = minibuffer_only || (!BASE_EQ (tem, Qunbound) && !NILP (tem)); f 873 src/haikufns.c f->terminal->reference_count++; f 875 src/haikufns.c FRAME_OUTPUT_DATA (f)->window = BWindow_new (&FRAME_OUTPUT_DATA (f)->view); f 877 src/haikufns.c if (!FRAME_OUTPUT_DATA (f)->window) f 881 src/haikufns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 882 src/haikufns.c initialize_frame_menubar (f); f 902 src/haikufns.c fset_parent_frame (f, parent_frame); f 903 src/haikufns.c store_frame_param (f, Qparent_frame, parent_frame); f 906 src/haikufns.c haiku_set_parent_frame (f, parent_frame, Qnil); f 908 src/haikufns.c gui_default_parameter (f, parms, Qundecorated, Qnil, NULL, NULL, RES_TYPE_BOOLEAN); f 909 src/haikufns.c gui_default_parameter (f, parms, Qoverride_redirect, Qnil, NULL, NULL, RES_TYPE_BOOLEAN); f 911 src/haikufns.c gui_default_parameter (f, parms, Qicon_type, Qnil, f 913 src/haikufns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 915 src/haikufns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 917 src/haikufns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 919 src/haikufns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 922 src/haikufns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 925 src/haikufns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 927 src/haikufns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 929 src/haikufns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 932 src/haikufns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 936 src/haikufns.c f->can_set_window_size = true; f 938 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 948 src/haikufns.c haiku_iconify_frame (f); f 950 src/haikufns.c haiku_visualize_frame (f); f 953 src/haikufns.c f->was_invisible = true; f 956 src/haikufns.c if (FRAME_HAS_MINIBUF_P (f) f 962 src/haikufns.c gui_default_parameter (f, parms, Quse_frame_synchronization, Qt, f 965 src/haikufns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 970 src/haikufns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 974 src/haikufns.c haiku_set_offset (f, f->left_pos, f->top_pos, 1); f 976 src/haikufns.c haiku_set_offset (f, cascade_target->left_pos + 15, f 979 src/haikufns.c BWindow_center_on_screen (FRAME_HAIKU_WINDOW (f)); f 982 src/haikufns.c FRAME_OUTPUT_DATA (f)->configury_done = true; f 984 src/haikufns.c if (f->want_fullscreen != FULLSCREEN_NONE) f 985 src/haikufns.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 1006 src/haikufns.c struct frame *f; f 1027 src/haikufns.c f = make_frame (false); f 1028 src/haikufns.c f->wants_modeline = false; f 1029 src/haikufns.c XSETFRAME (frame, f); f 1032 src/haikufns.c f->terminal = dpyinfo->terminal; f 1038 src/haikufns.c f->output_method = output_haiku; f 1039 src/haikufns.c f->output_data.haiku = xzalloc (sizeof *f->output_data.haiku); f 1040 src/haikufns.c f->output_data.haiku->wait_for_event_type = -1; f 1041 src/haikufns.c f->output_data.haiku->relief_background = -1; f 1043 src/haikufns.c f->tooltip = true; f 1044 src/haikufns.c fset_icon_name (f, Qnil); f 1045 src/haikufns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 1047 src/haikufns.c FRAME_OUTPUT_DATA (f)->parent_desc = NULL; f 1052 src/haikufns.c f->explicit_name = false; f 1055 src/haikufns.c fset_name (f, name); f 1056 src/haikufns.c f->explicit_name = true; f 1062 src/haikufns.c register_font_driver (&ftcrfont_driver, f); f 1064 src/haikufns.c register_font_driver (&ftcrhbfont_driver, f); f 1067 src/haikufns.c register_font_driver (&haikufont_driver, f); f 1070 src/haikufns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 1072 src/haikufns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 1077 src/haikufns.c FRAME_RIF (f)->default_font_parameter (f, parms); f 1094 src/haikufns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 1098 src/haikufns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 1100 src/haikufns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 1104 src/haikufns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 1107 src/haikufns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 1112 src/haikufns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("font-color"), f 1114 src/haikufns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 1116 src/haikufns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 1118 src/haikufns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 1124 src/haikufns.c init_frame_faces (f); f 1126 src/haikufns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1130 src/haikufns.c gui_figure_window_size (f, parms, false, false); f 1136 src/haikufns.c window = BWindow_new (&FRAME_OUTPUT_DATA (f)->view); f 1138 src/haikufns.c FRAME_OUTPUT_DATA (f)->window = window; f 1146 src/haikufns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1148 src/haikufns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1150 src/haikufns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1152 src/haikufns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1154 src/haikufns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 1157 src/haikufns.c initial_setup_back_buffer (f); f 1206 src/haikufns.c f->no_split = true; f 1210 src/haikufns.c f->terminal->reference_count++; f 1216 src/haikufns.c f->can_set_window_size = true; f 1217 src/haikufns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1233 src/haikufns.c compute_tip_xy (struct frame *f, f 1263 src/haikufns.c BView_get_mouse (FRAME_HAIKU_VIEW (f), &x, &y); f 1264 src/haikufns.c BView_convert_to_screen (FRAME_HAIKU_VIEW (f), &x, &y); f 1356 src/haikufns.c haiku_set_undecorated (struct frame *f, Lisp_Object new_value, f 1363 src/haikufns.c FRAME_UNDECORATED (f) = !NILP (new_value); f 1364 src/haikufns.c BWindow_change_decoration (FRAME_HAIKU_WINDOW (f), NILP (new_value)); f 1367 src/haikufns.c haiku_update_after_decoration_change (f); f 1371 src/haikufns.c haiku_set_override_redirect (struct frame *f, Lisp_Object new_value, f 1378 src/haikufns.c BWindow_set_override_redirect (FRAME_HAIKU_WINDOW (f), f 1380 src/haikufns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 1383 src/haikufns.c haiku_update_after_decoration_change (f); f 1387 src/haikufns.c haiku_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1391 src/haikufns.c if (FRAME_TOOLTIP_P (f)) f 1399 src/haikufns.c fset_redisplay (f); f 1403 src/haikufns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 1404 src/haikufns.c if (FRAME_HAIKU_P (f) && !FRAME_HAIKU_MENU_BAR (f)) f 1405 src/haikufns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = 1; f 1409 src/haikufns.c FRAME_MENU_BAR_LINES (f) = 0; f 1410 src/haikufns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1412 src/haikufns.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 1413 src/haikufns.c free_frame_menubar (f); f 1415 src/haikufns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 1416 src/haikufns.c FRAME_HAIKU_MENU_BAR (f) = 0; f 1419 src/haikufns.c adjust_frame_glyphs (f); f 1430 src/haikufns.c struct frame *f, *parent; f 1436 src/haikufns.c f = decode_window_system_frame (frame); f 1437 src/haikufns.c parent = FRAME_PARENT_FRAME (f); f 1438 src/haikufns.c window = FRAME_HAIKU_WINDOW (f); f 1447 src/haikufns.c native_x = FRAME_OUTPUT_DATA (f)->frame_x; f 1448 src/haikufns.c native_y = FRAME_OUTPUT_DATA (f)->frame_y; f 1466 src/haikufns.c native_x + FRAME_PIXEL_WIDTH (f), f 1467 src/haikufns.c native_y + FRAME_PIXEL_HEIGHT (f)); f 1469 src/haikufns.c return list4i (native_x + FRAME_INTERNAL_BORDER_WIDTH (f), f 1470 src/haikufns.c native_y + FRAME_INTERNAL_BORDER_WIDTH (f) f 1471 src/haikufns.c + FRAME_MENU_BAR_HEIGHT (f) + FRAME_TOOL_BAR_HEIGHT (f), f 1472 src/haikufns.c native_x - FRAME_INTERNAL_BORDER_WIDTH (f) f 1473 src/haikufns.c + FRAME_PIXEL_WIDTH (f), f 1474 src/haikufns.c native_y + FRAME_PIXEL_HEIGHT (f) f 1475 src/haikufns.c - FRAME_INTERNAL_BORDER_WIDTH (f)); f 1492 src/haikufns.c Fcons (make_fixnum (FRAME_PIXEL_WIDTH (f) f 1493 src/haikufns.c - (FRAME_INTERNAL_BORDER_WIDTH (f) * 2)), f 1494 src/haikufns.c make_fixnum (FRAME_MENU_BAR_HEIGHT (f)))), f 1498 src/haikufns.c Fcons (make_fixnum (FRAME_PIXEL_WIDTH (f) f 1499 src/haikufns.c - (FRAME_INTERNAL_BORDER_WIDTH (f) * 2)), f 1500 src/haikufns.c make_fixnum (FRAME_TOOL_BAR_HEIGHT (f)))), f 1502 src/haikufns.c make_fixnum (FRAME_INTERNAL_BORDER_WIDTH (f)))); f 1506 src/haikufns.c haiku_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1510 src/haikufns.c background = haiku_decode_color (f, arg); f 1512 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = background; f 1513 src/haikufns.c FRAME_BACKGROUND_PIXEL (f) = background; f 1515 src/haikufns.c if (FRAME_HAIKU_VIEW (f)) f 1517 src/haikufns.c BView_draw_lock (FRAME_HAIKU_DRAWABLE (f), false, 0, 0, 0, 0); f 1518 src/haikufns.c BView_SetViewColor (FRAME_HAIKU_DRAWABLE (f), background); f 1519 src/haikufns.c BView_draw_unlock (FRAME_HAIKU_DRAWABLE (f)); f 1521 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = background; f 1522 src/haikufns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 1524 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 1525 src/haikufns.c redraw_frame (f); f 1530 src/haikufns.c haiku_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1534 src/haikufns.c pixel = haiku_decode_color (f, arg); f 1538 src/haikufns.c fore_pixel = haiku_decode_color (f, Vx_cursor_fore_pixel); f 1539 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = fore_pixel; f 1542 src/haikufns.c FRAME_OUTPUT_DATA (f)->cursor_fg = FRAME_BACKGROUND_PIXEL (f); f 1544 src/haikufns.c haiku_query_color (pixel, &FRAME_CURSOR_COLOR (f)); f 1546 src/haikufns.c if (FRAME_VISIBLE_P (f)) f 1548 src/haikufns.c gui_update_cursor (f, false); f 1549 src/haikufns.c gui_update_cursor (f, true); f 1552 src/haikufns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 1556 src/haikufns.c haiku_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1558 src/haikufns.c set_frame_cursor_types (f, arg); f 1614 src/haikufns.c haiku_free_frame_resources (struct frame *f) f 1622 src/haikufns.c check_window_system (f); f 1625 src/haikufns.c hlinfo = MOUSE_HL_INFO (f); f 1626 src/haikufns.c window = FRAME_HAIKU_WINDOW (f); f 1627 src/haikufns.c drawable = FRAME_HAIKU_VIEW (f); f 1628 src/haikufns.c mbar = FRAME_HAIKU_MENU_BAR (f); f 1629 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1631 src/haikufns.c free_frame_faces (f); f 1632 src/haikufns.c haiku_free_custom_cursors (f); f 1635 src/haikufns.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) f 1641 src/haikufns.c if (f == dpyinfo->highlight_frame) f 1643 src/haikufns.c if (f == dpyinfo->focused_frame) f 1645 src/haikufns.c if (f == dpyinfo->last_mouse_motion_frame) f 1647 src/haikufns.c if (f == dpyinfo->last_mouse_frame) f 1649 src/haikufns.c if (f == dpyinfo->focus_event_frame) f 1652 src/haikufns.c if (f == hlinfo->mouse_face_mouse_frame) f 1658 src/haikufns.c if (f->output_data.haiku->menu_bar_open_p) f 1661 src/haikufns.c f->output_data.haiku->menu_bar_open_p = 0; f 1671 src/haikufns.c if (FRAME_OUTPUT_DATA (f)->saved_menu_event) f 1672 src/haikufns.c xfree (FRAME_OUTPUT_DATA (f)->saved_menu_event); f 1674 src/haikufns.c xfree (FRAME_OUTPUT_DATA (f)); f 1675 src/haikufns.c FRAME_OUTPUT_DATA (f) = NULL; f 1695 src/haikufns.c haiku_visualize_frame (struct frame *f) f 1699 src/haikufns.c if (!FRAME_VISIBLE_P (f)) f 1701 src/haikufns.c if (FRAME_NO_FOCUS_ON_MAP (f)) f 1702 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), 1); f 1703 src/haikufns.c BWindow_set_visible (FRAME_HAIKU_WINDOW (f), 1); f 1704 src/haikufns.c if (FRAME_NO_FOCUS_ON_MAP (f) && f 1705 src/haikufns.c !FRAME_NO_ACCEPT_FOCUS (f)) f 1706 src/haikufns.c BWindow_set_avoid_focus (FRAME_HAIKU_WINDOW (f), 0); f 1707 src/haikufns.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 1709 src/haikufns.c haiku_set_offset (f, f->left_pos, f->top_pos, 0); f 1711 src/haikufns.c SET_FRAME_VISIBLE (f, 1); f 1712 src/haikufns.c SET_FRAME_ICONIFIED (f, 0); f 1719 src/haikufns.c haiku_unvisualize_frame (struct frame *f) f 1723 src/haikufns.c BWindow_set_visible (FRAME_HAIKU_WINDOW (f), 0); f 1724 src/haikufns.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 1725 src/haikufns.c SET_FRAME_VISIBLE (f, 0); f 1726 src/haikufns.c SET_FRAME_ICONIFIED (f, 0); f 1732 src/haikufns.c haiku_set_internal_border_width (struct frame *f, Lisp_Object arg, f 1735 src/haikufns.c int old_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 1741 src/haikufns.c f->internal_border_width = new_width; f 1743 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 1745 src/haikufns.c adjust_frame_size (f, -1, -1, 3, 0, Qinternal_border_width); f 1746 src/haikufns.c haiku_clear_under_internal_border (f); f 1749 src/haikufns.c SET_FRAME_GARBAGED (f); f 1753 src/haikufns.c haiku_set_frame_visible_invisible (struct frame *f, bool visible_p) f 1756 src/haikufns.c haiku_visualize_frame (f); f 1758 src/haikufns.c haiku_unvisualize_frame (f); f 1762 src/haikufns.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 1766 src/haikufns.c BView_convert_to_screen (FRAME_HAIKU_VIEW (f), &pix_x, &pix_y); f 1797 src/haikufns.c haiku_set_name (struct frame *f, Lisp_Object name, bool explicit_p) f 1803 src/haikufns.c if (f->explicit_name && NILP (name)) f 1806 src/haikufns.c f->explicit_name = !NILP (name); f 1808 src/haikufns.c else if (f->explicit_name) f 1811 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1816 src/haikufns.c if (!NILP (Fstring_equal (name, f->name))) f 1819 src/haikufns.c fset_name (f, name); f 1821 src/haikufns.c if (!NILP (f->title)) f 1822 src/haikufns.c name = f->title; f 1824 src/haikufns.c haiku_set_title_bar_text (f, name); f 1828 src/haikufns.c haiku_set_inhibit_double_buffering (struct frame *f, f 1833 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 1838 src/haikufns.c EmacsView_set_up_double_buffering (FRAME_HAIKU_VIEW (f)); f 1841 src/haikufns.c EmacsView_disable_double_buffering (FRAME_HAIKU_VIEW (f)); f 1844 src/haikufns.c SET_FRAME_GARBAGED (f); f 1850 src/haikufns.c haiku_set_sticky (struct frame *f, Lisp_Object new_value, f 1854 src/haikufns.c BWindow_set_sticky (FRAME_HAIKU_WINDOW (f), !NILP (new_value)); f 2012 src/haikufns.c haiku_free_custom_cursors (struct frame *f) f 2021 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 2022 src/haikufns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2045 src/haikufns.c haiku_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2064 src/haikufns.c output = FRAME_OUTPUT_DATA (f); f 2068 src/haikufns.c haiku_free_custom_cursors (f); f 2091 src/haikufns.c FRAME_BACKGROUND_PIXEL (f)); f 2107 src/haikufns.c FRAME_BACKGROUND_PIXEL (f)); f 2116 src/haikufns.c if (FRAME_HAIKU_WINDOW (f)) f 2123 src/haikufns.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2128 src/haikufns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 2132 src/haikufns.c haiku_set_use_frame_synchronization (struct frame *f, Lisp_Object arg, f 2135 src/haikufns.c be_set_use_frame_synchronization (FRAME_HAIKU_VIEW (f), !NILP (arg)); f 2168 src/haikufns.c struct frame *f = SELECTED_FRAME (); f 2172 src/haikufns.c if (FRAME_INITIAL_P (f) || !FRAME_HAIKU_P (f)) f 2176 src/haikufns.c view = FRAME_HAIKU_VIEW (f); f 2344 src/haikufns.c struct frame *f, *tip_f; f 2367 src/haikufns.c f = decode_window_system_frame (frame); f 2396 src/haikufns.c struct frame *f = decode_window_system_frame (frame); f 2417 src/haikufns.c compute_tip_xy (f, parms, dx, dy, width, height, &root_x, &root_y); f 2418 src/haikufns.c BView_convert_from_screen (FRAME_HAIKU_VIEW (f), &root_x, &root_y); f 2419 src/haikufns.c be_show_sticky_tooltip (FRAME_HAIKU_VIEW (f), SSDATA (string), f 2624 src/haikufns.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2635 src/haikufns.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2636 src/haikufns.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2740 src/haikufns.c struct frame *f = decode_window_system_frame (frame); f 2742 src/haikufns.c return EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f)) ? Qt : Qnil; f 2750 src/haikufns.c struct frame *f; f 2754 src/haikufns.c f = decode_window_system_frame (terminal); f 2756 src/haikufns.c if (FRAME_HAIKU_VIEW (f) f 2757 src/haikufns.c && EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f))) f 2758 src/haikufns.c return FRAME_PARENT_FRAME (f) ? Qwhen_mapped : Qalways; f 2851 src/haikufns.c struct frame *f; f 2872 src/haikufns.c f = decode_window_system_frame (frame); f 2879 src/haikufns.c FRAME_HAIKU_WINDOW (f), f 2928 src/haikufns.c struct frame *f = XFRAME (tail); f 2929 src/haikufns.c if (!FRAME_HAIKU_P (f) || f 2932 src/haikufns.c !EQ (terminal, get_frame_param (f, Qparent_frame)))) f 2952 src/haikufns.c struct frame *f; f 2957 src/haikufns.c f = decode_window_system_frame (terminal); f 2958 src/haikufns.c return ((FRAME_HAIKU_VIEW (f) f 2959 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 x) f 771 src/haikufont.c tem = get_frame_param (f, Qfontsize); f 906 src/haikufont.c haikufont_prepare_face (struct frame *f, struct face *face) f 1079 src/haikufont.c struct frame *f = s->f; f 1083 src/haikufont.c void *view = FRAME_HAIKU_VIEW (f); f 1087 src/haikufont.c prepare_face_for_display (s->f, face); f 1157 src/haikufont.c haikufont_list_family (struct frame *f) f 1236 src/haikufont.c struct frame *f; f 1245 src/haikufont.c f = decode_window_system_frame (frame); f 1255 src/haikufont.c font = FRAME_FONT (f); f 71 src/haikuimage.c haiku_load_image (struct frame *f, struct image *img, f 191 src/haikumenu.c haiku_dialog_show (struct frame *f, Lisp_Object title, f 306 src/haikumenu.c haiku_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 313 src/haikumenu.c check_window_system (f); f 329 src/haikumenu.c selection = haiku_dialog_show (f, title, header, &error_name); f 383 src/haikumenu.c haiku_menu_show (struct frame *f, int x, int y, int menuflags, f 393 src/haikumenu.c view = FRAME_HAIKU_VIEW (f); f 399 src/haikumenu.c eassert (FRAME_HAIKU_P (f)); f 433 src/haikumenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 509 src/haikumenu.c free_frame_menubar (struct frame *f) f 513 src/haikumenu.c FRAME_MENU_BAR_LINES (f) = 0; f 514 src/haikumenu.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 515 src/haikumenu.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 518 src/haikumenu.c mbar = FRAME_HAIKU_MENU_BAR (f); f 519 src/haikumenu.c FRAME_HAIKU_MENU_BAR (f) = NULL; f 524 src/haikumenu.c if (FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 526 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 0; f 529 src/haikumenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 533 src/haikumenu.c initialize_frame_menubar (struct frame *f) f 537 src/haikumenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 538 src/haikumenu.c set_frame_menubar (f, true); f 542 src/haikumenu.c set_frame_menubar (struct frame *f, bool deep_p) f 544 src/haikumenu.c void *mbar = FRAME_HAIKU_MENU_BAR (f); f 545 src/haikumenu.c void *view = FRAME_HAIKU_VIEW (f); f 551 src/haikumenu.c mbar = FRAME_HAIKU_MENU_BAR (f) = BMenuBar_new (view); f 556 src/haikumenu.c if (FRAME_VISIBLE_P (f)) f 557 src/haikumenu.c haiku_wait_for_event (f, MENU_BAR_RESIZE); f 566 src/haikumenu.c int previous_menu_items_used = f->menu_bar_items_used; f 574 src/haikumenu.c XSETFRAME (Vmenu_updating_frame, f); f 578 src/haikumenu.c items = FRAME_MENU_BAR_ITEMS (f); f 608 src/haikumenu.c f->menu_bar_items_used = 0; f 617 src/haikumenu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 638 src/haikumenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 640 src/haikumenu.c items = FRAME_MENU_BAR_ITEMS (f); f 644 src/haikumenu.c memcpy (previous_items, xvector_contents (f->menu_bar_vector), f 651 src/haikumenu.c menu_items = f->menu_bar_vector; f 726 src/haikumenu.c fset_menu_bar_vector (f, menu_items); f 727 src/haikumenu.c f->menu_bar_items_used = menu_items_used; f 735 src/haikumenu.c run_menu_bar_help_event (struct frame *f, int mb_idx) f 739 src/haikumenu.c XSETFRAME (frame, f); f 749 src/haikumenu.c vec = f->menu_bar_vector; f 775 src/haikumenu.c struct frame *f = decode_window_system_frame (frame); f 778 src/haikumenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 781 src/haikumenu.c set_frame_menubar (f, 1); f 782 src/haikumenu.c rc = BMenuBar_start_tracking (FRAME_HAIKU_MENU_BAR (f)); f 788 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 799 src/haikumenu.c haiku_activate_menubar (struct frame *f) f 803 src/haikumenu.c if (!FRAME_HAIKU_MENU_BAR (f)) f 806 src/haikumenu.c set_frame_menubar (f, true); f 808 src/haikumenu.c if (FRAME_OUTPUT_DATA (f)->saved_menu_event) f 811 src/haikumenu.c rc = be_replay_menu_bar_event (FRAME_HAIKU_MENU_BAR (f), f 812 src/haikumenu.c FRAME_OUTPUT_DATA (f)->saved_menu_event); f 813 src/haikumenu.c xfree (FRAME_OUTPUT_DATA (f)->saved_menu_event); f 814 src/haikumenu.c FRAME_OUTPUT_DATA (f)->saved_menu_event = NULL; f 820 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 826 src/haikumenu.c rc = BMenuBar_start_tracking (FRAME_HAIKU_MENU_BAR (f)); f 832 src/haikumenu.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 893 src/haikuselect.c struct frame *f; f 897 src/haikuselect.c f = decode_window_system_frame (frame); f 899 src/haikuselect.c if (!FRAME_VISIBLE_P (f)) f 902 src/haikuselect.c haiku_dnd_frame = f; f 911 src/haikuselect.c rc = be_drag_message (FRAME_HAIKU_VIEW (f), be_message, f 926 src/haikuselect.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 79 src/haikuterm.c struct frame *f; f 83 src/haikuterm.c f = XFRAME (tem); f 84 src/haikuterm.c if (!FRAME_HAIKU_P (f)) f 87 src/haikuterm.c eassert (FRAME_DISPLAY_INFO (f) == x_display_list); f 89 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f) == window) f 90 src/haikuterm.c return f; f 97 src/haikuterm.c haiku_coords_from_parent (struct frame *f, int *x, int *y) f 99 src/haikuterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 106 src/haikuterm.c haiku_toolkit_position (struct frame *f, int x, int y, f 109 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->menubar) f 110 src/haikuterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 111 src/haikuterm.c && y >= 0 && y < FRAME_MENU_BAR_HEIGHT (f)); f 141 src/haikuterm.c haiku_update_size_hints (struct frame *f) f 143 src/haikuterm.c if (f->tooltip) f 147 src/haikuterm.c BWindow_set_size_alignment (FRAME_HAIKU_WINDOW (f), f 149 src/haikuterm.c ? 1 : FRAME_COLUMN_WIDTH (f)), f 151 src/haikuterm.c ? 1 : FRAME_LINE_HEIGHT (f))); f 166 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), f 167 src/haikuterm.c FRAME_PIXEL_WIDTH (s->f), f 168 src/haikuterm.c FRAME_PIXEL_HEIGHT (s->f), f 172 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), r[0].x, f 174 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), r[0].x, f 184 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), f 185 src/haikuterm.c FRAME_PIXEL_WIDTH (s->f), f 186 src/haikuterm.c FRAME_PIXEL_HEIGHT (s->f), f 190 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), r[1].x, r[1].y, f 192 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), r[1].x, f 201 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (s->f), s->x, s->y, f 203 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (s->f), s->x, f 208 src/haikuterm.c haiku_flip_buffers (struct frame *f) f 210 src/haikuterm.c void *view = FRAME_OUTPUT_DATA (f)->view; f 214 src/haikuterm.c FRAME_DIRTY_P (f) = 0; f 222 src/haikuterm.c haiku_frame_up_to_date (struct frame *f) f 225 src/haikuterm.c FRAME_MOUSE_UPDATE (f); f 226 src/haikuterm.c if (FRAME_DIRTY_P (f) && !buffer_flipping_blocked_p ()) f 227 src/haikuterm.c haiku_flip_buffers (f); f 237 src/haikuterm.c FRAME_COMPLETE_P (f) = true; f 242 src/haikuterm.c haiku_buffer_flipping_unblocked_hook (struct frame *f) f 244 src/haikuterm.c if (FRAME_DIRTY_P (f)) f 245 src/haikuterm.c haiku_flip_buffers (f); f 249 src/haikuterm.c haiku_clear_frame_area (struct frame *f, int x, int y, f 252 src/haikuterm.c void *vw = FRAME_HAIKU_DRAWABLE (f); f 257 src/haikuterm.c BView_SetHighColor (vw, FRAME_BACKGROUND_PIXEL (f)); f 265 src/haikuterm.c haiku_clear_frame (struct frame *f) f 267 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 269 src/haikuterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 271 src/haikuterm.c FRAME_COMPLETE_P (f) = false; f 274 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 275 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 277 src/haikuterm.c BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), f 278 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 279 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); f 280 src/haikuterm.c BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) , f 281 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 293 src/haikuterm.c haiku_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 303 src/haikuterm.c FRAME_FONTSET (f) = fontset; f 305 src/haikuterm.c if (FRAME_FONT (f) == font) f 308 src/haikuterm.c FRAME_FONT (f) = font; f 309 src/haikuterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 310 src/haikuterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 313 src/haikuterm.c FRAME_LINE_HEIGHT (f) = ascent + descent; f 314 src/haikuterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 316 src/haikuterm.c unit = FRAME_COLUMN_WIDTH (f); f 317 src/haikuterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 318 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 319 src/haikuterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 321 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 323 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f) && !FRAME_TOOLTIP_P (f)) f 324 src/haikuterm.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 325 src/haikuterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), f 400 src/haikuterm.c haiku_frame_raise_lower (struct frame *f, bool raise_p) f 405 src/haikuterm.c BWindow_activate (FRAME_HAIKU_WINDOW (f)); f 406 src/haikuterm.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 412 src/haikuterm.c BWindow_send_behind (FRAME_HAIKU_WINDOW (f), NULL); f 413 src/haikuterm.c BWindow_sync (FRAME_HAIKU_WINDOW (f)); f 573 src/haikuterm.c haiku_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 575 src/haikuterm.c haiku_set_name (f, arg, 0); f 579 src/haikuterm.c haiku_query_frame_background_color (struct frame *f, Emacs_Color *bgcolor) f 581 src/haikuterm.c haiku_query_color (FRAME_BACKGROUND_PIXEL (f), bgcolor); f 585 src/haikuterm.c haiku_defined_color (struct frame *f, const char *name, f 592 src/haikuterm.c if (rc && f->gamma && alloc) f 593 src/haikuterm.c gamma_correct (f, color); f 604 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 634 src/haikuterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 635 src/haikuterm.c rgbin = IMAGE_BACKGROUND (s->img, s->f, 0); f 639 src/haikuterm.c di = FRAME_OUTPUT_DATA (s->f); f 642 src/haikuterm.c rgbin = FRAME_CURSOR_COLOR (s->f).pixel; f 668 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 729 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (s->f)); f 777 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 819 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1021 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1031 src/haikuterm.c FRAME_BACKGROUND_PIXEL (s->f) : f 1038 src/haikuterm.c haiku_get_bitmap_rec (struct frame *f, ptrdiff_t id) f 1040 src/haikuterm.c return &FRAME_DISPLAY_INFO (f)->bitmaps[id - 1]; f 1083 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 1084 src/haikuterm.c rec = haiku_get_bitmap_rec (s->f, s->face->stipple); f 1150 src/haikuterm.c face_id = MOUSE_HL_INFO (s->f)->mouse_face_face_id; f 1151 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (s->f, face_id); f 1153 src/haikuterm.c face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 1156 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil); f 1158 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil); f 1160 src/haikuterm.c face = FACE_FROM_ID (s->f, face_id); f 1161 src/haikuterm.c prepare_face_for_display (s->f, s->face); f 1181 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1186 src/haikuterm.c BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg); f 1206 src/haikuterm.c off = VCENTER_BASELINE_OFFSET (ft, s->f) - off; f 1299 src/haikuterm.c BView_SetHighColor (FRAME_HAIKU_DRAWABLE (s->f), color); f 1300 src/haikuterm.c BView_SetPenSize (FRAME_HAIKU_DRAWABLE (s->f), 1); f 1301 src/haikuterm.c BView_StrokeRectangle (FRAME_HAIKU_DRAWABLE (s->f), f 1341 src/haikuterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 1345 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1411 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1418 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1426 src/haikuterm.c struct frame *f = WINDOW_XFRAME (w); f 1438 src/haikuterm.c BView_ClipToRect (FRAME_HAIKU_DRAWABLE (f), x, y, width, height); f 1442 src/haikuterm.c haiku_update_begin (struct frame *f) f 1446 src/haikuterm.c FRAME_COMPLETE_P (f) = false; f 1450 src/haikuterm.c haiku_update_end (struct frame *f) f 1452 src/haikuterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 1453 src/haikuterm.c BWindow_Flush (FRAME_HAIKU_WINDOW (f)); f 1461 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f); f 1482 src/haikuterm.c BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg); f 1683 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (s->f); f 1799 src/haikuterm.c BView_SetHighColor (view, FRAME_CURSOR_COLOR (s->f).pixel); f 1816 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (s->f);; f 1821 src/haikuterm.c prepare_face_for_display (s->f, s->face); f 1835 src/haikuterm.c prepare_face_for_display (s->f, next->face); f 1990 src/haikuterm.c struct frame *f; f 1998 src/haikuterm.c && (f = XFRAME (w->frame), f 1999 src/haikuterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 2007 src/haikuterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 2009 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 2014 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2018 src/haikuterm.c ? FRAME_BACKGROUND_PIXEL (f) f 2021 src/haikuterm.c BView_FillRectangle (view, FRAME_PIXEL_WIDTH (f) - width, f 2023 src/haikuterm.c BView_invalidate_region (FRAME_HAIKU_DRAWABLE (f), f 2025 src/haikuterm.c BView_invalidate_region (view, FRAME_PIXEL_WIDTH (f) - width, f 2032 src/haikuterm.c haiku_clear_frame_area (f, 0, y, width, height); f 2033 src/haikuterm.c haiku_clear_frame_area (f, FRAME_PIXEL_WIDTH (f) - width, f 2041 src/haikuterm.c haiku_set_window_size (struct frame *f, bool change_gravity, f 2049 src/haikuterm.c XSETFRAME (frame, f); f 2053 src/haikuterm.c && f->want_fullscreen == FULLSCREEN_NONE f 2057 src/haikuterm.c && FRAME_OUTPUT_DATA (f)->configury_done) f 2060 src/haikuterm.c haiku_update_size_hints (f); f 2062 src/haikuterm.c if (FRAME_HAIKU_WINDOW (f)) f 2065 src/haikuterm.c BWindow_resize (FRAME_HAIKU_WINDOW (f), f 2068 src/haikuterm.c if (FRAME_VISIBLE_P (f) f 2069 src/haikuterm.c && (width != FRAME_PIXEL_WIDTH (f) f 2070 src/haikuterm.c || height != FRAME_PIXEL_HEIGHT (f))) f 2071 src/haikuterm.c haiku_wait_for_event (f, FRAME_RESIZED); f 2081 src/haikuterm.c struct frame *f; f 2087 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2088 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2102 src/haikuterm.c foreground = FRAME_CURSOR_COLOR (f).pixel; f 2134 src/haikuterm.c struct frame *f; f 2142 src/haikuterm.c f = XFRAME (w->frame); f 2161 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2162 src/haikuterm.c face = FACE_FROM_ID (f, cursor_glyph->face_id); f 2169 src/haikuterm.c if (face->background == FRAME_CURSOR_COLOR (f).pixel) f 2172 src/haikuterm.c foreground = FRAME_CURSOR_COLOR (f).pixel; f 2185 src/haikuterm.c width = FRAME_CURSOR_WIDTH (f); f 2277 src/haikuterm.c haiku_show_hourglass (struct frame *f) f 2279 src/haikuterm.c if (FRAME_TOOLTIP_P (f) f 2280 src/haikuterm.c || FRAME_OUTPUT_DATA (f)->hourglass_p) f 2284 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_p = 1; f 2286 src/haikuterm.c if (FRAME_HAIKU_VIEW (f)) f 2287 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2288 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_cursor); f 2293 src/haikuterm.c haiku_hide_hourglass (struct frame *f) f 2295 src/haikuterm.c if (FRAME_TOOLTIP_P (f) f 2296 src/haikuterm.c || !FRAME_OUTPUT_DATA (f)->hourglass_p) f 2300 src/haikuterm.c FRAME_OUTPUT_DATA (f)->hourglass_p = 0; f 2302 src/haikuterm.c if (FRAME_HAIKU_VIEW (f)) f 2303 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), f 2304 src/haikuterm.c FRAME_OUTPUT_DATA (f)->current_cursor); f 2343 src/haikuterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2346 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 2347 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2358 src/haikuterm.c haiku_set_scroll_bar_default_width (struct frame *f) f 2362 src/haikuterm.c unit = FRAME_COLUMN_WIDTH (f); f 2365 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = size; f 2366 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (size + unit - 1) / unit; f 2370 src/haikuterm.c haiku_set_scroll_bar_default_height (struct frame *f) f 2374 src/haikuterm.c height = FRAME_LINE_HEIGHT (f); f 2377 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = size; f 2378 src/haikuterm.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (size + height - 1) / height; f 2384 src/haikuterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2385 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 2387 src/haikuterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 2389 src/haikuterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 2390 src/haikuterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 2393 src/haikuterm.c : FRAME_FOREGROUND_PIXEL (f)); f 2396 src/haikuterm.c : FRAME_FOREGROUND_PIXEL (f)); f 2397 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2460 src/haikuterm.c struct frame *f; f 2466 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2471 src/haikuterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 2474 src/haikuterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 2476 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); f 2488 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2491 src/haikuterm.c fset_scroll_bars (f, barobj); f 2500 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2505 src/haikuterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 2508 src/haikuterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 2510 src/haikuterm.c fset_condemned_scroll_bars (f, bar->next); f 2522 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2525 src/haikuterm.c fset_scroll_bars (f, barobj); f 2532 src/haikuterm.c haiku_judge_scroll_bars (struct frame *f) f 2536 src/haikuterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 2540 src/haikuterm.c fset_condemned_scroll_bars (f, Qnil); f 2560 src/haikuterm.c struct frame *f; f 2566 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2567 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2588 src/haikuterm.c bar->next = FRAME_SCROLL_BARS (f); f 2592 src/haikuterm.c fset_scroll_bars (f, barobj); f 2719 src/haikuterm.c struct frame *f; f 2724 src/haikuterm.c f = XFRAME (WINDOW_FRAME (w)); f 2725 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 2748 src/haikuterm.c rec = haiku_get_bitmap_rec (f, face->stipple); f 2756 src/haikuterm.c 0, 0, FRAME_PIXEL_WIDTH (f), f 2757 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 2840 src/haikuterm.c struct frame *f = XFRAME (w->frame); f 2841 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 2963 src/haikuterm.c haiku_flush (struct frame *f) f 2967 src/haikuterm.c if (FRAME_DIRTY_P (f) && !buffer_flipping_blocked_p ()) f 2968 src/haikuterm.c haiku_flip_buffers (f); f 2972 src/haikuterm.c FRAME_COMPLETE_P (f) = true; f 2974 src/haikuterm.c if (FRAME_VISIBLE_P (f) && !FRAME_TOOLTIP_P (f)) f 2975 src/haikuterm.c BWindow_Flush (FRAME_HAIKU_WINDOW (f)); f 2979 src/haikuterm.c haiku_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 2981 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 2985 src/haikuterm.c if (!f->pointer_invisible && FRAME_HAIKU_VIEW (f) f 2986 src/haikuterm.c && !FRAME_OUTPUT_DATA (f)->hourglass_p) f 2987 src/haikuterm.c BView_set_view_cursor (FRAME_HAIKU_VIEW (f), cursor); f 2989 src/haikuterm.c FRAME_OUTPUT_DATA (f)->current_cursor = cursor; f 2993 src/haikuterm.c haiku_default_font_parameter (struct frame *f, Lisp_Object parms) f 2995 src/haikuterm.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3007 src/haikuterm.c font = font_open_by_spec (f, Ffont_get_system_font ()); f 3027 src/haikuterm.c = font_open_by_name (f, build_unibyte_string (names[i])); f 3035 src/haikuterm.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", f 3072 src/haikuterm.c haiku_make_fullscreen_consistent (struct frame *f) f 3077 src/haikuterm.c output = FRAME_OUTPUT_DATA (f); f 3090 src/haikuterm.c store_frame_param (f, Qfullscreen, lval); f 3094 src/haikuterm.c haiku_flush_dirty_back_buffer_on (struct frame *f) f 3096 src/haikuterm.c if (FRAME_GARBAGED_P (f) f 3100 src/haikuterm.c || !FRAME_COMPLETE_P (f) f 3101 src/haikuterm.c || !FRAME_DIRTY_P (f)) f 3104 src/haikuterm.c haiku_flip_buffers (f); f 3110 src/haikuterm.c haiku_wait_for_event (struct frame *f, int type) f 3124 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = type; f 3126 src/haikuterm.c while (FRAME_OUTPUT_DATA (f)->wait_for_event_type == type) f 3180 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3182 src/haikuterm.c if (!f) f 3186 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3192 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3194 src/haikuterm.c if (!f) f 3200 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->wait_for_event_type f 3202 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = -1; f 3204 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 3206 src/haikuterm.c if (FRAME_PIXEL_WIDTH (f) != width f 3207 src/haikuterm.c || FRAME_PIXEL_HEIGHT (f) != height) f 3208 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3210 src/haikuterm.c FRAME_PIXEL_WIDTH (f) = width; f 3211 src/haikuterm.c FRAME_PIXEL_HEIGHT (f) = height; f 3213 src/haikuterm.c haiku_clear_under_internal_border (f); f 3218 src/haikuterm.c haiku_flush (f); f 3222 src/haikuterm.c BView_draw_lock (FRAME_HAIKU_DRAWABLE (f), false, 0, 0, 0, 0); f 3223 src/haikuterm.c BView_resize_to (FRAME_HAIKU_DRAWABLE (f), width, height); f 3224 src/haikuterm.c BView_draw_unlock (FRAME_HAIKU_DRAWABLE (f)); f 3226 src/haikuterm.c if (width != FRAME_PIXEL_WIDTH (f) f 3227 src/haikuterm.c || height != FRAME_PIXEL_HEIGHT (f) f 3228 src/haikuterm.c || (f->new_size_p f 3229 src/haikuterm.c && ((f->new_width >= 0 && width != f->new_width) f 3230 src/haikuterm.c || (f->new_height >= 0 && height != f->new_height)))) f 3232 src/haikuterm.c change_frame_size (f, width, height, false, true, false); f 3233 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3234 src/haikuterm.c cancel_mouse_face (f); f 3235 src/haikuterm.c haiku_clear_under_internal_border (f); f 3243 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3245 src/haikuterm.c if (!f) f 3248 src/haikuterm.c expose_frame (f, b->x, b->y, b->width, b->height); f 3249 src/haikuterm.c haiku_clear_under_internal_border (f); f 3256 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3258 src/haikuterm.c if (!f) f 3264 src/haikuterm.c && (f == 0 f 3265 src/haikuterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 3266 src/haikuterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window))) f 3294 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3300 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3302 src/haikuterm.c if (!f) f 3305 src/haikuterm.c if ((x_display_list->focus_event_frame != f && b->activated_p) f 3306 src/haikuterm.c || (x_display_list->focus_event_frame == f && !b->activated_p)) f 3308 src/haikuterm.c haiku_new_focus_frame (b->activated_p ? f : NULL); f 3310 src/haikuterm.c x_display_list->focus_event_frame = f; f 3314 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3322 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3324 src/haikuterm.c if (!f) f 3327 src/haikuterm.c if (b->y > 0 && b->y <= FRAME_PIXEL_HEIGHT (f) f 3328 src/haikuterm.c && b->x > 0 && b->x <= FRAME_PIXEL_WIDTH (f)) f 3331 src/haikuterm.c if (f->auto_lower && !popup_activated_p) f 3332 src/haikuterm.c haiku_frame_raise_lower (f, 0); f 3339 src/haikuterm.c struct frame *f = haiku_mouse_or_wdesc_frame (b->window, true); f 3343 src/haikuterm.c if (!f) f 3346 src/haikuterm.c if (FRAME_TOOLTIP_P (f)) f 3365 src/haikuterm.c XSETFRAME (frame, f); f 3374 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3379 src/haikuterm.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 3381 src/haikuterm.c if (f == hlinfo->mouse_face_mouse_frame) f 3388 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3391 src/haikuterm.c if (f == x_display_list->last_mouse_glyph_frame) f 3394 src/haikuterm.c if (f->auto_lower && !popup_activated_p f 3396 src/haikuterm.c && !BView_inside_scroll_bar (FRAME_HAIKU_VIEW (f), f 3402 src/haikuterm.c if (b->x > FRAME_PIXEL_WIDTH (f) f 3403 src/haikuterm.c || b->y >= FRAME_MENU_BAR_HEIGHT (f) f 3406 src/haikuterm.c haiku_frame_raise_lower (f, 0); f 3419 src/haikuterm.c struct haiku_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3427 src/haikuterm.c && f == dpyinfo->last_mouse_motion_frame f 3434 src/haikuterm.c dpyinfo->last_mouse_motion_frame = f; f 3452 src/haikuterm.c || (f != hlinfo->mouse_face_mouse_frame f 3459 src/haikuterm.c if (f != dpyinfo->last_mouse_glyph_frame f 3463 src/haikuterm.c f->mouse_moved = true; f 3464 src/haikuterm.c note_mouse_highlight (f, b->x, b->y); f 3465 src/haikuterm.c remember_mouse_glyph (f, b->x, b->y, f 3466 src/haikuterm.c &FRAME_DISPLAY_INFO (f)->last_mouse_glyph); f 3467 src/haikuterm.c dpyinfo->last_mouse_glyph_frame = f; f 3475 src/haikuterm.c Lisp_Object window = window_from_coordinates (f, b->x, b->y, 0, 0, 0); f 3483 src/haikuterm.c || f == SELECTED_FRAME ())) f 3492 src/haikuterm.c if (f->auto_raise) f 3494 src/haikuterm.c if (!BWindow_is_active (FRAME_HAIKU_WINDOW (f))) f 3495 src/haikuterm.c haiku_frame_raise_lower (f, 1); f 3517 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3526 src/haikuterm.c if (FRAME_DIRTY_P (f)) f 3527 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3534 src/haikuterm.c struct frame *f = haiku_mouse_or_wdesc_frame (b->window, false); f 3540 src/haikuterm.c if (popup_activated_p || !f) f 3551 src/haikuterm.c if (WINDOWP (f->tab_bar_window) f 3552 src/haikuterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 3558 src/haikuterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 3559 src/haikuterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 3564 src/haikuterm.c (f, x, y, type == BUTTON_DOWN, inev.modifiers); f 3565 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3569 src/haikuterm.c if (WINDOWP (f->tool_bar_window) f 3570 src/haikuterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 3576 src/haikuterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 3577 src/haikuterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 3579 src/haikuterm.c || f->last_tool_bar_item != -1)); f 3584 src/haikuterm.c (f, x, y, type == BUTTON_DOWN, inev.modifiers); f 3585 src/haikuterm.c haiku_flush_dirty_back_buffer_on (f); f 3599 src/haikuterm.c x_display_list->last_mouse_frame = f; f 3601 src/haikuterm.c if (f && !tab_bar_p) f 3602 src/haikuterm.c f->last_tab_bar_item = -1; f 3603 src/haikuterm.c if (f && !tool_bar_p) f 3604 src/haikuterm.c f->last_tool_bar_item = -1; f 3624 src/haikuterm.c f->mouse_moved = false; f 3647 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3655 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3657 src/haikuterm.c if (!f) f 3662 src/haikuterm.c SET_FRAME_VISIBLE (f, 1); f 3663 src/haikuterm.c SET_FRAME_ICONIFIED (f, 0); f 3669 src/haikuterm.c if (!EmacsView_double_buffered_p (FRAME_HAIKU_VIEW (f))) f 3671 src/haikuterm.c SET_FRAME_GARBAGED (f); f 3672 src/haikuterm.c expose_frame (f, 0, 0, 0, 0); f 3677 src/haikuterm.c SET_FRAME_VISIBLE (f, 0); f 3678 src/haikuterm.c SET_FRAME_ICONIFIED (f, 1); f 3682 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3688 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3692 src/haikuterm.c if (!f) f 3695 src/haikuterm.c FRAME_OUTPUT_DATA (f)->frame_x = b->x; f 3696 src/haikuterm.c FRAME_OUTPUT_DATA (f)->frame_y = b->y; f 3698 src/haikuterm.c if (FRAME_PARENT_FRAME (f)) f 3699 src/haikuterm.c haiku_coords_from_parent (f, &b->x, &b->y); f 3704 src/haikuterm.c if (left != f->left_pos || top != f->top_pos) f 3711 src/haikuterm.c f->left_pos = left; f 3712 src/haikuterm.c f->top_pos = top; f 3714 src/haikuterm.c p = FRAME_PARENT_FRAME (f); f 3720 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3723 src/haikuterm.c haiku_make_fullscreen_consistent (f); f 3827 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3832 src/haikuterm.c if (!f) f 3835 src/haikuterm.c BView_get_mouse (FRAME_HAIKU_VIEW (f), &x, &y); f 3837 src/haikuterm.c wheel_window = window_from_coordinates (f, x, y, 0, false, false); f 3841 src/haikuterm.c scroll_width = FRAME_PIXEL_WIDTH (f); f 3842 src/haikuterm.c scroll_height = FRAME_PIXEL_HEIGHT (f); f 3865 src/haikuterm.c if (fabsf (py) >= FRAME_LINE_HEIGHT (f) f 3866 src/haikuterm.c || fabsf (px) >= FRAME_COLUMN_WIDTH (f) f 3878 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3896 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3898 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3901 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->wait_for_event_type f 3903 src/haikuterm.c FRAME_OUTPUT_DATA (f)->wait_for_event_type = -1; f 3905 src/haikuterm.c int old_height = FRAME_MENU_BAR_HEIGHT (f); f 3907 src/haikuterm.c FRAME_MENU_BAR_HEIGHT (f) = b->height; f 3908 src/haikuterm.c FRAME_MENU_BAR_LINES (f) f 3909 src/haikuterm.c = (b->height + FRAME_LINE_HEIGHT (f)) / FRAME_LINE_HEIGHT (f); f 3913 src/haikuterm.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 3914 src/haikuterm.c haiku_clear_under_internal_border (f); f 3921 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3923 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3926 src/haikuterm.c if (!FRAME_OUTPUT_DATA (f)->saved_menu_event) f 3927 src/haikuterm.c FRAME_OUTPUT_DATA (f)->saved_menu_event = xmalloc (sizeof *b); f 3928 src/haikuterm.c *FRAME_OUTPUT_DATA (f)->saved_menu_event = *b; f 3930 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 3937 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3939 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3944 src/haikuterm.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 1; f 3952 src/haikuterm.c if (FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 3954 src/haikuterm.c FRAME_OUTPUT_DATA (f)->menu_bar_open_p = 0; f 3963 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3965 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f)) f 3968 src/haikuterm.c find_and_call_menu_selection (f, f->menu_bar_items_used, f 3969 src/haikuterm.c f->menu_bar_vector, b->ptr); f 3979 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3980 src/haikuterm.c if (!f || !FRAME_EXTERNAL_MENU_BAR (f) f 3981 src/haikuterm.c || !FRAME_OUTPUT_DATA (f)->menu_bar_open_p) f 3984 src/haikuterm.c run_menu_bar_help_event (f, b->mb_idx); f 3990 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 3992 src/haikuterm.c if (!f) f 3996 src/haikuterm.c f->want_fullscreen = FULLSCREEN_NONE; f 3998 src/haikuterm.c f->want_fullscreen = FULLSCREEN_MAXIMIZED; f 4000 src/haikuterm.c FRAME_TERMINAL (f)->fullscreen_hook (f); f 4006 src/haikuterm.c struct frame *f = haiku_window_to_frame (b->window); f 4008 src/haikuterm.c if (!f) f 4019 src/haikuterm.c XSETFRAME (inev.frame_or_window, f); f 4102 src/haikuterm.c haiku_get_focus_frame (struct frame *f) f 4107 src/haikuterm.c focus = FRAME_DISPLAY_INFO (f)->focused_frame; f 4123 src/haikuterm.c haiku_delete_window (struct frame *f) f 4125 src/haikuterm.c check_window_system (f); f 4126 src/haikuterm.c haiku_free_frame_resources (f); f 4130 src/haikuterm.c haiku_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4136 src/haikuterm.c haiku_flash (struct frame *f) f 4139 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4141 src/haikuterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 4143 src/haikuterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 4144 src/haikuterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 4146 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4155 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4156 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4159 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4162 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4163 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4168 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)), f 4173 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4174 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4178 src/haikuterm.c flush_frame (f); f 4181 src/haikuterm.c haiku_flip_buffers (f); f 4200 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4201 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4204 src/haikuterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 4207 src/haikuterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 4208 src/haikuterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 4213 src/haikuterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)), f 4218 src/haikuterm.c BView_InvertRect (view, flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 4219 src/haikuterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 4223 src/haikuterm.c flush_frame (f); f 4225 src/haikuterm.c haiku_flip_buffers (f); f 4229 src/haikuterm.c haiku_beep (struct frame *f) f 4233 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4237 src/haikuterm.c haiku_flash (f); f 4246 src/haikuterm.c haiku_toggle_invisible_pointer (struct frame *f, bool invisible_p) f 4248 src/haikuterm.c void *view = FRAME_HAIKU_VIEW (f); f 4250 src/haikuterm.c if (view && !FRAME_TOOLTIP_P (f)) f 4254 src/haikuterm.c ? FRAME_OUTPUT_DATA (f)->no_cursor f 4255 src/haikuterm.c : FRAME_OUTPUT_DATA (f)->current_cursor)); f 4256 src/haikuterm.c f->pointer_invisible = invisible_p; f 4262 src/haikuterm.c haiku_fullscreen (struct frame *f) f 4270 src/haikuterm.c if (!FRAME_OUTPUT_DATA (f)->configury_done) f 4273 src/haikuterm.c if (f->want_fullscreen == FULLSCREEN_MAXIMIZED) f 4275 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_BOTH) f 4277 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_WIDTH) f 4279 src/haikuterm.c else if (f->want_fullscreen == FULLSCREEN_HEIGHT) f 4284 src/haikuterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4285 src/haikuterm.c be_set_window_fullscreen_mode (FRAME_HAIKU_WINDOW (f), mode); f 4286 src/haikuterm.c FRAME_OUTPUT_DATA (f)->fullscreen_mode = mode; f 4288 src/haikuterm.c haiku_update_size_hints (f); f 4289 src/haikuterm.c haiku_make_fullscreen_consistent (f); f 4457 src/haikuterm.c haiku_clear_under_internal_border (struct frame *f) f 4459 src/haikuterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4462 src/haikuterm.c && FRAME_FACE_CACHE (f)) f 4464 src/haikuterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4465 src/haikuterm.c int width = FRAME_PIXEL_WIDTH (f); f 4466 src/haikuterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4467 src/haikuterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4469 src/haikuterm.c (FRAME_PARENT_FRAME (f) f 4471 src/haikuterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 4474 src/haikuterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 4476 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4477 src/haikuterm.c void *view = FRAME_HAIKU_DRAWABLE (f); f 4480 src/haikuterm.c BView_draw_lock (view, true, 0, 0, FRAME_PIXEL_WIDTH (f), f 4481 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4483 src/haikuterm.c BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), f 4484 src/haikuterm.c FRAME_PIXEL_HEIGHT (f)); f 4489 src/haikuterm.c BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); f 4516 src/haikuterm.c struct frame *f; f 4518 src/haikuterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 4519 src/haikuterm.c view = FRAME_HAIKU_DRAWABLE (f); f 4577 src/haikuterm.c haiku_begin_cr_clip (struct frame *f, struct glyph_string *s) f 4579 src/haikuterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 4603 src/haikuterm.c unsigned long background = FRAME_CURSOR_COLOR (s->f).pixel; f 4609 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 183 src/image.c static unsigned long lookup_rgb_color (struct frame *f, int r, int g, int b); f 234 src/image.c image_pix_container_create_from_bitmap_data (struct frame *f, f 350 src/image.c x_bitmap_height (struct frame *f, ptrdiff_t id) f 352 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].height; f 356 src/image.c x_bitmap_width (struct frame *f, ptrdiff_t id) f 358 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].width; f 363 src/image.c x_bitmap_stipple (struct frame *f, Pixmap pixmap) f 365 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 376 src/image.c = cairo_xlib_surface_create_for_bitmap (FRAME_X_DISPLAY (f), f 378 src/image.c FRAME_X_SCREEN (f), f 399 src/image.c image_bitmap_pixmap (struct frame *f, ptrdiff_t id) f 402 src/image.c return (ptrdiff_t) FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].pixmap; f 408 src/image.c x_bitmap_mask (struct frame *f, ptrdiff_t id) f 410 src/image.c return FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].mask; f 417 src/image.c image_allocate_bitmap_record (struct frame *f) f 419 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 438 src/image.c image_reference_bitmap (struct frame *f, ptrdiff_t id) f 440 src/image.c ++FRAME_DISPLAY_INFO (f)->bitmaps[id - 1].refcount; f 445 src/image.c image_create_pattern_from_pixbuf (struct frame *f, GdkPixbuf * pixbuf) f 450 src/image.c (f->output_data.pgtk->cr_context), f 474 src/image.c image_create_bitmap_from_data (struct frame *f, char *bits, f 477 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 482 src/image.c bitmap = XCreateBitmapFromData (FRAME_X_DISPLAY (f), f 566 src/image.c ? f->foreground_pixel f 567 src/image.c : f->background_pixel)); f 572 src/image.c id = image_allocate_bitmap_record (f); f 583 src/image.c image_create_pattern_from_pixbuf (f, pixbuf); f 591 src/image.c = f->foreground_pixel & 0xffffffff; f 593 src/image.c = f->background_pixel & 0xffffffff; f 629 src/image.c image_create_bitmap_from_file (struct frame *f, Lisp_Object file) f 634 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 651 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 669 src/image.c id = image_allocate_bitmap_record (f); f 693 src/image.c id = image_allocate_bitmap_record (f); f 701 src/image.c = image_create_pattern_from_pixbuf (f, bitmap); f 733 src/image.c result = XReadBitmapFile (FRAME_X_DISPLAY (f), f 740 src/image.c id = image_allocate_bitmap_record (f); f 789 src/image.c rc = xbm_read_bitmap_data (f, contents, contents + size, f 807 src/image.c id = image_allocate_bitmap_record (f); f 816 src/image.c = f->foreground_pixel & 0xffffffff; f 818 src/image.c = f->background_pixel & 0xffffffff; f 828 src/image.c ? f->foreground_pixel f 829 src/image.c : f->background_pixel)); f 884 src/image.c image_destroy_bitmap (struct frame *f, ptrdiff_t id) f 886 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 935 src/image.c #define image_get_x_image_or_dc(f, img, mask_p, dummy) \ f 936 src/image.c image_get_x_image (f, img, mask_p) f 959 src/image.c x_create_bitmap_mask (struct frame *f, ptrdiff_t id) f 969 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 974 src/image.c pixmap = image_bitmap_pixmap (f, id); f 975 src/image.c width = x_bitmap_width (f, id); f 976 src/image.c height = x_bitmap_height (f, id); f 979 src/image.c ximg = XGetImage (FRAME_X_DISPLAY (f), pixmap, 0, 0, width, height, f 988 src/image.c result = x_create_x_image_and_pixmap (f, width, height, 1, &mask_img, &mask); f 1039 src/image.c gc = XCreateGC (FRAME_X_DISPLAY (f), mask, 0, NULL); f 1040 src/image.c XPutImage (FRAME_X_DISPLAY (f), mask, gc, mask_img, 0, 0, 0, 0, f 1042 src/image.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 1071 src/image.c bool (*load_img) (struct frame *f, struct image *img); f 1074 src/image.c void (*free_img) (struct frame *f, struct image *img); f 1087 src/image.c # define IMAGE_TYPE_INIT(f) f f 1089 src/image.c # define IMAGE_TYPE_INIT(f) f 1400 src/image.c struct frame *f = decode_window_system_frame (frame); f 1401 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1402 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1407 src/image.c size = Fcons (make_float ((double) width / FRAME_COLUMN_WIDTH (f)), f 1408 src/image.c make_float ((double) height / FRAME_LINE_HEIGHT (f))); f 1430 src/image.c struct frame *f = decode_window_system_frame (frame); f 1431 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1432 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1453 src/image.c struct frame *f = decode_window_system_frame (frame); f 1454 src/image.c ptrdiff_t id = lookup_image (f, spec, -1); f 1455 src/image.c struct image *img = IMAGE_FROM_ID (f, id); f 1493 src/image.c free_image (struct frame *f, struct image *img) f 1497 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 1512 src/image.c XRenderFreePicture (FRAME_X_DISPLAY (f), img->picture); f 1514 src/image.c XRenderFreePicture (FRAME_X_DISPLAY (f), img->mask_picture); f 1518 src/image.c img->type->free_img (f, img); f 1527 src/image.c check_image_size (struct frame *f, int width, int height) f 1539 src/image.c if (f != NULL) f 1541 src/image.c w = FRAME_PIXEL_WIDTH (f); f 1542 src/image.c h = FRAME_PIXEL_HEIGHT (f); f 1557 src/image.c prepare_image_for_display (struct frame *f, struct image *img) f 1565 src/image.c img->load_failed_p = ! img->type->load_img (f, img); f 1576 src/image.c IMAGE_BACKGROUND (img, f, img->pixmap); f 1577 src/image.c IMAGE_BACKGROUND_TRANSPARENT (img, f, img->mask); f 1582 src/image.c img->type->free_img (f, img); f 1591 src/image.c image_sync_to_pixmaps (f, img); f 1694 src/image.c image_background (struct image *img, struct frame *f, Emacs_Pix_Context pimg) f 1705 src/image.c pimg = image_get_x_image_or_dc (f, img, 0, &prev); f 1716 src/image.c bg = image_alloc_image_color (f, img, build_string (color_name), 0); f 1736 src/image.c image_background_transparent (struct image *img, struct frame *f, f 1750 src/image.c mask = image_get_x_image_or_dc (f, img, 1, &prev); f 1783 src/image.c image_clear_image_1 (struct frame *f, struct image *img, int flags) f 1789 src/image.c FRAME_TERMINAL (f)->free_pixmap (f, img->pixmap); f 1808 src/image.c FRAME_TERMINAL (f)->free_pixmap (f, img->mask); f 1826 src/image.c x_free_colors (f, img->colors, img->ncolors); f 1845 src/image.c image_clear_image (struct frame *f, struct image *img) f 1848 src/image.c image_clear_image_1 (f, img, f 1862 src/image.c image_alloc_image_color (struct frame *f, struct image *img, f 1870 src/image.c if (FRAME_TERMINAL (f)->defined_color_hook (f, f 1898 src/image.c static void cache_image (struct frame *f, struct image *img); f 1918 src/image.c search_image_cache (struct frame *f, Lisp_Object spec, EMACS_UINT hash, f 1923 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 1993 src/image.c uncache_image (struct frame *f, Lisp_Object spec) f 2002 src/image.c while ((img = search_image_cache (f, spec, hash, 0, 0, 0, NULL, true))) f 2004 src/image.c free_image (f, img); f 2007 src/image.c SET_FRAME_GARBAGED (f); f 2016 src/image.c free_image_cache (struct frame *f) f 2018 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2027 src/image.c free_image (f, c->images[i]); f 2031 src/image.c FRAME_IMAGE_CACHE (f) = NULL; f 2045 src/image.c clear_image_cache (struct frame *f, Lisp_Object filter) f 2047 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2049 src/image.c if (c && !f->inhibit_clear_image_cache) f 2066 src/image.c free_image (f, img); f 2097 src/image.c free_image (f, img); f 2220 src/image.c image_frame_cache_size (struct frame *f) f 2222 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 2254 src/image.c struct frame *f = XFRAME (frame); f 2255 src/image.c if (FRAME_WINDOW_P (f)) f 2256 src/image.c uncache_image (f, spec); f 2270 src/image.c postprocess_image (struct frame *f, struct image *img) f 2292 src/image.c image_build_heuristic_mask (f, img, mask); f 2300 src/image.c image_build_heuristic_mask (f, img, Qt); f 2305 src/image.c image_build_heuristic_mask (f, img, XCAR (XCDR (mask))); f 2307 src/image.c image_build_heuristic_mask (f, img, XCDR (mask)); f 2310 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 2317 src/image.c image_disable_image (f, img); f 2319 src/image.c image_laplace (f, img); f 2321 src/image.c image_emboss (f, img); f 2328 src/image.c image_edge_detection (f, img, f 2570 src/image.c image_set_transform (struct frame *f, struct image *img) f 2611 src/image.c width = img->width / FRAME_SCALE_FACTOR (f); f 2612 src/image.c height = img->height / FRAME_SCALE_FACTOR (f); f 2830 src/image.c XRenderSetPictureFilter (FRAME_X_DISPLAY (f), img->picture, f 2832 src/image.c XRenderSetPictureTransform (FRAME_X_DISPLAY (f), img->picture, &tmat); f 2836 src/image.c XRenderSetPictureFilter (FRAME_X_DISPLAY (f), img->mask_picture, f 2838 src/image.c XRenderSetPictureTransform (FRAME_X_DISPLAY (f), img->mask_picture, f 2869 src/image.c lookup_image (struct frame *f, Lisp_Object spec, int face_id) f 2874 src/image.c if (FRAME_FACE_CACHE (f) == NULL) f 2875 src/image.c init_frame_faces (f); f 2876 src/image.c if (FRAME_FACE_CACHE (f)->used == 0) f 2877 src/image.c recompute_basic_faces (f); f 2878 src/image.c if (face_id < 0 || face_id >= FRAME_FACE_CACHE (f)->used) f 2881 src/image.c struct face *face = FACE_FROM_ID (f, face_id); f 2889 src/image.c eassert (FRAME_WINDOW_P (f)); f 2894 src/image.c img = search_image_cache (f, spec, hash, foreground, background, f 2898 src/image.c free_image (f, img); f 2907 src/image.c cache_image (f, img); f 2913 src/image.c img->load_failed_p = ! img->type->load_img (f, img); f 2967 src/image.c = image_alloc_image_color (f, img, bg, background); f 2975 src/image.c postprocess_image (f, img); f 2981 src/image.c image_set_transform (f, img); f 3000 src/image.c cache_image (struct frame *f, struct image *img) f 3002 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 3006 src/image.c c = FRAME_IMAGE_CACHE (f) = make_image_cache (); f 3200 src/image.c x_create_x_image_and_pixmap (struct frame *f, int width, int height, int depth, f 3203 src/image.c Display *display = FRAME_X_DISPLAY (f); f 3204 src/image.c Drawable drawable = FRAME_X_DRAWABLE (f); f 3209 src/image.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 3210 src/image.c *ximg = XCreateImage (display, FRAME_X_VISUAL (f), f 3259 src/image.c x_create_xrender_picture (struct frame *f, Emacs_Pixmap pixmap, int depth) f 3262 src/image.c Display *display = FRAME_X_DISPLAY (f); f 3264 src/image.c if (FRAME_DISPLAY_INFO (f)->xrender_supported_p) f 3267 src/image.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 3340 src/image.c image_create_x_image_and_pixmap_1 (struct frame *f, int width, int height, int depth, f 3359 src/image.c if (!x_create_x_image_and_pixmap (f, width, height, depth, pimg, pixmap)) f 3363 src/image.c *picture = x_create_xrender_picture (f, *pixmap, depth); f 3457 src/image.c hdc = get_frame_dc (f); f 3467 src/image.c release_frame_dc (f, hdc); f 3530 src/image.c gui_put_x_image (struct frame *f, Emacs_Pix_Container pimg, f 3539 src/image.c gc = XCreateGC (FRAME_X_DISPLAY (f), pixmap, 0, NULL); f 3540 src/image.c XPutImage (FRAME_X_DISPLAY (f), pixmap, gc, pimg, 0, 0, 0, 0, f 3542 src/image.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 3555 src/image.c image_create_x_image_and_pixmap (struct frame *f, struct image *img, f 3565 src/image.c return image_create_x_image_and_pixmap_1 (f, width, height, depth, ximg, f 3577 src/image.c image_put_x_image (struct frame *f, struct image *img, Emacs_Pix_Container ximg, f 3592 src/image.c gui_put_x_image (f, ximg, !mask_p ? img->pixmap : img->mask, f 3603 src/image.c image_sync_to_pixmaps (struct frame *f, struct image *img) f 3607 src/image.c gui_put_x_image (f, img->ximg, img->pixmap, img->width, img->height); f 3613 src/image.c gui_put_x_image (f, img->mask_img, img->mask, img->width, img->height); f 3626 src/image.c image_get_x_image_or_dc (struct frame *f, struct image *img, bool mask_p, f 3629 src/image.c HDC frame_dc = get_frame_dc (f); f 3632 src/image.c release_frame_dc (f, frame_dc); f 3650 src/image.c image_get_x_image (struct frame *f, struct image *img, bool mask_p) f 3661 src/image.c return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, f 3665 src/image.c return XGetImage (FRAME_X_DISPLAY (f), !mask_p ? img->pixmap : img->mask, f 4142 src/image.c convert_mono_to_color_image (struct frame *f, struct image *img, f 4149 src/image.c hdc = get_frame_dc (f); f 4153 src/image.c release_frame_dc (f, hdc); f 4183 src/image.c Create_Pixmap_From_Bitmap_Data (struct frame *f, struct image *img, char *data, f 4189 src/image.c FRAME_TERMINAL (f)->query_colors (f, fgbg, ARRAYELTS (fgbg)); f 4190 src/image.c fg = lookup_rgb_color (f, fgbg[0].red, fgbg[0].green, fgbg[0].blue); f 4191 src/image.c bg = lookup_rgb_color (f, fgbg[1].red, fgbg[1].green, fgbg[1].blue); f 4193 src/image.c = image_pix_container_create_from_bitmap_data (f, data, img->width, f 4197 src/image.c = XCreatePixmapFromBitmapData (FRAME_X_DISPLAY (f), f 4198 src/image.c FRAME_X_DRAWABLE (f), f 4202 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 4205 src/image.c img->picture = x_create_xrender_picture (f, img->pixmap, 0); f 4214 src/image.c convert_mono_to_color_image (f, img, fg, bg); f 4247 src/image.c xbm_read_bitmap_data (struct frame *f, char *contents, char *end, f 4302 src/image.c if (!check_image_size (f, *width, *height)) f 4408 src/image.c xbm_load_image (struct frame *f, struct image *img, char *contents, char *end) f 4414 src/image.c rc = xbm_read_bitmap_data (f, contents, end, &img->width, &img->height, f 4430 src/image.c foreground = image_alloc_image_color (f, img, value, foreground); f 4436 src/image.c background = image_alloc_image_color (f, img, value, background); f 4443 src/image.c Create_Pixmap_From_Bitmap_Data (f, img, data, f 4452 src/image.c image_clear_image (f, img); f 4482 src/image.c xbm_load (struct frame *f, struct image *img) f 4509 src/image.c success_p = xbm_load_image (f, img, contents, contents + size); f 4538 src/image.c if (!check_image_size (f, img->width, img->height)) f 4549 src/image.c foreground = image_alloc_image_color (f, f 4559 src/image.c background = image_alloc_image_color (f, f 4567 src/image.c success_p = xbm_load_image (f, img, SSDATA (data), f 4610 src/image.c Create_Pixmap_From_Bitmap_Data (f, img, bits, f 4622 src/image.c image_clear_image (f, img); f 4641 src/image.c static bool xpm_load (struct frame *f, struct image *img); f 4754 src/image.c xpm_init_color_cache (struct frame *f, XpmAttributes *attrs) f 4766 src/image.c if (x_parse_color (f, attrs->colorsymbols[i].value, &color)) f 4768 src/image.c color.pixel = lookup_rgb_color (f, color.red, color.green, f 4770 src/image.c xpm_cache_color (f, attrs->colorsymbols[i].name, &color, -1); f 4811 src/image.c xpm_cache_color (struct frame *f, char *color_name, XColor *color, int bucket) f 4834 src/image.c xpm_lookup_color (struct frame *f, char *color_name, XColor *color) f 4845 src/image.c else if (x_parse_color (f, color_name, color)) f 4847 src/image.c color->pixel = lookup_rgb_color (f, color->red, color->green, f 4849 src/image.c p = xpm_cache_color (f, color_name, color, h); f 4856 src/image.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 4857 src/image.c p = xpm_cache_color (f, color_name, color, h); f 4972 src/image.c x_create_bitmap_from_xpm_data (struct frame *f, const char **bits) f 4974 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4982 src/image.c attrs.visual = FRAME_X_VISUAL (f); f 4983 src/image.c attrs.colormap = FRAME_X_COLORMAP (f); f 4988 src/image.c attrs.color_closure = f; f 4992 src/image.c xpm_init_color_cache (f, &attrs); f 4995 src/image.c rc = XpmCreatePixmapFromData (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5003 src/image.c id = image_allocate_bitmap_record (f); f 5030 src/image.c xpm_load (struct frame *f, struct image *img) f 5047 src/image.c attrs.visual = FRAME_X_VISUAL (f); f 5048 src/image.c attrs.colormap = FRAME_X_COLORMAP (f); f 5049 src/image.c attrs.depth = FRAME_DISPLAY_INFO (f)->n_planes; f 5058 src/image.c attrs.color_closure = f; f 5127 src/image.c xpm_init_color_cache (f, &attrs); f 5134 src/image.c HDC frame_dc = get_frame_dc (f); f 5136 src/image.c release_frame_dc (f, frame_dc); f 5167 src/image.c rc = XpmReadFileToImage (FRAME_X_DISPLAY (f), SSDATA (file), f 5191 src/image.c rc = XpmCreateImageFromBuffer (FRAME_X_DISPLAY (f), SSDATA (buffer), f 5200 src/image.c img->pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5205 src/image.c image_clear_image (f, img); f 5211 src/image.c img->picture = x_create_xrender_picture (f, img->pixmap, f 5216 src/image.c img->mask = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 5222 src/image.c image_clear_image (f, img); f 5228 src/image.c (f, img->mask, img->mask_img->depth); f 5292 src/image.c IMAGE_BACKGROUND (img, f, img->ximg); f 5296 src/image.c image_background_transparent (img, f, img->mask_img); f 5525 src/image.c xpm_load_image (struct frame *f, f 5587 src/image.c if (!check_image_size (f, width, height)) f 5593 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0) f 5595 src/image.c || !image_create_x_image_and_pixmap (f, img, width, height, 1, f 5606 src/image.c XSETFRAME (frame, f); f 5679 src/image.c else if (FRAME_TERMINAL (f)->defined_color_hook f 5680 src/image.c (f, SSDATA (XCDR (specified_color)), &cdef, false, false)) f 5682 src/image.c = make_fixnum (lookup_rgb_color (f, cdef.red, cdef.green, f 5690 src/image.c else if (FRAME_TERMINAL (f)->defined_color_hook f 5691 src/image.c (f, max_color, &cdef, false, false)) f 5692 src/image.c color_val = make_fixnum (lookup_rgb_color (f, cdef.red, cdef.green, f 5701 src/image.c unsigned long frame_fg = FRAME_FOREGROUND_PIXEL (f); f 5705 src/image.c FRAME_TERMINAL (f)->query_colors (f, &color, 1); f 5706 src/image.c frame_fg = lookup_rgb_color (f, color.red, color.green, color.blue); f 5740 src/image.c IMAGE_BACKGROUND (img, f, ximg); f 5742 src/image.c image_put_x_image (f, img, ximg, 0); f 5748 src/image.c image_background_transparent (img, f, mask_img); f 5750 src/image.c image_put_x_image (f, img, mask_img, 1); f 5755 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 5764 src/image.c image_clear_image (f, img); f 5773 src/image.c xpm_load (struct frame *f, f 5799 src/image.c success_p = xpm_load_image (f, img, contents, contents + size); f 5812 src/image.c success_p = xpm_load_image (f, img, SSDATA (data), f 5903 src/image.c lookup_rgb_color (struct frame *f, int r, int g, int b) f 5914 src/image.c dpyinfo = FRAME_DISPLAY_INFO (f); f 5918 src/image.c if (f->gamma) f 5922 src/image.c gamma_correct (f, &color); f 5945 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 5952 src/image.c cmap = FRAME_X_COLORMAP (f); f 5953 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 5966 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 5994 src/image.c lookup_pixel_color (struct frame *f, unsigned long pixel) f 6010 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6013 src/image.c cmap = FRAME_X_COLORMAP (f); f 6015 src/image.c x_query_colors (f, &color, 1); f 6016 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 6019 src/image.c cmap = DefaultColormapOfScreen (FRAME_X_SCREEN (f)); f 6022 src/image.c rc = x_alloc_nearest_color (f, cmap, &color); f 6039 src/image.c return FRAME_FOREGROUND_PIXEL (f); f 6076 src/image.c lookup_rgb_color (struct frame *f, int r, int g, int b) f 6129 src/image.c image_to_emacs_colors (struct frame *f, struct image *img, bool rgb_p) f 6146 src/image.c ximg = image_get_x_image_or_dc (f, img, 0, &prev); f 6159 src/image.c FRAME_TERMINAL (f)->query_colors (f, row, img->width); f 6231 src/image.c image_from_emacs_colors (struct frame *f, struct image *img, Emacs_Color *colors) f 6241 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP | CLEAR_IMAGE_COLORS); f 6242 src/image.c image_create_x_image_and_pixmap (f, img, img->width, img->height, 0, f 6249 src/image.c pixel = lookup_rgb_color (f, p->red, p->green, p->blue); f 6255 src/image.c image_put_x_image (f, img, ximage, false); f 6272 src/image.c image_detect_edges (struct frame *f, struct image *img, f 6275 src/image.c Emacs_Color *colors = image_to_emacs_colors (f, img, 1); f 6333 src/image.c image_from_emacs_colors (f, img, new); f 6343 src/image.c image_emboss (struct frame *f, struct image *img) f 6345 src/image.c image_detect_edges (f, img, emboss_matrix, 0xffff / 2); f 6354 src/image.c image_laplace (struct frame *f, struct image *img) f 6356 src/image.c image_detect_edges (f, img, laplace_matrix, 45000); f 6372 src/image.c image_edge_detection (struct frame *f, struct image *img, f 6395 src/image.c image_detect_edges (f, img, trans, XFLOATINT (color_adjust)); f 6401 src/image.c image_pixmap_draw_cross (struct frame *f, Emacs_Pixmap pixmap, f 6426 src/image.c Display *dpy = FRAME_X_DISPLAY (f); f 6442 src/image.c image_disable_image (struct frame *f, struct image *img) f 6444 src/image.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 6456 src/image.c Emacs_Color *colors = image_to_emacs_colors (f, img, 1); f 6470 src/image.c image_from_emacs_colors (f, img, colors); f 6481 src/image.c #define CrossForeground(f) BLACK_PIX_DEFAULT (f) f 6482 src/image.c #define MaskForeground(f) WHITE_PIX_DEFAULT (f) f 6484 src/image.c #define CrossForeground(f) 0 f 6485 src/image.c #define MaskForeground(f) PIX_MASK_DRAW f 6489 src/image.c image_sync_to_pixmaps (f, img); f 6491 src/image.c image_pixmap_draw_cross (f, img->pixmap, 0, 0, img->width, img->height, f 6492 src/image.c CrossForeground (f)); f 6494 src/image.c image_pixmap_draw_cross (f, img->mask, 0, 0, img->width, img->height, f 6495 src/image.c MaskForeground (f)); f 6501 src/image.c hdc = get_frame_dc (f); f 6503 src/image.c release_frame_dc (f, hdc); f 6507 src/image.c SetTextColor (bmpdc, BLACK_PIX_DEFAULT (f)); f 6516 src/image.c SetTextColor (bmpdc, WHITE_PIX_DEFAULT (f)); f 6537 src/image.c image_build_heuristic_mask (struct frame *f, struct image *img, f 6553 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_MASK); f 6558 src/image.c if (! image_create_x_image_and_pixmap (f, img, img->width, img->height, 1, f 6569 src/image.c ximg = image_get_x_image_or_dc (f, img, 0, &prev); f 6595 src/image.c image_alloc_image_color (f, img, build_string (color_name), 0)); f 6597 src/image.c bg = lookup_rgb_color (f, rgb[0], rgb[1], rgb[2]); f 6620 src/image.c image_background_transparent (img, f, mask_img); f 6623 src/image.c image_put_x_image (f, img, mask_img, 1); f 6639 src/image.c image_background_transparent (img, f, ximg); f 6776 src/image.c pbm_load (struct frame *f, struct image *img) f 6879 src/image.c if (!check_image_size (f, width, height)) f 6885 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 6905 src/image.c fg = image_alloc_image_color (f, img, fmt[PBM_FOREGROUND].value, fg); f 6909 src/image.c bg = image_alloc_image_color (f, img, fmt[PBM_BACKGROUND].value, bg); f 6917 src/image.c FRAME_TERMINAL (f)->query_colors (f, fgbg, ARRAYELTS (fgbg)); f 6918 src/image.c fg = lookup_rgb_color (f, fgbg[0].red, fgbg[0].green, fgbg[0].blue); f 6919 src/image.c bg = lookup_rgb_color (f, fgbg[1].red, fgbg[1].green, fgbg[1].blue); f 6932 src/image.c image_clear_image (f, img); f 6970 src/image.c image_clear_image (f, img); f 7009 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 7027 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 7030 src/image.c image_put_x_image (f, img, ximg, 0); f 7115 src/image.c native_image_load (struct frame *f, struct image *img) f 7123 src/image.c return w32_load_image (f, img, image_file, f 7126 src/image.c return ns_load_image (f, img, image_file, f 7129 src/image.c return haiku_load_image (f, img, image_file, f 7432 src/image.c png_load_body (struct frame *f, struct image *img, struct png_load_context *c) f 7562 src/image.c && check_image_size (f, width, height))) f 7570 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 7623 src/image.c ? FRAME_TERMINAL (f)->defined_color_hook (f, f 7628 src/image.c : (FRAME_TERMINAL (f)->query_frame_background_color (f, &color), f 7679 src/image.c && !image_create_x_image_and_pixmap (f, img, width, height, 1, f 7683 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP); f 7701 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 7735 src/image.c img->background = lookup_rgb_color (f, bg->red, bg->green, bg->blue); f 7740 src/image.c = image_alloc_image_color (f, img, build_string (color_name), 0); f 7762 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 7765 src/image.c image_put_x_image (f, img, ximg, 0); f 7772 src/image.c image_background_transparent (img, f, (Emacs_Pix_Context)mask_img); f 7774 src/image.c image_put_x_image (f, img, mask_img, 1); f 7781 src/image.c png_load (struct frame *f, struct image *img) f 7784 src/image.c return png_load_body (f, img, &c); f 8168 src/image.c jpeg_load_body (struct frame *f, struct image *img, f 8240 src/image.c image_clear_image (f, img); f 8263 src/image.c if (!check_image_size (f, width, height)) f 8270 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 8304 src/image.c colors[i] = lookup_rgb_color (f, r, g, b); f 8334 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 8337 src/image.c image_put_x_image (f, img, ximg, 0); f 8343 src/image.c jpeg_load (struct frame *f, struct image *img) f 8346 src/image.c return jpeg_load_body (f, img, &mgr); f 8620 src/image.c tiff_load (struct frame *f, struct image *img) f 8709 src/image.c if (!check_image_size (f, width, height)) f 8718 src/image.c && image_create_x_image_and_pixmap (f, img, width, height, 0, f 8760 src/image.c PUT_PIXEL (ximg, x, height - 1 - y, lookup_rgb_color (f, r, g, b)); f 8776 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 8779 src/image.c image_put_x_image (f, img, ximg, 0); f 8834 src/image.c gif_clear_image (struct frame *f, struct image *img) f 8837 src/image.c image_clear_image (f, img); f 9031 src/image.c gif_load (struct frame *f, struct image *img) f 9144 src/image.c if (!check_image_size (f, gif->SWidth, gif->SHeight)) f 9227 src/image.c if (!check_image_size (f, width, height)) f 9235 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 9253 src/image.c frame_bg = FRAME_BACKGROUND_PIXEL (f); f 9257 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &color); f 9258 src/image.c frame_bg = lookup_rgb_color (f, color.red, color.green, color.blue); f 9285 src/image.c bgcolor = image_alloc_image_color (f, img, specified_bg, f 9286 src/image.c FRAME_BACKGROUND_PIXEL (f)); f 9289 src/image.c FRAME_TERMINAL (f)->query_colors (f, &color, 1); f 9290 src/image.c bgcolor = lookup_rgb_color (f, color.red, color.green, color.blue); f 9382 src/image.c pixel_colors[i] = lookup_rgb_color (f, r, g, b); f 9491 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 9494 src/image.c image_put_x_image (f, img, ximg, 0); f 9641 src/image.c #define WebPGetFeatures(d,s,f) \ f 9642 src/image.c fn_WebPGetFeaturesInternal(d,s,f,WEBP_DECODER_ABI_VERSION) f 9670 src/image.c webp_load (struct frame *f, struct image *img) f 9838 src/image.c && check_image_size (f, width, height))) f 9846 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, false)) f 9852 src/image.c && !image_create_x_image_and_pixmap (f, img, width, height, 1, f 9856 src/image.c image_clear_image_1 (f, img, CLEAR_IMAGE_PIXMAP); f 9878 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, r, g, b)); f 9900 src/image.c image_put_x_image (f, img, ximg, 0); f 9907 src/image.c image_background_transparent (img, f, (Emacs_Pix_Context)mask_img); f 9909 src/image.c image_put_x_image (f, img, mask_img, 1); f 10001 src/image.c imagemagick_clear_image (struct frame *f, f 10004 src/image.c image_clear_image (f, img); f 10308 src/image.c imagemagick_load_image (struct frame *f, struct image *img, f 10434 src/image.c || !FRAME_TERMINAL (f)->defined_color_hook (f, f 10439 src/image.c FRAME_TERMINAL (f)->query_frame_background_color (f, &bgcolor); f 10540 src/image.c && check_image_size (f, image_width, image_height))) f 10565 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, imagedepth, f 10606 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, f 10644 src/image.c lookup_rgb_color (f, f 10663 src/image.c image_put_x_image (f, img, ximg, 0); f 10691 src/image.c imagemagick_load (struct frame *f, struct image *img) f 10710 src/image.c success_p = imagemagick_load_image (f, img, 0, 0, SSDATA (file)); f 10724 src/image.c success_p = imagemagick_load_image (f, img, SDATA (data), f 11071 src/image.c svg_load (struct frame *f, struct image *img) f 11100 src/image.c success_p = svg_load_image (f, img, contents, size, f 11118 src/image.c success_p = svg_load_image (f, img, SSDATA (data), SBYTES (data), f 11181 src/image.c svg_load_image (struct frame *f, struct image *img, char *contents, f 11226 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11227 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11259 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11260 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11301 src/image.c double dpi = FRAME_DISPLAY_INFO (f)->resx; f 11368 src/image.c width = scale_image_size (width, 1, FRAME_SCALE_FACTOR (f)); f 11369 src/image.c height = scale_image_size (height, 1, FRAME_SCALE_FACTOR (f)); f 11375 src/image.c if (! check_image_size (f, width, height)) f 11417 src/image.c foreground = image_alloc_image_color (f, img, value, img->face_foreground); f 11421 src/image.c background = image_alloc_image_color (f, img, value, img->face_background); f 11454 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11455 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11465 src/image.c rsvg_handle_set_dpi_x_y (rsvg_handle, FRAME_DISPLAY_INFO (f)->resx, f 11466 src/image.c FRAME_DISPLAY_INFO (f)->resy); f 11513 src/image.c if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) f 11536 src/image.c PUT_PIXEL (ximg, x, y, lookup_rgb_color (f, red << 8, green << 8, blue << 8)); f 11555 src/image.c IMAGE_BACKGROUND (img, f, (Emacs_Pix_Context)ximg); f 11558 src/image.c image_put_x_image (f, img, ximg, 0); f 11695 src/image.c gs_load (struct frame *f, struct image *img) f 11710 src/image.c in_width *= FRAME_RES_X (f); f 11713 src/image.c in_height *= FRAME_RES_Y (f); f 11716 src/image.c && check_image_size (f, in_width, in_height))) f 11731 src/image.c img->pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 11733 src/image.c FRAME_DISPLAY_INFO (f)->n_planes); f 11747 src/image.c printnum1 = FRAME_X_DRAWABLE (f); f 11753 src/image.c printnum1 = FRAME_FOREGROUND_PIXEL (f); f 11754 src/image.c printnum2 = FRAME_BACKGROUND_PIXEL (f); f 11759 src/image.c XSETFRAME (frame, f); f 11778 src/image.c x_kill_gs_process (Pixmap pixmap, struct frame *f) f 11780 src/image.c struct image_cache *c = FRAME_IMAGE_CACHE (f); f 11806 src/image.c if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 11813 src/image.c ximg = XGetImage (FRAME_X_DISPLAY (f), img->pixmap, f 11829 src/image.c lookup_pixel_color (f, pixel); f 11849 src/image.c postprocess_image (f, img); f 11899 src/image.c struct frame *f = decode_live_frame (frame); f 11900 src/image.c if (FRAME_WINDOW_P (f)) f 11907 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 889 src/keyboard.c temporarily_switch_to_single_kboard (struct frame *f) f 894 src/keyboard.c if (f != NULL && FRAME_KBOARD (f) != current_kboard) f 903 src/keyboard.c FRAME_TERMINAL (f)->id); f 910 src/keyboard.c else if (f != NULL) f 911 src/keyboard.c current_kboard = FRAME_KBOARD (f); f 2214 src/keyboard.c struct frame *f = some_mouse_moved (); f 2217 src/keyboard.c if (f) f 2218 src/keyboard.c f->mouse_moved = true; f 4110 src/keyboard.c struct frame *f; f 4113 src/keyboard.c f = (XFRAME (event->ie.frame_or_window)); f 4114 src/keyboard.c if (FRAME_LIVE_P (f) && FRAME_TERMINAL (f)->activate_menubar_hook) f 4115 src/keyboard.c FRAME_TERMINAL (f)->activate_menubar_hook (f); f 4335 src/keyboard.c struct frame *f, *movement_frame = some_mouse_moved (); f 4341 src/keyboard.c f = movement_frame; f 4349 src/keyboard.c if (f && FRAME_TERMINAL (f)->mouse_position_hook) f 4350 src/keyboard.c (*FRAME_TERMINAL (f)->mouse_position_hook) (&f, 0, &bar_window, f 4358 src/keyboard.c if (!NILP (x) && f) f 4362 src/keyboard.c frame = FRAME_FOCUS_FRAME (f); f 4364 src/keyboard.c XSETFRAME (frame, f); f 4375 src/keyboard.c obj = make_lispy_movement (f, bar_window, part, x, y, t); f 5403 src/keyboard.c make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y, f 5413 src/keyboard.c Lisp_Object window_or_frame = f f 5414 src/keyboard.c ? window_from_coordinates (f, mx, my, &part, true, true) f 5422 src/keyboard.c if (f && ((WINDOWP (f->tab_bar_window) f 5423 src/keyboard.c && EQ (window_or_frame, f->tab_bar_window)) f 5425 src/keyboard.c || (WINDOWP (f->tool_bar_window) f 5426 src/keyboard.c && EQ (window_or_frame, f->tool_bar_window)) f 5444 src/keyboard.c posn = EQ (window_or_frame, f->tab_bar_window) ? Qtab_bar : Qtool_bar; f 5452 src/keyboard.c if (f && FRAME_TERMINAL (f)->toolkit_position_hook) f 5454 src/keyboard.c FRAME_TERMINAL (f)->toolkit_position_hook (f, mx, my, &menu_bar_p, f 5466 src/keyboard.c if (f f 5467 src/keyboard.c && !FRAME_WINDOW_P (f) f 5468 src/keyboard.c && FRAME_TAB_BAR_LINES (f) > 0 f 5469 src/keyboard.c && my >= FRAME_MENU_BAR_LINES (f) f 5470 src/keyboard.c && my < FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f)) f 5672 src/keyboard.c else if (f) f 5675 src/keyboard.c XSETFRAME (window_or_frame, f); f 5680 src/keyboard.c if (FRAME_WINDOW_P (f) f 5681 src/keyboard.c && FRAME_LIVE_P (f) f 5683 src/keyboard.c && FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 5684 src/keyboard.c && !NILP (get_frame_param (f, Qdrag_internal_border))) f 5687 src/keyboard.c = frame_internal_border_part (f, xret, yret); f 5717 src/keyboard.c toolkit_menubar_in_use (struct frame *f) f 5720 src/keyboard.c return !(!FRAME_WINDOW_P (f)); f 5743 src/keyboard.c coords_in_menu_bar_window (struct frame *f, int x, int y) f 5747 src/keyboard.c if (!WINDOWP (f->menu_bar_window)) f 5750 src/keyboard.c window = XWINDOW (f->menu_bar_window); f 5999 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6004 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6012 src/keyboard.c if (!toolkit_menubar_in_use (f) f 6016 src/keyboard.c && (!FRAME_WINDOW_P (f) f 6017 src/keyboard.c || coords_in_menu_bar_window (f, XFIXNUM (event->x), f 6023 src/keyboard.c if (FRAME_WINDOW_P (f)) f 6025 src/keyboard.c struct window *menu_w = XWINDOW (f->menu_bar_window); f 6031 src/keyboard.c x_y_to_hpos_vpos (XWINDOW (f->menu_bar_window), x, y, &column, &row, f 6036 src/keyboard.c pixel_to_glyph_coords (f, XFIXNUM (event->x), XFIXNUM (event->y), f 6046 src/keyboard.c if (row >= 0 && row < FRAME_MENU_BAR_LINES (f) f 6053 src/keyboard.c items = FRAME_MENU_BAR_ITEMS (f); f 6081 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6111 src/keyboard.c struct frame *f; f 6115 src/keyboard.c f = XFRAME (XWINDOW (event->frame_or_window)->frame); f 6117 src/keyboard.c f = XFRAME (event->frame_or_window); f 6121 src/keyboard.c if (FRAME_WINDOW_P (f)) f 6287 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6291 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6294 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6392 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6394 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6397 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 6407 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6413 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6425 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6430 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6441 src/keyboard.c struct frame *f = XFRAME (event->frame_or_window); f 6452 src/keyboard.c position = make_lispy_position (f, x, y, event->timestamp); f 6532 src/keyboard.c struct frame *f; f 6536 src/keyboard.c f = XFRAME (event->frame_or_window); f 6541 src/keyboard.c if (! FRAME_LIVE_P (f)) f 6544 src/keyboard.c position = make_lispy_position (f, event->x, event->y, f 7466 src/keyboard.c struct frame *f = XFRAME (frame); f 7467 src/keyboard.c if (FRAME_TERMINAL (f) == t) f 7468 src/keyboard.c frame_make_pointer_visible (f); f 2959 src/lisp.h XFLOAT_DATA (Lisp_Object f) f 2961 src/lisp.h return XFLOAT (f)->u.data; f 3227 src/lisp.h #define CALLMANY(f, array) (f) (ARRAYELTS (array), array) f 3235 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 626 src/menu.c struct frame *f = XFRAME (Vmenu_updating_frame); f 675 src/menu.c if (!FRAME_TERMCAP_P (f)) f 751 src/menu.c if (!FRAME_TERMCAP_P (f)) f 884 src/menu.c find_and_call_menu_selection (struct frame *f, int menu_bar_items_used, f 928 src/menu.c XSETFRAME (frame, f); f 971 src/menu.c find_and_return_menu_selection (struct frame *f, bool keymaps, void *client_data) f 1072 src/menu.c struct frame *f = decode_any_frame (frame); f 1074 src/menu.c if (!FRAME_LIVE_P (f)) f 1077 src/menu.c pixel_to_glyph_coords (f, XFIXNUM (x), XFIXNUM (y), &col, &row, NULL, 1); f 1078 src/menu.c if (0 <= row && row < FRAME_MENU_BAR_LINES (f)) f 1085 src/menu.c items = FRAME_MENU_BAR_ITEMS (f); f 1118 src/menu.c struct frame *f; f 1242 src/menu.c f = XFRAME (window); f 1250 src/menu.c f = XFRAME (WINDOW_FRAME (win)); f 1284 src/menu.c XSETFRAME (Vmenu_updating_frame, f); f 1373 src/menu.c if (!FRAME_TERMCAP_P (f)) f 1383 src/menu.c if (current_popup_menu && FRAME_W32_P (f)) f 1386 src/menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1409 src/menu.c if (!FRAME_INITIAL_P (f)) f 1410 src/menu.c selection = FRAME_TERMINAL (f)->menu_show_hook (f, xpos, ypos, menuflags, f 1420 src/menu.c if (FRAME_W32_P (f)) f 1421 src/menu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1481 src/menu.c emulate_dialog_with_menu (struct frame *f, Lisp_Object contents) f 1486 src/menu.c if (FRAME_WINDOW_P (f)) f 1488 src/menu.c x_coord = FRAME_PIXEL_WIDTH (f); f 1489 src/menu.c y_coord = FRAME_PIXEL_HEIGHT (f); f 1493 src/menu.c x_coord = FRAME_COLS (f); f 1498 src/menu.c y_coord = FRAME_TOTAL_LINES (f); f 1501 src/menu.c XSETFRAME (frame, f); f 1534 src/menu.c struct frame *f = NULL; f 1562 src/menu.c f = XFRAME (window); f 1566 src/menu.c f = XFRAME (WINDOW_FRAME (XWINDOW (window))); f 1575 src/menu.c eassume (f && FRAME_LIVE_P (f)); f 1576 src/menu.c XSETFRAME (Vmenu_updating_frame, f); f 1590 src/menu.c if (FRAME_TERMINAL (f)->popup_dialog_hook) f 1593 src/menu.c = FRAME_TERMINAL (f)->popup_dialog_hook (f, header, contents); f 1603 src/menu.c return emulate_dialog_with_menu (f, contents); f 198 src/minibuf.c struct frame *f = XFRAME (frame); f 200 src/minibuf.c minibuf_window = f->minibuffer_window; f 204 src/minibuf.c if (FRAME_LIVE_P (f) f 205 src/minibuf.c && !EQ (f->minibuffer_window, of->minibuffer_window) f 206 src/minibuf.c && WINDOW_LIVE_P (f->minibuffer_window) /* F not a tooltip frame */ f 209 src/minibuf.c zip_minibuffer_stacks (f->minibuffer_window, of->minibuffer_window); f 221 src/minibuf.c struct frame *f; f 232 src/minibuf.c f = XFRAME (frame); f 233 src/minibuf.c if (FRAME_LIVE_P (f) f 234 src/minibuf.c && WINDOW_LIVE_P (f->minibuffer_window) f 235 src/minibuf.c && EQ (XWINDOW (f->minibuffer_window)->contents, innermost_MB)) f 236 src/minibuf.c return f->minibuffer_window; f 1105 src/minibuf.c struct frame *f; f 1113 src/minibuf.c f = XFRAME (exp_MB_frame); f 1114 src/minibuf.c window = f->minibuffer_window; f 1250 src/minibuf.c struct frame *f; f 1256 src/minibuf.c f = XFRAME (exp_MB_frame); f 1257 src/minibuf.c window = f->minibuffer_window; f 1259 src/minibuf.c if (FRAME_LIVE_P (f)) f 310 src/msdos.c mouse_get_pos (struct frame **f, int insist, Lisp_Object *bar_window, f 321 src/msdos.c *f = SELECTED_FRAME (); f 610 src/msdos.c struct frame *f = SELECTED_FRAME (); f 611 src/msdos.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 614 src/msdos.c if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f) f 653 src/msdos.c msdos_set_cursor_shape (struct frame *f, int start_line, int width) f 658 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 663 src/msdos.c if (f && f != SELECTED_FRAME ()) f 734 src/msdos.c IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type) f 739 src/msdos.c msdos_set_cursor_shape (f, DEFAULT_CURSOR_START, DEFAULT_CURSOR_WIDTH); f 753 src/msdos.c msdos_set_cursor_shape (f, width >= 0 ? DEFAULT_CURSOR_START : 0, f 763 src/msdos.c msdos_set_cursor_shape (f, start_line, width); f 771 src/msdos.c msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH); f 776 src/msdos.c IT_ring_bell (struct frame *f) f 873 src/msdos.c IT_write_glyphs (struct frame *f, struct glyph *str, int str_len) f 878 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 885 src/msdos.c struct coding_system *coding = FRAME_TERMINAL_CODING (f); f 975 src/msdos.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 976 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1029 src/msdos.c IT_write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 1038 src/msdos.c IT_clear_end_of_line (struct frame *f, int first_unused) f 1042 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1070 src/msdos.c IT_clear_screen (struct frame *f) f 1072 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1094 src/msdos.c IT_clear_to_end (struct frame *f) f 1096 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1103 src/msdos.c IT_clear_end_of_line (f, screen_size_X); f 1109 src/msdos.c IT_cursor_to (struct frame *f, int y, int x) f 1111 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1164 src/msdos.c IT_cmgoto (struct frame *f) f 1169 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1186 src/msdos.c && WINDOW_TOP_EDGE_LINE (XWINDOW (FRAME_MINIBUF_WINDOW (f))) <= new_pos_Y) f 1233 src/msdos.c IT_update_begin (struct frame *f) f 1235 src/msdos.c struct tty_display_info *display_info = FRAME_DISPLAY_INFO (f); f 1244 src/msdos.c if (f && f == mouse_face_frame) f 1251 src/msdos.c if (FRAME_GARBAGED_P (f)) f 1290 src/msdos.c IT_update_end (struct frame *f) f 1292 src/msdos.c struct tty_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1300 src/msdos.c IT_frame_up_to_date (struct frame *f) f 1305 src/msdos.c FRAME_MOUSE_UPDATE (f); f 1313 src/msdos.c sw = XWINDOW (f->selected_window); f 1314 src/msdos.c frame_desired_cursor = Fcdr (Fassq (Qcursor_type, f->param_alist)); f 1316 src/msdos.c && FRAME_HAS_MINIBUF_P (f) f 1317 src/msdos.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window) f 1332 src/msdos.c IT_set_cursor_type (f, new_cursor); f 1334 src/msdos.c IT_cmgoto (f); /* position cursor when update is done */ f 1374 src/msdos.c IT_insert_glyphs (struct frame *f, struct glyph *start, int len) f 1383 src/msdos.c IT_write_glyphs (f, start, len); f 1387 src/msdos.c IT_delete_glyphs (struct frame *f, int n) f 1551 src/msdos.c struct frame *f; f 1554 src/msdos.c f = XFRAME (frame); f 1560 src/msdos.c initial_screen_colors[0] = FRAME_FOREGROUND_PIXEL (f); f 1561 src/msdos.c initial_screen_colors[1] = FRAME_BACKGROUND_PIXEL (f); f 1567 src/msdos.c IT_set_frame_parameters (struct frame *f, Lisp_Object alist) f 1576 src/msdos.c int reverse = EQ (Fcdr (Fassq (Qreverse, f->param_alist)), Qt); f 1579 src/msdos.c struct tty_display_info *tty = FRAME_TTY (f); f 1583 src/msdos.c if (!f->default_face_done_p f 1586 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = initial_screen_colors[0]; f 1587 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = initial_screen_colors[1]; f 1588 src/msdos.c init_frame_faces (f); f 1589 src/msdos.c f->default_face_done_p = 1; f 1591 src/msdos.c orig_fg = reverse ? FRAME_BACKGROUND_PIXEL (f) : FRAME_FOREGROUND_PIXEL (f); f 1592 src/msdos.c orig_bg = reverse ? FRAME_FOREGROUND_PIXEL (f) : FRAME_BACKGROUND_PIXEL (f); f 1631 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1640 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1643 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1650 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1651 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1661 src/msdos.c unsigned long new_color = load_color (f, NULL, val, reverse f 1670 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = new_color; f 1674 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, val); f 1680 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = new_color; f 1682 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, val); f 1691 src/msdos.c x_set_title (f, val); f 1697 src/msdos.c IT_set_cursor_type (f, val); f 1713 src/msdos.c store_frame_param (f, prop, val); f 1722 src/msdos.c FRAME_FOREGROUND_PIXEL (f) = orig_bg; f 1723 src/msdos.c update_face_from_frame_parameter (f, Qforeground_color, f 1724 src/msdos.c tty_color_name (f, orig_bg)); f 1729 src/msdos.c FRAME_BACKGROUND_PIXEL (f) = orig_fg; f 1730 src/msdos.c update_face_from_frame_parameter (f, Qbackground_color, f 1731 src/msdos.c tty_color_name (f, orig_fg)); f 1739 src/msdos.c if (f == SELECTED_FRAME ()) f 1740 src/msdos.c redraw_frame (f); f 28 src/msdos.h #define tcdrain(f) _dos_commit(f) f 108 src/msdos.h #define FRAME_FONT(f) ((f)->output_data.tty->font) f 109 src/msdos.h #define FRAME_DISPLAY_INFO(f) (&the_only_display_info) f 436 src/nsterm.h - (instancetype) initWithEmacsFrame: (struct frame *) f; f 437 src/nsterm.h - (instancetype) initWithEmacsFrame: (struct frame *) f f 440 src/nsterm.h - (void) createToolbar: (struct frame *) f; f 500 src/nsterm.h - (instancetype) initFrameFromEmacs: (struct frame *) f; f 550 src/nsterm.h - (Lisp_Object)runMenuAt: (NSPoint)p forFrame: (struct frame *)f f 1014 src/nsterm.h #define FRAME_DISPLAY_INFO(f) ((f)->output_data.ns->display_info) f 1015 src/nsterm.h #define FRAME_OUTPUT_DATA(f) ((f)->output_data.ns) f 1016 src/nsterm.h #define FRAME_NS_WINDOW(f) ((f)->output_data.ns->window_desc) f 1017 src/nsterm.h #define FRAME_NATIVE_WINDOW(f) FRAME_NS_WINDOW (f) f 1019 src/nsterm.h #define FRAME_FOREGROUND_COLOR(f) ((f)->output_data.ns->foreground_color) f 1020 src/nsterm.h #define FRAME_BACKGROUND_COLOR(f) ((f)->output_data.ns->background_color) f 1022 src/nsterm.h #define NS_FACE_FOREGROUND(f) ((f)->foreground) f 1023 src/nsterm.h #define NS_FACE_BACKGROUND(f) ((f)->background) f 1025 src/nsterm.h #define FRAME_DEFAULT_FACE(f) FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) f 1027 src/nsterm.h #define FRAME_NS_VIEW(f) ((f)->output_data.ns->view) f 1028 src/nsterm.h #define FRAME_CURSOR_COLOR(f) ((f)->output_data.ns->cursor_color) f 1029 src/nsterm.h #define FRAME_POINTER_TYPE(f) ((f)->output_data.ns->current_pointer) f 1031 src/nsterm.h #define FRAME_FONT(f) ((f)->output_data.ns->font) f 1040 src/nsterm.h #define FRAME_NS_TITLEBAR_HEIGHT(f) \ f 1041 src/nsterm.h (NSHeight([FRAME_NS_VIEW (f) frame]) == 0 ? \ f 1043 src/nsterm.h : (int)(NSHeight([FRAME_NS_VIEW (f) window].frame) \ f 1045 src/nsterm.h [[FRAME_NS_VIEW (f) window] frame] \ f 1046 src/nsterm.h styleMask:[[FRAME_NS_VIEW (f) window] styleMask]]))) f 1049 src/nsterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 1050 src/nsterm.h (([[FRAME_NS_VIEW (f) window] toolbar] == nil \ f 1051 src/nsterm.h || ! [[FRAME_NS_VIEW (f) window] toolbar].isVisible) ? \ f 1054 src/nsterm.h [[FRAME_NS_VIEW (f) window] frame] \ f 1055 src/nsterm.h styleMask:[[FRAME_NS_VIEW (f) window] styleMask]]) \ f 1056 src/nsterm.h - NSHeight([[[FRAME_NS_VIEW (f) window] contentView] frame]))) f 1059 src/nsterm.h #define NS_SCROLL_BAR_WIDTH(f) \ f 1060 src/nsterm.h (FRAME_HAS_VERTICAL_SCROLL_BARS (f) \ f 1061 src/nsterm.h ? rint (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 \ f 1062 src/nsterm.h ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f) \ f 1063 src/nsterm.h : (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f))) \ f 1067 src/nsterm.h #define NS_SCROLL_BAR_HEIGHT(f) \ f 1068 src/nsterm.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS (f) \ f 1069 src/nsterm.h ? rint (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) > 0 \ f 1070 src/nsterm.h ? FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) \ f 1071 src/nsterm.h : (FRAME_SCROLL_BAR_LINES (f) * FRAME_LINE_HEIGHT (f))) \ f 1076 src/nsterm.h #define NS_SCROLL_BAR_ADJUST(w, f) \ f 1078 src/nsterm.h (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f) \ f 1079 src/nsterm.h - NS_SCROLL_BAR_WIDTH (f)) : 0) f 1083 src/nsterm.h #define NS_SCROLL_BAR_ADJUST_HORIZONTALLY(w, f) \ f 1085 src/nsterm.h (FRAME_SCROLL_BAR_LINES (f) * FRAME_LINE_HEIGHT (f) \ f 1086 src/nsterm.h - NS_SCROLL_BAR_HEIGHT (f)) : 0) f 1088 src/nsterm.h #define FRAME_NS_FONT_TABLE(f) (FRAME_DISPLAY_INFO (f)->font_table) f 1090 src/nsterm.h #define FRAME_FONTSET(f) ((f)->output_data.ns->fontset) f 1092 src/nsterm.h #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.ns->baseline_offset) f 1093 src/nsterm.h #define BLACK_PIX_DEFAULT(f) 0x000000 f 1094 src/nsterm.h #define WHITE_PIX_DEFAULT(f) 0xFFFFFF f 1098 src/nsterm.h #define FIRST_CHAR_POSITION(f) \ f 1099 src/nsterm.h (! (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) ? 0 \ f 1100 src/nsterm.h : FRAME_SCROLL_BAR_COLS (f)) f 1123 src/nsterm.h extern Lisp_Object ns_list_fonts (struct frame *f, Lisp_Object pattern, f 1125 src/nsterm.h extern void ns_clear_frame (struct frame *f); f 1127 src/nsterm.h extern void ns_set_offset (struct frame *f, int xoff, int yoff, f 1143 src/nsterm.h ns_defined_color (struct frame *f, f 1157 src/nsterm.h extern void ns_implicitly_set_name (struct frame *f, Lisp_Object arg, f 1159 src/nsterm.h extern void ns_set_scroll_bar_default_width (struct frame *f); f 1160 src/nsterm.h extern void ns_set_scroll_bar_default_height (struct frame *f); f 1161 src/nsterm.h extern void ns_change_tab_bar_height (struct frame *f, int height); f 1175 src/nsterm.h extern void update_frame_tool_bar (struct frame *f); f 1177 src/nsterm.h extern void update_frame_tool_bar_1 (struct frame *f, EmacsToolbar *toolbar); f 1180 src/nsterm.h extern void free_frame_tool_bar (struct frame *f); f 1181 src/nsterm.h extern Lisp_Object find_and_return_menu_selection (struct frame *f, f 1208 src/nsterm.h extern bool ns_load_image (struct frame *f, struct image *img, f 1225 src/nsterm.h extern void ns_make_frame_visible (struct frame *f); f 1226 src/nsterm.h extern void ns_make_frame_invisible (struct frame *f); f 1227 src/nsterm.h extern void ns_iconify_frame (struct frame *f); f 1228 src/nsterm.h extern void ns_set_undecorated (struct frame *f, Lisp_Object new_value, f 1230 src/nsterm.h extern void ns_set_parent_frame (struct frame *f, Lisp_Object new_value, f 1232 src/nsterm.h extern void ns_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, f 1234 src/nsterm.h extern void ns_set_no_accept_focus (struct frame *f, Lisp_Object new_value, f 1236 src/nsterm.h extern void ns_set_z_group (struct frame *f, Lisp_Object new_value, f 1239 src/nsterm.h extern void ns_set_appearance (struct frame *f, Lisp_Object new_value, f 1241 src/nsterm.h extern void ns_set_transparent_titlebar (struct frame *f, f 1251 src/nsterm.h extern unsigned long ns_get_rgb_color (struct frame *f, f 43 src/pgtkfns.c static int x_decode_color (struct frame *f, Lisp_Object color_name, f 108 src/pgtkfns.c struct frame *f = decode_window_system_frame (object); f 109 src/pgtkfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 178 src/pgtkfns.c pgtk_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 183 src/pgtkfns.c old_fg = FRAME_FOREGROUND_COLOR (f); f 184 src/pgtkfns.c fg = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 185 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 186 src/pgtkfns.c FRAME_X_OUTPUT (f)->foreground_color = fg; f 188 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 190 src/pgtkfns.c if (FRAME_X_OUTPUT (f)->cursor_color == old_fg) f 192 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color = fg; f 193 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_xgcv.background = fg; f 196 src/pgtkfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 197 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 198 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 205 src/pgtkfns.c pgtk_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 210 src/pgtkfns.c bg = x_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 211 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 214 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 215 src/pgtkfns.c pgtk_clear_frame (f); f 217 src/pgtkfns.c FRAME_X_OUTPUT (f)->background_color = bg; f 218 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_xgcv.foreground = bg; f 220 src/pgtkfns.c xg_set_background_color (f, bg); f 221 src/pgtkfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 223 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 224 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 229 src/pgtkfns.c pgtk_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 231 src/pgtkfns.c gui_set_alpha_background (f, arg, oldval); f 236 src/pgtkfns.c gtk_widget_set_app_paintable (FRAME_GTK_OUTER_WIDGET (f), f 237 src/pgtkfns.c f->alpha_background != 1.0); f 239 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f) f 240 src/pgtkfns.c && gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)) f 241 src/pgtkfns.c && f->alpha_background != 1.0) f 242 src/pgtkfns.c gdk_window_set_opaque_region (gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)), f 247 src/pgtkfns.c pgtk_set_border_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 252 src/pgtkfns.c pix = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 253 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel = pix; f 254 src/pgtkfns.c pgtk_frame_rehighlight (FRAME_DISPLAY_INFO (f)); f 258 src/pgtkfns.c pgtk_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 261 src/pgtkfns.c struct pgtk_output *x = f->output_data.pgtk; f 265 src/pgtkfns.c fore_pixel = x_decode_color (f, Vx_cursor_fore_pixel, f 266 src/pgtkfns.c WHITE_PIX_DEFAULT (f)); f 269 src/pgtkfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 271 src/pgtkfns.c pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 274 src/pgtkfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 279 src/pgtkfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 286 src/pgtkfns.c if (FRAME_X_WINDOW (f) != 0) f 291 src/pgtkfns.c if (FRAME_VISIBLE_P (f)) f 293 src/pgtkfns.c gui_update_cursor (f, false); f 294 src/pgtkfns.c gui_update_cursor (f, true); f 298 src/pgtkfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 302 src/pgtkfns.c pgtk_set_name_internal (struct frame *f, Lisp_Object name) f 304 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 314 src/pgtkfns.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 322 src/pgtkfns.c pgtk_set_name (struct frame *f, Lisp_Object name, int explicit) f 330 src/pgtkfns.c if (f->explicit_name && NILP (name)) f 333 src/pgtkfns.c f->explicit_name = !NILP (name); f 335 src/pgtkfns.c else if (f->explicit_name) f 344 src/pgtkfns.c if (!NILP (Fstring_equal (name, f->name))) f 347 src/pgtkfns.c fset_name (f, name); f 350 src/pgtkfns.c if (!NILP (f->title)) f 351 src/pgtkfns.c name = f->title; f 353 src/pgtkfns.c pgtk_set_name_internal (f, name); f 361 src/pgtkfns.c pgtk_explicitly_set_name (struct frame *f, Lisp_Object arg, f 364 src/pgtkfns.c pgtk_set_name (f, arg, true); f 372 src/pgtkfns.c pgtk_implicitly_set_name (struct frame *f, Lisp_Object arg, f 375 src/pgtkfns.c pgtk_set_name (f, arg, false); f 383 src/pgtkfns.c pgtk_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 386 src/pgtkfns.c if (EQ (name, f->title)) f 391 src/pgtkfns.c fset_title (f, name); f 394 src/pgtkfns.c name = f->name; f 398 src/pgtkfns.c pgtk_set_name_internal (f, name); f 409 src/pgtkfns.c pgtk_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 416 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 425 src/pgtkfns.c fset_redisplay (f); f 427 src/pgtkfns.c FRAME_MENU_BAR_LINES (f) = 0; f 428 src/pgtkfns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 431 src/pgtkfns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 432 src/pgtkfns.c if (FRAME_PGTK_P (f) && f->output_data.pgtk->menubar_widget == 0) f 434 src/pgtkfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 438 src/pgtkfns.c if (FRAME_EXTERNAL_MENU_BAR (f) == 1) f 439 src/pgtkfns.c free_frame_menubar (f); f 440 src/pgtkfns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 441 src/pgtkfns.c if (FRAME_X_P (f)) f 442 src/pgtkfns.c f->output_data.pgtk->menubar_widget = 0; f 445 src/pgtkfns.c adjust_frame_glyphs (f); f 455 src/pgtkfns.c pgtk_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 460 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 469 src/pgtkfns.c pgtk_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 474 src/pgtkfns.c pgtk_change_tab_bar_height (struct frame *f, int height) f 476 src/pgtkfns.c int unit = FRAME_LINE_HEIGHT (f); f 477 src/pgtkfns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 489 src/pgtkfns.c fset_redisplay (f); f 492 src/pgtkfns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 493 src/pgtkfns.c FRAME_TAB_BAR_LINES (f) = lines; f 494 src/pgtkfns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 496 src/pgtkfns.c if (FRAME_X_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 498 src/pgtkfns.c clear_frame (f); f 499 src/pgtkfns.c clear_current_matrices (f); f 502 src/pgtkfns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 503 src/pgtkfns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 505 src/pgtkfns.c if (!f->tab_bar_resized) f 507 src/pgtkfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 512 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 515 src/pgtkfns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 517 src/pgtkfns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 521 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 525 src/pgtkfns.c adjust_frame_glyphs (f); f 526 src/pgtkfns.c SET_FRAME_GARBAGED (f); f 527 src/pgtkfns.c if (FRAME_X_WINDOW (f)) f 528 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 533 src/pgtkfns.c x_change_tool_bar_height (struct frame *f, int height) f 535 src/pgtkfns.c FRAME_TOOL_BAR_LINES (f) = 0; f 536 src/pgtkfns.c FRAME_TOOL_BAR_HEIGHT (f) = 0; f 539 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) = true; f 540 src/pgtkfns.c if (FRAME_X_P (f) && f->output_data.pgtk->toolbar_widget == 0) f 542 src/pgtkfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 543 src/pgtkfns.c update_frame_tool_bar (f); f 547 src/pgtkfns.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 548 src/pgtkfns.c free_frame_tool_bar (f); f 549 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) = false; f 555 src/pgtkfns.c pgtk_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 560 src/pgtkfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 569 src/pgtkfns.c x_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 574 src/pgtkfns.c pgtk_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 585 src/pgtkfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 587 src/pgtkfns.c f->child_frame_border_width = border; f 589 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 591 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, f 593 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 599 src/pgtkfns.c pgtk_set_internal_border_width (struct frame *f, Lisp_Object arg, f 604 src/pgtkfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 606 src/pgtkfns.c f->internal_border_width = border; f 608 src/pgtkfns.c if (FRAME_X_WINDOW (f)) f 610 src/pgtkfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 611 src/pgtkfns.c pgtk_clear_under_internal_border (f); f 617 src/pgtkfns.c pgtk_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 631 src/pgtkfns.c result = pgtk_text_icon (f, f 632 src/pgtkfns.c SSDATA ((!NILP (f->icon_name) f 633 src/pgtkfns.c ? f->icon_name : f->name))); f 635 src/pgtkfns.c result = FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, arg); f 647 src/pgtkfns.c pgtk_set_icon_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 659 src/pgtkfns.c fset_icon_name (f, arg); f 663 src/pgtkfns.c result = pgtk_text_icon (f, f 664 src/pgtkfns.c SSDATA ((!NILP (f->icon_name) f 665 src/pgtkfns.c ? f->icon_name f 666 src/pgtkfns.c : !NILP (f->title) f 667 src/pgtkfns.c ? f->title : f->name))); f 679 src/pgtkfns.c pgtk_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 681 src/pgtkfns.c set_frame_cursor_types (f, arg); f 685 src/pgtkfns.c pgtk_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 690 src/pgtkfns.c pgtk_set_undecorated (struct frame *f, Lisp_Object new_value, f 695 src/pgtkfns.c FRAME_UNDECORATED (f) = NILP (new_value) ? false : true; f 696 src/pgtkfns.c xg_set_undecorated (f, new_value); f 701 src/pgtkfns.c pgtk_set_skip_taskbar (struct frame *f, Lisp_Object new_value, f 706 src/pgtkfns.c xg_set_skip_taskbar (f, new_value); f 707 src/pgtkfns.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 712 src/pgtkfns.c pgtk_set_override_redirect (struct frame *f, Lisp_Object new_value, f 719 src/pgtkfns.c pgtk_make_frame_invisible (f); f 721 src/pgtkfns.c xg_set_override_redirect (f, new_value); f 723 src/pgtkfns.c pgtk_make_frame_visible (f); f 724 src/pgtkfns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 730 src/pgtkfns.c xg_set_icon (struct frame *f, Lisp_Object file) f 735 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 751 src/pgtkfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 767 src/pgtkfns.c xg_set_icon_from_xpm_data (struct frame *f, const char **data) f 774 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 777 src/pgtkfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf); f 783 src/pgtkfns.c pgtk_set_sticky (struct frame *f, Lisp_Object new_value, f 786 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 790 src/pgtkfns.c gtk_window_stick (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 792 src/pgtkfns.c gtk_window_unstick (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 796 src/pgtkfns.c pgtk_set_tool_bar_position (struct frame *f, f 805 src/pgtkfns.c xg_change_toolbar_position (f, new_value); f 806 src/pgtkfns.c fset_tool_bar_position (f, new_value); f 814 src/pgtkfns.c pgtk_set_scroll_bar_foreground (struct frame *f, Lisp_Object new_value, f 818 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider; f 820 src/pgtkfns.c if (FRAME_TOOLTIP_P (f)) f 826 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, new_value); f 832 src/pgtkfns.c if (!pgtk_parse_color (f, SSDATA (new_value), &rgb)) f 839 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, new_value); f 847 src/pgtkfns.c pgtk_set_scroll_bar_background (struct frame *f, Lisp_Object new_value, f 851 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_background_css_provider; f 856 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, new_value); f 862 src/pgtkfns.c if (!pgtk_parse_color (f, SSDATA (new_value), &rgb)) f 872 src/pgtkfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, new_value); f 906 src/pgtkfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 909 src/pgtkfns.c XSETFRAME (frame, f); f 910 src/pgtkfns.c if (!FRAME_VISIBLE_P (f)) f 1012 src/pgtkfns.c struct frame *f = XFRAME (frame); f 1017 src/pgtkfns.c if (!FRAME_LIVE_P (f)) f 1030 src/pgtkfns.c if (FRAME_IMAGE_CACHE (f) != NULL f 1031 src/pgtkfns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 1032 src/pgtkfns.c FRAME_IMAGE_CACHE (f)->refcount++; f 1034 src/pgtkfns.c pgtk_free_frame_resources (f); f 1035 src/pgtkfns.c free_glyphs (f); f 1053 src/pgtkfns.c x_decode_color (struct frame *f, Lisp_Object color_name, int mono_color) f 1060 src/pgtkfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 1065 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color_name), &cdef, true, 0)) f 1072 src/pgtkfns.c pgtk_default_font_parameter (struct frame *f, Lisp_Object parms) f 1074 src/pgtkfns.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1089 src/pgtkfns.c font = font_open_by_name (f, build_unibyte_string (system_font)); f 1117 src/pgtkfns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 1126 src/pgtkfns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", f 1133 src/pgtkfns.c struct frame *f = timer->client_data; f 1134 src/pgtkfns.c double scale_factor = FRAME_SCALE_FACTOR (f); f 1136 src/pgtkfns.c if (scale_factor != FRAME_X_OUTPUT (f)->watched_scale_factor) f 1138 src/pgtkfns.c FRAME_X_OUTPUT (f)->watched_scale_factor = scale_factor; f 1139 src/pgtkfns.c pgtk_cr_update_surface_desired_size (f, f 1140 src/pgtkfns.c FRAME_CR_SURFACE_DESIRED_WIDTH (f), f 1141 src/pgtkfns.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f), f 1205 src/pgtkfns.c struct frame *f; f 1259 src/pgtkfns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 1262 src/pgtkfns.c f = make_minibuffer_frame (); f 1266 src/pgtkfns.c f = make_frame_without_minibuffer (tem, kb, display); f 1268 src/pgtkfns.c f = make_frame (true); f 1282 src/pgtkfns.c fset_parent_frame (f, parent_frame); f 1283 src/pgtkfns.c store_frame_param (f, Qparent_frame, parent_frame); f 1292 src/pgtkfns.c FRAME_UNDECORATED (f) = undecorated; f 1293 src/pgtkfns.c store_frame_param (f, Qundecorated, undecorated ? Qt : Qnil); f 1302 src/pgtkfns.c FRAME_OVERRIDE_REDIRECT (f) = override_redirect; f 1303 src/pgtkfns.c store_frame_param (f, Qoverride_redirect, override_redirect ? Qt : Qnil); f 1305 src/pgtkfns.c XSETFRAME (frame, f); f 1307 src/pgtkfns.c f->terminal = dpyinfo->terminal; f 1309 src/pgtkfns.c f->output_method = output_pgtk; f 1310 src/pgtkfns.c FRAME_X_OUTPUT (f) = xzalloc (sizeof *FRAME_X_OUTPUT (f)); f 1311 src/pgtkfns.c FRAME_FONTSET (f) = -1; f 1312 src/pgtkfns.c FRAME_X_OUTPUT (f)->white_relief.pixel = -1; f 1313 src/pgtkfns.c FRAME_X_OUTPUT (f)->black_relief.pixel = -1; f 1315 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider = f 1317 src/pgtkfns.c FRAME_X_OUTPUT (f)->scrollbar_background_css_provider = f 1320 src/pgtkfns.c fset_icon_name (f, f 1323 src/pgtkfns.c if (!STRINGP (f->icon_name)) f 1324 src/pgtkfns.c fset_icon_name (f, Qnil); f 1326 src/pgtkfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 1339 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 1340 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 1341 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color = -1; f 1342 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_foreground_color = -1; f 1343 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel = -1; f 1344 src/pgtkfns.c FRAME_X_OUTPUT (f)->mouse_color = -1; f 1347 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) f 1348 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1349 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) f 1350 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1351 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_color f 1352 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1353 src/pgtkfns.c FRAME_X_OUTPUT (f)->cursor_foreground_color f 1354 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1355 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_pixel f 1356 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1357 src/pgtkfns.c FRAME_X_OUTPUT (f)->mouse_color f 1358 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 1364 src/pgtkfns.c FRAME_X_OUTPUT (f)->parent_desc = (Window) XFIXNAT (parent); f 1365 src/pgtkfns.c FRAME_X_OUTPUT (f)->explicit_parent = true; f 1369 src/pgtkfns.c FRAME_X_OUTPUT (f)->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 1370 src/pgtkfns.c FRAME_X_OUTPUT (f)->explicit_parent = false; f 1377 src/pgtkfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 1378 src/pgtkfns.c f->explicit_name = false; f 1382 src/pgtkfns.c fset_name (f, name); f 1383 src/pgtkfns.c f->explicit_name = true; f 1388 src/pgtkfns.c register_font_driver (&ftcrfont_driver, f); f 1390 src/pgtkfns.c register_font_driver (&ftcrhbfont_driver, f); f 1394 src/pgtkfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 1396 src/pgtkfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 1401 src/pgtkfns.c pgtk_default_font_parameter (f, parms); f 1402 src/pgtkfns.c if (!FRAME_FONT (f)) f 1408 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 1422 src/pgtkfns.c gui_default_parameter (f, parms, Qinternal_border_width, f 1441 src/pgtkfns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 1444 src/pgtkfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 1446 src/pgtkfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 1448 src/pgtkfns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, f 1451 src/pgtkfns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 1455 src/pgtkfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 1457 src/pgtkfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 1459 src/pgtkfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 1461 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 1463 src/pgtkfns.c gui_default_parameter (f, parms, Qscreen_gamma, Qnil, f 1465 src/pgtkfns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 1467 src/pgtkfns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 1469 src/pgtkfns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 1471 src/pgtkfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 1474 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_foreground, Qnil, f 1477 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_background, Qnil, f 1484 src/pgtkfns.c init_frame_faces (f); f 1502 src/pgtkfns.c store_frame_param (f, Qmin_width, tem); f 1506 src/pgtkfns.c store_frame_param (f, Qmin_height, tem); f 1507 src/pgtkfns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 1508 src/pgtkfns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 1516 src/pgtkfns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 1520 src/pgtkfns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 1524 src/pgtkfns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 1529 src/pgtkfns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, f 1532 src/pgtkfns.c gui_default_parameter (f, parms, Qtitle, Qnil, f 1534 src/pgtkfns.c gui_default_parameter (f, parms, Qwait_for_wm, Qt, f 1536 src/pgtkfns.c gui_default_parameter (f, parms, Qtool_bar_position, f 1537 src/pgtkfns.c FRAME_TOOL_BAR_POSITION (f), 0, 0, RES_TYPE_SYMBOL); f 1538 src/pgtkfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 1544 src/pgtkfns.c gui_figure_window_size (f, parms, true, true); f 1549 src/pgtkfns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 1551 src/pgtkfns.c xg_create_frame_widgets (f); f 1552 src/pgtkfns.c pgtk_set_event_handler (f); f 1554 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1555 src/pgtkfns.c gtk_widget_realize (FRAME_GTK_OUTER_WIDGET (f)); f 1559 src/pgtkfns.c if (FRAME_GTK_WIDGET (f)) f 1560 src/pgtkfns.c gtk_widget_realize (FRAME_GTK_WIDGET (f)); f 1563 src/pgtkfns.c FRAME_X_OUTPUT (f)->FIELD = gdk_cursor_new_for_display (FRAME_X_DISPLAY (f), GDK_ ## NAME) f 1584 src/pgtkfns.c f->terminal->reference_count++; f 1585 src/pgtkfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 1590 src/pgtkfns.c gui_default_parameter (f, parms, Qicon_type, Qt, f 1593 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 1595 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 1597 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 1599 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 1601 src/pgtkfns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 1604 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 1606 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 1615 src/pgtkfns.c GtkWidget *fixed = FRAME_GTK_WIDGET (f); f 1620 src/pgtkfns.c gtk_fixed_put (GTK_FIXED (fixed_of_p), fixed, f->left_pos, f->top_pos); f 1624 src/pgtkfns.c gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f)); f 1625 src/pgtkfns.c FRAME_GTK_OUTER_WIDGET (f) = NULL; f 1626 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->vbox_widget = NULL; f 1627 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->hbox_widget = NULL; f 1628 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->menubar_widget = NULL; f 1629 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->toolbar_widget = NULL; f 1630 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_widget = NULL; f 1631 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_lbl = NULL; f 1632 src/pgtkfns.c FRAME_OUTPUT_DATA (f)->ttip_window = NULL; f 1637 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 1639 src/pgtkfns.c GList *w = gtk_container_get_children (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f))); f 1644 src/pgtkfns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 1646 src/pgtkfns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 1650 src/pgtkfns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 1654 src/pgtkfns.c initialize_frame_menubar (f); f 1659 src/pgtkfns.c f->can_set_window_size = true; f 1665 src/pgtkfns.c xg_wm_set_size_hint (f, window_prompting, false); f 1668 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1674 src/pgtkfns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 1680 src/pgtkfns.c if (!FRAME_X_OUTPUT (f)->explicit_parent) f 1694 src/pgtkfns.c f->was_invisible = true; f 1695 src/pgtkfns.c pgtk_iconify_frame (f); f 1703 src/pgtkfns.c pgtk_make_frame_visible (f); f 1705 src/pgtkfns.c f->was_invisible = true; f 1711 src/pgtkfns.c f->was_invisible f 1712 src/pgtkfns.c = (f->was_invisible f 1715 src/pgtkfns.c store_frame_param (f, Qvisibility, visibility); f 1719 src/pgtkfns.c gui_default_parameter (f, parms, Qskip_taskbar, Qnil, f 1722 src/pgtkfns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 1727 src/pgtkfns.c if (FRAME_HAS_MINIBUF_P (f) f 1736 src/pgtkfns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 1738 src/pgtkfns.c FRAME_X_OUTPUT (f)->border_color_css_provider = NULL; f 1740 src/pgtkfns.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = NULL; f 1741 src/pgtkfns.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 1742 src/pgtkfns.c FRAME_X_OUTPUT (f)->watched_scale_factor = 1.0; f 1744 src/pgtkfns.c FRAME_X_OUTPUT (f)->scale_factor_atimer = start_atimer(ATIMER_CONTINUOUS, f 1747 src/pgtkfns.c f); f 2264 src/pgtkfns.c pgtk_set_scroll_bar_default_width (struct frame *f) f 2266 src/pgtkfns.c int unit = FRAME_COLUMN_WIDTH (f); f 2267 src/pgtkfns.c int minw = xg_get_default_scrollbar_width (f); f 2269 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (minw + unit - 1) / unit; f 2270 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = minw; f 2274 src/pgtkfns.c pgtk_set_scroll_bar_default_height (struct frame *f) f 2276 src/pgtkfns.c int height = FRAME_LINE_HEIGHT (f); f 2277 src/pgtkfns.c int min_height = xg_get_default_scrollbar_height (f); f 2279 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = min_height; f 2280 src/pgtkfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (min_height + height - 1) / height; f 2328 src/pgtkfns.c struct frame *f = decode_window_system_frame (frame); f 2332 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color), &col, false, false)) f 2344 src/pgtkfns.c struct frame *f = decode_window_system_frame (frame); f 2348 src/pgtkfns.c if (pgtk_defined_color (f, SSDATA (color), &col, false, false)) f 2499 src/pgtkfns.c struct frame *f = XFRAME (frame); f 2501 src/pgtkfns.c if (FRAME_PGTK_P (f) f 2502 src/pgtkfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 2503 src/pgtkfns.c && !FRAME_TOOLTIP_P (f)) f 2505 src/pgtkfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 2571 src/pgtkfns.c pgtk_frame_scale_factor (struct frame *f) f 2573 src/pgtkfns.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2578 src/pgtkfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 2666 src/pgtkfns.c struct frame *f; f 2686 src/pgtkfns.c f = make_frame (false); f 2687 src/pgtkfns.c f->wants_modeline = false; f 2688 src/pgtkfns.c XSETFRAME (frame, f); f 2691 src/pgtkfns.c f->terminal = dpyinfo->terminal; f 2697 src/pgtkfns.c f->output_method = output_pgtk; f 2698 src/pgtkfns.c f->output_data.pgtk = xzalloc (sizeof *f->output_data.pgtk); f 2699 src/pgtkfns.c FRAME_FONTSET (f) = -1; f 2700 src/pgtkfns.c f->output_data.pgtk->white_relief.pixel = -1; f 2701 src/pgtkfns.c f->output_data.pgtk->black_relief.pixel = -1; f 2703 src/pgtkfns.c f->tooltip = true; f 2704 src/pgtkfns.c fset_icon_name (f, Qnil); f 2705 src/pgtkfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 2706 src/pgtkfns.c f->output_data.pgtk->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 2707 src/pgtkfns.c f->output_data.pgtk->explicit_parent = false; f 2717 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 2718 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 2719 src/pgtkfns.c f->output_data.pgtk->border_pixel = -1; f 2722 src/pgtkfns.c FRAME_FOREGROUND_PIXEL (f) f 2723 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2724 src/pgtkfns.c FRAME_BACKGROUND_PIXEL (f) f 2725 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2726 src/pgtkfns.c f->output_data.pgtk->border_pixel f 2727 src/pgtkfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 2734 src/pgtkfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 2735 src/pgtkfns.c f->explicit_name = false; f 2739 src/pgtkfns.c fset_name (f, name); f 2740 src/pgtkfns.c f->explicit_name = true; f 2745 src/pgtkfns.c register_font_driver (&ftcrfont_driver, f); f 2747 src/pgtkfns.c register_font_driver (&ftcrhbfont_driver, f); f 2751 src/pgtkfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 2753 src/pgtkfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 2758 src/pgtkfns.c pgtk_default_font_parameter (f, parms); f 2760 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 2778 src/pgtkfns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 2781 src/pgtkfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 2783 src/pgtkfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 2787 src/pgtkfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 2789 src/pgtkfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 2791 src/pgtkfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 2793 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 2795 src/pgtkfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 2797 src/pgtkfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 2803 src/pgtkfns.c init_frame_faces (f); f 2805 src/pgtkfns.c f->output_data.pgtk->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 2807 src/pgtkfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 2811 src/pgtkfns.c gui_figure_window_size (f, parms, false, false); f 2813 src/pgtkfns.c xg_create_frame_widgets (f); f 2814 src/pgtkfns.c pgtk_set_event_handler (f); f 2815 src/pgtkfns.c tip_window = FRAME_GTK_OUTER_WIDGET (f); f 2822 src/pgtkfns.c f->output_data.pgtk->current_cursor = f->output_data.pgtk->text_cursor; f 2824 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 2826 src/pgtkfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 2828 src/pgtkfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 2830 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 2832 src/pgtkfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 2878 src/pgtkfns.c f->no_split = true; f 2882 src/pgtkfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 2883 src/pgtkfns.c f->terminal->reference_count++; f 2889 src/pgtkfns.c f->can_set_window_size = true; f 2890 src/pgtkfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 2911 src/pgtkfns.c compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, f 2931 src/pgtkfns.c gdk_display_get_default_seat (FRAME_DISPLAY_INFO (f)->gdpy); f 2939 src/pgtkfns.c XSETFRAME (frame, f); f 2972 src/pgtkfns.c max_x = pgtk_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 2973 src/pgtkfns.c max_y = pgtk_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 3046 src/pgtkfns.c struct frame *f = XFRAME (tip_last_frame); f 3048 src/pgtkfns.c if (FRAME_LIVE_P (f)) f 3050 src/pgtkfns.c if (xg_hide_tooltip (f)) f 3064 src/pgtkfns.c struct frame *f = XFRAME (tip_frame); f 3066 src/pgtkfns.c if (FRAME_LIVE_P (f)) f 3077 src/pgtkfns.c pgtk_make_frame_invisible (f); f 3125 src/pgtkfns.c struct frame *f, *tip_f; f 3148 src/pgtkfns.c f = decode_window_system_frame (frame); f 3150 src/pgtkfns.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 3177 src/pgtkfns.c xg_show_tooltip (f, string); f 3285 src/pgtkfns.c if (NILP (tip_frame = x_create_tip_frame (FRAME_DISPLAY_INFO (f), parms, f))) f 3381 src/pgtkfns.c f->output_data.pgtk->current_cursor); f 3419 src/pgtkfns.c struct frame *f = decode_live_frame (frame); f 3423 src/pgtkfns.c int border = fullscreen ? 0 : f->border_width; f 3425 src/pgtkfns.c int native_width = FRAME_PIXEL_WIDTH (f); f 3426 src/pgtkfns.c int native_height = FRAME_PIXEL_HEIGHT (f); f 3433 src/pgtkfns.c if (FRAME_GTK_OUTER_WIDGET (f)) f 3434 src/pgtkfns.c gtk_window_get_position (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 3440 src/pgtkfns.c if (FRAME_GTK_WIDGET (f) == NULL) f 3443 src/pgtkfns.c gtk_widget_get_allocation (FRAME_GTK_WIDGET (f), &alloc); f 3452 src/pgtkfns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 3454 src/pgtkfns.c int tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 3458 src/pgtkfns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 3498 src/pgtkfns.c FRAME_EXTERNAL_TOOL_BAR (f) ? Qt : Qnil), f 3499 src/pgtkfns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 3580 src/pgtkfns.c struct frame *f = SELECTED_FRAME (); f 3581 src/pgtkfns.c GtkWidget *widget = gtk_widget_get_toplevel (FRAME_WIDGET (f)); f 3600 src/pgtkfns.c struct frame *f = SELECTED_FRAME (); f 3601 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 3156 src/pgtkterm.c pgtk_bitmap_icon (struct frame *f, Lisp_Object file) f 3160 src/pgtkterm.c if (FRAME_GTK_WIDGET (f) == 0) f 3164 src/pgtkterm.c if (f->output_data.pgtk->icon_bitmap > 0) f 3165 src/pgtkterm.c image_destroy_bitmap (f, f->output_data.pgtk->icon_bitmap); f 3166 src/pgtkterm.c f->output_data.pgtk->icon_bitmap = 0; f 3172 src/pgtkterm.c if (xg_set_icon (f, file)) f 3174 src/pgtkterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 3179 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 3183 src/pgtkterm.c if (xg_set_icon (f, xg_default_icon_file) f 3184 src/pgtkterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 3186 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 3193 src/pgtkterm.c rc = image_create_bitmap_from_data (f, f 3200 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 3208 src/pgtkterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 3210 src/pgtkterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 3213 src/pgtkterm.c if (FRAME_DISPLAY_INFO (f)->bitmaps[bitmap_id - 1].img != NULL) f 3214 src/pgtkterm.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 3215 src/pgtkterm.c FRAME_DISPLAY_INFO (f)->bitmaps[bitmap_id - 1].img); 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 3780 src/pgtkterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 3781 src/pgtkterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 3785 src/pgtkterm.c FRAME_X_OUTPUT (f)->cr_surface_visible_bell = surface; f 3789 src/pgtkterm.c if (FRAME_X_OUTPUT (f)->atimer_visible_bell != NULL) f 3791 src/pgtkterm.c cancel_atimer (FRAME_X_OUTPUT (f)->atimer_visible_bell); f 3792 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell = NULL; f 3795 src/pgtkterm.c FRAME_X_OUTPUT (f)->atimer_visible_bell f 3796 src/pgtkterm.c = start_atimer (ATIMER_RELATIVE, delay, recover_from_visible_bell, f); f 3806 src/pgtkterm.c pgtk_ring_bell (struct frame *f) f 3810 src/pgtkterm.c pgtk_flash (f); f 3815 src/pgtkterm.c gtk_widget_error_bell (FRAME_GTK_WIDGET (f)); f 3991 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 3996 src/pgtkterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4002 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (struct frame *f, f 4008 src/pgtkterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 4041 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4049 src/pgtkterm.c pgtk_create_horizontal_toolkit_scroll_bar (f, bar); f 4051 src/pgtkterm.c pgtk_create_toolkit_scroll_bar (f, bar); f 4064 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4067 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4074 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 4077 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4091 src/pgtkterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 4094 src/pgtkterm.c xg_remove_scroll_bar (f, bar->x_window); f 4114 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4133 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4163 src/pgtkterm.c pgtk_clear_area (f, left, top, width, height); f 4164 src/pgtkterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 4187 src/pgtkterm.c struct frame *f = XFRAME (w->frame); f 4210 src/pgtkterm.c pgtk_clear_area (f, left, top, pixel_width, height); f 4240 src/pgtkterm.c pgtk_clear_area (f, f 4244 src/pgtkterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 4305 src/pgtkterm.c struct frame *f; f 4315 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4320 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 4323 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4325 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4337 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4340 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4351 src/pgtkterm.c f = XFRAME (WINDOW_FRAME (w)); f 4356 src/pgtkterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 4359 src/pgtkterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 4361 src/pgtkterm.c fset_condemned_scroll_bars (f, bar->next); f 4373 src/pgtkterm.c bar->next = FRAME_SCROLL_BARS (f); f 4376 src/pgtkterm.c fset_scroll_bars (f, barobj); f 4386 src/pgtkterm.c pgtk_judge_scroll_bars (struct frame *f) f 4390 src/pgtkterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 4394 src/pgtkterm.c fset_condemned_scroll_bars (f, Qnil); f 4411 src/pgtkterm.c set_fullscreen_state (struct frame *f) f 4413 src/pgtkterm.c if (!FRAME_GTK_OUTER_WIDGET (f)) f 4416 src/pgtkterm.c GtkWindow *widget = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4417 src/pgtkterm.c switch (f->want_fullscreen) f 4422 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 4428 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 4434 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 4443 src/pgtkterm.c f->want_fullscreen = FULLSCREEN_NONE; f 4447 src/pgtkterm.c pgtk_fullscreen_hook (struct frame *f) f 4449 src/pgtkterm.c if (FRAME_VISIBLE_P (f)) f 4452 src/pgtkterm.c set_fullscreen_state (f); f 4513 src/pgtkterm.c pgtk_query_frame_background_color (struct frame *f, Emacs_Color * bgcolor) f 4515 src/pgtkterm.c bgcolor->pixel = FRAME_BACKGROUND_PIXEL (f); f 4516 src/pgtkterm.c pgtk_query_color (f, bgcolor); f 4520 src/pgtkterm.c pgtk_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 4530 src/pgtkterm.c pgtk_focus_frame (struct frame *f, bool noactivate) f 4536 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4538 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f) && !noactivate) f 4546 src/pgtkterm.c window = GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)); f 4551 src/pgtkterm.c widget = FRAME_WIDGET (f); f 4568 src/pgtkterm.c pgtk_set_frame_alpha (struct frame *f) f 4570 src/pgtkterm.c struct pgtk_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4574 src/pgtkterm.c if (dpyinfo->highlight_frame == f) f 4575 src/pgtkterm.c alpha = f->alpha[0]; f 4577 src/pgtkterm.c alpha = f->alpha[1]; f 4592 src/pgtkterm.c set_opacity_recursively (FRAME_WIDGET (f), &alpha); f 4594 src/pgtkterm.c gtk_widget_queue_resize_no_redraw (FRAME_WIDGET (f)); f 4598 src/pgtkterm.c frame_highlight (struct frame *f) f 4601 src/pgtkterm.c GtkWidget *w = FRAME_WIDGET (f); f 4604 src/pgtkterm.c f->border_width, f 4605 src/pgtkterm.c ((unsigned int) FRAME_X_OUTPUT (f)->border_pixel f 4615 src/pgtkterm.c GtkCssProvider *old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4616 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4624 src/pgtkterm.c gui_update_cursor (f, true); f 4625 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4629 src/pgtkterm.c frame_unhighlight (struct frame *f) f 4638 src/pgtkterm.c w = FRAME_WIDGET (f); f 4641 src/pgtkterm.c f->border_width); f 4650 src/pgtkterm.c old = FRAME_X_OUTPUT (f)->border_color_css_provider; f 4651 src/pgtkterm.c FRAME_X_OUTPUT (f)->border_color_css_provider = css_provider; f 4659 src/pgtkterm.c gui_update_cursor (f, true); f 4660 src/pgtkterm.c pgtk_set_frame_alpha (f); f 4707 src/pgtkterm.c pgtk_toggle_invisible_pointer (struct frame *f, bool invisible) f 4711 src/pgtkterm.c cursor = FRAME_DISPLAY_INFO (f)->invisible_cursor; f 4713 src/pgtkterm.c cursor = f->output_data.pgtk->current_cursor; f 4714 src/pgtkterm.c gdk_window_set_cursor (gtk_widget_get_window (FRAME_GTK_WIDGET (f)), f 4716 src/pgtkterm.c f->pointer_invisible = invisible; f 4720 src/pgtkterm.c gdk_display_flush (FRAME_X_DISPLAY (f)); f 4756 src/pgtkterm.c pgtk_buffer_flipping_unblocked_hook (struct frame *f) f 4759 src/pgtkterm.c flip_cr_context (f); f 4760 src/pgtkterm.c gtk_widget_queue_draw (FRAME_GTK_WIDGET (f)); f 4852 src/pgtkterm.c pgtk_window_is_of_frame (struct frame *f, GdkWindow *window) f 4857 src/pgtkterm.c data.emacs_gtk_fixed = FRAME_GTK_WIDGET (f); f 4858 src/pgtkterm.c pgtk_window_is_of_frame_recursive (FRAME_WIDGET (f), &data); f 4868 src/pgtkterm.c struct frame *f, *found = NULL; f 4877 src/pgtkterm.c f = XFRAME (frame); f 4878 src/pgtkterm.c if (FRAME_PGTK_P (f)) f 4880 src/pgtkterm.c if (pgtk_window_is_of_frame (f, window)) f 4881 src/pgtkterm.c found = f; f 4891 src/pgtkterm.c struct frame *f; f 4900 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 4901 src/pgtkterm.c frame_widget = FRAME_GTK_WIDGET (f); f 4907 src/pgtkterm.c if (f) f 4911 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 4918 src/pgtkterm.c inev.ie.modifiers = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 4921 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 4931 src/pgtkterm.c pgtk_fill_rectangle (struct frame *f, unsigned long color, int x, int y, f 4935 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 4936 src/pgtkterm.c pgtk_set_cr_source_with_color (f, color, respect_alpha_background); f 4939 src/pgtkterm.c pgtk_end_cr_clip (f); f 4943 src/pgtkterm.c pgtk_clear_under_internal_border (struct frame *f) f 4945 src/pgtkterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 4946 src/pgtkterm.c && (!FRAME_GTK_OUTER_WIDGET (f) f 4947 src/pgtkterm.c || gtk_widget_get_realized (FRAME_GTK_OUTER_WIDGET (f)))) f 4949 src/pgtkterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 4950 src/pgtkterm.c int width = FRAME_PIXEL_WIDTH (f); f 4951 src/pgtkterm.c int height = FRAME_PIXEL_HEIGHT (f); f 4952 src/pgtkterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 4954 src/pgtkterm.c (FRAME_PARENT_FRAME (f) f 4956 src/pgtkterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 4959 src/pgtkterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 4961 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 4967 src/pgtkterm.c #define x_fill_rectangle(f, gc, x, y, w, h) \ f 4968 src/pgtkterm.c fill_background_by_face (f, face, x, y, w, h) f 4969 src/pgtkterm.c x_fill_rectangle (f, gc, 0, margin, width, border); f 4970 src/pgtkterm.c x_fill_rectangle (f, gc, 0, 0, border, height); f 4971 src/pgtkterm.c x_fill_rectangle (f, gc, width - border, 0, border, height); f 4972 src/pgtkterm.c x_fill_rectangle (f, gc, 0, height - border, width, border); f 4977 src/pgtkterm.c #define x_clear_area(f, x, y, w, h) pgtk_clear_area (f, x, y, w, h) f 4978 src/pgtkterm.c x_clear_area (f, 0, 0, border, height); f 4979 src/pgtkterm.c x_clear_area (f, 0, margin, width, border); f 4980 src/pgtkterm.c x_clear_area (f, width - border, 0, border, height); f 4981 src/pgtkterm.c x_clear_area (f, 0, height - border, width, border); f 4992 src/pgtkterm.c struct frame *f; f 4999 src/pgtkterm.c f = pgtk_any_window_to_frame (win); f 5000 src/pgtkterm.c if (f != NULL) f 5002 src/pgtkterm.c src = FRAME_X_OUTPUT (f)->cr_surface_visible_bell; f 5003 src/pgtkterm.c if (src == NULL && FRAME_CR_ACTIVE_CONTEXT (f) != NULL) f 5004 src/pgtkterm.c src = cairo_get_target (FRAME_CR_ACTIVE_CONTEXT (f)); f 5019 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5021 src/pgtkterm.c if (!f) f 5022 src/pgtkterm.c f = user_data; f 5024 src/pgtkterm.c if (f) f 5026 src/pgtkterm.c xg_frame_resized (f, alloc->width, alloc->height); f 5027 src/pgtkterm.c pgtk_cr_update_surface_desired_size (f, alloc->width, alloc->height, false); f 5127 src/pgtkterm.c pgtk_enqueue_string (struct frame *f, gchar *str) f 5144 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5154 src/pgtkterm.c pgtk_enqueue_preedit (struct frame *f, Lisp_Object preedit) f 5161 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5173 src/pgtkterm.c struct frame *f; f 5176 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 5178 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5189 src/pgtkterm.c if (f != 0) f 5210 src/pgtkterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 5223 src/pgtkterm.c if (pgtk_im_filter_keypress (f, &event->key)) f 5227 src/pgtkterm.c state |= pgtk_emacs_to_gtk_modifiers (FRAME_DISPLAY_INFO (f), f 5248 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5250 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), modifiers); f 5262 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5276 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5291 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5373 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5381 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 5391 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5437 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->configure.window); f 5439 src/pgtkterm.c if (f && widget == FRAME_GTK_OUTER_WIDGET (f)) f 5444 src/pgtkterm.c if (f) f 5445 src/pgtkterm.c XSETFRAME (frame, f); f 5452 src/pgtkterm.c if (f->win_gravity == NorthWestGravity) f 5454 src/pgtkterm.c &f->left_pos, &f->top_pos); f 5457 src/pgtkterm.c f->top_pos = event->configure.y; f 5458 src/pgtkterm.c f->left_pos = event->configure.x; f 5469 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5476 src/pgtkterm.c if (f) f 5478 src/pgtkterm.c bool iconified = FRAME_ICONIFIED_P (f); f 5482 src/pgtkterm.c if (!FRAME_X_OUTPUT (f)->has_been_visible) f 5483 src/pgtkterm.c set_fullscreen_state (f); f 5489 src/pgtkterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 5490 src/pgtkterm.c pgtk_set_z_group (f, Qabove, Qnil); f 5491 src/pgtkterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 5492 src/pgtkterm.c pgtk_set_z_group (f, Qbelow, Qnil); f 5495 src/pgtkterm.c SET_FRAME_VISIBLE (f, 1); f 5496 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5497 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5502 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5516 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->window_state.window); f 5527 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullboth); f 5529 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qmaximized); f 5534 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullheight); f 5539 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qfullwidth); f 5541 src/pgtkterm.c store_frame_param (f, Qfullscreen, Qnil); f 5564 src/pgtkterm.c SET_FRAME_ICONIFIED (f, true); f 5565 src/pgtkterm.c SET_FRAME_VISIBLE (f, false); f 5569 src/pgtkterm.c FRAME_X_OUTPUT (f)->has_been_visible = true; f 5571 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5572 src/pgtkterm.c SET_FRAME_ICONIFIED (f, false); f 5573 src/pgtkterm.c SET_FRAME_VISIBLE (f, true); f 5577 src/pgtkterm.c store_frame_param (f, Qsticky, Qt); f 5579 src/pgtkterm.c store_frame_param (f, Qsticky, Qnil); f 5590 src/pgtkterm.c struct frame *f = pgtk_any_window_to_frame (event->any.window); f 5597 src/pgtkterm.c if (f) f 5600 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 5850 src/pgtkterm.c struct frame *f, *frame; f 5863 src/pgtkterm.c f = (gui_mouse_grabbed (dpyinfo) ? dpyinfo->last_mouse_frame f 5865 src/pgtkterm.c hlinfo = MOUSE_HL_INFO (f); f 5873 src/pgtkterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 5874 src/pgtkterm.c f = 0; f 5876 src/pgtkterm.c if (f) f 5890 src/pgtkterm.c && (f == XFRAME (selected_frame) || !NILP (focus_follows_mouse))) f 5894 src/pgtkterm.c (f, event->motion.x, event->motion.y, 0, false, false); f 5916 src/pgtkterm.c if (!note_mouse_movement (f, &event->motion)) f 5937 src/pgtkterm.c if (f) f 5938 src/pgtkterm.c XSETFRAME (frame, f); f 5958 src/pgtkterm.c struct frame *f) f 5965 src/pgtkterm.c result->modifiers = (pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 5972 src/pgtkterm.c XSETFRAME (result->frame_or_window, f); f 5974 src/pgtkterm.c result->device = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), f 5984 src/pgtkterm.c struct frame *f, *frame; f 6007 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6010 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6012 src/pgtkterm.c if (f && event->button.type == GDK_BUTTON_PRESS f 6013 src/pgtkterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 6021 src/pgtkterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 6024 src/pgtkterm.c gtk_widget_grab_focus (FRAME_GTK_WIDGET (f)); f 6026 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6027 src/pgtkterm.c gtk_window_present (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 6037 src/pgtkterm.c if (f) f 6040 src/pgtkterm.c if (WINDOWP (f->tab_bar_window) f 6041 src/pgtkterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 6047 src/pgtkterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 6048 src/pgtkterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 6052 src/pgtkterm.c (f, x, y, event->type == GDK_BUTTON_PRESS, f 6064 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6070 src/pgtkterm.c construct_mouse_click (&inev.ie, &event->button, f); f 6080 src/pgtkterm.c dpyinfo->last_mouse_frame = f; f 6092 src/pgtkterm.c if (f != 0) f 6093 src/pgtkterm.c f->mouse_moved = false; f 6104 src/pgtkterm.c struct frame *f, *frame; f 6117 src/pgtkterm.c f = dpyinfo->last_mouse_frame; f 6119 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6124 src/pgtkterm.c = pgtk_gtk_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), event->scroll.state); f 6127 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6134 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6230 src/pgtkterm.c = pgtk_get_device_for_event (FRAME_DISPLAY_INFO (f), event); f 6323 src/pgtkterm.c struct frame *f; f 6326 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6347 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6357 src/pgtkterm.c struct frame *f; f 6362 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6364 src/pgtkterm.c if (!f) f 6395 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6406 src/pgtkterm.c struct frame *f; f 6411 src/pgtkterm.c f = pgtk_any_window_to_frame (gtk_widget_get_window (widget)); f 6413 src/pgtkterm.c if (!f) f 6444 src/pgtkterm.c XSETFRAME (inev.ie.frame_or_window, f); f 6468 src/pgtkterm.c pgtk_set_event_handler (struct frame *f) f 6470 src/pgtkterm.c if (f->tooltip) f 6472 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6477 src/pgtkterm.c gtk_drag_dest_set (FRAME_GTK_WIDGET (f), 0, NULL, 0, f 6481 src/pgtkterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 6483 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), f 6486 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "delete-event", f 6488 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "event", f 6490 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_OUTER_WIDGET (f)), "configure-event", f 6494 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "map-event", f 6496 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "size-allocate", f 6497 src/pgtkterm.c G_CALLBACK (size_allocate), f); f 6498 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-press-event", f 6500 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "key-release-event", f 6502 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-in-event", f 6504 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "focus-out-event", f 6506 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "enter-notify-event", f 6508 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "leave-notify-event", f 6510 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "motion-notify-event", f 6512 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-press-event", f 6514 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "button-release-event", f 6516 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "scroll-event", f 6518 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "configure-event", f 6520 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-leave", f 6522 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-motion", f 6524 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "drag-drop", f 6526 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "draw", f 6528 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "property-notify-event", f 6530 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-clear-event", f 6532 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-request-event", f 6534 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "selection-notify-event", f 6536 src/pgtkterm.c g_signal_connect (G_OBJECT (FRAME_GTK_WIDGET (f)), "event", f 6599 src/pgtkterm.c struct frame *f; f 6603 src/pgtkterm.c f = XFRAME (tem); f 6605 src/pgtkterm.c if (FRAME_PGTK_P (f) f 6606 src/pgtkterm.c && (FRAME_GDK_WINDOW (f) == window)) f 6607 src/pgtkterm.c return f; f 6617 src/pgtkterm.c struct frame *f; f 6625 src/pgtkterm.c f = pgtk_find_selection_owner (event->selection.window); f 6627 src/pgtkterm.c if (f) f 6635 src/pgtkterm.c SELECTION_EVENT_DPYINFO (&inev.sie) = FRAME_DISPLAY_INFO (f); f 7010 src/pgtkterm.c pgtk_defined_color (struct frame *f, const char *name, f 7024 src/pgtkterm.c r = xg_check_special_colors (f, name, color_def); f 7026 src/pgtkterm.c r = pgtk_parse_color (f, name, color_def); f 7040 src/pgtkterm.c pgtk_parse_color (struct frame *f, const char *color_name, f 7061 src/pgtkterm.c pgtk_query_colors (struct frame *f, Emacs_Color * colors, int ncolors) f 7079 src/pgtkterm.c pgtk_query_color (struct frame *f, Emacs_Color * color) f 7081 src/pgtkterm.c pgtk_query_colors (f, color, 1); f 7085 src/pgtkterm.c pgtk_clear_area (struct frame *f, int x, int y, int width, int height) f 7091 src/pgtkterm.c cr = pgtk_begin_cr_clip (f); f 7092 src/pgtkterm.c pgtk_set_cr_source_with_color (f, FRAME_X_OUTPUT (f)->background_color, f 7096 src/pgtkterm.c pgtk_end_cr_clip (f); f 7199 src/pgtkterm.c pgtk_cr_update_surface_desired_size (struct frame *f, int width, int height, bool force) f 7201 src/pgtkterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 7202 src/pgtkterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height f 7205 src/pgtkterm.c pgtk_cr_destroy_frame_context (f); f 7206 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 7207 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 7208 src/pgtkterm.c SET_FRAME_GARBAGED (f); f 7214 src/pgtkterm.c pgtk_begin_cr_clip (struct frame *f) f 7216 src/pgtkterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 7222 src/pgtkterm.c (FRAME_GTK_WIDGET (f)), f 7224 src/pgtkterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f), f 7226 src/pgtkterm.c (f)); f 7228 src/pgtkterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 7238 src/pgtkterm.c pgtk_end_cr_clip (struct frame *f) f 7240 src/pgtkterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 7244 src/pgtkterm.c pgtk_set_cr_source_with_gc_foreground (struct frame *f, Emacs_GC *gc, f 7247 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->foreground, f 7252 src/pgtkterm.c pgtk_set_cr_source_with_gc_background (struct frame *f, Emacs_GC *gc, f 7255 src/pgtkterm.c pgtk_set_cr_source_with_color (f, gc->background, f 7260 src/pgtkterm.c pgtk_set_cr_source_with_color (struct frame *f, unsigned long color, f 7265 src/pgtkterm.c pgtk_query_color (f, &col); f 7269 src/pgtkterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7271 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 7275 src/pgtkterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), col.red / 65535.0, f 7277 src/pgtkterm.c f->alpha_background); f 7278 src/pgtkterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 7283 src/pgtkterm.c pgtk_cr_draw_frame (cairo_t * cr, struct frame *f) f 7285 src/pgtkterm.c cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), 0, 0); f 7301 src/pgtkterm.c pgtk_cr_destroy_frame_context (struct frame *f) f 7303 src/pgtkterm.c if (FRAME_CR_CONTEXT (f) != NULL) f 7305 src/pgtkterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 7306 src/pgtkterm.c FRAME_CR_CONTEXT (f) = NULL; f 7321 src/pgtkterm.c struct frame *f; f 7332 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7334 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7335 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 7375 src/pgtkterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 7376 src/pgtkterm.c FRAME_CR_CONTEXT (f) = cr; f 7377 src/pgtkterm.c pgtk_clear_area (f, 0, 0, width, height); f 7378 src/pgtkterm.c expose_frame (f, 0, 0, width, height); f 7379 src/pgtkterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 7385 src/pgtkterm.c f = XFRAME (XCAR (frames)); f 7387 src/pgtkterm.c width = FRAME_PIXEL_WIDTH (f); f 7388 src/pgtkterm.c height = FRAME_PIXEL_HEIGHT (f); f 447 src/pgtkterm.h #define FRAME_X_OUTPUT(f) ((f)->output_data.pgtk) f 448 src/pgtkterm.h #define FRAME_OUTPUT_DATA(f) FRAME_X_OUTPUT (f) f 450 src/pgtkterm.h #define FRAME_DISPLAY_INFO(f) (FRAME_X_OUTPUT (f)->display_info) f 451 src/pgtkterm.h #define FRAME_FOREGROUND_COLOR(f) (FRAME_X_OUTPUT (f)->foreground_color) f 452 src/pgtkterm.h #define FRAME_BACKGROUND_COLOR(f) (FRAME_X_OUTPUT (f)->background_color) f 453 src/pgtkterm.h #define FRAME_CURSOR_COLOR(f) (FRAME_X_OUTPUT (f)->cursor_color) f 454 src/pgtkterm.h #define FRAME_POINTER_TYPE(f) (FRAME_X_OUTPUT (f)->current_pointer) f 455 src/pgtkterm.h #define FRAME_FONT(f) (FRAME_X_OUTPUT (f)->font) f 456 src/pgtkterm.h #define FRAME_GTK_OUTER_WIDGET(f) (FRAME_X_OUTPUT (f)->widget) f 457 src/pgtkterm.h #define FRAME_GTK_WIDGET(f) (FRAME_X_OUTPUT (f)->edit_widget) f 458 src/pgtkterm.h #define FRAME_WIDGET(f) (FRAME_GTK_OUTER_WIDGET (f) \ f 459 src/pgtkterm.h ? FRAME_GTK_OUTER_WIDGET (f) \ f 460 src/pgtkterm.h : FRAME_GTK_WIDGET (f)) f 462 src/pgtkterm.h #define FRAME_PGTK_VIEW(f) FRAME_GTK_WIDGET (f) f 463 src/pgtkterm.h #define FRAME_X_WINDOW(f) FRAME_GTK_OUTER_WIDGET (f) f 464 src/pgtkterm.h #define FRAME_NATIVE_WINDOW(f) GTK_WINDOW (FRAME_X_WINDOW (f)) f 465 src/pgtkterm.h #define FRAME_GDK_WINDOW(f) \ f 466 src/pgtkterm.h (gtk_widget_get_window (FRAME_GTK_WIDGET (f))) f 468 src/pgtkterm.h #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->gdpy) f 475 src/pgtkterm.h #define FRAME_DEFAULT_FACE(f) FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) f 476 src/pgtkterm.h #define FRAME_MENUBAR_HEIGHT(f) (FRAME_X_OUTPUT (f)->menubar_height) f 477 src/pgtkterm.h #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.pgtk->toolbar_top_height) f 478 src/pgtkterm.h #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ f 479 src/pgtkterm.h ((f)->output_data.pgtk->toolbar_bottom_height) f 480 src/pgtkterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 481 src/pgtkterm.h (FRAME_TOOLBAR_TOP_HEIGHT (f) + FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 482 src/pgtkterm.h #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.pgtk->toolbar_left_width) f 483 src/pgtkterm.h #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.pgtk->toolbar_right_width) f 484 src/pgtkterm.h #define FRAME_TOOLBAR_WIDTH(f) \ f 485 src/pgtkterm.h (FRAME_TOOLBAR_LEFT_WIDTH (f) + FRAME_TOOLBAR_RIGHT_WIDTH (f)) f 487 src/pgtkterm.h #define FRAME_FONTSET(f) (FRAME_X_OUTPUT (f)->fontset) f 489 src/pgtkterm.h #define FRAME_BASELINE_OFFSET(f) (FRAME_X_OUTPUT (f)->baseline_offset) f 490 src/pgtkterm.h #define BLACK_PIX_DEFAULT(f) 0x000000 f 491 src/pgtkterm.h #define WHITE_PIX_DEFAULT(f) 0xFFFFFF f 495 src/pgtkterm.h #define FIRST_CHAR_POSITION(f) \ f 496 src/pgtkterm.h (! (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) ? 0 \ f 497 src/pgtkterm.h : FRAME_SCROLL_BAR_COLS (f)) f 499 src/pgtkterm.h #define FRAME_CR_SURFACE_DESIRED_WIDTH(f) \ f 500 src/pgtkterm.h ((f)->output_data.pgtk->cr_surface_desired_width) f 501 src/pgtkterm.h #define FRAME_CR_SURFACE_DESIRED_HEIGHT(f) \ f 502 src/pgtkterm.h ((f)->output_data.pgtk->cr_surface_desired_height) f 564 src/profiler.c Lisp_Object f = AREF (bt, i); f 566 src/profiler.c = (COMPILEDP (f) ? XHASH (AREF (f, COMPILED_BYTECODE)) f 567 src/profiler.c : (CONSP (f) && CONSP (XCDR (f)) && EQ (Qclosure, XCAR (f))) f 568 src/profiler.c ? XHASH (XCDR (XCDR (f))) : XHASH (f)); f 65 src/term.c static void tty_set_scroll_region (struct frame *f, int start, int stop); f 139 src/term.c tty_ring_bell (struct frame *f) f 141 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 233 src/term.c tty_update_end (struct frame *f) f 235 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 247 src/term.c tty_set_terminal_window (struct frame *f, int size) f 249 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 251 src/term.c tty->specified_window = size ? size : FRAME_TOTAL_LINES (f); f 252 src/term.c if (FRAME_SCROLL_REGION_OK (f)) f 253 src/term.c tty_set_scroll_region (f, 0, tty->specified_window); f 257 src/term.c tty_set_scroll_region (struct frame *f, int start, int stop) f 260 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 266 src/term.c FRAME_TOTAL_LINES (f), start, f 267 src/term.c FRAME_TOTAL_LINES (f) - stop, f 268 src/term.c FRAME_TOTAL_LINES (f)); f 270 src/term.c buf = tparam (tty->TS_set_window, 0, 0, start, 0, stop, FRAME_COLS (f)); f 387 src/term.c tty_cursor_to (struct frame *f, int vpos, int hpos) f 389 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 409 src/term.c tty_raw_cursor_to (struct frame *f, int row, int col) f 411 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 428 src/term.c tty_clear_to_end (struct frame *f) f 431 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 440 src/term.c for (i = curY (tty); i < FRAME_TOTAL_LINES (f); i++) f 442 src/term.c cursor_to (f, i, 0); f 443 src/term.c clear_end_of_line (f, FRAME_COLS (f)); f 451 src/term.c tty_clear_frame (struct frame *f) f 453 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 463 src/term.c cursor_to (f, 0, 0); f 464 src/term.c clear_to_end (f); f 473 src/term.c tty_clear_end_of_line (struct frame *f, int first_unused_hpos) f 476 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 726 src/term.c tty_write_glyphs (struct frame *f, struct glyph *string, int len) f 732 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 741 src/term.c && curY (tty) + 1 == FRAME_TOTAL_LINES (f) f 742 src/term.c && (curX (tty) + len) == FRAME_COLS (f)) f 752 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 753 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 769 src/term.c turn_on_face (f, face_id); f 787 src/term.c turn_off_face (f, face_id); f 797 src/term.c tty_write_glyphs_with_face (register struct frame *f, register struct glyph *string, f 803 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 812 src/term.c && curY (tty) + 1 == FRAME_TOTAL_LINES (f) f 813 src/term.c && (curX (tty) + len) == FRAME_COLS (f)) f 823 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 824 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 831 src/term.c turn_on_face (f, face_id); f 846 src/term.c turn_off_face (f, face_id); f 857 src/term.c tty_insert_glyphs (struct frame *f, struct glyph *start, int len) f 865 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 873 src/term.c write_glyphs (f, start, len); f 886 src/term.c coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK f 887 src/term.c ? FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); f 903 src/term.c turn_on_face (f, start->face_id); f 934 src/term.c turn_off_face (f, glyph->face_id); f 945 src/term.c tty_delete_glyphs (struct frame *f, int n) f 950 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 978 src/term.c tty_ins_del_lines (struct frame *f, int vpos, int n) f 980 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 996 src/term.c if (FRAME_SCROLL_REGION_OK (f) f 999 src/term.c if (!FRAME_MEMORY_BELOW_FRAME (f) f 1000 src/term.c && vpos + i >= FRAME_TOTAL_LINES (f)) f 1005 src/term.c raw_cursor_to (f, vpos, 0); f 1013 src/term.c raw_cursor_to (f, vpos, 0); f 1022 src/term.c tty_set_scroll_region (f, vpos, tty->specified_window); f 1024 src/term.c raw_cursor_to (f, tty->specified_window - 1, 0); f 1026 src/term.c raw_cursor_to (f, vpos, 0); f 1030 src/term.c tty_set_scroll_region (f, 0, tty->specified_window); f 1033 src/term.c if (!FRAME_SCROLL_REGION_OK (f) f 1034 src/term.c && FRAME_MEMORY_BELOW_FRAME (f) f 1037 src/term.c cursor_to (f, FRAME_TOTAL_LINES (f) + n, 0); f 1038 src/term.c clear_to_end (f); f 1087 src/term.c #define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_COLS ((f))]) f 1090 src/term.c calculate_ins_del_char_costs (struct frame *f) f 1092 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 1137 src/term.c p = &char_ins_del_cost (f)[0]; f 1138 src/term.c for (i = FRAME_COLS (f); --i >= 0;) f 1142 src/term.c p = &char_ins_del_cost (f)[0]; f 1146 src/term.c for (i = FRAME_COLS (f); --i >= 0;) f 1158 src/term.c register const char *f = (tty->TS_set_scroll_region f 1162 src/term.c FRAME_SCROLL_REGION_COST (frame) = string_cost (f); f 1186 src/term.c if (f && (!tty->TS_ins_line && !tty->TS_del_line)) f 1190 src/term.c f, f, 1); f 1635 src/term.c struct terminal *t = FRAME_TERMINAL (it->f); f 1921 src/term.c turn_on_face (struct frame *f, int face_id) f 1923 src/term.c struct face *face = FACE_FROM_ID (f, face_id); f 1926 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 1985 src/term.c turn_off_face (struct frame *f, int face_id) f 1987 src/term.c struct face *face = FACE_FROM_ID (f, face_id); f 1988 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 2157 src/term.c set_tty_color_mode (struct tty_display_info *tty, struct frame *f) f 2165 src/term.c tem = assq_no_quit (Qtty_color_mode, f->param_alist); f 2282 src/term.c FILE *f; f 2287 src/term.c f = t->display_info.tty->input; f 2289 src/term.c if (f) f 2299 src/term.c delete_keyboard_wait_descriptor (fileno (f)); f 2302 src/term.c if (f != t->display_info.tty->output) f 2304 src/term.c fclose (f); f 2376 src/term.c struct frame *f = XFRAME (t->display_info.tty->top_frame); f 2378 src/term.c int old_height = FRAME_COLS (f); f 2379 src/term.c int old_width = FRAME_TOTAL_LINES (f); f 2385 src/term.c change_frame_size (f, width, height, false, false, false); f 2455 src/term.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2456 src/term.c struct tty_display_info *tty = FRAME_TTY (f); f 2469 src/term.c cursor_to (f, pos_y, pos_x); f 2472 src/term.c tty_write_glyphs_with_face (f, row->glyphs[TEXT_AREA] + start_hpos, f 2475 src/term.c write_glyphs (f, row->glyphs[TEXT_AREA] + start_hpos, nglyphs); f 2477 src/term.c cursor_to (f, save_y, save_x); f 2545 src/term.c struct frame *f) f 2596 src/term.c XSETFRAME (result->frame_or_window, f); f 2604 src/term.c struct frame *f = XFRAME (tty->top_frame); f 2626 src/term.c f->mouse_moved = 1; f 2628 src/term.c count += update_mouse_position (f, event->x, event->y); f 2633 src/term.c f->mouse_moved = 0; f 2634 src/term.c term_mouse_click (&ie, event, f); f 2635 src/term.c ie.arg = tty_handle_tab_bar_click (f, event->x, event->y, f 2650 src/term.c struct frame *f = SELECTED_FRAME (); f 2652 src/term.c = ((f)->output_method == output_termcap f 2653 src/term.c ? (f)->terminal->display_info.tty : NULL); f 2698 src/term.c struct frame *f = SELECTED_FRAME (); f 2700 src/term.c = ((f)->output_method == output_termcap f 2701 src/term.c ? (f)->terminal->display_info.tty : NULL); f 2978 src/term.c save_and_enable_current_matrix (struct frame *f) f 2982 src/term.c saved->nrows = f->current_matrix->nrows; f 2987 src/term.c struct glyph_row *from = f->current_matrix->rows + i; f 3008 src/term.c restore_desired_matrix (struct frame *f, struct glyph_matrix *saved) f 3015 src/term.c struct glyph_row *to = f->desired_matrix->rows + i; f 3047 src/term.c screen_update (struct frame *f, struct glyph_matrix *mtx) f 3049 src/term.c restore_desired_matrix (f, mtx); f 3050 src/term.c update_frame_with_menu (f, -1, -1); f 3464 src/term.c tty_menu_last_menubar_item (struct frame *f) f 3468 src/term.c eassert (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)); f 3469 src/term.c if (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)) f 3471 src/term.c Lisp_Object items = FRAME_MENU_BAR_ITEMS (f); f 3493 src/term.c tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y) f 3495 src/term.c eassert (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)); f 3496 src/term.c if (FRAME_TERMCAP_P (f) && FRAME_LIVE_P (f)) f 3498 src/term.c Lisp_Object items = FRAME_MENU_BAR_ITEMS (f); f 3499 src/term.c int last_i = tty_menu_last_menubar_item (f); f 3545 src/term.c tty_menu_show (struct frame *f, int x, int y, int menuflags, f 3559 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3580 src/term.c temporarily_switch_to_single_kboard (f); f 3583 src/term.c item_x = x += f->left_pos; f 3584 src/term.c item_y = y += f->top_pos; f 3683 src/term.c dispwidth = f->text_cols; f 3684 src/term.c dispheight = f->text_lines; f 3701 src/term.c if (FRAME_HAS_MINIBUF_P (f) && uly + height > dispheight - 2) f 3790 src/term.c tty_menu_new_item_coords (f, status, &item_x, &item_y); f 3802 src/term.c if (f != SELECTED_FRAME ()) f 3828 src/term.c create_tty_output (struct frame *f) f 3832 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3834 src/term.c t->display_info = FRAME_TERMINAL (f)->display_info.tty; f 3836 src/term.c f->output_data.tty = t; f 3842 src/term.c tty_free_frame_resources (struct frame *f) f 3844 src/term.c eassert (FRAME_TERMCAP_P (f)); f 3845 src/term.c free_frame_faces (f); f 3846 src/term.c xfree (f->output_data.tty); f 3854 src/term.c tty_free_frame_resources (struct frame *f) f 3856 src/term.c eassert (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); f 3857 src/term.c free_frame_faces (f); f 4256 src/term.c struct frame *f = XFRAME (selected_frame); f 4265 src/term.c FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_none; f 4266 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 547 src/termhooks.h void (*cursor_to_hook) (struct frame *f, int vpos, int hpos); f 554 src/termhooks.h void (*ins_del_lines_hook) (struct frame *f, int, int); f 556 src/termhooks.h void (*insert_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 557 src/termhooks.h void (*write_glyphs_hook) (struct frame *f, struct glyph *s, int n); f 560 src/termhooks.h void (*ring_bell_hook) (struct frame *f); f 561 src/termhooks.h void (*toggle_invisible_pointer_hook) (struct frame *f, bool invisible); f 576 src/termhooks.h bool (*defined_color_hook) (struct frame *f, const char *color_name, f 596 src/termhooks.h void (*query_frame_background_color) (struct frame *f, Emacs_Color *bgcolor); f 602 src/termhooks.h void (*query_colors) (struct frame *f, Emacs_Color *colors, int ncolors); f 619 src/termhooks.h void (*mouse_position_hook) (struct frame **f, int, f 627 src/termhooks.h Lisp_Object (*get_focus_frame) (struct frame *f); f 630 src/termhooks.h void (*focus_frame_hook) (struct frame *f, bool noactivate); f 647 src/termhooks.h void (*frame_raise_lower_hook) (struct frame *f, bool raise_flag); f 651 src/termhooks.h void (*frame_visible_invisible_hook) (struct frame *f, bool visible); f 656 src/termhooks.h void (*fullscreen_hook) (struct frame *f); f 659 src/termhooks.h void (*iconify_frame_hook) (struct frame *f); f 665 src/termhooks.h void (*set_window_size_hook) (struct frame *f, bool change_gravity, f 674 src/termhooks.h void (*set_frame_offset_hook) (struct frame *f, register int xoff, f 678 src/termhooks.h void (*set_frame_alpha_hook) (struct frame *f); f 681 src/termhooks.h Lisp_Object (*set_new_font_hook) (struct frame *f, Lisp_Object font_object, f 685 src/termhooks.h bool (*set_bitmap_icon_hook) (struct frame *f, Lisp_Object file); f 689 src/termhooks.h void (*implicit_set_name_hook) (struct frame *f, Lisp_Object arg, f 693 src/termhooks.h Lisp_Object (*menu_show_hook) (struct frame *f, int x, int y, int menuflags, f 698 src/termhooks.h void (*activate_menubar_hook) (struct frame *f); f 702 src/termhooks.h Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, f 706 src/termhooks.h void (*change_tab_bar_height_hook) (struct frame *f, int height); f 709 src/termhooks.h void (*change_tool_bar_height_hook) (struct frame *f, int height); f 828 src/termhooks.h void (*free_pixmap) (struct frame *f, Emacs_Pixmap pixmap); f 894 src/termhooks.h #define FRAME_MUST_WRITE_SPACES(f) (FRAME_TTY (f)->must_write_spaces) f 895 src/termhooks.h #define FRAME_LINE_INS_DEL_OK(f) (FRAME_TTY (f)->line_ins_del_ok) f 896 src/termhooks.h #define FRAME_CHAR_INS_DEL_OK(f) (FRAME_TTY (f)->char_ins_del_ok) f 897 src/termhooks.h #define FRAME_SCROLL_REGION_OK(f) (FRAME_TTY (f)->scroll_region_ok) f 898 src/termhooks.h #define FRAME_SCROLL_REGION_COST(f) (FRAME_TTY (f)->scroll_region_cost) f 899 src/termhooks.h #define FRAME_MEMORY_BELOW_FRAME(f) (FRAME_TTY (f)->memory_below_frame) f 901 src/termhooks.h #define FRAME_TERMINAL_CODING(f) ((f)->terminal->terminal_coding) f 902 src/termhooks.h #define FRAME_KEYBOARD_CODING(f) ((f)->terminal->keyboard_coding) f 907 src/termhooks.h #define FRAME_RIF(f) ((f)->terminal->rif) f 909 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 611 src/terminal.c initial_free_frame_resources (struct frame *f) f 613 src/terminal.c eassert (FRAME_INITIAL_P (f)); f 614 src/terminal.c free_frame_faces (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 1541 src/w32fns.c (FRAME_PARENT_FRAME (f) f 1543 src/w32fns.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 1546 src/w32fns.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 1548 src/w32fns.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 1551 src/w32fns.c HDC hdc = get_frame_dc (f); f 1557 src/w32fns.c w32_fill_area (f, hdc, color, 0, FRAME_TOP_MARGIN_HEIGHT (f), width, border); f 1558 src/w32fns.c w32_fill_area (f, hdc, color, 0, 0, border, height); f 1559 src/w32fns.c w32_fill_area (f, hdc, color, width - border, 0, border, height); f 1560 src/w32fns.c w32_fill_area (f, hdc, color, 0, height - border, width, border); f 1564 src/w32fns.c w32_clear_area (f, hdc, 0, FRAME_TOP_MARGIN_HEIGHT (f), width, border); f 1565 src/w32fns.c w32_clear_area (f, hdc, 0, 0, border, height); f 1566 src/w32fns.c w32_clear_area (f, hdc, width - border, 0, border, height); f 1567 src/w32fns.c w32_clear_area (f, hdc, 0, height - border, width, border); f 1569 src/w32fns.c release_frame_dc (f, hdc); f 1581 src/w32fns.c w32_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1592 src/w32fns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 1594 src/w32fns.c f->child_frame_border_width = border; f 1596 src/w32fns.c if (FRAME_NATIVE_WINDOW (f) != 0) f 1598 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 1600 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1601 src/w32fns.c w32_clear_under_internal_border (f); f 1614 src/w32fns.c w32_set_internal_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1619 src/w32fns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 1621 src/w32fns.c f->internal_border_width = border; f 1623 src/w32fns.c if (FRAME_NATIVE_WINDOW (f) != 0) f 1625 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 1627 src/w32fns.c if (FRAME_VISIBLE_P (f)) f 1628 src/w32fns.c w32_clear_under_internal_border (f); f 1643 src/w32fns.c w32_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1650 src/w32fns.c if (!FRAME_MINIBUF_ONLY_P (f) && !FRAME_PARENT_FRAME (f)) f 1652 src/w32fns.c boolean old = FRAME_EXTERNAL_MENU_BAR (f); f 1655 src/w32fns.c FRAME_MENU_BAR_LINES (f) = 0; f 1656 src/w32fns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1660 src/w32fns.c FRAME_EXTERNAL_MENU_BAR (f) = new; f 1665 src/w32fns.c set_frame_menubar (f, true); f 1669 src/w32fns.c free_frame_menubar (f); f 1678 src/w32fns.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1681 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1682 src/w32fns.c w32_clear_under_internal_border (f); f 1685 src/w32fns.c store_frame_param (f, Qmenu_bar_lines, make_fixnum (new ? 1 : 0)); f 1698 src/w32fns.c w32_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1703 src/w32fns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1712 src/w32fns.c w32_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1718 src/w32fns.c w32_change_tab_bar_height (struct frame *f, int height) f 1720 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 1721 src/w32fns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 1733 src/w32fns.c fset_redisplay (f); f 1736 src/w32fns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 1737 src/w32fns.c FRAME_TAB_BAR_LINES (f) = lines; f 1739 src/w32fns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 1740 src/w32fns.c store_frame_param (f, Qheight, make_fixnum (FRAME_LINES (f))); f 1748 src/w32fns.c if (FRAME_W32_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 1750 src/w32fns.c clear_frame (f); f 1751 src/w32fns.c clear_current_matrices (f); f 1754 src/w32fns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 1755 src/w32fns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 1757 src/w32fns.c if (!f->tab_bar_resized) f 1759 src/w32fns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1764 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1767 src/w32fns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 1769 src/w32fns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 1773 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 1777 src/w32fns.c adjust_frame_glyphs (f); f 1778 src/w32fns.c SET_FRAME_GARBAGED (f); f 1779 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1780 src/w32fns.c w32_clear_under_internal_border (f); f 1792 src/w32fns.c w32_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1797 src/w32fns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1806 src/w32fns.c w32_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1816 src/w32fns.c w32_set_inhibit_double_buffering (struct frame *f, f 1824 src/w32fns.c FRAME_OUTPUT_DATA (f)->want_paint_buffer = 1; f 1827 src/w32fns.c FRAME_OUTPUT_DATA (f)->want_paint_buffer = 0; f 1828 src/w32fns.c w32_release_paint_buffer (f); f 1830 src/w32fns.c SET_FRAME_GARBAGED (f); f 1838 src/w32fns.c w32_change_tool_bar_height (struct frame *f, int height) f 1840 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 1841 src/w32fns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 1843 src/w32fns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1849 src/w32fns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 1850 src/w32fns.c FRAME_TOOL_BAR_LINES (f) = lines; f 1852 src/w32fns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 1853 src/w32fns.c store_frame_param (f, Qheight, make_fixnum (FRAME_LINES (f))); f 1855 src/w32fns.c if (FRAME_W32_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 1857 src/w32fns.c clear_frame (f); f 1858 src/w32fns.c clear_current_matrices (f); f 1861 src/w32fns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 1862 src/w32fns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 1864 src/w32fns.c if (!f->tool_bar_resized) f 1869 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1872 src/w32fns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 1874 src/w32fns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 1878 src/w32fns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 1882 src/w32fns.c adjust_frame_glyphs (f); f 1883 src/w32fns.c SET_FRAME_GARBAGED (f); f 1884 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1885 src/w32fns.c w32_clear_under_internal_border (f); f 1889 src/w32fns.c w32_set_title_bar_text (struct frame *f, Lisp_Object name) f 1891 src/w32fns.c if (FRAME_W32_WINDOW (f)) f 1895 src/w32fns.c GUI_FN (SetWindowText) (FRAME_W32_WINDOW (f), f 1920 src/w32fns.c SetWindowTextW (FRAME_W32_WINDOW (f), title_w); f 1923 src/w32fns.c SetWindowTextA (FRAME_W32_WINDOW (f), f 1927 src/w32fns.c SetWindowTextA (FRAME_W32_WINDOW (f), SSDATA (ENCODE_SYSTEM (name))); f 1945 src/w32fns.c w32_set_name (struct frame *f, Lisp_Object name, bool explicit) f 1953 src/w32fns.c if (f->explicit_name && NILP (name)) f 1956 src/w32fns.c f->explicit_name = ! NILP (name); f 1958 src/w32fns.c else if (f->explicit_name) f 1966 src/w32fns.c if (!strcmp (FRAME_DISPLAY_INFO (f)->w32_id_name, f 1967 src/w32fns.c SSDATA (f->name))) f 1969 src/w32fns.c name = build_string (FRAME_DISPLAY_INFO (f)->w32_id_name); f 1975 src/w32fns.c if (! NILP (Fstring_equal (name, f->name))) f 1978 src/w32fns.c fset_name (f, name); f 1982 src/w32fns.c if (! NILP (f->title)) f 1983 src/w32fns.c name = f->title; f 1985 src/w32fns.c w32_set_title_bar_text (f, name); f 1992 src/w32fns.c w32_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1994 src/w32fns.c w32_set_name (f, arg, true); f 2001 src/w32fns.c w32_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2003 src/w32fns.c w32_set_name (f, arg, false); f 2010 src/w32fns.c w32_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 2013 src/w32fns.c if (EQ (name, f->title)) f 2018 src/w32fns.c fset_title (f, name); f 2021 src/w32fns.c name = f->name; f 2023 src/w32fns.c w32_set_title_bar_text (f, name); f 2027 src/w32fns.c w32_set_scroll_bar_default_width (struct frame *f) f 2029 src/w32fns.c int unit = FRAME_COLUMN_WIDTH (f); f 2031 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = GetSystemMetrics (SM_CXVSCROLL); f 2032 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 2033 src/w32fns.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 2038 src/w32fns.c w32_set_scroll_bar_default_height (struct frame *f) f 2040 src/w32fns.c int unit = FRAME_LINE_HEIGHT (f); f 2042 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = GetSystemMetrics (SM_CXHSCROLL); f 2043 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) f 2044 src/w32fns.c = (FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) + unit - 1) / unit; f 2060 src/w32fns.c w32_set_undecorated (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2062 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2064 src/w32fns.c Lisp_Object border_width = Fcdr (Fassq (Qborder_width, f->param_alist)); f 2067 src/w32fns.c if (!NILP (new_value) && !FRAME_UNDECORATED (f)) f 2076 src/w32fns.c FRAME_UNDECORATED (f) = true; f 2078 src/w32fns.c else if (NILP (new_value) && FRAME_UNDECORATED (f)) f 2085 src/w32fns.c FRAME_UNDECORATED (f) = false; f 2088 src/w32fns.c f->output_data.w32->dwStyle = GetWindowLong (hwnd, GWL_STYLE); f 2122 src/w32fns.c w32_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2131 src/w32fns.c store_frame_param (f, Qparent_frame, old_value); f 2135 src/w32fns.c if (p != FRAME_PARENT_FRAME (f)) f 2137 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2146 src/w32fns.c fset_parent_frame (f, new_value); f 2149 src/w32fns.c store_frame_param (f, Qparent_frame, old_value); f 2167 src/w32fns.c w32_set_skip_taskbar (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2171 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2185 src/w32fns.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 2201 src/w32fns.c w32_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2204 src/w32fns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 2220 src/w32fns.c w32_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2223 src/w32fns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 2245 src/w32fns.c w32_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 2247 src/w32fns.c HWND hwnd = FRAME_W32_WINDOW (f); f 2256 src/w32fns.c FRAME_Z_GROUP (f) = z_group_none; f 2265 src/w32fns.c FRAME_Z_GROUP (f) = z_group_above; f 2274 src/w32fns.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 2363 src/w32fns.c w32_createvscrollbar (struct frame *f, struct scroll_bar * bar) f 2373 src/w32fns.c FRAME_W32_WINDOW (f), NULL, hinst, NULL); f 2380 src/w32fns.c w32_createhscrollbar (struct frame *f, struct scroll_bar * bar) f 2390 src/w32fns.c FRAME_W32_WINDOW (f), NULL, hinst, NULL); f 2397 src/w32fns.c w32_createwindow (struct frame *f, int *coords) f 2402 src/w32fns.c Lisp_Object border_width = Fcdr (Fassq (Qborder_width, f->param_alist)); f 2404 src/w32fns.c if (FRAME_PARENT_FRAME (f) && FRAME_W32_P (FRAME_PARENT_FRAME (f))) f 2406 src/w32fns.c parent_hwnd = FRAME_W32_WINDOW (FRAME_PARENT_FRAME (f)); f 2407 src/w32fns.c f->output_data.w32->dwStyle = WS_CHILD | WS_CLIPSIBLINGS; f 2409 src/w32fns.c if (FRAME_UNDECORATED (f)) f 2413 src/w32fns.c f->output_data.w32->dwStyle |= WS_BORDER; f 2417 src/w32fns.c f->output_data.w32->dwStyle |= (WS_THICKFRAME | WS_CAPTION f 2421 src/w32fns.c else if (FRAME_UNDECORATED (f)) f 2425 src/w32fns.c f->output_data.w32->dwStyle = WS_POPUP; f 2429 src/w32fns.c f->output_data.w32->dwStyle |= WS_BORDER; f 2432 src/w32fns.c f->output_data.w32->dwStyle = WS_OVERLAPPEDWINDOW; f 2435 src/w32fns.c f->output_data.w32->dwStyle |= WS_CLIPCHILDREN; f 2438 src/w32fns.c rect.right = FRAME_PIXEL_WIDTH (f); f 2439 src/w32fns.c rect.bottom = FRAME_PIXEL_HEIGHT (f); f 2441 src/w32fns.c AdjustWindowRect (&rect, f->output_data.w32->dwStyle, f 2442 src/w32fns.c FRAME_EXTERNAL_MENU_BAR (f) && !parent_hwnd); f 2447 src/w32fns.c if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) f 2449 src/w32fns.c left = f->left_pos; f 2450 src/w32fns.c top = f->top_pos; f 2458 src/w32fns.c FRAME_W32_WINDOW (f) = hwnd f 2459 src/w32fns.c = CreateWindow (EMACS_CLASS, f->namebuf, f->output_data.w32->dwStyle, f 2465 src/w32fns.c if (FRAME_SKIP_TASKBAR (f)) f 2469 src/w32fns.c SetWindowLong (hwnd, WND_FONTWIDTH_INDEX, FRAME_COLUMN_WIDTH (f)); f 2470 src/w32fns.c SetWindowLong (hwnd, WND_LINEHEIGHT_INDEX, FRAME_LINE_HEIGHT (f)); f 2471 src/w32fns.c SetWindowLong (hwnd, WND_BORDER_INDEX, FRAME_INTERNAL_BORDER_WIDTH (f)); f 2472 src/w32fns.c SetWindowLong (hwnd, WND_VSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_WIDTH (f)); f 2473 src/w32fns.c SetWindowLong (hwnd, WND_HSCROLLBAR_INDEX, FRAME_SCROLL_BAR_AREA_HEIGHT (f)); f 2474 src/w32fns.c SetWindowLong (hwnd, WND_BACKGROUND_INDEX, FRAME_BACKGROUND_PIXEL (f)); f 2493 src/w32fns.c f->left_pos = rect.left; f 2494 src/w32fns.c f->top_pos = rect.top; f 4099 src/w32fns.c struct frame *f; f 4124 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4127 src/w32fns.c if (f && (w32_disable_double_buffering f 4128 src/w32fns.c || !FRAME_OUTPUT_DATA (f)->paint_buffer)) f 4130 src/w32fns.c HDC hdc = get_frame_dc (f); f 4132 src/w32fns.c w32_clear_rect (f, hdc, &wmsg.rect); f 4133 src/w32fns.c release_frame_dc (f, hdc); f 4137 src/w32fns.c f, f 4148 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4149 src/w32fns.c if (f) f 4152 src/w32fns.c release_frame_dc (f, get_frame_dc (f)); f 4161 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4162 src/w32fns.c if (f == 0) f 4183 src/w32fns.c f, f 4195 src/w32fns.c && FRAME_OUTPUT_DATA (f)->paint_dc) f 4196 src/w32fns.c BitBlt (FRAME_OUTPUT_DATA (f)->paint_buffer_handle, f 4197 src/w32fns.c 0, 0, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 4198 src/w32fns.c FRAME_OUTPUT_DATA (f)->paint_dc, 0, 0, SRCCOPY); f 4626 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4627 src/w32fns.c if (!(f && FRAME_LIVE_P (f))) f 4629 src/w32fns.c w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 4803 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4804 src/w32fns.c if (f && f->output_data.w32->menubar_active) f 4823 src/w32fns.c if (f && (msg == WM_LBUTTONDOWN || msg == WM_RBUTTONDOWN f 4825 src/w32fns.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 4832 src/w32fns.c if (FRAME_PARENT_FRAME (f) || f == p) f 4848 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4849 src/w32fns.c if (f) f 4855 src/w32fns.c if (f->output_data.w32->menubar_active) f 4866 src/w32fns.c if (f->pointer_invisible f 4868 src/w32fns.c f->pointer_invisible = false; f 4986 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 4993 src/w32fns.c if (f) f 4994 src/w32fns.c f->output_data.w32->menubar_active = 0; f 5028 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5029 src/w32fns.c if (f f 5030 src/w32fns.c && (f->output_data.w32->menubar_active f 5036 src/w32fns.c || f->output_data.w32->menubar_widget == NULL)) f 5053 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5061 src/w32fns.c if (f && menubar_in_use && current_popup_menu == NULL) f 5065 src/w32fns.c if (f && f->output_data.w32->hourglass_p) f 5066 src/w32fns.c SetCursor (f->output_data.w32->hourglass_cursor); f 5084 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5085 src/w32fns.c if (f) f 5130 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5131 src/w32fns.c if (f) f 5191 src/w32fns.c if ((f = w32_window_to_frame (dpyinfo, hwnd)) f 5192 src/w32fns.c && FRAME_NO_ACCEPT_FOCUS (f) f 5194 src/w32fns.c && !FRAME_PARENT_FRAME (f)) f 5198 src/w32fns.c XSETFRAME (frame, f); f 5247 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5248 src/w32fns.c if (f && HIWORD (wParam) == 0) f 5312 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5313 src/w32fns.c if (f) f 5315 src/w32fns.c if (f->output_data.w32->hourglass_p f 5317 src/w32fns.c SetCursor (f->output_data.w32->hourglass_cursor); f 5318 src/w32fns.c else if (f->pointer_invisible) f 5321 src/w32fns.c SetCursor (f->output_data.w32->current_cursor); f 5331 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5332 src/w32fns.c if (f && cursor) f 5334 src/w32fns.c f->output_data.w32->current_cursor = cursor; f 5336 src/w32fns.c if (!f->output_data.w32->menubar_active f 5337 src/w32fns.c && !f->output_data.w32->hourglass_p) f 5339 src/w32fns.c if (f->pointer_invisible) f 5471 src/w32fns.c f = w32_window_to_frame (dpyinfo, hwnd); f 5472 src/w32fns.c if (f) f 5473 src/w32fns.c f->output_data.w32->menubar_active = 1; f 5527 src/w32fns.c my_create_window (struct frame * f) f 5539 src/w32fns.c if (!(f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)) f 5563 src/w32fns.c (WPARAM)f, (LPARAM)coords)) f 5574 src/w32fns.c my_create_tip_window (struct frame *f) f 5579 src/w32fns.c rect.right = FRAME_PIXEL_WIDTH (f); f 5580 src/w32fns.c rect.bottom = FRAME_PIXEL_HEIGHT (f); f 5582 src/w32fns.c AdjustWindowRect (&rect, f->output_data.w32->dwStyle, false); f 5584 src/w32fns.c tip_window = FRAME_W32_WINDOW (f) f 5586 src/w32fns.c f->namebuf, f 5587 src/w32fns.c f->output_data.w32->dwStyle, f 5588 src/w32fns.c f->left_pos, f 5589 src/w32fns.c f->top_pos, f 5599 src/w32fns.c SetWindowLong (tip_window, WND_FONTWIDTH_INDEX, FRAME_COLUMN_WIDTH (f)); f 5600 src/w32fns.c SetWindowLong (tip_window, WND_LINEHEIGHT_INDEX, FRAME_LINE_HEIGHT (f)); f 5601 src/w32fns.c SetWindowLong (tip_window, WND_BORDER_INDEX, FRAME_INTERNAL_BORDER_WIDTH (f)); f 5602 src/w32fns.c SetWindowLong (tip_window, WND_BACKGROUND_INDEX, FRAME_BACKGROUND_PIXEL (f)); f 5617 src/w32fns.c w32_window (struct frame *f, long window_prompting, bool minibuffer_only) f 5626 src/w32fns.c f->namebuf = xlispstrdup (Vx_resource_name); f 5628 src/w32fns.c my_create_window (f); f 5638 src/w32fns.c int explicit = f->explicit_name; f 5640 src/w32fns.c f->explicit_name = 0; f 5641 src/w32fns.c name = f->name; f 5642 src/w32fns.c fset_name (f, Qnil); f 5643 src/w32fns.c w32_set_name (f, name, explicit); f 5648 src/w32fns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f) f 5649 src/w32fns.c && !FRAME_PARENT_FRAME (f)) f 5650 src/w32fns.c initialize_frame_menubar (f); f 5652 src/w32fns.c if (FRAME_W32_WINDOW (f) == 0) f 5661 src/w32fns.c w32_icon (struct frame *f, Lisp_Object parms) f 5689 src/w32fns.c w32_make_gc (struct frame *f) f 5699 src/w32fns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 5700 src/w32fns.c gc_values.background = f->output_data.w32->cursor_pixel; f 5701 src/w32fns.c f->output_data.w32->cursor_gc f 5702 src/w32fns.c = XCreateGC (NULL, FRAME_W32_WINDOW (f), f 5707 src/w32fns.c f->output_data.w32->white_relief.gc = 0; f 5708 src/w32fns.c f->output_data.w32->black_relief.gc = 0; f 5721 src/w32fns.c struct frame *f = XFRAME (frame); f 5727 src/w32fns.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5736 src/w32fns.c if (FRAME_IMAGE_CACHE (f) != NULL f 5737 src/w32fns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 5738 src/w32fns.c FRAME_IMAGE_CACHE (f)->refcount++; f 5741 src/w32fns.c w32_free_frame_resources (f); f 5742 src/w32fns.c free_glyphs (f); f 5765 src/w32fns.c w32_default_font_parameter (struct frame *f, Lisp_Object parms) f 5767 src/w32fns.c struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5790 src/w32fns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 5798 src/w32fns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); f 5806 src/w32fns.c struct frame *f; f 5868 src/w32fns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 5871 src/w32fns.c f = make_minibuffer_frame (); f 5875 src/w32fns.c f = make_frame_without_minibuffer (tem, kb, display); f 5877 src/w32fns.c f = make_frame (true); f 5879 src/w32fns.c XSETFRAME (frame, f); f 5893 src/w32fns.c fset_parent_frame (f, parent_frame); f 5894 src/w32fns.c store_frame_param (f, Qparent_frame, parent_frame); f 5898 src/w32fns.c FRAME_UNDECORATED (f) = !NILP (tem) && !BASE_EQ (tem, Qunbound); f 5899 src/w32fns.c store_frame_param (f, Qundecorated, FRAME_UNDECORATED (f) ? Qt : Qnil); f 5903 src/w32fns.c FRAME_SKIP_TASKBAR (f) = !NILP (tem) && !BASE_EQ (tem, Qunbound); f 5904 src/w32fns.c store_frame_param (f, Qskip_taskbar, f 5908 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = GetSystemMetrics (SM_CXVSCROLL); f 5909 src/w32fns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = GetSystemMetrics (SM_CXHSCROLL); f 5911 src/w32fns.c f->terminal = dpyinfo->terminal; f 5913 src/w32fns.c f->output_method = output_w32; f 5914 src/w32fns.c f->output_data.w32 = xzalloc (sizeof (struct w32_output)); f 5915 src/w32fns.c FRAME_FONTSET (f) = -1; f 5920 src/w32fns.c if (!f->terminal->reference_count) f 5921 src/w32fns.c gui_init_fringe (f->terminal->rif); f 5923 src/w32fns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, f 5929 src/w32fns.c if (! STRINGP (f->icon_name)) f 5930 src/w32fns.c fset_icon_name (f, Qnil); f 5939 src/w32fns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 5950 src/w32fns.c f->output_data.w32->parent_desc = (Window) (UINT_PTR) XFIXNAT (parent); f 5951 src/w32fns.c f->output_data.w32->explicit_parent = true; f 5955 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 5956 src/w32fns.c f->output_data.w32->explicit_parent = false; f 5963 src/w32fns.c fset_name (f, build_string (dpyinfo->w32_id_name)); f 5964 src/w32fns.c f->explicit_name = false; f 5968 src/w32fns.c fset_name (f, name); f 5969 src/w32fns.c f->explicit_name = true; f 5976 src/w32fns.c register_font_driver (&harfbuzz_font_driver, f); f 5978 src/w32fns.c register_font_driver (&uniscribe_font_driver, f); f 5979 src/w32fns.c register_font_driver (&w32font_driver, f); f 5981 src/w32fns.c gui_default_parameter (f, parameters, Qfont_backend, Qnil, f 5986 src/w32fns.c w32_default_font_parameter (f, parameters); f 5989 src/w32fns.c gui_default_parameter (f, parameters, Qborder_width, make_fixnum (0), f 6006 src/w32fns.c gui_default_parameter (f, parameters, Qinternal_border_width, make_fixnum (0), f 6023 src/w32fns.c gui_default_parameter (f, parameters, Qchild_frame_border_width, Qnil, f 6026 src/w32fns.c gui_default_parameter (f, parameters, Qright_divider_width, make_fixnum (0), f 6028 src/w32fns.c gui_default_parameter (f, parameters, Qbottom_divider_width, make_fixnum (0), f 6030 src/w32fns.c gui_default_parameter (f, parameters, Qvertical_scroll_bars, Qright, f 6032 src/w32fns.c gui_default_parameter (f, parameters, Qhorizontal_scroll_bars, Qnil, f 6036 src/w32fns.c gui_default_parameter (f, parameters, Qforeground_color, build_string ("black"), f 6038 src/w32fns.c gui_default_parameter (f, parameters, Qbackground_color, build_string ("white"), f 6040 src/w32fns.c gui_default_parameter (f, parameters, Qmouse_color, build_string ("black"), f 6042 src/w32fns.c gui_default_parameter (f, parameters, Qborder_color, build_string ("black"), f 6044 src/w32fns.c gui_default_parameter (f, parameters, Qscreen_gamma, Qnil, f 6046 src/w32fns.c gui_default_parameter (f, parameters, Qline_spacing, Qnil, f 6048 src/w32fns.c gui_default_parameter (f, parameters, Qleft_fringe, Qnil, f 6050 src/w32fns.c gui_default_parameter (f, parameters, Qright_fringe, Qnil, f 6052 src/w32fns.c gui_default_parameter (f, parameters, Qno_focus_on_map, Qnil, f 6054 src/w32fns.c gui_default_parameter (f, parameters, Qno_accept_focus, Qnil, f 6056 src/w32fns.c gui_default_parameter (f, parameters, Qno_special_glyphs, Qnil, f 6058 src/w32fns.c gui_default_parameter (f, parameters, Qalpha_background, Qnil, f 6064 src/w32fns.c if (!FRAME_NO_FOCUS_ON_MAP (f)) f 6065 src/w32fns.c gui_default_parameter (f, parameters, Qalpha, Qnil, f 6070 src/w32fns.c init_frame_faces (f); f 6087 src/w32fns.c store_frame_param (f, Qmin_width, tem); f 6091 src/w32fns.c store_frame_param (f, Qmin_height, tem); f 6092 src/w32fns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 6093 src/w32fns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 6101 src/w32fns.c gui_default_parameter (f, parameters, Qmenu_bar_lines, f 6108 src/w32fns.c store_frame_param (f, Qmenu_bar_lines, make_fixnum (0)); f 6110 src/w32fns.c gui_default_parameter (f, parameters, Qtab_bar_lines, f 6115 src/w32fns.c gui_default_parameter (f, parameters, Qtool_bar_lines, f 6120 src/w32fns.c gui_default_parameter (f, parameters, Qinhibit_double_buffering, Qnil, f 6124 src/w32fns.c gui_default_parameter (f, parameters, Qbuffer_predicate, Qnil, f 6126 src/w32fns.c gui_default_parameter (f, parameters, Qtitle, Qnil, f 6129 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 6130 src/w32fns.c f->output_data.w32->text_cursor = w32_load_cursor (IDC_IBEAM); f 6131 src/w32fns.c f->output_data.w32->nontext_cursor = w32_load_cursor (IDC_ARROW); f 6132 src/w32fns.c f->output_data.w32->modeline_cursor = w32_load_cursor (IDC_ARROW); f 6133 src/w32fns.c f->output_data.w32->hand_cursor = w32_load_cursor (IDC_HAND); f 6134 src/w32fns.c f->output_data.w32->hourglass_cursor = w32_load_cursor (IDC_WAIT); f 6135 src/w32fns.c f->output_data.w32->horizontal_drag_cursor = w32_load_cursor (IDC_SIZEWE); f 6136 src/w32fns.c f->output_data.w32->vertical_drag_cursor = w32_load_cursor (IDC_SIZENS); f 6137 src/w32fns.c f->output_data.w32->left_edge_cursor = w32_load_cursor (IDC_SIZEWE); f 6138 src/w32fns.c f->output_data.w32->top_left_corner_cursor = w32_load_cursor (IDC_SIZENWSE); f 6139 src/w32fns.c f->output_data.w32->top_edge_cursor = w32_load_cursor (IDC_SIZENS); f 6140 src/w32fns.c f->output_data.w32->top_right_corner_cursor = w32_load_cursor (IDC_SIZENESW); f 6141 src/w32fns.c f->output_data.w32->right_edge_cursor = w32_load_cursor (IDC_SIZEWE); f 6142 src/w32fns.c f->output_data.w32->bottom_right_corner_cursor = w32_load_cursor (IDC_SIZENWSE); f 6143 src/w32fns.c f->output_data.w32->bottom_edge_cursor = w32_load_cursor (IDC_SIZENS); f 6144 src/w32fns.c f->output_data.w32->bottom_left_corner_cursor = w32_load_cursor (IDC_SIZENESW); f 6146 src/w32fns.c f->output_data.w32->current_cursor = f->output_data.w32->nontext_cursor; f 6148 src/w32fns.c window_prompting = gui_figure_window_size (f, parameters, true, true); f 6152 src/w32fns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 6154 src/w32fns.c w32_window (f, window_prompting, minibuffer_only); f 6155 src/w32fns.c w32_icon (f, parameters); f 6157 src/w32fns.c w32_make_gc (f); f 6160 src/w32fns.c f->terminal->reference_count++; f 6161 src/w32fns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 6166 src/w32fns.c gui_default_parameter (f, parameters, Qicon_type, Qnil, f 6169 src/w32fns.c gui_default_parameter (f, parameters, Qauto_raise, Qnil, f 6171 src/w32fns.c gui_default_parameter (f, parameters, Qauto_lower, Qnil, f 6173 src/w32fns.c gui_default_parameter (f, parameters, Qcursor_type, Qbox, f 6175 src/w32fns.c gui_default_parameter (f, parameters, Qscroll_bar_width, Qnil, f 6177 src/w32fns.c gui_default_parameter (f, parameters, Qscroll_bar_height, Qnil, f 6181 src/w32fns.c f->can_set_window_size = true; f 6187 src/w32fns.c w32_wm_set_size_hint (f, window_prompting, false); f 6190 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 6196 src/w32fns.c gui_default_parameter (f, parameters, Qfullscreen, Qnil, f 6198 src/w32fns.c gui_default_parameter (f, parameters, Qz_group, Qnil, f 6201 src/w32fns.c gui_default_parameter (f, parameters, Qalpha_background, Qnil, f 6207 src/w32fns.c if (!f->output_data.w32->explicit_parent) f 6214 src/w32fns.c w32_iconify_frame (f); f 6221 src/w32fns.c w32_make_frame_visible (f); f 6223 src/w32fns.c f->was_invisible = true; f 6226 src/w32fns.c store_frame_param (f, Qvisibility, visibility); f 6230 src/w32fns.c if (FRAME_NO_FOCUS_ON_MAP (f)) f 6231 src/w32fns.c gui_default_parameter (f, parameters, Qalpha, Qnil, f 6236 src/w32fns.c if (FRAME_HAS_MINIBUF_P (f) f 6246 src/w32fns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 6260 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6264 src/w32fns.c if (w32_defined_color (f, SSDATA (color), &foo, false, false)) f 6275 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6279 src/w32fns.c if (w32_defined_color (f, SSDATA (color), &foo, false, false)) f 6499 src/w32fns.c struct frame *f = XFRAME (frame); f 6501 src/w32fns.c if (FRAME_W32_P (f) && !FRAME_TOOLTIP_P (f)) f 6504 src/w32fns.c monitor_from_window_fn (FRAME_W32_WINDOW (f), f 6586 src/w32fns.c struct frame *f = XFRAME (frame); f 6588 src/w32fns.c if (FRAME_W32_P (f) && !FRAME_TOOLTIP_P (f)) f 6840 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6847 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6848 src/w32fns.c XChangeProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 6853 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 6865 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6870 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6871 src/w32fns.c XDeleteProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), prop_atom); f 6874 src/w32fns.c XFlush (FRAME_W32_DISPLAY (f)); f 6887 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 6898 src/w32fns.c prop_atom = XInternAtom (FRAME_W32_DISPLAY (f), SDATA (prop), False); f 6899 src/w32fns.c rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 6910 src/w32fns.c rc = XGetWindowProperty (FRAME_W32_DISPLAY (f), FRAME_W32_WINDOW (f), f 6984 src/w32fns.c struct frame *f; f 7013 src/w32fns.c f = make_frame (false); f 7014 src/w32fns.c f->wants_modeline = false; f 7015 src/w32fns.c XSETFRAME (frame, f); f 7023 src/w32fns.c f->terminal = dpyinfo->terminal; f 7024 src/w32fns.c f->output_method = output_w32; f 7025 src/w32fns.c f->output_data.w32 = xzalloc (sizeof (struct w32_output)); f 7027 src/w32fns.c FRAME_FONTSET (f) = -1; f 7028 src/w32fns.c fset_icon_name (f, Qnil); f 7029 src/w32fns.c f->tooltip = true; f 7033 src/w32fns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 7036 src/w32fns.c FRAME_KBOARD (f) = kb; f 7042 src/w32fns.c fset_name (f, build_string (dpyinfo->w32_id_name)); f 7043 src/w32fns.c f->explicit_name = false; f 7047 src/w32fns.c fset_name (f, name); f 7048 src/w32fns.c f->explicit_name = true; f 7055 src/w32fns.c register_font_driver (&harfbuzz_font_driver, f); f 7057 src/w32fns.c register_font_driver (&uniscribe_font_driver, f); f 7058 src/w32fns.c register_font_driver (&w32font_driver, f); f 7060 src/w32fns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 7065 src/w32fns.c w32_default_font_parameter (f, parms); f 7067 src/w32fns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (2), f 7084 src/w32fns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 7088 src/w32fns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 7090 src/w32fns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 7092 src/w32fns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 7094 src/w32fns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 7096 src/w32fns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 7098 src/w32fns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qt, f 7104 src/w32fns.c init_frame_faces (f); f 7106 src/w32fns.c f->output_data.w32->dwStyle = WS_BORDER | WS_POPUP | WS_DISABLED; f 7107 src/w32fns.c f->output_data.w32->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 7108 src/w32fns.c f->output_data.w32->explicit_parent = false; f 7110 src/w32fns.c gui_figure_window_size (f, parms, true, true); f 7113 src/w32fns.c f->fringe_cols = 0; f 7114 src/w32fns.c f->left_fringe_width = 0; f 7115 src/w32fns.c f->right_fringe_width = 0; f 7117 src/w32fns.c f->right_divider_width = 0; f 7118 src/w32fns.c f->bottom_divider_width = 0; f 7121 src/w32fns.c my_create_tip_window (f); f 7124 src/w32fns.c w32_make_gc (f); f 7126 src/w32fns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 7128 src/w32fns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 7130 src/w32fns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 7133 src/w32fns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 7135 src/w32fns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 7137 src/w32fns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 7169 src/w32fns.c f->no_split = true; f 7173 src/w32fns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 7174 src/w32fns.c f->terminal->reference_count++; f 7180 src/w32fns.c f->can_set_window_size = true; f 7181 src/w32fns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 7203 src/w32fns.c compute_tip_xy (struct frame *f, f 7226 src/w32fns.c max_x = w32_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 7227 src/w32fns.c max_y = w32_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 7507 src/w32fns.c struct frame *f; /* The value is unused. */ f 7508 src/w32fns.c if (NILP (tip_frame = w32_create_tip_frame (FRAME_DISPLAY_INFO (f), parms))) f 7790 src/w32fns.c struct frame *f = XFRAME (frame); f 7792 src/w32fns.c if (!NILP (in_progress) && FRAME_Z_GROUP_ABOVE (f)) f 7793 src/w32fns.c w32_set_z_group (f, Qabove_suspended, Qabove); f 7794 src/w32fns.c else if (NILP (in_progress) && FRAME_Z_GROUP_ABOVE_SUSPENDED (f)) f 7795 src/w32fns.c w32_set_z_group (f, Qabove, Qabove_suspended); f 7810 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 7965 src/w32fns.c file_details_w->hwndOwner = FRAME_W32_WINDOW (f); f 7999 src/w32fns.c file_details_a->hwndOwner = FRAME_W32_WINDOW (f); f 8210 src/w32fns.c struct frame *f = decode_window_system_frame (frame); f 8214 src/w32fns.c if (FRAME_W32_P (f)) f 8215 src/w32fns.c PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, XFIXNUM (command), 0); f 8906 src/w32fns.c struct frame *f = decode_live_frame (frame); f 8914 src/w32fns.c int tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 8915 src/w32fns.c int tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 8916 src/w32fns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 8918 src/w32fns.c if (FRAME_INITIAL_P (f) || !FRAME_W32_P (f)) f 8924 src/w32fns.c GetWindowInfo (FRAME_W32_WINDOW (f), &window); f 8937 src/w32fns.c if (get_title_bar_info_fn (FRAME_W32_WINDOW (f), &title_bar) f 8952 src/w32fns.c GetMenuBarInfo (FRAME_W32_WINDOW (f), 0xFFFFFFFD, 0, &menu_bar); f 9026 src/w32fns.c struct frame *f = decode_live_frame (frame); f 9028 src/w32fns.c if (FRAME_INITIAL_P (f) || !FRAME_W32_P (f)) f 9038 src/w32fns.c success = GetWindowRect (FRAME_W32_WINDOW (f), &rectangle); f 9058 src/w32fns.c success = GetClientRect (FRAME_W32_WINDOW (f), &rectangle); f 9069 src/w32fns.c success = ClientToScreen (FRAME_W32_WINDOW (f), &pt); f 9082 src/w32fns.c int internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 9086 src/w32fns.c + FRAME_TAB_BAR_HEIGHT (f) f 9087 src/w32fns.c + FRAME_TOOL_BAR_HEIGHT (f) f 9112 src/w32fns.c struct frame *f = w32_window_to_frame (dpyinfo, window); f 9114 src/w32fns.c if (f) f 9116 src/w32fns.c XSETFRAME (frame, f); f 9810 src/w32fns.c w32_sys_ring_bell (struct frame *f) f 9949 src/w32fns.c add_tray_notification (struct frame *f, const char *icon, const char *tip, f 9955 src/w32fns.c if (FRAME_W32_P (f)) f 9979 src/w32fns.c nidw.hWnd = FRAME_W32_WINDOW (f); f 10123 src/w32fns.c delete_tray_notification (struct frame *f, int id) f 10125 src/w32fns.c if (FRAME_W32_P (f)) f 10130 src/w32fns.c nidw.hWnd = FRAME_W32_WINDOW (f); f 10210 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 10264 src/w32fns.c retval = add_tray_notification (f, icon, tip, severity, timeout, title, msg); f 10274 src/w32fns.c struct frame *f = SELECTED_FRAME (); f 10277 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_Y (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 3572 src/window.c run_window_configuration_change_hook (struct frame *f) f 3577 src/window.c XSETFRAME (frame, f); f 3580 src/window.c || !f->can_set_window_size f 3581 src/window.c || !f->after_make_frame) f 3591 src/window.c if (SELECTED_FRAME () != f) f 3749 src/window.c struct frame *f = XFRAME (frame); f 3752 src/window.c fset_old_selected_window (f, FRAME_SELECTED_WINDOW (f)); f 3757 src/window.c f->change_stamp += 1; f 3758 src/window.c if (f->change_stamp == 0) f 3759 src/window.c f->change_stamp = 1; f 3764 src/window.c f->number_of_windows f 3765 src/window.c = window_change_record_windows (f->root_window, f->change_stamp, 0); f 3768 src/window.c FRAME_WINDOW_CHANGE (f) = false; f 3769 src/window.c FRAME_WINDOW_STATE_CHANGE (f) = false; f 3894 src/window.c struct frame *f = XFRAME (frame); f 3895 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 3896 src/window.c bool frame_window_change = FRAME_WINDOW_CHANGE (f); f 3904 src/window.c = !EQ (FRAME_OLD_SELECTED_WINDOW (f), FRAME_SELECTED_WINDOW (f)); f 3905 src/window.c bool frame_window_state_change = FRAME_WINDOW_STATE_CHANGE (f); f 3910 src/window.c if (!FRAME_LIVE_P (f) f 3911 src/window.c || !f->can_set_window_size f 3912 src/window.c || !f->after_make_frame f 3913 src/window.c || FRAME_TOOLTIP_P (f) f 3949 src/window.c || w->change_stamp != f->change_stamp)); f 3989 src/window.c && (EQ (window, FRAME_OLD_SELECTED_WINDOW (f)) f 3990 src/window.c || EQ (window, FRAME_SELECTED_WINDOW (f))))) f 4004 src/window.c && (EQ (window, FRAME_OLD_SELECTED_WINDOW (f)) f 4005 src/window.c || EQ (window, FRAME_SELECTED_WINDOW (f)))))) f 4018 src/window.c window_deleted = number_of_windows < f->number_of_windows; f 4021 src/window.c if ((frame_buffer_change || window_deleted) && FRAME_LIVE_P (f)) f 4027 src/window.c if (frame_size_change && FRAME_LIVE_P (f)) f 4034 src/window.c && FRAME_LIVE_P (f)) f 4044 src/window.c && FRAME_LIVE_P (f)) f 4057 src/window.c if ((frame_size_change || window_deleted) && FRAME_LIVE_P (f)) f 4060 src/window.c run_window_configuration_change_hook (f); f 4492 src/window.c struct frame *f = XFRAME (w->frame); f 4576 src/window.c ? 2 * FRAME_COLUMN_WIDTH (f) f 4577 src/window.c : FRAME_LINE_HEIGHT (f))); f 4756 src/window.c struct frame *f = decode_live_frame (frame); f 4757 src/window.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 4768 src/window.c fset_redisplay (f); f 4770 src/window.c adjust_frame_glyphs (f); f 4789 src/window.c struct frame *f = decode_live_frame (frame); f 4790 src/window.c struct window *r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 4795 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4798 src/window.c if (FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4800 src/window.c struct window *m = XWINDOW (f->minibuffer_window); f 4821 src/window.c resize_frame_windows (struct frame *f, int size, bool horflag) f 4823 src/window.c Lisp_Object root = f->root_window; f 4827 src/window.c int unit = horflag ? FRAME_COLUMN_WIDTH (f) : FRAME_LINE_HEIGHT (f); f 4828 src/window.c Lisp_Object mini = f->minibuffer_window; f 4830 src/window.c int mini_height = ((FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4839 src/window.c && (horflag || r->pixel_top == FRAME_TOP_MARGIN_HEIGHT (f))) f 4851 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4852 src/window.c r->pixel_top = FRAME_TOP_MARGIN_HEIGHT (f); f 4858 src/window.c FRAME_WINDOW_CHANGE (f) f 4867 src/window.c r->top_line = FRAME_TOP_MARGIN (f); f 4868 src/window.c r->pixel_top = FRAME_TOP_MARGIN_HEIGHT (f); f 4894 src/window.c if (FRAME_HAS_MINIBUF_P (f) && !FRAME_MINIBUF_ONLY_P (f)) f 4911 src/window.c fset_redisplay (f); f 4947 src/window.c struct frame *f; f 4955 src/window.c f = XFRAME (frame); f 4960 src/window.c ? FRAME_COLUMN_WIDTH (f) f 4961 src/window.c : FRAME_LINE_HEIGHT (f)); f 4979 src/window.c reference = FRAME_SELECTED_WINDOW (f); f 5036 src/window.c fset_redisplay (f); f 5110 src/window.c adjust_frame_glyphs (f); f 5113 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 5128 src/window.c struct frame *f; f 5150 src/window.c f = XFRAME (frame); f 5152 src/window.c root = FRAME_ROOT_WINDOW (f); f 5189 src/window.c if (!FRAME_INITIAL_P (f)) f 5191 src/window.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 5197 src/window.c fset_redisplay (f); f 5233 src/window.c adjust_frame_glyphs (f); f 5235 src/window.c if (!WINDOW_LIVE_P (FRAME_SELECTED_WINDOW (f))) f 5243 src/window.c if (EQ (FRAME_SELECTED_WINDOW (f), selected_window)) f 5249 src/window.c fset_selected_window (f, new_selected_window); f 5253 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 5288 src/window.c struct frame *f = XFRAME (w->frame); f 5289 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5294 src/window.c w->total_lines = w->pixel_height / FRAME_LINE_HEIGHT (f); f 5303 src/window.c fset_redisplay (f); f 5304 src/window.c adjust_frame_glyphs (f); f 5318 src/window.c struct frame *f = XFRAME (w->frame); f 5320 src/window.c int min_height = FRAME_LINE_HEIGHT (f); f 5330 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5334 src/window.c FRAME_WINDOWS_FROZEN (f) = true; f 5352 src/window.c struct frame *f = XFRAME (w->frame); f 5354 src/window.c - FRAME_LINE_HEIGHT (f)); f 5360 src/window.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 5364 src/window.c FRAME_WINDOWS_FROZEN (f) = false; f 5385 src/window.c struct frame *f; f 5389 src/window.c f = XFRAME (w->frame); f 5393 src/window.c else if (FRAME_MINIBUF_ONLY_P (f)) f 5396 src/window.c r = XWINDOW (FRAME_ROOT_WINDOW (f)); f 5954 src/window.c adjust_frame_glyphs (it.f); f 6605 src/window.c int uy = FRAME_LINE_HEIGHT (it.f); f 6757 src/window.c h -= nlines * (FRAME_LINE_HEIGHT (it.f) + extra_line_spacing); f 7071 src/window.c struct frame *f; f 7121 src/window.c f = XFRAME (frame); f 7125 src/window.c if (FRAME_LIVE_P (f)) f 7154 src/window.c f->can_set_window_size = false; f 7173 src/window.c fset_redisplay (f); f 7179 src/window.c root_window = XWINDOW (FRAME_ROOT_WINDOW (f)); f 7191 src/window.c delete_all_child_windows (FRAME_ROOT_WINDOW (f)); f 7333 src/window.c fset_root_window (f, data->root_window); f 7374 src/window.c f->can_set_window_size = true; f 7375 src/window.c adjust_frame_size (f, -1, -1, 4, false, Qset_window_configuration); f 7377 src/window.c adjust_frame_glyphs (f); f 7384 src/window.c if (WINDOW_LIVE_P (window) && !EQ (window, FRAME_ROOT_WINDOW (f))) f 7405 src/window.c FRAME_WINDOW_CHANGE (f) = true; f 7433 src/window.c return FRAME_LIVE_P (f) ? Qt : Qnil; f 7699 src/window.c struct frame *f = decode_live_frame (frame); f 7700 src/window.c ptrdiff_t n_windows = count_windows (XWINDOW (FRAME_ROOT_WINDOW (f))); f 7704 src/window.c data->frame_cols = FRAME_COLS (f); f 7705 src/window.c data->frame_lines = FRAME_LINES (f); f 7706 src/window.c data->frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f); f 7707 src/window.c data->frame_tab_bar_lines = FRAME_TAB_BAR_LINES (f); f 7708 src/window.c data->frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f); f 7709 src/window.c data->frame_text_width = FRAME_TEXT_WIDTH (f); f 7710 src/window.c data->frame_text_height = FRAME_TEXT_HEIGHT (f); f 7711 src/window.c data->frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); f 7712 src/window.c data->frame_tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 7713 src/window.c data->frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 7715 src/window.c data->current_window = FRAME_SELECTED_WINDOW (f); f 7719 src/window.c data->root_window = FRAME_ROOT_WINDOW (f); f 7720 src/window.c data->focus_frame = FRAME_FOCUS_FRAME (f); f 7725 src/window.c save_window_save (FRAME_ROOT_WINDOW (f), XVECTOR (tem), 0); f 7838 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7853 src/window.c - (new_left == -1 ? FRAME_LEFT_FRINGE_WIDTH (f) : new_left) f 7854 src/window.c - (new_right == -1 ? FRAME_RIGHT_FRINGE_WIDTH (f) : new_right)) f 7957 src/window.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7976 src/window.c - (new_width == -1 ? FRAME_SCROLL_BAR_AREA_WIDTH (f) : new_width)) f 8004 src/window.c - (new_height == -1 ? FRAME_SCROLL_BAR_AREA_HEIGHT (f) : new_height)) f 8117 src/window.c struct frame *f = XFRAME (w->frame); f 8119 src/window.c if (FRAME_WINDOW_P (f)) f 8121 src/window.c ? FRAME_CANON_Y_FROM_PIXEL_Y (f, -w->vscroll) f 8148 src/window.c struct frame *f = XFRAME (w->frame); f 8152 src/window.c if (FRAME_WINDOW_P (f)) f 8157 src/window.c ? FRAME_LINE_HEIGHT (f) * XFLOATINT (vscroll) f 8166 src/window.c adjust_frame_glyphs (f); f 8187 src/window.c foreach_window (struct frame *f, bool (*fn) (struct window *, void *), f 8191 src/window.c if (WINDOWP (FRAME_ROOT_WINDOW (f))) f 8192 src/window.c foreach_window_1 (XWINDOW (FRAME_ROOT_WINDOW (f)), fn, user_data); f 8367 src/window.c struct frame *f = make_initial_frame (); f 8371 src/window.c XSETFRAME (selected_frame, f); f 8373 src/window.c minibuf_window = f->minibuffer_window; f 8374 src/window.c old_selected_window = selected_window = f->selected_window; f 1135 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 1298 src/xdisp.c struct frame *f = XFRAME (w->frame); f 1326 src/xdisp.c (f, CURRENT_MODE_LINE_ACTIVE_FACE_ID (w)); f 1343 src/xdisp.c height -= estimate_mode_line_height (f, TAB_LINE_FACE_ID); f 1360 src/xdisp.c height -= estimate_mode_line_height (f, HEADER_LINE_FACE_ID); f 1421 src/xdisp.c struct frame *f = XFRAME (w->frame); f 1425 src/xdisp.c return FRAME_INTERNAL_BORDER_WIDTH (f); f 1586 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 1587 src/xdisp.c int height = FRAME_LINE_HEIGHT (f); f 1589 src/xdisp.c if (!FRAME_INITIAL_P (f) && BUFFERP (w->contents)) f 1609 src/xdisp.c height += f->extra_line_spacing; f 1640 src/xdisp.c window_hscroll_limited (struct window *w, struct frame *f) f 1644 src/xdisp.c int colwidth = FRAME_COLUMN_WIDTH (f); f 1904 src/xdisp.c charpos, FRAME_WINDOW_P (it.f))); f 2281 src/xdisp.c estimate_mode_line_height (struct frame *f, enum face_id face_id) f 2284 src/xdisp.c if (FRAME_WINDOW_P (f)) f 2286 src/xdisp.c int height = FONT_HEIGHT (FRAME_FONT (f)); f 2290 src/xdisp.c if (FRAME_FACE_CACHE (f)) f 2292 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 2315 src/xdisp.c pixel_to_glyph_coords (struct frame *f, int pix_x, int pix_y, int *x, int *y, f 2320 src/xdisp.c if (FRAME_WINDOW_P (f)) f 2325 src/xdisp.c pix_x -= FRAME_COLUMN_WIDTH (f) - 1; f 2327 src/xdisp.c pix_y -= FRAME_LINE_HEIGHT (f) - 1; f 2329 src/xdisp.c pix_x = FRAME_PIXEL_X_TO_COL (f, pix_x); f 2330 src/xdisp.c pix_y = FRAME_PIXEL_Y_TO_LINE (f, pix_y); f 2334 src/xdisp.c FRAME_COL_TO_PIXEL_X (f, pix_x), f 2335 src/xdisp.c FRAME_LINE_TO_PIXEL_Y (f, pix_y), f 2336 src/xdisp.c FRAME_COLUMN_WIDTH (f) - 1, f 2337 src/xdisp.c FRAME_LINE_HEIGHT (f) - 1); f 2344 src/xdisp.c else if (pix_x > FRAME_TOTAL_COLS (f)) f 2345 src/xdisp.c pix_x = FRAME_TOTAL_COLS (f); f 2349 src/xdisp.c else if (pix_y > FRAME_TOTAL_LINES (f)) f 2350 src/xdisp.c pix_y = FRAME_TOTAL_LINES (f); f 2451 src/xdisp.c struct frame *f = XFRAME (w->frame); f 2452 src/xdisp.c *x -= FRAME_INTERNAL_BORDER_WIDTH (f); f 2576 src/xdisp.c min (FRAME_LINE_HEIGHT (s->f), s->row->visible_height)); f 2587 src/xdisp.c height = max (FRAME_LINE_HEIGHT (s->f), glyph->ascent + glyph->descent); f 2684 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 2702 src/xdisp.c wd = min (FRAME_COLUMN_WIDTH (f), wd); f 2719 src/xdisp.c h0 = min (FRAME_LINE_HEIGHT (f), row->visible_height); f 2753 src/xdisp.c remember_mouse_glyph (struct frame *f, int gx, int gy, NativeRectangle *rect) f 2776 src/xdisp.c else if (!f->glyphs_initialized_p f 2777 src/xdisp.c || (window = window_from_coordinates (f, gx, gy, &part, false, false), f 2780 src/xdisp.c width = FRAME_SMALLEST_CHAR_WIDTH (f); f 2781 src/xdisp.c height = FRAME_SMALLEST_FONT_HEIGHT (f); f 2990 src/xdisp.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 2991 src/xdisp.c f->output_data.x->normal_gc, f 3265 src/xdisp.c it->f = XFRAME (w->frame); f 3275 src/xdisp.c && FRAME_WINDOW_P (it->f)) f 3281 src/xdisp.c * FRAME_LINE_HEIGHT (it->f)); f 3282 src/xdisp.c else if (it->f->extra_line_spacing > 0) f 3283 src/xdisp.c it->extra_line_spacing = it->f->extra_line_spacing; f 3290 src/xdisp.c if (FRAME_FACE_CACHE (it->f) == NULL) f 3291 src/xdisp.c init_frame_faces (it->f); f 3292 src/xdisp.c if (FRAME_FACE_CACHE (it->f)->used == 0) f 3293 src/xdisp.c recompute_basic_faces (it->f); f 3342 src/xdisp.c if (!(FRAME_WINDOW_P (it->f) && it->f->no_special_glyphs)) f 3394 src/xdisp.c it->first_visible_x = w->min_hscroll * FRAME_COLUMN_WIDTH (it->f); f 3400 src/xdisp.c window_hscroll_limited (w, it->f) * FRAME_COLUMN_WIDTH (it->f); f 3405 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; f 3426 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 3434 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; f 3446 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); f 3514 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 3786 src/xdisp.c && FRAME_WINDOW_P (it->f) f 3957 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 3991 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 4545 src/xdisp.c bool saved_inhibit_flag = it->f->inhibit_clear_image_cache; f 4570 src/xdisp.c it->f->inhibit_clear_image_cache = true; f 4605 src/xdisp.c it->f->inhibit_clear_image_cache = saved_inhibit_flag; f 4730 src/xdisp.c ? lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) f 4768 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); f 4772 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 4783 src/xdisp.c old_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 4879 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it_copy.f), &it_copy.bidi_it); f 4931 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); f 4933 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); f 5027 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); f 5028 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); f 5493 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 5496 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5497 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 5511 src/xdisp.c FRAME_COLUMN_WIDTH (it->f); f 5629 src/xdisp.c FRAME_WINDOW_P (it->f)); f 5828 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5846 src/xdisp.c it->face_id = smaller_face (it->f, it->face_id, steps); f 5852 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5864 src/xdisp.c struct face *f; f 5866 src/xdisp.c f = FACE_FROM_ID (it->f, f 5867 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID)); f 5869 src/xdisp.c * XFIXNUM (f->lface[LFACE_HEIGHT_INDEX])); f 5876 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 5889 src/xdisp.c it->face_id = face_with_height (it->f, it->face_id, new_height); f 5903 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5933 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5962 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 5969 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 6029 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 6067 src/xdisp.c int face_id = lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); f 6078 src/xdisp.c face_id2 = lookup_derived_face (it->w, it->f, face_name, f 6156 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) f 6160 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) f 6227 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 6256 src/xdisp.c it->image_id = lookup_image (it->f, value, it->face_id); f 6649 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 6912 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 7050 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 7054 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 7716 src/xdisp.c bidi_init_it (IT_CHARPOS (*it), IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 7803 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); f 7834 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), f 7925 src/xdisp.c FACE_FROM_ID_OR_NULL ((IT)->f, \ f 7951 src/xdisp.c glyphless_method = FRAME_WINDOW_P (it->f) f 8001 src/xdisp.c if (it->f == last_escape_glyph_frame f 8008 src/xdisp.c last_escape_glyph_frame = it->f; f 8026 src/xdisp.c if (it->f == last_glyphless_glyph_frame f 8033 src/xdisp.c last_glyphless_glyph_frame = it->f; f 8313 src/xdisp.c && FRAME_WINDOW_P (it->f)) f 8315 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 8330 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); f 8353 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); f 8367 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 8376 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) f 8452 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8467 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box f 8480 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) f 8905 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 8906 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); f 8931 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); f 9995 src/xdisp.c && FRAME_WINDOW_P (it->f) f 10006 src/xdisp.c && FRAME_WINDOW_P (it->f))) f 10081 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10292 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10693 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 10695 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 10755 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 10800 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 10939 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 11064 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); f 12114 src/xdisp.c struct frame *f = XFRAME (frame); f 12116 src/xdisp.c if (FRAME_VISIBLE_P (sf) && !FRAME_VISIBLE_P (f)) f 12134 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 12135 src/xdisp.c (*FRAME_TERMINAL (f)->frame_up_to_date_hook) (f); f 12182 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12187 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12192 src/xdisp.c need_message = f->glyphs_initialized_p; f 12249 src/xdisp.c struct frame *f, *sf = SELECTED_FRAME (); f 12254 src/xdisp.c f = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); f 12259 src/xdisp.c if (f->glyphs_initialized_p) f 12264 src/xdisp.c ptrdiff_t maxsize = FRAME_MESSAGE_BUF_SIZE (f); f 12725 src/xdisp.c struct frame *f = XFRAME (w->frame); f 12747 src/xdisp.c && (NILP (resize_mini_frames) || !FRAME_MINIBUF_ONLY_P (f))) f 12748 src/xdisp.c || (FRAME_X_P (f) && FRAME_OUTPUT_DATA (f) == NULL)) f 12751 src/xdisp.c if (FRAME_MINIBUF_ONLY_P (f)) f 12759 src/xdisp.c int unit = FRAME_LINE_HEIGHT (f); f 12763 src/xdisp.c int windows_height = FRAME_INNER_HEIGHT (f); f 13116 src/xdisp.c struct frame *f = XFRAME (frame); f 13118 src/xdisp.c if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) f 13120 src/xdisp.c if (f->resized_p f 13126 src/xdisp.c && !(f != sf && (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)))) f 13127 src/xdisp.c redraw_frame (f); f 13129 src/xdisp.c clear_current_matrices (f); f 13132 src/xdisp.c if (FRAME_WINDOW_P (f) f 13133 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13134 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13136 src/xdisp.c fset_redisplay (f); f 13137 src/xdisp.c f->garbaged = false; f 13138 src/xdisp.c f->resized_p = false; f 13155 src/xdisp.c struct frame *f; f 13164 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 13167 src/xdisp.c if (!FRAME_VISIBLE_P (f) || !f->glyphs_initialized_p) f 13202 src/xdisp.c n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), false); f 13205 src/xdisp.c if (FRAME_WINDOW_P (f) f 13206 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 13207 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 13221 src/xdisp.c fset_redisplay (f); f 13225 src/xdisp.c else if (FRAME_WINDOW_P (f) && n == 0) f 13231 src/xdisp.c flush_frame (f); f 13234 src/xdisp.c update_frame (f, true, true); f 13259 src/xdisp.c fset_redisplay (f); f 13545 src/xdisp.c struct frame *f = XFRAME (frame); f 13548 src/xdisp.c if ((FRAME_WINDOW_P (f) f 13549 src/xdisp.c || FRAME_MINIBUF_ONLY_P (f) f 13550 src/xdisp.c || f->explicit_name) f 13551 src/xdisp.c && !FRAME_TOOLTIP_P (f)) f 13565 src/xdisp.c if (tf != f f 13566 src/xdisp.c && FRAME_KBOARD (tf) == FRAME_KBOARD (f) f 13597 src/xdisp.c format_data = format_mode_line_unwind_data (f, current_buffer, f 13602 src/xdisp.c Fselect_window (f->selected_window, Qt); f 13603 src/xdisp.c set_buffer_internal_1 (XBUFFER (XWINDOW (f->selected_window)->contents)); f 13604 src/xdisp.c fmt = (FRAME_ICONIFIED_P (f) && !EQ (Vicon_title_format, Qt) f 13609 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, f 13627 src/xdisp.c if ((! STRINGP (f->name) f 13628 src/xdisp.c || SBYTES (f->name) != len f 13629 src/xdisp.c || memcmp (title, SDATA (f->name), len) != 0) f 13630 src/xdisp.c && FRAME_TERMINAL (f)->implicit_set_name_hook) f 13633 src/xdisp.c FRAME_TERMINAL (f)->implicit_set_name_hook (f, title_string, Qnil); f 13656 src/xdisp.c struct frame *f = XFRAME (w->frame); f 13660 src/xdisp.c && !f->face_change f 13661 src/xdisp.c && !f->redisplay f 13704 src/xdisp.c struct frame *f = XFRAME (frame); f 13705 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13707 src/xdisp.c && !f->redisplay f 13712 src/xdisp.c if (!FRAME_TOOLTIP_P (f) f 13713 src/xdisp.c && (FRAME_ICONIFIED_P (f) f 13714 src/xdisp.c || FRAME_VISIBLE_P (f) == 1 f 13724 src/xdisp.c || (FRAME_VISIBLE_P (f) == 2 && FRAME_WINDOW_P (f)))) f 13745 src/xdisp.c struct frame *f = XFRAME (frame); f 13746 src/xdisp.c struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); f 13749 src/xdisp.c if (FRAME_TOOLTIP_P (f)) f 13753 src/xdisp.c && !f->redisplay f 13758 src/xdisp.c if (!FRAME_PARENT_FRAME (f)) f 13759 src/xdisp.c menu_bar_hooks_run = update_menu_bar (f, false, menu_bar_hooks_run); f 13761 src/xdisp.c update_tab_bar (f, false); f 13763 src/xdisp.c update_tool_bar (f, false); f 13796 src/xdisp.c update_menu_bar (struct frame *f, bool save_match_data, bool hooks_run) f 13807 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 13810 src/xdisp.c if (FRAME_WINDOW_P (f) f 13813 src/xdisp.c FRAME_EXTERNAL_MENU_BAR (f) f 13815 src/xdisp.c FRAME_MENU_BAR_LINES (f) > 0 f 13817 src/xdisp.c : FRAME_MENU_BAR_LINES (f) > 0) f 13858 src/xdisp.c XSETFRAME (Vmenu_updating_frame, f); f 13859 src/xdisp.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 13863 src/xdisp.c if (FRAME_WINDOW_P (f)) f 13868 src/xdisp.c if (f == SELECTED_FRAME ()) f 13870 src/xdisp.c set_frame_menubar (f, false); f 13926 src/xdisp.c struct frame *f = XFRAME (frame); f 13928 src/xdisp.c if (!FRAME_PARENT_FRAME (f) && !FRAME_TOOLTIP_P (f)) f 13931 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 13965 src/xdisp.c update_tab_bar (struct frame *f, bool save_match_data) f 13970 src/xdisp.c if (FRAME_WINDOW_P (f) && WINDOWP (f->tab_bar_window)) { f 13971 src/xdisp.c if (WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window)) > 0) f 13976 src/xdisp.c if (FRAME_TAB_BAR_LINES (f) > 0) f 13984 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 14031 src/xdisp.c XSETFRAME (frame, f); f 14033 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 14038 src/xdisp.c = tab_bar_items (Fcopy_sequence (f->tab_bar_items), f 14042 src/xdisp.c if (new_n_tab_bar != f->n_tab_bar_items f 14043 src/xdisp.c || NILP (Fequal (new_tab_bar, f->tab_bar_items))) f 14049 src/xdisp.c fset_tab_bar_items (f, new_tab_bar); f 14050 src/xdisp.c f->n_tab_bar_items = new_n_tab_bar; f 14074 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 14081 src/xdisp.c if (FRAME_W32_P (f)) f 14085 src/xdisp.c if (FRAME_X_P (f)) f 14090 src/xdisp.c if (FRAME_NS_P (f)) f 14095 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 14096 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14097 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14100 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14102 src/xdisp.c if (FRAME_WINDOW_P (f)) f 14107 src/xdisp.c tab_w = XWINDOW (f->tab_bar_window); f 14111 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 14118 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows f 14119 src/xdisp.c + (FRAME_MENU_BAR_LINES (f) > 0 ? 1 : 0), f 14122 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 14131 src/xdisp.c for (i = 0; i < FRAME_TAB_BAR_LINES (f); ++i) f 14141 src/xdisp.c items = it.f->tab_bar_items; f 14143 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) f 14171 src/xdisp.c build_desired_tab_bar_string (struct frame *f) f 14179 src/xdisp.c fset_desired_tab_bar_string (f, build_string ("")); f 14184 src/xdisp.c for (i = 0; i < f->n_tab_bar_items; ++i) f 14187 src/xdisp.c AREF (f->tab_bar_items, i * TAB_BAR_ITEM_NSLOTS + (IDX)) f 14200 src/xdisp.c f->desired_tab_bar_string = f 14201 src/xdisp.c concat2 (f->desired_tab_bar_string, caption); f 14315 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 14347 src/xdisp.c tab_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 14349 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14362 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, f 14363 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14381 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 14393 src/xdisp.c struct frame *f = decode_any_frame (frame); f 14395 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 14396 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tab_bar_window)) > 0) f 14398 src/xdisp.c update_tab_bar (f, true); f 14399 src/xdisp.c if (f->n_tab_bar_items) f 14401 src/xdisp.c build_desired_tab_bar_string (f); f 14402 src/xdisp.c height = tab_bar_height (f, NULL, !NILP (pixelwise)); f 14413 src/xdisp.c redisplay_tab_bar (struct frame *f) f 14419 src/xdisp.c f->tab_bar_redisplayed = true; f 14425 src/xdisp.c if (!WINDOWP (f->tab_bar_window) f 14426 src/xdisp.c || (w = XWINDOW (f->tab_bar_window), f 14434 src/xdisp.c f->tab_bar_resized = true; f 14440 src/xdisp.c build_desired_tab_bar_string (f); f 14443 src/xdisp.c int new_height = tab_bar_height (f, &new_nrows, true); f 14445 src/xdisp.c if (f->n_tab_bar_rows == 0) f 14447 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14454 src/xdisp.c if (new_nrows > f->n_tab_bar_rows f 14456 src/xdisp.c && !f->minimize_tab_bar_window_p f 14461 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14462 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14463 src/xdisp.c if (new_nrows != f->n_tab_bar_rows) f 14464 src/xdisp.c f->n_tab_bar_rows = new_nrows; f 14466 src/xdisp.c f->fonts_changed = true; f 14476 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, f 14477 src/xdisp.c STRING_MULTIBYTE (f->desired_tab_bar_string)); f 14489 src/xdisp.c if (f->n_tab_bar_rows > 0) f 14496 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 14498 src/xdisp.c border = f->border_width; f 14504 src/xdisp.c rows = f->n_tab_bar_rows; f 14549 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 14563 src/xdisp.c int new_height = tab_bar_height (f, &nrows, true); f 14566 src/xdisp.c && !f->minimize_tab_bar_window_p) f 14569 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14573 src/xdisp.c if (FRAME_TERMINAL (f)->change_tab_bar_height_hook) f 14574 src/xdisp.c FRAME_TERMINAL (f)->change_tab_bar_height_hook (f, new_height); f 14577 src/xdisp.c f->n_tab_bar_rows = nrows; f 14578 src/xdisp.c f->fonts_changed = true; f 14585 src/xdisp.c f->minimize_tab_bar_window_p = false; f 14596 src/xdisp.c tab_bar_item_info (struct frame *f, struct glyph *glyph, f 14605 src/xdisp.c charpos = min (SCHARS (f->current_tab_bar_string), glyph->charpos); f 14612 src/xdisp.c Qmenu_item, f->current_tab_bar_string); f 14619 src/xdisp.c f->current_tab_bar_string)); f 14636 src/xdisp.c get_tab_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 14639 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14649 src/xdisp.c if (!tab_bar_item_info (f, *glyph, prop_idx, close_p)) f 14652 src/xdisp.c return *prop_idx == f->last_tab_bar_item ? 0 : 1; f 14663 src/xdisp.c handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14666 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14667 src/xdisp.c struct window *w = XWINDOW (f->tab_bar_window); f 14675 src/xdisp.c ts = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14680 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14689 src/xdisp.c f->last_tab_bar_item = prop_idx; /* record the pressed tab */ f 14696 src/xdisp.c f->last_tab_bar_item = -1; f 14700 src/xdisp.c Fcopy_sequence (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION)); f 14703 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_KEY), f 14704 src/xdisp.c AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_BINDING), f 14719 src/xdisp.c note_tab_bar_highlight (struct frame *f, int x, int y) f 14721 src/xdisp.c Lisp_Object window = f->tab_bar_window; f 14723 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 14742 src/xdisp.c rc = get_tab_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx, &close_p); f 14761 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 14763 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 14765 src/xdisp.c if (mouse_down_p && f->last_tab_bar_item != prop_idx f 14766 src/xdisp.c && f->last_tab_bar_item != -1) f 14771 src/xdisp.c enabled_p = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_ENABLED_P); f 14802 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); f 14804 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION); f 14811 src/xdisp.c tty_get_tab_bar_item (struct frame *f, int x, int *prop_idx, bool *close_p) f 14815 src/xdisp.c for (int i = 0; i < f->n_tab_bar_items; i++) f 14817 src/xdisp.c Lisp_Object caption = AREF (f->tab_bar_items, (i * TAB_BAR_ITEM_NSLOTS f 14841 src/xdisp.c tty_handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, f 14845 src/xdisp.c if (y < FRAME_MENU_BAR_LINES (f) f 14846 src/xdisp.c || y >= FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f)) f 14852 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &close_p); f 14857 src/xdisp.c if (NILP (AREF (f->tab_bar_items, f 14862 src/xdisp.c f->last_tab_bar_item = prop_idx; f 14864 src/xdisp.c f->last_tab_bar_item = -1; f 14869 src/xdisp.c list3 (AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14871 src/xdisp.c AREF (f->tab_bar_items, prop_idx * TAB_BAR_ITEM_NSLOTS f 14895 src/xdisp.c update_tool_bar (struct frame *f, bool save_match_data) f 14898 src/xdisp.c bool do_update = FRAME_EXTERNAL_TOOL_BAR (f); f 14900 src/xdisp.c bool do_update = (WINDOWP (f->tool_bar_window) f 14901 src/xdisp.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window)) > 0); f 14909 src/xdisp.c window = FRAME_SELECTED_WINDOW (f); f 14954 src/xdisp.c XSETFRAME (frame, f); f 14956 src/xdisp.c selected_window = FRAME_SELECTED_WINDOW (f); f 14960 src/xdisp.c = tool_bar_items (Fcopy_sequence (f->tool_bar_items), f 14964 src/xdisp.c if (new_n_tool_bar != f->n_tool_bar_items f 14965 src/xdisp.c || NILP (Fequal (new_tool_bar, f->tool_bar_items))) f 14971 src/xdisp.c fset_tool_bar_items (f, new_tool_bar); f 14972 src/xdisp.c f->n_tool_bar_items = new_n_tool_bar; f 14990 src/xdisp.c build_desired_tool_bar_string (struct frame *f) f 15001 src/xdisp.c size = (STRINGP (f->desired_tool_bar_string) f 15002 src/xdisp.c ? SCHARS (f->desired_tool_bar_string) f 15006 src/xdisp.c size_needed = f->n_tool_bar_items; f 15009 src/xdisp.c if (size < size_needed || NILP (f->desired_tool_bar_string)) f 15011 src/xdisp.c (f, Fmake_string (make_fixnum (size_needed), make_fixnum (' '), Qnil)); f 15016 src/xdisp.c props, f->desired_tool_bar_string); f 15022 src/xdisp.c for (i = 0; i < f->n_tool_bar_items; ++i) f 15025 src/xdisp.c AREF (f->tool_bar_items, i * TOOL_BAR_ITEM_NSLOTS + (IDX)) f 15134 src/xdisp.c if (i + 1 == f->n_tool_bar_items) f 15135 src/xdisp.c end = SCHARS (f->desired_tool_bar_string); f 15139 src/xdisp.c props, f->desired_tool_bar_string); f 15250 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); f 15282 src/xdisp.c tool_bar_height (struct frame *f, int *n_rows, bool pixelwise) f 15284 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15297 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15298 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15316 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); f 15331 src/xdisp.c struct frame *f = decode_any_frame (frame); f 15333 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 15334 src/xdisp.c && WINDOW_PIXEL_HEIGHT (XWINDOW (f->tool_bar_window)) > 0) f 15336 src/xdisp.c update_tool_bar (f, true); f 15337 src/xdisp.c if (f->n_tool_bar_items) f 15339 src/xdisp.c build_desired_tool_bar_string (f); f 15340 src/xdisp.c height = tool_bar_height (f, NULL, !NILP (pixelwise)); f 15353 src/xdisp.c redisplay_tool_bar (struct frame *f) f 15359 src/xdisp.c f->tool_bar_redisplayed = true; f 15365 src/xdisp.c if (!WINDOWP (f->tool_bar_window) f 15366 src/xdisp.c || (w = XWINDOW (f->tool_bar_window), f 15374 src/xdisp.c f->tool_bar_resized = true; f 15387 src/xdisp.c build_desired_tool_bar_string (f); f 15388 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, f 15389 src/xdisp.c 0, 0, 0, STRING_MULTIBYTE (f->desired_tool_bar_string)); f 15399 src/xdisp.c if (f->n_tool_bar_rows == 0) f 15401 src/xdisp.c int new_height = tool_bar_height (f, &f->n_tool_bar_rows, true); f 15405 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15406 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15410 src/xdisp.c f->fonts_changed = true; f 15417 src/xdisp.c if (f->n_tool_bar_rows > 0) f 15424 src/xdisp.c border = FRAME_INTERNAL_BORDER_WIDTH (f); f 15426 src/xdisp.c border = f->border_width; f 15432 src/xdisp.c rows = f->n_tool_bar_rows; f 15477 src/xdisp.c && row->height >= FRAME_LINE_HEIGHT (f)) f 15491 src/xdisp.c int new_height = tool_bar_height (f, &nrows, true); f 15494 src/xdisp.c && !f->minimize_tool_bar_window_p) f 15497 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15501 src/xdisp.c if (FRAME_TERMINAL (f)->change_tool_bar_height_hook) f 15502 src/xdisp.c FRAME_TERMINAL (f)->change_tool_bar_height_hook (f, new_height); f 15505 src/xdisp.c f->n_tool_bar_rows = nrows; f 15506 src/xdisp.c f->fonts_changed = true; f 15513 src/xdisp.c f->minimize_tool_bar_window_p = false; f 15524 src/xdisp.c tool_bar_item_info (struct frame *f, struct glyph *glyph, int *prop_idx) f 15532 src/xdisp.c charpos = min (SCHARS (f->current_tool_bar_string), glyph->charpos); f 15539 src/xdisp.c Qmenu_item, f->current_tool_bar_string); f 15558 src/xdisp.c get_tool_bar_item (struct frame *f, int x, int y, struct glyph **glyph, f 15561 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15562 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15572 src/xdisp.c if (!tool_bar_item_info (f, *glyph, prop_idx)) f 15576 src/xdisp.c if (EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 15597 src/xdisp.c handle_tool_bar_click_with_device (struct frame *f, int x, int y, bool down_p, f 15600 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15601 src/xdisp.c struct window *w = XWINDOW (f->tool_bar_window); f 15615 src/xdisp.c ts = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15624 src/xdisp.c prop_idx = f->last_tool_bar_item; f 15627 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15636 src/xdisp.c f->last_tool_bar_item = prop_idx; f 15648 src/xdisp.c key = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_KEY); f 15650 src/xdisp.c XSETFRAME (frame, f); f 15657 src/xdisp.c f->last_tool_bar_item = -1; f 15662 src/xdisp.c handle_tool_bar_click (struct frame *f, int x, int y, bool down_p, f 15665 src/xdisp.c handle_tool_bar_click_with_device (f, x, y, down_p, modifiers, Qt); f 15673 src/xdisp.c note_tool_bar_highlight (struct frame *f, int x, int y) f 15675 src/xdisp.c Lisp_Object window = f->tool_bar_window; f 15677 src/xdisp.c Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); f 15678 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 15697 src/xdisp.c rc = get_tool_bar_item (f, x, y, &glyph, &hpos, &vpos, &prop_idx); f 15712 src/xdisp.c && f == dpyinfo->last_mouse_frame); f 15714 src/xdisp.c if (mouse_down_p && f->last_tool_bar_item != prop_idx) f 15720 src/xdisp.c enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P); f 15751 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_HELP); f 15753 src/xdisp.c help_echo_string = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_CAPTION); f 15869 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 15870 src/xdisp.c x_offset -= (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); f 15966 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) f 15967 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); f 15979 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); f 15993 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) f 15994 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); f 15999 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); f 16010 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) f 16012 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); f 16022 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16025 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16034 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) f 16037 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); f 16370 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 16611 src/xdisp.c struct frame *f = XFRAME (frame); f 16613 src/xdisp.c if (FRAME_VISIBLE_P (f)) f 16617 src/xdisp.c if (f->fonts_changed) f 16619 src/xdisp.c adjust_frame_glyphs (f); f 16626 src/xdisp.c SET_FRAME_GARBAGED (f); f 16627 src/xdisp.c f->fonts_changed = false; f 16631 src/xdisp.c if (f != sf && f->cursor_type_changed) f 16632 src/xdisp.c fset_redisplay (f); f 16634 src/xdisp.c clear_desired_matrices (f); f 17006 src/xdisp.c struct frame *f = XFRAME (frame); f 17010 src/xdisp.c if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 17011 src/xdisp.c && !EQ (FRAME_TTY (f)->top_frame, frame)) f 17015 src/xdisp.c if (FRAME_WINDOW_P (f) || FRAME_TERMCAP_P (f) || f == sf) f 17019 src/xdisp.c = f->redisplay || !REDISPLAY_SOME_P (); f 17020 src/xdisp.c bool f_redisplay_flag = f->redisplay; f 17025 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17030 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 17031 src/xdisp.c FRAME_TERMINAL (f)->condemn_scroll_bars_hook (f); f 17033 src/xdisp.c if (FRAME_VISIBLE_P (f) && !FRAME_OBSCURED_P (f)) f 17042 src/xdisp.c f->inhibit_clear_image_cache = true; f 17043 src/xdisp.c redisplay_windows (FRAME_ROOT_WINDOW (f)); f 17048 src/xdisp.c f->redisplay = true; f 17051 src/xdisp.c if (!FRAME_LIVE_P (f)) f 17056 src/xdisp.c if (gcscrollbars && FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 17057 src/xdisp.c FRAME_TERMINAL (f)->judge_scroll_bars_hook (f); f 17059 src/xdisp.c if (FRAME_VISIBLE_P (f) && !FRAME_OBSCURED_P (f)) f 17062 src/xdisp.c if (f->fonts_changed) f 17064 src/xdisp.c adjust_frame_glyphs (f); f 17068 src/xdisp.c SET_FRAME_GARBAGED (f); f 17069 src/xdisp.c f->fonts_changed = false; f 17074 src/xdisp.c if (!f->already_hscrolled_p) f 17076 src/xdisp.c f->already_hscrolled_p = true; f 17078 src/xdisp.c && hscroll_windows (f->root_window)) f 17096 src/xdisp.c if (!f_redisplay_flag && f->redisplay) f 17107 src/xdisp.c if (FRAME_GARBAGED_P (f) f 17112 src/xdisp.c if (FRAME_WINDOW_P (f) f 17113 src/xdisp.c && FRAME_RIF (f)->clear_under_internal_border) f 17114 src/xdisp.c FRAME_RIF (f)->clear_under_internal_border (f); f 17123 src/xdisp.c pending |= update_frame (f, false, false); f 17131 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 17133 src/xdisp.c fset_redisplay (f); f 17134 src/xdisp.c f->garbaged = false; f 17137 src/xdisp.c f->cursor_type_changed = false; f 17138 src/xdisp.c f->updated_p = true; f 17139 src/xdisp.c f->inhibit_clear_image_cache = false; f 17153 src/xdisp.c struct frame *f = XFRAME (frame); f 17154 src/xdisp.c if (f->updated_p) f 17156 src/xdisp.c f->redisplay = false; f 17157 src/xdisp.c f->garbaged = false; f 17158 src/xdisp.c mark_window_display_accurate (f->root_window, true); f 17159 src/xdisp.c if (FRAME_TERMINAL (f)->frame_up_to_date_hook) f 17160 src/xdisp.c FRAME_TERMINAL (f)->frame_up_to_date_hook (f); f 17558 src/xdisp.c struct frame *f = XFRAME (frame); f 17559 src/xdisp.c if (FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) f 17560 src/xdisp.c (*FRAME_TERMINAL (f)->buffer_flipping_unblocked_hook) (f); f 18935 src/xdisp.c struct frame *f = XFRAME (w->frame); f 18965 src/xdisp.c && !f->cursor_type_changed f 19454 src/xdisp.c struct frame *f = XFRAME (w->frame); f 19467 src/xdisp.c FRAME_WINDOW_P (f)) > 0) f 19537 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20052 src/xdisp.c if (f->fonts_changed) f 20146 src/xdisp.c if (f->fonts_changed) f 20355 src/xdisp.c || f->cursor_type_changed f 20370 src/xdisp.c if (f->fonts_changed) f 20494 src/xdisp.c = WINDOW_TOTAL_LINES (w) * FRAME_LINE_HEIGHT (f) / frame_line_height; f 20528 src/xdisp.c && !FRAME_WINDOW_P (f) f 20551 src/xdisp.c f->fonts_changed = true; f 20562 src/xdisp.c f->fonts_changed = true; f 20573 src/xdisp.c f->fonts_changed = true; f 20579 src/xdisp.c if (f->fonts_changed) f 20594 src/xdisp.c && EQ (FRAME_SELECTED_WINDOW (f), window)) f 20598 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20601 src/xdisp.c redisplay_menu_p = FRAME_EXTERNAL_MENU_BAR (f); f 20603 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20607 src/xdisp.c redisplay_menu_p = FRAME_MENU_BAR_LINES (f) > 0; f 20613 src/xdisp.c if (FRAME_WINDOW_P (f)) f 20615 src/xdisp.c if (WINDOWP (f->tab_bar_window) f 20616 src/xdisp.c && (FRAME_TAB_BAR_LINES (f) > 0 f 20618 src/xdisp.c && redisplay_tab_bar (f)) f 20622 src/xdisp.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 20623 src/xdisp.c update_frame_tool_bar (f); f 20625 src/xdisp.c if (WINDOWP (f->tool_bar_window) f 20626 src/xdisp.c && (FRAME_TOOL_BAR_LINES (f) > 0 f 20628 src/xdisp.c && redisplay_tool_bar (f)) f 20634 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20640 src/xdisp.c if ((FRAME_TAB_BAR_LINES (f) > 0)) f 20646 src/xdisp.c if (FRAME_WINDOW_P (f) f 20651 src/xdisp.c update_begin (f); f 20661 src/xdisp.c update_end (f); f 20688 src/xdisp.c if (FRAME_TERMINAL (f)->redeem_scroll_bar_hook) f 20689 src/xdisp.c (*FRAME_TERMINAL (f)->redeem_scroll_bar_hook) (w); f 20736 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20757 src/xdisp.c if (f->fonts_changed f 20842 src/xdisp.c struct frame *f = XFRAME (w->frame); f 20859 src/xdisp.c !FRAME_WINDOW_P (f) f 20863 src/xdisp.c || f->cursor_type_changed f 20932 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21011 src/xdisp.c update_begin (f); f 21013 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21014 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21016 src/xdisp.c update_end (f); f 21148 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 21179 src/xdisp.c update_begin (f); f 21181 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 21182 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 21184 src/xdisp.c update_end (f); f 21469 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21476 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 21484 src/xdisp.c frame_row = f->current_matrix->rows + WINDOW_TOP_EDGE_LINE (w); f 21629 src/xdisp.c struct frame *f = XFRAME (w->frame); f 21671 src/xdisp.c if (windows_or_buffers_changed || f->cursor_type_changed) f 21689 src/xdisp.c if (!FRAME_WINDOW_P (f) f 21690 src/xdisp.c && (!FRAME_LINE_INS_DEL_OK (f) f 21904 src/xdisp.c if (FRAME_W32_P (f) && w32_use_visible_system_caret) f 22031 src/xdisp.c && !f->fonts_changed f 22036 src/xdisp.c && !f->fonts_changed f 22044 src/xdisp.c if (f->fonts_changed) f 22158 src/xdisp.c update_begin (f); f 22160 src/xdisp.c if (FRAME_WINDOW_P (f)) f 22164 src/xdisp.c FRAME_RIF (f)->clear_window_mouse_face (w); f 22165 src/xdisp.c FRAME_RIF (f)->scroll_run_hook (w, &run); f 22188 src/xdisp.c set_terminal_window (f, end); f 22192 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22193 src/xdisp.c ins_del_lines (f, end - dvpos, -dvpos); f 22197 src/xdisp.c ins_del_lines (f, from, dvpos); f 22203 src/xdisp.c set_terminal_window (f, end); f 22209 src/xdisp.c ins_del_lines (f, from + dvpos, dvpos); f 22213 src/xdisp.c if (!FRAME_SCROLL_REGION_OK (f)) f 22214 src/xdisp.c ins_del_lines (f, end + dvpos, -dvpos); f 22217 src/xdisp.c set_terminal_window (f, 0); f 22220 src/xdisp.c update_end (f); f 22245 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 22308 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) f 22681 src/xdisp.c struct frame *f = XFRAME (selected_frame); f 22683 src/xdisp.c if (f->current_matrix) f 22684 src/xdisp.c dump_glyph_matrix (f->current_matrix, 1); f 22833 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 22870 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); f 22900 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) f 22926 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 22971 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 22994 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23018 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 23086 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23096 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); f 23206 src/xdisp.c || FRAME_WINDOW_P (it->f) f 23211 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); f 23214 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23217 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); f 23220 src/xdisp.c : FRAME_FONT (it->f)); f 23245 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23253 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 23254 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); f 23263 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) f 23272 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 23278 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); f 23286 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 23382 src/xdisp.c struct frame *f = it->f; f 23390 src/xdisp.c + (!FRAME_WINDOW_P (f) f 23407 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); f 23422 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p f 23426 src/xdisp.c if (FRAME_WINDOW_P (f) f 23432 src/xdisp.c && face->background == FRAME_BACKGROUND_PIXEL (f) f 23451 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); f 23455 src/xdisp.c if (FRAME_WINDOW_P (f)) f 23468 src/xdisp.c || (WINDOWP (f->tab_bar_window) f 23469 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) f 23471 src/xdisp.c || (WINDOWP (f->tool_bar_window) f 23472 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) f 23495 src/xdisp.c : FRAME_FONT (f)); f 23587 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (f); f 23663 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 23734 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) f 23841 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); f 24025 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); f 24037 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); f 24352 src/xdisp.c + (SCROLL_LIMIT + 10) * FRAME_LINE_HEIGHT (tem_it.f), f 24531 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); f 24744 src/xdisp.c it->f->fonts_changed = true; f 24765 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) f 24766 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); f 24785 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) f 24792 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); f 24798 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); f 24939 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) f 25081 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25090 src/xdisp.c && FRAME_WINDOW_P (it->f) f 25168 src/xdisp.c && !FRAME_WINDOW_P (it->f)) f 25227 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) f 25260 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25317 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); f 25403 src/xdisp.c && ((FRAME_WINDOW_P (it->f) f 25416 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25450 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 25512 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 25619 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) f 26220 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; f 26241 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); f 26253 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) f 26288 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) f 26490 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 26497 src/xdisp.c if (FRAME_W32_P (f)) f 26501 src/xdisp.c if (FRAME_PGTK_P (f)) f 26506 src/xdisp.c if (FRAME_X_P (f)) f 26511 src/xdisp.c if (FRAME_NS_P (f)) f 26516 src/xdisp.c if (FRAME_HAIKU_P (f)) f 26521 src/xdisp.c eassert (!FRAME_WINDOW_P (f)); f 26522 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); f 26524 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 26526 src/xdisp.c if (FRAME_WINDOW_P (f)) f 26531 src/xdisp.c menu_w = XWINDOW (f->menu_bar_window); f 26535 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); f 26542 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, f 26545 src/xdisp.c it.last_visible_x = FRAME_COLS (f); f 26554 src/xdisp.c for (i = 0; i < FRAME_MENU_BAR_LINES (f); ++i) f 26564 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); f 26643 src/xdisp.c struct frame *f = SELECTED_FRAME (); f 26644 src/xdisp.c struct window *w = XWINDOW (f->selected_window); f 26648 src/xdisp.c eassert (FRAME_TERMCAP_P (f)); f 26655 src/xdisp.c if (y >= f->desired_matrix->nrows) f 26658 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); f 26660 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; f 26663 src/xdisp.c deep_copy_glyph_row (row, f->current_matrix->rows + y); f 26672 src/xdisp.c eassert (x < f->desired_matrix->matrix_w); f 26689 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); f 26695 src/xdisp.c item_len, 0, FRAME_COLS (f) - 1, -1); f 26699 src/xdisp.c FRAME_COLS (f) - 1, -1); f 26703 src/xdisp.c width, 0, FRAME_COLS (f) - 1, -1); f 26900 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 26968 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); f 27402 src/xdisp.c if (!FRAME_LIVE_P (it->f)) f 27709 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); f 27975 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 27976 src/xdisp.c char *decode_mode_spec_buf = f->decode_mode_spec_buffer; f 27982 src/xdisp.c int width = min (field_width, FRAME_MESSAGE_BUF_SIZE (f)); f 28053 src/xdisp.c for (i = 0; i < FRAME_MESSAGE_BUF_SIZE (f) - 1; ++i) f 28098 src/xdisp.c if (!NILP (f->title)) f 28099 src/xdisp.c return SSDATA (f->title); f 28100 src/xdisp.c if (f->explicit_name || ! FRAME_WINDOW_P (f)) f 28101 src/xdisp.c return SSDATA (f->name); f 28384 src/xdisp.c if (! FRAME_WINDOW_P (f)) f 28389 src/xdisp.c (FRAME_KEYBOARD_CODING (f)->id), f 28392 src/xdisp.c (FRAME_TERMINAL_CODING (f)->id), f 28622 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 28760 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) f 28798 src/xdisp.c if (!FRAME_WINDOW_P (it->f) f 28981 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); f 29000 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) f 29001 src/xdisp.c : FRAME_RES_Y (it->f)); f 29014 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29019 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); f 29098 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) f 29099 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); f 29114 src/xdisp.c if (FRAME_WINDOW_P (it->f) f 29117 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); f 29118 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); f 29123 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) f 29233 src/xdisp.c # define ALLOCATE_HDC(hdc, f) \ f 29236 src/xdisp.c HDC hdc = get_frame_dc ((f)) f 29237 src/xdisp.c # define RELEASE_HDC(hdc, f) \ f 29238 src/xdisp.c release_frame_dc ((f), (hdc)); \ f 29241 src/xdisp.c # define ALLOCATE_HDC(hdc, f) f 29242 src/xdisp.c # define RELEASE_HDC(hdc, f) f 29255 src/xdisp.c s->f = XFRAME (w->frame); f 29328 src/xdisp.c get_char_face_and_encoding (struct frame *f, int c, int face_id, f 29331 src/xdisp.c struct face *face = FACE_FROM_ID (f, face_id); f 29350 src/xdisp.c prepare_face_for_display (f, face); f 29362 src/xdisp.c get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph, f 29369 src/xdisp.c face = FACE_FROM_ID (f, glyph->face_id); f 29372 src/xdisp.c prepare_face_for_display (f, face); f 29446 src/xdisp.c int face_id = FACE_FOR_CHAR (s->f, base_face->ascii_face, c, f 29449 src/xdisp.c face = get_char_face_and_encoding (s->f, c, face_id, f 29479 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29480 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29482 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29484 src/xdisp.c s->face = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, c, -1, Qnil)); f 29485 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29499 src/xdisp.c s->font = FRAME_FONT (s->f); f 29532 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29533 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29535 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29536 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29539 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29596 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29597 src/xdisp.c s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); f 29604 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29605 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29607 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29608 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29644 src/xdisp.c eassert (s->f == XFRAME (s->w->frame)); f 29662 src/xdisp.c s->face = get_glyph_face_and_encoding (s->f, glyph, f 29679 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29680 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29682 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29684 src/xdisp.c = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, f 29686 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29696 src/xdisp.c s->font = FRAME_FONT (s->f); f 29713 src/xdisp.c s->img = IMAGE_FROM_ID (s->f, s->first_glyph->u.img_id); f 29716 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 29724 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29725 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29727 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29728 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29742 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); f 29750 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29751 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29753 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29754 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29779 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); f 29787 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (s->f); f 29788 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); f 29790 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); f 29791 src/xdisp.c prepare_face_for_display (s->f, s->face); f 29884 src/xdisp.c gui_get_glyph_overhangs (struct glyph *glyph, struct frame *f, int *left, int *right) f 29891 src/xdisp.c struct face *face = get_glyph_face_and_encoding (f, glyph, &char2b); f 29974 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30029 src/xdisp.c gui_get_glyph_overhangs (glyphs + i, s->f, &left, &right); f 30071 src/xdisp.c if (FRAME_WINDOW_P (s->f) f 30082 src/xdisp.c struct face *regular_face = FACE_FROM_ID (s->f, g->face_id); f 30119 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30120 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30131 src/xdisp.c if (FRAME_RIF (s->f)->compute_glyph_string_overhangs) f 30132 src/xdisp.c FRAME_RIF (s->f)->compute_glyph_string_overhangs (s); f 30257 src/xdisp.c struct face *base_face = FACE_FROM_ID (f, face_id); \ f 30433 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 30435 src/xdisp.c ALLOCATE_HDC (hdc, f); f 30479 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 30505 src/xdisp.c if (FRAME_RIF (f)->compute_glyph_string_overhangs) f 30507 src/xdisp.c FRAME_RIF (f)->compute_glyph_string_overhangs (s); f 30637 src/xdisp.c FRAME_RIF (f)->draw_glyph_string (s); f 30665 src/xdisp.c RELEASE_HDC (hdc, f); f 30685 src/xdisp.c struct face *prev_face = FACE_FROM_ID (s->f, g->face_id); f 30697 src/xdisp.c return FACE_FROM_ID (s->f, g[1].face_id)->font; f 30706 src/xdisp.c if (!it->f->fonts_changed \ f 30711 src/xdisp.c it->f->fonts_changed = true; \ f 30911 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 30913 src/xdisp.c prepare_face_for_display (it->f, face); f 30925 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); f 30927 src/xdisp.c prepare_image_for_display (it->f, img); f 31085 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 31087 src/xdisp.c prepare_face_for_display (it->f, face); f 31324 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31326 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); f 31327 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 31328 src/xdisp.c prepare_face_for_display (it->f, face); f 31363 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) f 31364 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, f 31422 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); f 31429 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31472 src/xdisp.c width -= FRAME_WINDOW_P (it->f); f 31486 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31502 src/xdisp.c if (FRAME_WINDOW_P (it->f)) f 31567 src/xdisp.c if (FRAME_WINDOW_P (temp_it.f) f 31584 src/xdisp.c struct face *face = FACE_FROM_ID (temp_it.f, temp_it.face_id); f 31586 src/xdisp.c face->font ? face->font : FRAME_FONT (temp_it.f); f 31644 src/xdisp.c font = FRAME_FONT (it->f); f 31645 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); f 31656 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); f 31657 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); f 31662 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 31796 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); f 31799 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); f 31834 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); f 31835 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); f 31836 src/xdisp.c prepare_face_for_display (it->f, face); f 31957 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 31977 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32314 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32371 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; f 32382 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, f 32435 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); f 32436 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); f 32443 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, f 32606 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); f 32728 src/xdisp.c struct frame *f; f 32737 src/xdisp.c f = XFRAME (WINDOW_FRAME (w)); f 32757 src/xdisp.c FRAME_RIF (f)->shift_glyphs_for_insert (f, frame_x, frame_y, shifted_region_width, f 32785 src/xdisp.c struct frame *f; f 32791 src/xdisp.c f = XFRAME (w->frame); f 32792 src/xdisp.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 32842 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, from_x, from_y, f 32912 src/xdisp.c set_frame_cursor_types (struct frame *f, Lisp_Object arg) f 32917 src/xdisp.c FRAME_DESIRED_CURSOR (f) = get_specified_cursor_type (arg, &width); f 32918 src/xdisp.c FRAME_CURSOR_WIDTH (f) = width; f 32925 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) f 32927 src/xdisp.c FRAME_BLINK_OFF_CURSOR_WIDTH (f) = width; f 32930 src/xdisp.c FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; f 32933 src/xdisp.c f->cursor_type_changed = true; f 32954 src/xdisp.c struct frame *f = XFRAME (w->frame); f 32964 src/xdisp.c && FRAME_HAS_MINIBUF_P (f) f 32965 src/xdisp.c && EQ (FRAME_MINIBUF_WINDOW (f), echo_area_window)) f 32971 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 32972 src/xdisp.c return FRAME_DESIRED_CURSOR (f); f 32983 src/xdisp.c else if (w != XWINDOW (f->selected_window) f 32984 src/xdisp.c || f != FRAME_DISPLAY_INFO (f)->highlight_frame) f 33003 src/xdisp.c cursor_type = FRAME_DESIRED_CURSOR (f); f 33004 src/xdisp.c *width = FRAME_CURSOR_WIDTH (f); f 33037 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 33071 src/xdisp.c if (FRAME_BLINK_OFF_CURSOR (f) != DEFAULT_CURSOR) f 33073 src/xdisp.c *width = FRAME_BLINK_OFF_CURSOR_WIDTH (f); f 33074 src/xdisp.c return FRAME_BLINK_OFF_CURSOR (f); f 33274 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33275 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 33385 src/xdisp.c FRAME_RIF (f)->clear_frame_area (f, x, y, width, cursor_row->visible_height); f 33409 src/xdisp.c struct frame *f = XFRAME (w->frame); f 33420 src/xdisp.c if (! FRAME_VISIBLE_P (f) f 33446 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 33502 src/xdisp.c FRAME_RIF (f)->draw_window_cursor (w, glyph_row, x, y, f 33567 src/xdisp.c gui_update_cursor (struct frame *f, bool on_p) f 33569 src/xdisp.c update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); f 33616 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 33619 src/xdisp.c if (f != hlinfo->mouse_face_mouse_frame) f 33721 src/xdisp.c if (FRAME_WINDOW_P (f) f 33750 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (track_mouse)) f 33754 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tool_bar_window) f 33756 src/xdisp.c && !EQ (hlinfo->mouse_face_window, f->tab_bar_window)) f 33757 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->text_cursor); f 33760 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->hand_cursor); f 33762 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, FRAME_OUTPUT_DATA (f)->nontext_cursor); f 34697 src/xdisp.c define_frame_cursor1 (struct frame *f, Emacs_Cursor cursor, Lisp_Object pointer) f 34700 src/xdisp.c if (!FRAME_WINDOW_P (f)) f 34711 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 34713 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 34715 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 34717 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 34719 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 34722 src/xdisp.c cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 34725 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hourglass_cursor; f 34727 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->modeline_cursor; f 34729 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 34733 src/xdisp.c FRAME_RIF (f)->define_frame_cursor (f, cursor); f 34748 src/xdisp.c struct frame *f = XFRAME (w->frame); f 34749 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 34879 src/xdisp.c if (FRAME_WINDOW_P (f)) f 34887 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 34903 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 34907 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 34910 src/xdisp.c && !FRAME_HAS_MINIBUF_P (f) f 34920 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 34922 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35069 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 35082 src/xdisp.c note_mouse_highlight (struct frame *f, int x, int y) f 35084 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35103 src/xdisp.c if (!f->glyphs_initialized_p f 35104 src/xdisp.c || f->pointer_invisible) f 35109 src/xdisp.c hlinfo->mouse_face_mouse_frame = f; f 35115 src/xdisp.c window = window_from_coordinates (f, x, y, &part, true, true); f 35132 src/xdisp.c if (!FRAME_WINDOW_P (f) f 35133 src/xdisp.c && (y >= FRAME_MENU_BAR_LINES (f) f 35134 src/xdisp.c && y < FRAME_MENU_BAR_LINES (f) + FRAME_TAB_BAR_LINES (f))) f 35138 src/xdisp.c Lisp_Object caption = tty_get_tab_bar_item (f, x, &prop_idx, &ignore); f 35144 src/xdisp.c help_echo_string = AREF (f->tab_bar_items, f 35155 src/xdisp.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0 f 35156 src/xdisp.c && !NILP (get_frame_param (f, Qdrag_internal_border))) f 35158 src/xdisp.c enum internal_border_part part = frame_internal_border_part (f, x, y); f 35163 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35165 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35168 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->left_edge_cursor; f 35171 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_left_corner_cursor; f 35174 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_edge_cursor; f 35177 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->top_right_corner_cursor; f 35180 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->right_edge_cursor; f 35183 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_right_corner_cursor; f 35186 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_edge_cursor; f 35189 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->bottom_left_corner_cursor; f 35193 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35194 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35197 src/xdisp.c if (cursor != FRAME_OUTPUT_DATA (f)->nontext_cursor) f 35217 src/xdisp.c if (EQ (window, f->tab_bar_window)) f 35219 src/xdisp.c note_tab_bar_highlight (f, x, y); f 35222 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->hand_cursor; f 35234 src/xdisp.c f->last_tab_bar_item = -1; f 35241 src/xdisp.c if (EQ (window, f->tool_bar_window)) f 35243 src/xdisp.c note_tool_bar_highlight (f, x, y); f 35257 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35269 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35275 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->horizontal_drag_cursor; f 35284 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->vertical_drag_cursor; f 35289 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35293 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35295 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->text_cursor; f 35321 src/xdisp.c struct image *img = IMAGE_OPT_FROM_ID (f, glyph->u.img_id); f 35382 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 35386 src/xdisp.c cursor = FRAME_OUTPUT_DATA (f)->nontext_cursor; f 35661 src/xdisp.c if (FRAME_WINDOW_P (f) && NILP (pointer)) f 35708 src/xdisp.c define_frame_cursor1 (f, cursor, pointer); f 35736 src/xdisp.c cancel_mouse_face (struct frame *f) f 35739 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 35742 src/xdisp.c if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f) f 35925 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 35935 src/xdisp.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f) || FRAME_RIGHT_DIVIDER_WIDTH (f)) f 35952 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x1, y0, y1); f 35966 src/xdisp.c FRAME_RIF (f)->draw_vertical_window_border (w, x0, y0, y1); f 35976 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 35995 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36002 src/xdisp.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 36027 src/xdisp.c FRAME_RIF (f)->draw_window_divider (w, x0, x1, y0, y1); f 36039 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36055 src/xdisp.c SET_FRAME_GARBAGED (f); f 36201 src/xdisp.c struct frame *f = XFRAME (w->frame); f 36204 src/xdisp.c while (w && !FRAME_GARBAGED_P (f)) f 36225 src/xdisp.c expose_frame (struct frame *f, int x, int y, int w, int h) f 36230 src/xdisp.c if (FRAME_GARBAGED_P (f)) f 36239 src/xdisp.c if (FRAME_FACE_CACHE (f) == NULL f 36240 src/xdisp.c || FRAME_FACE_CACHE (f)->used < BASIC_FACE_ID_SENTINEL) f 36249 src/xdisp.c r.width = FRAME_TEXT_WIDTH (f); f 36250 src/xdisp.c r.height = FRAME_TEXT_HEIGHT (f); f 36262 src/xdisp.c mouse_face_overwritten_p = expose_window_tree (XWINDOW (f->root_window), &r); f 36264 src/xdisp.c if (WINDOWP (f->tab_bar_window)) f 36266 src/xdisp.c |= expose_window (XWINDOW (f->tab_bar_window), &r); f 36269 src/xdisp.c if (WINDOWP (f->tool_bar_window)) f 36271 src/xdisp.c |= expose_window (XWINDOW (f->tool_bar_window), &r); f 36277 src/xdisp.c if (WINDOWP (f->menu_bar_window)) f 36279 src/xdisp.c |= expose_window (XWINDOW (f->menu_bar_window), &r); f 36297 src/xdisp.c if (mouse_face_overwritten_p && !FRAME_GARBAGED_P (f)) f 36299 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 36300 src/xdisp.c if (f == hlinfo->mouse_face_mouse_frame) f 36305 src/xdisp.c note_mouse_highlight (f, mouse_x, mouse_y); f 37470 src/xdisp.c struct frame *f = XFRAME (frame); f 37471 src/xdisp.c Lisp_Object root = FRAME_ROOT_WINDOW (f); f 37475 src/xdisp.c r->top_line = FRAME_TOP_MARGIN (f); f 37476 src/xdisp.c r->pixel_top = r->top_line * FRAME_LINE_HEIGHT (f); f 37477 src/xdisp.c r->total_cols = FRAME_COLS (f); f 37478 src/xdisp.c r->pixel_width = r->total_cols * FRAME_COLUMN_WIDTH (f); f 37479 src/xdisp.c r->total_lines = FRAME_TOTAL_LINES (f) - 1 - FRAME_TOP_MARGIN (f); f 37480 src/xdisp.c r->pixel_height = r->total_lines * FRAME_LINE_HEIGHT (f); f 37482 src/xdisp.c m->top_line = FRAME_TOTAL_LINES (f) - 1; f 37483 src/xdisp.c m->pixel_top = m->top_line * FRAME_LINE_HEIGHT (f); f 37484 src/xdisp.c m->total_cols = FRAME_COLS (f); f 37485 src/xdisp.c m->pixel_width = m->total_cols * FRAME_COLUMN_WIDTH (f); f 37487 src/xdisp.c m->pixel_height = m->total_lines * FRAME_LINE_HEIGHT (f); f 37533 src/xdisp.c struct frame *f = XFRAME (frame); f 37535 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37536 src/xdisp.c && FRAME_RIF (f)->show_hourglass) f 37537 src/xdisp.c FRAME_RIF (f)->show_hourglass (f); f 37589 src/xdisp.c struct frame *f = XFRAME (frame); f 37591 src/xdisp.c if (FRAME_LIVE_P (f) && FRAME_WINDOW_P (f) f 37592 src/xdisp.c && FRAME_RIF (f)->hide_hourglass) f 37593 src/xdisp.c FRAME_RIF (f)->hide_hourglass (f); f 37596 src/xdisp.c else if (!FRAME_W32_P (f)) f 37683 src/xdisp.c struct frame *f = WINDOW_XFRAME (w); f 37684 src/xdisp.c Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); f 37686 src/xdisp.c struct face *mouse_face = FACE_FROM_ID (f, hlinfo->mouse_face_face_id); f 37713 src/xdisp.c FACE_FROM_ID (f, start->face_id), f 478 src/xfaces.c x_free_colors (struct frame *f, unsigned long *pixels, int npixels) f 482 src/xfaces.c if (x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 487 src/xfaces.c XFreeColors (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), f 521 src/xfaces.c x_create_gc (struct frame *f, unsigned long mask, XGCValues *xgcv) f 525 src/xfaces.c gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), mask, xgcv); f 535 src/xfaces.c x_free_gc (struct frame *f, GC gc) f 539 src/xfaces.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 548 src/xfaces.c x_create_gc (struct frame *f, unsigned long mask, Emacs_GC *egc) f 552 src/xfaces.c gc = XCreateGC (NULL, FRAME_W32_WINDOW (f), mask, egc); f 562 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 574 src/xfaces.c x_create_gc (struct frame *f, f 584 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 594 src/xfaces.c x_create_gc (struct frame *f, f 604 src/xfaces.c x_free_gc (struct frame *f, Emacs_GC *gc) f 617 src/xfaces.c init_frame_faces (struct frame *f) f 620 src/xfaces.c if (FRAME_FACE_CACHE (f) == NULL) f 621 src/xfaces.c FRAME_FACE_CACHE (f) = make_face_cache (f); f 625 src/xfaces.c if (FRAME_WINDOW_P (f)) f 630 src/xfaces.c if (FRAME_IMAGE_CACHE (f) == NULL) f 631 src/xfaces.c FRAME_IMAGE_CACHE (f) = make_image_cache (); f 632 src/xfaces.c ++FRAME_IMAGE_CACHE (f)->refcount; f 637 src/xfaces.c if (!realize_basic_faces (f)) f 646 src/xfaces.c free_frame_faces (struct frame *f) f 648 src/xfaces.c struct face_cache *face_cache = FRAME_FACE_CACHE (f); f 653 src/xfaces.c FRAME_FACE_CACHE (f) = NULL; f 657 src/xfaces.c if (FRAME_WINDOW_P (f)) f 659 src/xfaces.c struct image_cache *image_cache = FRAME_IMAGE_CACHE (f); f 664 src/xfaces.c free_image_cache (f); f 677 src/xfaces.c recompute_basic_faces (struct frame *f) f 679 src/xfaces.c if (FRAME_FACE_CACHE (f)) f 682 src/xfaces.c if (!realize_basic_faces (f)) f 707 src/xfaces.c struct frame *f = XFRAME (frame); f 708 src/xfaces.c if (FRAME_WINDOW_P (f) f 709 src/xfaces.c && FRAME_DISPLAY_INFO (f)->n_fonts > CLEAR_FONT_TABLE_NFONTS f 710 src/xfaces.c && !f->inhibit_clear_image_cache) f 712 src/xfaces.c clear_font_cache (f); f 722 src/xfaces.c struct frame *f = XFRAME (frame); f 723 src/xfaces.c if (FRAME_WINDOW_P (f)) f 724 src/xfaces.c clear_face_gcs (FRAME_FACE_CACHE (f)); f 806 src/xfaces.c load_pixmap (struct frame *f, Lisp_Object name) f 827 src/xfaces.c bitmap_id = image_create_bitmap_from_data (f, SSDATA (bits), f 833 src/xfaces.c bitmap_id = image_create_bitmap_from_file (f, name); f 1017 src/xfaces.c tty_lookup_color (struct frame *f, Lisp_Object color, Emacs_Color *tty_color, f 1025 src/xfaces.c XSETFRAME (frame, f); f 1078 src/xfaces.c tty_defined_color (struct frame *f, const char *color_name, f 1090 src/xfaces.c status = tty_lookup_color (f, build_string (color_name), color_def, NULL); f 1110 src/xfaces.c tty_color_name (struct frame *f, int idx) f 1117 src/xfaces.c XSETFRAME (frame, f); f 1126 src/xfaces.c if (FRAME_MSDOS_P (f) && !inhibit_window_system) f 1145 src/xfaces.c face_color_gray_p (struct frame *f, const char *color_name) f 1150 src/xfaces.c if (FRAME_TERMINAL (f)->defined_color_hook f 1151 src/xfaces.c (f, color_name, &color, false, true)) f 1172 src/xfaces.c face_color_supported_p (struct frame *f, const char *color_name, f 1178 src/xfaces.c XSETFRAME (frame, f); f 1181 src/xfaces.c FRAME_WINDOW_P (f) f 1186 src/xfaces.c && face_color_gray_p (f, color_name)) f 1188 src/xfaces.c && face_color_gray_p (f, color_name))) f 1191 src/xfaces.c tty_defined_color (f, color_name, ¬_used, false, false); f 1224 src/xfaces.c load_color2 (struct frame *f, struct face *face, Lisp_Object name, f 1237 src/xfaces.c if (!FRAME_TERMINAL (f)->defined_color_hook f 1238 src/xfaces.c (f, SSDATA (name), color, true, true)) f 1246 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1251 src/xfaces.c color->pixel = FRAME_BACKGROUND_PIXEL (f); f 1256 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1261 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1266 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1271 src/xfaces.c color->pixel = FRAME_FOREGROUND_PIXEL (f); f 1296 src/xfaces.c load_color (struct frame *f, struct face *face, Lisp_Object name, f 1300 src/xfaces.c return load_color2 (f, face, name, target_index, &color); f 1312 src/xfaces.c load_face_colors (struct frame *f, struct face *face, f 1334 src/xfaces.c if (!face_color_supported_p (f, SSDATA (bg), false) f 1337 src/xfaces.c image_destroy_bitmap (f, face->stipple); f 1338 src/xfaces.c face->stipple = load_pixmap (f, Vface_default_stipple); f 1341 src/xfaces.c face->background = load_color2 (f, face, bg, LFACE_BACKGROUND_INDEX, &xbg); f 1342 src/xfaces.c face->foreground = load_color2 (f, face, fg, LFACE_FOREGROUND_INDEX, &xfg); f 1349 src/xfaces.c face->background = load_color (f, face, dfg, LFACE_BACKGROUND_INDEX); f 1351 src/xfaces.c face->foreground = load_color (f, face, dfg, LFACE_FOREGROUND_INDEX); f 1360 src/xfaces.c unload_color (struct frame *f, unsigned long pixel) f 1365 src/xfaces.c x_free_colors (f, &pixel, 1); f 1373 src/xfaces.c free_face_colors (struct frame *f, struct face *face) f 1384 src/xfaces.c x_free_colors (f, &face->foreground, 1); f 1390 src/xfaces.c x_free_colors (f, &face->background, 1); f 1397 src/xfaces.c x_free_colors (f, &face->underline_color, 1); f 1404 src/xfaces.c x_free_colors (f, &face->overline_color, 1); f 1411 src/xfaces.c x_free_colors (f, &face->strike_through_color, 1); f 1418 src/xfaces.c x_free_colors (f, &face->box_color, 1); f 1529 src/xfaces.c struct frame *f = decode_live_frame (frame); f 1541 src/xfaces.c list = font_list_entities (f, font_spec); f 1578 src/xfaces.c FRAME_RES_Y (f)); f 1629 src/xfaces.c struct frame *f; f 1643 src/xfaces.c f = decode_live_frame (frame); f 1644 src/xfaces.c if (! FRAME_WINDOW_P (f)) f 1647 src/xfaces.c f = NULL; f 1652 src/xfaces.c XSETFRAME (frame, f); f 1662 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, false); f 1663 src/xfaces.c struct face *width_face = FACE_FROM_ID_OR_NULL (f, face_id); f 1672 src/xfaces.c size = FRAME_FONT (f)->pixel_size; f 1673 src/xfaces.c avgwidth = FRAME_FONT (f)->average_width; f 1709 src/xfaces.c Lisp_Object fontsets = list_fontsets (f, pattern, size); f 1987 src/xfaces.c lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, f 1992 src/xfaces.c if (f) f 1993 src/xfaces.c lface = Fgethash (face_name, f->face_hash_table, Qnil); f 2013 src/xfaces.c lface_from_face_name (struct frame *f, Lisp_Object face_name, bool signal_p) f 2016 src/xfaces.c return lface_from_face_name_no_resolve (f, face_name, signal_p); f 2027 src/xfaces.c get_lface_attributes_no_remap (struct frame *f, Lisp_Object face_name, f 2033 src/xfaces.c lface = lface_from_face_name_no_resolve (f, face_name, signal_p); f 2052 src/xfaces.c struct frame *f, Lisp_Object face_name, f 2057 src/xfaces.c eassert (w == NULL || WINDOW_XFRAME (w) == f); f 2077 src/xfaces.c return merge_face_ref (w, f, XCDR (face_remapping), attrs, f 2084 src/xfaces.c return get_lface_attributes_no_remap (f, face_name, attrs, signal_p); f 2113 src/xfaces.c set_lface_from_font (struct frame *f, Lisp_Object lface, f 2139 src/xfaces.c int pt = PIXEL_TO_POINT (font->pixel_size * 10, FRAME_RES_Y (f)); f 2220 src/xfaces.c struct frame *f, const Lisp_Object *from, Lisp_Object *to, f 2233 src/xfaces.c merge_face_ref (w, f, from[LFACE_INHERIT_INDEX], f 2297 src/xfaces.c face_inherited_attr (struct window *w, struct frame *f, f 2319 src/xfaces.c ok = get_lface_attributes (w, f, XCAR (tail), inherited_attrs, f 2323 src/xfaces.c attr_val = face_inherited_attr (w, f, inherited_attrs, attr_idx, f 2333 src/xfaces.c ok = get_lface_attributes (w, f, parent_face, inherited_attrs, f 2351 src/xfaces.c struct frame *f, Lisp_Object face_name, Lisp_Object *to, f 2362 src/xfaces.c bool ok = get_lface_attributes (w, f, face_name, from, false, f 2366 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 2379 src/xfaces.c && (val = face_inherited_attr (w, f, from, attr_filter, f 2382 src/xfaces.c merge_face_vectors (w, f, from, to, named_merge_points); f 2544 src/xfaces.c struct frame *f, Lisp_Object face_ref, Lisp_Object *to, f 2636 src/xfaces.c if (!merge_face_ref (w, f, parent_face, scratch_attrs, f 2818 src/xfaces.c if (! merge_face_ref (w, f, value, to, f 2822 src/xfaces.c else if (! merge_face_ref (w, f, value, to, f 2854 src/xfaces.c ok = merge_face_ref (w, f, next, to, err_msgs, f 2857 src/xfaces.c if (! merge_face_ref (w, f, first, to, err_msgs, f 2865 src/xfaces.c ok = merge_named_face (w, f, face_ref, to, named_merge_points, f 2885 src/xfaces.c struct frame *f; f 2894 src/xfaces.c f = XFRAME (frame); f 2895 src/xfaces.c lface = lface_from_face_name (f, face, false); f 2898 src/xfaces.c f = NULL, lface = Qnil; f 2921 src/xfaces.c else if (f == NULL) f 2926 src/xfaces.c if (f) f 2932 src/xfaces.c Fputhash (face, lface, f->face_hash_table); f 2948 src/xfaces.c if (f) f 2950 src/xfaces.c f->face_change = true; f 2951 src/xfaces.c fset_redisplay (f); f 3004 src/xfaces.c struct frame *f; f 3015 src/xfaces.c f = NULL; f 3026 src/xfaces.c f = XFRAME (new_frame); f 3038 src/xfaces.c if (f) f 3040 src/xfaces.c f->face_change = true; f 3041 src/xfaces.c fset_redisplay (f); f 3078 src/xfaces.c struct frame *f; f 3099 src/xfaces.c f = NULL; f 3117 src/xfaces.c f = XFRAME (frame); f 3119 src/xfaces.c lface = lface_from_face_name (f, face, false); f 3480 src/xfaces.c if (EQ (frame, Qt) || FRAME_WINDOW_P (f)) f 3539 src/xfaces.c if (EQ (frame, Qt) || FRAME_WINDOW_P (f)) f 3610 src/xfaces.c f->face_change = true; f 3611 src/xfaces.c fset_redisplay (f); f 3679 src/xfaces.c struct frame *f = XFRAME (frame); f 3680 src/xfaces.c if (FRAME_FACE_CACHE (f) == NULL) f 3681 src/xfaces.c FRAME_FACE_CACHE (f) = make_face_cache (f); f 3682 src/xfaces.c FRAME_FACE_CACHE (f)->menu_face_changed_p = true; f 3712 src/xfaces.c update_face_from_frame_parameter (struct frame *f, Lisp_Object param, f 3721 src/xfaces.c if (XFIXNAT (Fhash_table_count (f->face_hash_table)) == 0) f 3727 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3730 src/xfaces.c realize_basic_faces (f); f 3739 src/xfaces.c XSETFRAME (frame, f); f 3743 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3746 src/xfaces.c realize_basic_faces (f); f 3752 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3759 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3766 src/xfaces.c lface = lface_from_face_name (f, face, true); f 3780 src/xfaces.c f->face_change = true; f 3781 src/xfaces.c fset_redisplay (f); f 3794 src/xfaces.c struct frame *f = XFRAME (frame); f 3797 src/xfaces.c if (FRAME_WINDOW_P (f) f 3805 src/xfaces.c font = font_load_for_lface (f, XVECTOR (lface)->contents, font); f 3810 src/xfaces.c f->default_face_done_p = false; f 3816 src/xfaces.c gui_set_frame_parameters_1 (f, arg, true); f 3829 src/xfaces.c struct frame *f; f 3833 src/xfaces.c f = decode_live_frame (frame); f 3835 src/xfaces.c value = gui_display_get_resource (FRAME_DISPLAY_INFO (f), f 3925 src/xfaces.c x_update_menu_appearance (struct frame *f) f 3927 src/xfaces.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 3931 src/xfaces.c && (rdb = XrmGetDatabase (FRAME_X_DISPLAY (f)), f 3937 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, Qmenu, true); f 3938 src/xfaces.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); f 4018 src/xfaces.c if (changed_p && f->output_data.x->menubar_widget) f 4019 src/xfaces.c free_frame_menubar (f); f 4078 src/xfaces.c struct frame *f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4079 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, symbol, true), value = Qnil; f 4163 src/xfaces.c struct frame *f = XFRAME (frame); f 4167 src/xfaces.c local_lface = lface_from_face_name (f, face, false); f 4188 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 4191 src/xfaces.c c ? FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) : NULL; f 4201 src/xfaces.c merge_face_vectors (NULL, f, lvec, attrs, 0); f 4218 src/xfaces.c if (FRAME_WINDOW_P (f)) f 4223 src/xfaces.c gui_set_frame_parameters_1 (f, arg, true); f 4283 src/xfaces.c struct frame *f = decode_live_frame (frame); f 4284 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, true); f 4285 src/xfaces.c struct face *fface = FACE_FROM_ID_OR_NULL (f, face_id); f 4290 src/xfaces.c if (FRAME_WINDOW_P (f) && !NILP (character)) f 4293 src/xfaces.c face_id = FACE_FOR_CHAR (f, fface, XFIXNUM (character), -1, Qnil); f 4294 src/xfaces.c fface = FACE_FROM_ID_OR_NULL (f, face_id); f 4300 src/xfaces.c return build_string (FRAME_MSDOS_P (f) f 4302 src/xfaces.c : FRAME_W32_P (f) ? "w32term" f 4368 src/xfaces.c struct frame *f; f 4375 src/xfaces.c f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4377 src/xfaces.c lface1 = lface_from_face_name (f, face1, true); f 4378 src/xfaces.c lface2 = lface_from_face_name (f, face2, true); f 4393 src/xfaces.c struct frame *f = EQ (frame, Qt) ? NULL : decode_live_frame (frame); f 4394 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, face, true); f 4500 src/xfaces.c free_realized_face (struct frame *f, struct face *face) f 4505 src/xfaces.c if (FRAME_WINDOW_P (f)) f 4509 src/xfaces.c free_face_fontset (f, face); f 4514 src/xfaces.c font_done_for_face (f, face); f 4515 src/xfaces.c x_free_gc (f, face->gc); f 4520 src/xfaces.c free_face_colors (f, face); f 4522 src/xfaces.c image_destroy_bitmap (f, face->stipple); f 4537 src/xfaces.c prepare_face_for_display (struct frame *f, struct face *face) f 4542 src/xfaces.c eassert (FRAME_WINDOW_P (f)); f 4566 src/xfaces.c egc.stipple = image_bitmap_pixmap (f, face->stipple); f 4570 src/xfaces.c face->gc = x_create_gc (f, mask, &egc); f 4572 src/xfaces.c font_prepare_for_face (f, face); f 4618 src/xfaces.c struct frame *f = decode_live_frame (frame); f 4623 src/xfaces.c && FRAME_TERMINAL (f)->defined_color_hook (f, f 4631 src/xfaces.c && FRAME_TERMINAL (f)->defined_color_hook (f, f 4654 src/xfaces.c make_face_cache (struct frame *f) f 4662 src/xfaces.c c->f = f; f 4676 src/xfaces.c if (c && FRAME_WINDOW_P (c->f)) f 4686 src/xfaces.c font_done_for_face (c->f, face); f 4687 src/xfaces.c x_free_gc (c->f, face->gc); f 4708 src/xfaces.c struct frame *f = c->f; f 4717 src/xfaces.c free_realized_face (f, c->faces_by_id[i]); f 4731 src/xfaces.c if (WINDOWP (f->root_window)) f 4733 src/xfaces.c clear_current_matrices (f); f 4734 src/xfaces.c fset_redisplay (f); f 4878 src/xfaces.c lookup_face (struct frame *f, Lisp_Object *attr) f 4880 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 4908 src/xfaces.c eassert (face == FACE_FROM_ID_OR_NULL (f, face->id)); f 4922 src/xfaces.c face_for_font (struct frame *f, Lisp_Object font_object, f 4925 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 4947 src/xfaces.c face = realize_non_ascii_face (f, font_object, base_face); f 4959 src/xfaces.c lookup_named_face (struct window *w, struct frame *f, f 4964 src/xfaces.c struct face *default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 4968 src/xfaces.c if (!realize_basic_faces (f)) f 4970 src/xfaces.c default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 4973 src/xfaces.c if (! get_lface_attributes (w, f, symbol, symbol_attrs, signal_p, 0)) f 4984 src/xfaces.c merge_face_vectors (w, f, symbol_attrs, attrs, 0); f 4986 src/xfaces.c return lookup_face (f, attrs); f 4997 src/xfaces.c lookup_basic_face (struct window *w, struct frame *f, int face_id) f 5040 src/xfaces.c remapped_face_id = lookup_named_face (w, f, name, false); f 5053 src/xfaces.c smaller_face (struct frame *f, int face_id, int steps) f 5064 src/xfaces.c if (FRAME_TERMCAP_P (f)) f 5071 src/xfaces.c face = FACE_FROM_ID (f, face_id); f 5085 src/xfaces.c new_face_id = lookup_face (f, attrs); f 5086 src/xfaces.c new_face = FACE_FROM_ID (f, new_face_id); f 5112 src/xfaces.c face_with_height (struct frame *f, int face_id, int height) f 5118 src/xfaces.c if (FRAME_TERMCAP_P (f) f 5122 src/xfaces.c face = FACE_FROM_ID (f, face_id); f 5126 src/xfaces.c face_id = lookup_face (f, attrs); f 5142 src/xfaces.c struct frame *f, Lisp_Object symbol, int face_id, f 5149 src/xfaces.c if (!get_lface_attributes (w, f, symbol, symbol_attrs, signal_p, 0)) f 5152 src/xfaces.c default_face = FACE_FROM_ID (f, face_id); f 5161 src/xfaces.c merge_face_vectors (w, f, symbol_attrs, attrs, 0); f 5162 src/xfaces.c return lookup_face (f, attrs); f 5203 src/xfaces.c gui_supports_face_attributes_p (struct frame *f, f 5270 src/xfaces.c merge_face_vectors (NULL, f, attrs, merged_attrs, 0); f 5272 src/xfaces.c face_id = lookup_face (f, merged_attrs); f 5273 src/xfaces.c face = FACE_FROM_ID_OR_NULL (f, face_id); f 5324 src/xfaces.c tty_supports_face_attributes_p (struct frame *f, f 5433 src/xfaces.c else if (! tty_lookup_color (f, fg, &fg_tty_color, &fg_std_color)) f 5442 src/xfaces.c if (tty_lookup_color (f, def_fg, &def_fg_color, 0) f 5457 src/xfaces.c else if (! tty_lookup_color (f, bg, &bg_tty_color, &bg_std_color)) f 5466 src/xfaces.c if (tty_lookup_color (f, def_bg, &def_bg_color, 0) f 5490 src/xfaces.c return tty_capable_p (FRAME_TTY (f), test_caps); f 5522 src/xfaces.c struct frame *f; f 5550 src/xfaces.c f = XFRAME (frame); f 5554 src/xfaces.c merge_face_ref (NULL, f, attributes, attrs, true, NULL, 0); f 5556 src/xfaces.c def_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 5559 src/xfaces.c if (! realize_basic_faces (f)) f 5561 src/xfaces.c def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 5565 src/xfaces.c if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5566 src/xfaces.c supports = tty_supports_face_attributes_p (f, attrs, def_face); f 5569 src/xfaces.c supports = gui_supports_face_attributes_p (f, attrs, def_face); f 5728 src/xfaces.c realize_basic_faces (struct frame *f) f 5736 src/xfaces.c if (realize_default_face (f)) f 5738 src/xfaces.c realize_named_face (f, Qmode_line_active, MODE_LINE_ACTIVE_FACE_ID); f 5739 src/xfaces.c realize_named_face (f, Qmode_line_inactive, MODE_LINE_INACTIVE_FACE_ID); f 5740 src/xfaces.c realize_named_face (f, Qtool_bar, TOOL_BAR_FACE_ID); f 5741 src/xfaces.c realize_named_face (f, Qfringe, FRINGE_FACE_ID); f 5742 src/xfaces.c realize_named_face (f, Qheader_line, HEADER_LINE_FACE_ID); f 5743 src/xfaces.c realize_named_face (f, Qscroll_bar, SCROLL_BAR_FACE_ID); f 5744 src/xfaces.c realize_named_face (f, Qborder, BORDER_FACE_ID); f 5745 src/xfaces.c realize_named_face (f, Qcursor, CURSOR_FACE_ID); f 5746 src/xfaces.c realize_named_face (f, Qmouse, MOUSE_FACE_ID); f 5747 src/xfaces.c realize_named_face (f, Qmenu, MENU_FACE_ID); f 5748 src/xfaces.c realize_named_face (f, Qvertical_border, VERTICAL_BORDER_FACE_ID); f 5749 src/xfaces.c realize_named_face (f, Qwindow_divider, WINDOW_DIVIDER_FACE_ID); f 5750 src/xfaces.c realize_named_face (f, Qwindow_divider_first_pixel, f 5752 src/xfaces.c realize_named_face (f, Qwindow_divider_last_pixel, f 5754 src/xfaces.c realize_named_face (f, Qinternal_border, INTERNAL_BORDER_FACE_ID); f 5755 src/xfaces.c realize_named_face (f, Qchild_frame_border, CHILD_FRAME_BORDER_FACE_ID); f 5756 src/xfaces.c realize_named_face (f, Qtab_bar, TAB_BAR_FACE_ID); f 5757 src/xfaces.c realize_named_face (f, Qtab_line, TAB_LINE_FACE_ID); f 5760 src/xfaces.c if (FRAME_FACE_CACHE (f)->menu_face_changed_p) f 5762 src/xfaces.c FRAME_FACE_CACHE (f)->menu_face_changed_p = false; f 5764 src/xfaces.c if (FRAME_WINDOW_P (f)) f 5765 src/xfaces.c x_update_menu_appearance (f); f 5782 src/xfaces.c realize_default_face (struct frame *f) f 5784 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 5789 src/xfaces.c lface = lface_from_face_name (f, Qdefault, false); f 5793 src/xfaces.c XSETFRAME (frame, f); f 5798 src/xfaces.c if (FRAME_WINDOW_P (f)) f 5802 src/xfaces.c XSETFONT (font_object, FRAME_FONT (f)); f 5803 src/xfaces.c set_lface_from_font (f, lface, font_object, f->default_face_done_p); f 5804 src/xfaces.c ASET (lface, LFACE_FONTSET_INDEX, fontset_name (FRAME_FONTSET (f))); f 5805 src/xfaces.c f->default_face_done_p = true; f 5809 src/xfaces.c if (!FRAME_WINDOW_P (f)) f 5845 src/xfaces.c Lisp_Object color = Fassq (Qforeground_color, f->param_alist); f 5849 src/xfaces.c else if (FRAME_WINDOW_P (f)) f 5851 src/xfaces.c else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5861 src/xfaces.c Lisp_Object color = Fassq (Qbackground_color, f->param_alist); f 5864 src/xfaces.c else if (FRAME_WINDOW_P (f)) f 5866 src/xfaces.c else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) f 5884 src/xfaces.c if (FRAME_X_P (f) && face->font != FRAME_FONT (f)) f 5895 src/xfaces.c gui_set_font (f, LFACE_FONT (lface), Qnil); f 5907 src/xfaces.c realize_named_face (struct frame *f, Lisp_Object symbol, int id) f 5909 src/xfaces.c struct face_cache *c = FRAME_FACE_CACHE (f); f 5910 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, symbol, false); f 5915 src/xfaces.c get_lface_attributes_no_remap (f, Qdefault, attrs, true); f 5923 src/xfaces.c XSETFRAME (frame, f); f 5928 src/xfaces.c get_lface_attributes_no_remap (f, symbol, symbol_attrs, true); f 5937 src/xfaces.c merge_face_vectors (NULL, f, symbol_attrs, attrs, 0); f 5964 src/xfaces.c free_realized_face (cache->f, former_face); f 5965 src/xfaces.c SET_FRAME_GARBAGED (cache->f); f 5968 src/xfaces.c if (FRAME_WINDOW_P (cache->f)) f 5970 src/xfaces.c else if (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)) f 5972 src/xfaces.c else if (FRAME_INITIAL_P (cache->f)) f 5993 src/xfaces.c realize_non_ascii_face (struct frame *f, Lisp_Object font_object, f 5996 src/xfaces.c struct face_cache *cache = FRAME_FACE_CACHE (f); f 6049 src/xfaces.c struct frame *f; f 6052 src/xfaces.c eassert (FRAME_WINDOW_P (cache->f)); f 6058 src/xfaces.c f = cache->f; f 6062 src/xfaces.c default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); f 6068 src/xfaces.c = make_fontset_for_ascii_face (f, default_face->fontset, face); f 6132 src/xfaces.c attrs[LFACE_FONT_INDEX] = font_load_for_lface (f, attrs, spec); f 6137 src/xfaces.c face->fontset = make_fontset_for_ascii_face (f, fontset, face); f 6153 src/xfaces.c load_face_colors (f, face, attrs); f 6161 src/xfaces.c face->box_color = load_color (f, face, attrs[LFACE_BOX_INDEX], f 6224 src/xfaces.c face->box_color = load_color (f, face, value, f 6265 src/xfaces.c = load_color (f, face, underline, f 6312 src/xfaces.c face->underline_color = load_color (f, face, value, f 6337 src/xfaces.c = load_color (f, face, attrs[LFACE_OVERLINE_INDEX], f 6352 src/xfaces.c = load_color (f, face, attrs[LFACE_STRIKE_THROUGH_INDEX], f 6365 src/xfaces.c face->stipple = load_pixmap (f, stipple); f 6378 src/xfaces.c map_tty_color (struct frame *f, struct face *face, f 6393 src/xfaces.c XSETFRAME (frame, f); f 6409 src/xfaces.c pixel = load_color (f, face, color, idx); f 6414 src/xfaces.c if (FRAME_MSDOS_P (f)) f 6420 src/xfaces.c pixel = FRAME_FOREGROUND_PIXEL (f); f 6422 src/xfaces.c pixel = FRAME_BACKGROUND_PIXEL (f); f 6423 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); f 6429 src/xfaces.c pixel = FRAME_BACKGROUND_PIXEL (f); f 6431 src/xfaces.c pixel = FRAME_FOREGROUND_PIXEL (f); f 6432 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); f 6457 src/xfaces.c struct frame *f = cache->f; f 6460 src/xfaces.c eassert (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)); f 6465 src/xfaces.c face->font_name = FRAME_MSDOS_P (cache->f) ? "ms-dos" : "tty"; f 6483 src/xfaces.c map_tty_color (f, face, LFACE_FOREGROUND_INDEX, &face_colors_defaulted); f 6484 src/xfaces.c map_tty_color (f, face, LFACE_BACKGROUND_INDEX, &face_colors_defaulted); f 6532 src/xfaces.c compute_char_face (struct frame *f, int ch, Lisp_Object prop) f 6541 src/xfaces.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6542 src/xfaces.c face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); f 6547 src/xfaces.c struct face *default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6549 src/xfaces.c merge_face_ref (NULL, f, prop, attrs, true, NULL, 0); f 6550 src/xfaces.c face_id = lookup_face (f, attrs); f 6585 src/xfaces.c struct frame *f = XFRAME (w->frame); f 6630 src/xfaces.c face_id = lookup_basic_face (w, f, DEFAULT_FACE_ID); f 6632 src/xfaces.c default_face = FACE_FROM_ID_OR_NULL (f, face_id); f 6638 src/xfaces.c if (FRAME_FACE_CACHE (f)->used == 0) f 6639 src/xfaces.c recompute_basic_faces (f); f 6640 src/xfaces.c default_face = FACE_FROM_ID (f, f 6641 src/xfaces.c lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6658 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6677 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6694 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6708 src/xfaces.c return lookup_face (f, attrs); f 6723 src/xfaces.c struct frame *f = XFRAME (w->frame); f 6755 src/xfaces.c default_face = FACE_FROM_ID (f, lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6760 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6766 src/xfaces.c return lookup_face (f, attrs); f 6799 src/xfaces.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 6823 src/xfaces.c base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); f 6825 src/xfaces.c base_face = FACE_FROM_ID (f, lookup_basic_face (w, f, DEFAULT_FACE_ID)); f 6833 src/xfaces.c || !FRAME_WINDOW_P (f) f 6842 src/xfaces.c merge_face_ref (w, f, prop, attrs, true, NULL, attr_filter); f 6846 src/xfaces.c return lookup_face (f, attrs); f 6869 src/xfaces.c struct frame *f = WINDOW_XFRAME (w); f 6871 src/xfaces.c struct face *base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); f 6883 src/xfaces.c face_id = lookup_derived_face (w, f, face_name, base_face_id, 0); f 6892 src/xfaces.c if (!merge_named_face (w, f, face_name, attrs, NULL, 0)) f 6900 src/xfaces.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 6907 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); f 6916 src/xfaces.c merge_face_vectors (w, f, lface_attrs, attrs, 0); f 6919 src/xfaces.c merge_face_vectors (w, f, face->lface, attrs, 0); f 6924 src/xfaces.c return lookup_face (f, attrs); f 162 src/xfns.c static void set_up_x_back_buffer (struct frame *f); f 198 src/xfns.c struct frame *f = decode_window_system_frame (object); f 199 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 215 src/xfns.c x_real_pos_and_offsets (struct frame *f, f 229 src/xfns.c struct frame *parent_frame = FRAME_PARENT_FRAME (f); f 232 src/xfns.c : f->output_data.x->parent_desc); f 233 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 258 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 273 src/xfns.c win = FRAME_OUTER_WINDOW (f); f 352 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 353 src/xfns.c FRAME_X_WINDOW (f), f 357 src/xfns.c if (FRAME_X_WINDOW (f) != FRAME_OUTER_WINDOW (f)) f 361 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 362 src/xfns.c FRAME_OUTER_WINDOW (f), f 368 src/xfns.c FRAME_OUTER_WINDOW (f)); f 371 src/xfns.c && dpyinfo->root_window == f->output_data.x->parent_desc) f 428 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 429 src/xfns.c FRAME_X_WINDOW (f), f 441 src/xfns.c if (FRAME_X_WINDOW (f) == FRAME_OUTER_WINDOW (f)) f 466 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 467 src/xfns.c FRAME_OUTER_WINDOW (f), f 485 src/xfns.c if (!parent_frame && dpyinfo->root_window == f->output_data.x->parent_desc) f 560 src/xfns.c XGetGeometry (dpy, FRAME_OUTER_WINDOW (f), f 593 src/xfns.c x_real_positions (struct frame *f, int *xptr, int *yptr) f 595 src/xfns.c x_real_pos_and_offsets (f, NULL, NULL, NULL, NULL, NULL, NULL, xptr, yptr, f 603 src/xfns.c x_relative_mouse_position (struct frame *f, int *x, int *y) f 608 src/xfns.c eassert (FRAME_X_P (f)); f 612 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), f 613 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 631 src/xfns.c XTranslateCoordinates (FRAME_X_DISPLAY (f), f 634 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 635 src/xfns.c FRAME_X_WINDOW (f), f 649 src/xfns.c gamma_correct (struct frame *f, XColor *color) f 651 src/xfns.c if (f->gamma) f 653 src/xfns.c color->red = pow (color->red / 65535.0, f->gamma) * 65535.0 + 0.5; f 654 src/xfns.c color->green = pow (color->green / 65535.0, f->gamma) * 65535.0 + 0.5; f 655 src/xfns.c color->blue = pow (color->blue / 65535.0, f->gamma) * 65535.0 + 0.5; f 666 src/xfns.c x_defined_color (struct frame *f, const char *color_name, f 670 src/xfns.c Colormap cmap = FRAME_X_COLORMAP (f); f 674 src/xfns.c success_p = xg_check_special_colors (f, color_name, color); f 677 src/xfns.c success_p = x_parse_color (f, color_name, color) != 0; f 679 src/xfns.c success_p = x_alloc_nearest_color (f, cmap, color); f 691 src/xfns.c x_decode_color (struct frame *f, Lisp_Object color_name, int mono_color) f 701 src/xfns.c return BLACK_PIX_DEFAULT (f); f 703 src/xfns.c return WHITE_PIX_DEFAULT (f); f 707 src/xfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 712 src/xfns.c if (x_defined_color (f, SSDATA (color_name), &cdef, true, false)) f 725 src/xfns.c x_set_wait_for_wm (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 727 src/xfns.c f->output_data.x->wait_for_wm = !NILP (new_value); f 731 src/xfns.c x_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 733 src/xfns.c unsigned long opaque_region[] = {0, 0, FRAME_PIXEL_WIDTH (f), f 734 src/xfns.c FRAME_PIXEL_HEIGHT (f)}; f 740 src/xfns.c gui_set_alpha_background (f, arg, oldval); f 746 src/xfns.c if (f->alpha_background < 1.0 f 747 src/xfns.c && !FRAME_DISPLAY_INFO (f)->alpha_bits f 748 src/xfns.c && !FRAME_CHECK_XR_VERSION (f, 0, 2)) f 749 src/xfns.c f->alpha_background = 1.0; f 751 src/xfns.c f->alpha_background = 1.0; f 758 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 759 src/xfns.c gtk_widget_set_app_paintable (FRAME_GTK_OUTER_WIDGET (f), f 760 src/xfns.c f->alpha_background != 1.0); f 763 src/xfns.c if (!FRAME_DISPLAY_INFO (f)->alpha_bits) f 766 src/xfns.c if (f->alpha_background != 1.0) f 768 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 769 src/xfns.c FRAME_X_WINDOW (f), f 770 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 776 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 777 src/xfns.c FRAME_X_WINDOW (f), f 778 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 784 src/xfns.c if (FRAME_TOOLTIP_P (f)) f 785 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 786 src/xfns.c FRAME_X_WINDOW (f), f 787 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 792 src/xfns.c object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); f 796 src/xfns.c class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); f 803 src/xfns.c x_set_tool_bar_position (struct frame *f, f 814 src/xfns.c xg_change_toolbar_position (f, new_value); f 815 src/xfns.c fset_tool_bar_position (f, new_value); f 828 src/xfns.c x_set_inhibit_double_buffering (struct frame *f, f 834 src/xfns.c if (FRAME_X_WINDOW (f) && !EQ (new_value, old_value)) f 837 src/xfns.c was_double_buffered = FRAME_X_DOUBLE_BUFFERED_P (f); f 843 src/xfns.c font_drop_xrender_surfaces (f); f 844 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) && !want_double_buffering) f 845 src/xfns.c tear_down_x_back_buffer (f); f 846 src/xfns.c else if (!FRAME_X_DOUBLE_BUFFERED_P (f) && want_double_buffering) f 847 src/xfns.c set_up_x_back_buffer (f); f 848 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) != was_double_buffered) f 850 src/xfns.c SET_FRAME_GARBAGED (f); f 851 src/xfns.c font_drop_xrender_surfaces (f); f 871 src/xfns.c x_set_undecorated (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 875 src/xfns.c FRAME_UNDECORATED (f) = NILP (new_value) ? false : true; f 877 src/xfns.c xg_set_undecorated (f, new_value); f 879 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 881 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 892 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 930 src/xfns.c x_set_parent_frame (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 942 src/xfns.c store_frame_param (f, Qparent_frame, old_value); f 946 src/xfns.c if (p != FRAME_PARENT_FRAME (f)) f 950 src/xfns.c (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 951 src/xfns.c p ? FRAME_X_WINDOW (p) : FRAME_DISPLAY_INFO (f)->root_window, f 952 src/xfns.c f->left_pos, f->top_pos); f 956 src/xfns.c (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)), f 963 src/xfns.c window = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 974 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 975 src/xfns.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 979 src/xfns.c fset_parent_frame (f, new_value); f 995 src/xfns.c x_set_no_focus_on_map (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1000 src/xfns.c xg_set_no_focus_on_map (f, new_value); f 1002 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1003 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_net_wm_user_time; f 1006 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, f 1010 src/xfns.c FRAME_NO_FOCUS_ON_MAP (f) = !NILP (new_value); f 1027 src/xfns.c x_set_no_accept_focus (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1032 src/xfns.c xg_set_no_accept_focus (f, new_value); f 1038 src/xfns.c XtSetValues (f->output_data.x->widget, al, 1); f 1040 src/xfns.c Window window = FRAME_X_WINDOW (f); f 1042 src/xfns.c f->output_data.x->wm_hints.input = NILP (new_value) ? True : False; f 1043 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 1046 src/xfns.c FRAME_NO_ACCEPT_FOCUS (f) = !NILP (new_value); f 1060 src/xfns.c x_set_override_redirect (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 1066 src/xfns.c x_make_frame_invisible (f); f 1069 src/xfns.c xg_set_override_redirect (f, new_value); f 1074 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 1077 src/xfns.c x_make_frame_visible (f); f 1078 src/xfns.c FRAME_OVERRIDE_REDIRECT (f) = !NILP (new_value); f 1089 src/xfns.c xg_set_icon (struct frame *f, Lisp_Object file) f 1107 src/xfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 1123 src/xfns.c xg_set_icon_from_xpm_data (struct frame *f, const char **data) f 1130 src/xfns.c gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf); f 1146 src/xfns.c x_set_foreground_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1148 src/xfns.c struct x_output *x = f->output_data.x; f 1151 src/xfns.c fg = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1152 src/xfns.c old_fg = FRAME_FOREGROUND_PIXEL (f); f 1153 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = fg; f 1155 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1157 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1165 src/xfns.c unload_color (f, x->cursor_pixel); f 1166 src/xfns.c x->cursor_pixel = x_copy_color (f, fg); f 1172 src/xfns.c update_face_from_frame_parameter (f, Qforeground_color, arg); f 1174 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1175 src/xfns.c redraw_frame (f); f 1178 src/xfns.c unload_color (f, old_fg); f 1182 src/xfns.c x_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1184 src/xfns.c struct x_output *x = f->output_data.x; f 1187 src/xfns.c bg = x_decode_color (f, arg, WHITE_PIX_DEFAULT (f)); f 1188 src/xfns.c unload_color (f, FRAME_BACKGROUND_PIXEL (f)); f 1189 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = bg; f 1191 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1193 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1198 src/xfns.c XSetWindowBackground (dpy, FRAME_X_WINDOW (f), bg); f 1202 src/xfns.c xg_set_background_color (f, bg); f 1206 src/xfns.c update_face_from_frame_parameter (f, Qbackground_color, arg); f 1208 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1209 src/xfns.c redraw_frame (f); f 1312 src/xfns.c x_set_mouse_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1314 src/xfns.c struct x_output *x = f->output_data.x; f 1315 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 1317 src/xfns.c unsigned long pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1318 src/xfns.c unsigned long mask_color = FRAME_BACKGROUND_PIXEL (f); f 1324 src/xfns.c x_free_colors (f, &pixel, 1); f 1325 src/xfns.c pixel = x_copy_color (f, FRAME_FOREGROUND_PIXEL (f)); f 1328 src/xfns.c unload_color (f, x->mouse_pixel); f 1351 src/xfns.c = x_create_font_cursor (FRAME_DISPLAY_INFO (f), f 1371 src/xfns.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f)); f 1378 src/xfns.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 1397 src/xfns.c x_query_colors (f, colors, 2); f 1403 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1405 src/xfns.c f->output_data.x->current_cursor = cursor_data.cursor[mouse_cursor_text]; f 1406 src/xfns.c XDefineCursor (dpy, FRAME_X_WINDOW (f), f 1407 src/xfns.c f->output_data.x->current_cursor); f 1437 src/xfns.c update_face_from_frame_parameter (f, Qmouse_color, arg); f 1441 src/xfns.c x_set_cursor_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1445 src/xfns.c struct x_output *x = f->output_data.x; f 1449 src/xfns.c fore_pixel = x_decode_color (f, Vx_cursor_fore_pixel, f 1450 src/xfns.c WHITE_PIX_DEFAULT (f)); f 1454 src/xfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1456 src/xfns.c pixel = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1460 src/xfns.c if (pixel == FRAME_BACKGROUND_PIXEL (f)) f 1464 src/xfns.c x_free_colors (f, &pixel, 1); f 1473 src/xfns.c x_free_colors (f, &fore_pixel, 1); f 1476 src/xfns.c fore_pixel = FRAME_BACKGROUND_PIXEL (f); f 1480 src/xfns.c unload_color (f, x->cursor_foreground_pixel); f 1482 src/xfns.c fore_pixel = x_copy_color (f, fore_pixel); f 1485 src/xfns.c unload_color (f, x->cursor_pixel); f 1487 src/xfns.c pixel = x_copy_color (f, pixel); f 1490 src/xfns.c if (FRAME_X_WINDOW (f) != 0) f 1493 src/xfns.c XSetBackground (FRAME_X_DISPLAY (f), x->cursor_gc, x->cursor_pixel); f 1494 src/xfns.c XSetForeground (FRAME_X_DISPLAY (f), x->cursor_gc, fore_pixel); f 1497 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1499 src/xfns.c gui_update_cursor (f, false); f 1500 src/xfns.c gui_update_cursor (f, true); f 1504 src/xfns.c update_face_from_frame_parameter (f, Qcursor_color, arg); f 1512 src/xfns.c x_set_border_pixel (struct frame *f, unsigned long pix) f 1514 src/xfns.c unload_color (f, f->output_data.x->border_pixel); f 1515 src/xfns.c f->output_data.x->border_pixel = pix; f 1518 src/xfns.c if (f->output_data.x->widget && f->border_width > 0) f 1521 src/xfns.c XtVaSetValues (f->output_data.x->widget, XtNborderColor, f 1525 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1526 src/xfns.c redraw_frame (f); f 1532 src/xfns.c if (FRAME_X_WINDOW (f) != 0 && f->border_width > 0) f 1535 src/xfns.c XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), pix); f 1538 src/xfns.c if (FRAME_VISIBLE_P (f)) f 1539 src/xfns.c redraw_frame (f); f 1555 src/xfns.c x_set_border_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1560 src/xfns.c pix = x_decode_color (f, arg, BLACK_PIX_DEFAULT (f)); f 1561 src/xfns.c x_set_border_pixel (f, pix); f 1562 src/xfns.c update_face_from_frame_parameter (f, Qborder_color, arg); f 1567 src/xfns.c x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1569 src/xfns.c set_frame_cursor_types (f, arg); f 1573 src/xfns.c x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1587 src/xfns.c result = x_text_icon (f, f 1588 src/xfns.c SSDATA ((!NILP (f->icon_name) f 1589 src/xfns.c ? f->icon_name f 1590 src/xfns.c : f->name))); f 1592 src/xfns.c result = FRAME_TERMINAL (f)->set_bitmap_icon_hook (f, arg); f 1600 src/xfns.c XFlush (FRAME_X_DISPLAY (f)); f 1605 src/xfns.c x_set_icon_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1617 src/xfns.c fset_icon_name (f, arg); f 1619 src/xfns.c if (f->output_data.x->icon_bitmap != 0) f 1624 src/xfns.c result = x_text_icon (f, f 1625 src/xfns.c SSDATA ((!NILP (f->icon_name) f 1626 src/xfns.c ? f->icon_name f 1627 src/xfns.c : !NILP (f->title) f 1628 src/xfns.c ? f->title f 1629 src/xfns.c : f->name))); f 1637 src/xfns.c XFlush (FRAME_X_DISPLAY (f)); f 1643 src/xfns.c x_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1647 src/xfns.c int olines = FRAME_MENU_BAR_LINES (f); f 1654 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f) || FRAME_PARENT_FRAME (f)) f 1663 src/xfns.c fset_redisplay (f); f 1666 src/xfns.c FRAME_MENU_BAR_LINES (f) = 0; f 1667 src/xfns.c FRAME_MENU_BAR_HEIGHT (f) = 0; f 1670 src/xfns.c FRAME_EXTERNAL_MENU_BAR (f) = 1; f 1671 src/xfns.c if (FRAME_X_P (f) && f->output_data.x->menubar_widget == 0) f 1673 src/xfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 1677 src/xfns.c if (FRAME_EXTERNAL_MENU_BAR (f) == 1) f 1678 src/xfns.c free_frame_menubar (f); f 1679 src/xfns.c FRAME_EXTERNAL_MENU_BAR (f) = 0; f 1680 src/xfns.c if (FRAME_X_P (f)) f 1681 src/xfns.c f->output_data.x->menubar_widget = 0; f 1684 src/xfns.c FRAME_MENU_BAR_LINES (f) = nlines; f 1685 src/xfns.c FRAME_MENU_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); f 1686 src/xfns.c if (FRAME_X_WINDOW (f)) f 1687 src/xfns.c x_clear_under_internal_border (f); f 1695 src/xfns.c int height = FRAME_INTERNAL_BORDER_WIDTH (f); f 1696 src/xfns.c int width = FRAME_PIXEL_WIDTH (f); f 1699 src/xfns.c adjust_frame_size (f, -1, -1, 3, true, Qmenu_bar_lines); f 1702 src/xfns.c if (FRAME_X_WINDOW (f) && height > 0 && width > 0) f 1704 src/xfns.c y = FRAME_TOP_MARGIN_HEIGHT (f); f 1707 src/xfns.c x_clear_area (f, 0, y, width, height); f 1713 src/xfns.c y = (olines == 0 ? 1 : olines) * FRAME_LINE_HEIGHT (f); f 1714 src/xfns.c height = nlines * FRAME_LINE_HEIGHT (f) - y; f 1717 src/xfns.c x_clear_area (f, 0, y, width, height); f 1721 src/xfns.c if (nlines == 0 && WINDOWP (f->menu_bar_window)) f 1722 src/xfns.c clear_glyph_matrix (XWINDOW (f->menu_bar_window)->current_matrix); f 1725 src/xfns.c adjust_frame_glyphs (f); f 1737 src/xfns.c x_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1739 src/xfns.c int olines = FRAME_TAB_BAR_LINES (f); f 1743 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1753 src/xfns.c x_change_tab_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1759 src/xfns.c x_change_tab_bar_height (struct frame *f, int height) f 1761 src/xfns.c int unit = FRAME_LINE_HEIGHT (f); f 1762 src/xfns.c int old_height = FRAME_TAB_BAR_HEIGHT (f); f 1774 src/xfns.c fset_redisplay (f); f 1777 src/xfns.c FRAME_TAB_BAR_HEIGHT (f) = height; f 1778 src/xfns.c FRAME_TAB_BAR_LINES (f) = lines; f 1779 src/xfns.c store_frame_param (f, Qtab_bar_lines, make_fixnum (lines)); f 1781 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_TAB_BAR_HEIGHT (f) == 0) f 1783 src/xfns.c clear_frame (f); f 1784 src/xfns.c clear_current_matrices (f); f 1787 src/xfns.c if ((height < old_height) && WINDOWP (f->tab_bar_window)) f 1788 src/xfns.c clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); f 1790 src/xfns.c if (!f->tab_bar_resized) f 1792 src/xfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1797 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1800 src/xfns.c adjust_frame_size (f, -1, -1, 4, false, Qtab_bar_lines); f 1802 src/xfns.c f->tab_bar_resized = f->tab_bar_redisplayed; f 1806 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qtab_bar_lines); f 1810 src/xfns.c adjust_frame_glyphs (f); f 1811 src/xfns.c SET_FRAME_GARBAGED (f); f 1812 src/xfns.c if (FRAME_X_WINDOW (f)) f 1813 src/xfns.c x_clear_under_internal_border (f); f 1824 src/xfns.c x_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1829 src/xfns.c if (FRAME_MINIBUF_ONLY_P (f)) f 1838 src/xfns.c x_change_tool_bar_height (f, nlines * FRAME_LINE_HEIGHT (f)); f 1844 src/xfns.c x_change_tool_bar_height (struct frame *f, int height) f 1847 src/xfns.c FRAME_TOOL_BAR_LINES (f) = 0; f 1848 src/xfns.c FRAME_TOOL_BAR_HEIGHT (f) = 0; f 1851 src/xfns.c FRAME_EXTERNAL_TOOL_BAR (f) = true; f 1852 src/xfns.c if (FRAME_X_P (f) && f->output_data.x->toolbar_widget == 0) f 1854 src/xfns.c XWINDOW (FRAME_SELECTED_WINDOW (f))->update_mode_line = true; f 1855 src/xfns.c update_frame_tool_bar (f); f 1859 src/xfns.c if (FRAME_EXTERNAL_TOOL_BAR (f)) f 1860 src/xfns.c free_frame_tool_bar (f); f 1861 src/xfns.c FRAME_EXTERNAL_TOOL_BAR (f) = false; f 1864 src/xfns.c int unit = FRAME_LINE_HEIGHT (f); f 1865 src/xfns.c int old_height = FRAME_TOOL_BAR_HEIGHT (f); f 1867 src/xfns.c Lisp_Object fullscreen = get_frame_param (f, Qfullscreen); f 1870 src/xfns.c fset_redisplay (f); f 1872 src/xfns.c FRAME_TOOL_BAR_HEIGHT (f) = height; f 1873 src/xfns.c FRAME_TOOL_BAR_LINES (f) = lines; f 1874 src/xfns.c store_frame_param (f, Qtool_bar_lines, make_fixnum (lines)); f 1876 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_TOOL_BAR_HEIGHT (f) == 0) f 1878 src/xfns.c clear_frame (f); f 1879 src/xfns.c clear_current_matrices (f); f 1882 src/xfns.c if ((height < old_height) && WINDOWP (f->tool_bar_window)) f 1883 src/xfns.c clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); f 1885 src/xfns.c if (!f->tool_bar_resized) f 1890 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 1893 src/xfns.c adjust_frame_size (f, -1, -1, 4, false, Qtool_bar_lines); f 1895 src/xfns.c f->tool_bar_resized = f->tool_bar_redisplayed; f 1899 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qtool_bar_lines); f 1903 src/xfns.c adjust_frame_glyphs (f); f 1904 src/xfns.c SET_FRAME_GARBAGED (f); f 1905 src/xfns.c if (FRAME_X_WINDOW (f)) f 1906 src/xfns.c x_clear_under_internal_border (f); f 1912 src/xfns.c x_set_child_frame_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1923 src/xfns.c if (border != FRAME_CHILD_FRAME_BORDER_WIDTH (f)) f 1925 src/xfns.c f->child_frame_border_width = border; f 1928 src/xfns.c if (FRAME_X_OUTPUT (f)->edit_widget) f 1929 src/xfns.c widget_store_internal_border (FRAME_X_OUTPUT (f)->edit_widget); f 1932 src/xfns.c if (FRAME_X_WINDOW (f)) f 1934 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qchild_frame_border_width); f 1935 src/xfns.c x_clear_under_internal_border (f); f 1942 src/xfns.c x_set_internal_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 1946 src/xfns.c if (border != FRAME_INTERNAL_BORDER_WIDTH (f)) f 1948 src/xfns.c f->internal_border_width = border; f 1951 src/xfns.c if (FRAME_X_OUTPUT (f)->edit_widget) f 1952 src/xfns.c widget_store_internal_border (FRAME_X_OUTPUT (f)->edit_widget); f 1955 src/xfns.c if (FRAME_X_WINDOW (f)) f 1957 src/xfns.c adjust_frame_size (f, -1, -1, 3, false, Qinternal_border_width); f 1958 src/xfns.c x_clear_under_internal_border (f); f 1971 src/xfns.c x_set_scroll_bar_foreground (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 1980 src/xfns.c pixel = x_decode_color (f, value, BLACK_PIX_DEFAULT (f)); f 1984 src/xfns.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 1985 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); f 1987 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = pixel; f 1988 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) f 1991 src/xfns.c if (FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 1992 src/xfns.c (*FRAME_TERMINAL (f)->condemn_scroll_bars_hook) (f); f 1993 src/xfns.c if (FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 1994 src/xfns.c (*FRAME_TERMINAL (f)->judge_scroll_bars_hook) (f); f 1996 src/xfns.c update_face_from_frame_parameter (f, Qscroll_bar_foreground, value); f 1997 src/xfns.c redraw_frame (f); f 2001 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 2007 src/xfns.c XQueryColor (FRAME_X_DISPLAY (f), f 2008 src/xfns.c FRAME_X_COLORMAP (f), f 2013 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider, f 2017 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_foreground_css_provider, f 2030 src/xfns.c x_set_scroll_bar_background (struct frame *f, Lisp_Object value, Lisp_Object oldval) f 2039 src/xfns.c pixel = x_decode_color (f, value, WHITE_PIX_DEFAULT (f)); f 2043 src/xfns.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 2044 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_background_pixel); f 2048 src/xfns.c if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) f 2050 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_top_shadow_pixel); f 2051 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 2053 src/xfns.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel != -1) f 2055 src/xfns.c unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); f 2056 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 2060 src/xfns.c f->output_data.x->scroll_bar_background_pixel = pixel; f 2061 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_VISIBLE_P (f)) f 2064 src/xfns.c if (FRAME_TERMINAL (f)->condemn_scroll_bars_hook) f 2065 src/xfns.c (*FRAME_TERMINAL (f)->condemn_scroll_bars_hook) (f); f 2066 src/xfns.c if (FRAME_TERMINAL (f)->judge_scroll_bars_hook) f 2067 src/xfns.c (*FRAME_TERMINAL (f)->judge_scroll_bars_hook) (f); f 2069 src/xfns.c update_face_from_frame_parameter (f, Qscroll_bar_background, value); f 2070 src/xfns.c redraw_frame (f); f 2074 src/xfns.c if (!FRAME_TOOLTIP_P (f)) f 2080 src/xfns.c XQueryColor (FRAME_X_DISPLAY (f), f 2081 src/xfns.c FRAME_X_COLORMAP (f), f 2086 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_background_css_provider, f 2090 src/xfns.c gtk_css_provider_load_from_data (FRAME_X_OUTPUT (f)->scrollbar_background_css_provider, f 2148 src/xfns.c x_set_name_internal (struct frame *f, Lisp_Object name) f 2150 src/xfns.c if (FRAME_X_WINDOW (f)) f 2189 src/xfns.c : FRAME_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT); f 2193 src/xfns.c if (!STRINGP (f->icon_name)) f 2201 src/xfns.c icon.value = x_encode_text (f->icon_name, coding_system, &bytes, f 2204 src/xfns.c : FRAME_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT); f 2208 src/xfns.c encoded_icon_name = ENCODE_UTF_8 (f->icon_name); f 2212 src/xfns.c gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 2215 src/xfns.c XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); f 2216 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 2217 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_name, f 2218 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_UTF8_STRING, f 2224 src/xfns.c XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &icon); f 2225 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 2226 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_icon_name, f 2227 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_UTF8_STRING, f 2253 src/xfns.c x_set_name (struct frame *f, Lisp_Object name, bool explicit) f 2261 src/xfns.c if (f->explicit_name && NILP (name)) f 2264 src/xfns.c f->explicit_name = ! NILP (name); f 2266 src/xfns.c else if (f->explicit_name) f 2274 src/xfns.c if (!strcmp (FRAME_DISPLAY_INFO (f)->x_id_name, f 2275 src/xfns.c SSDATA (f->name))) f 2277 src/xfns.c name = build_string (FRAME_DISPLAY_INFO (f)->x_id_name); f 2283 src/xfns.c if (! NILP (Fstring_equal (name, f->name))) f 2286 src/xfns.c fset_name (f, name); f 2290 src/xfns.c if (! NILP (f->title)) f 2291 src/xfns.c name = f->title; f 2293 src/xfns.c x_set_name_internal (f, name); f 2300 src/xfns.c x_explicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2302 src/xfns.c x_set_name (f, arg, true); f 2309 src/xfns.c x_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2311 src/xfns.c x_set_name (f, arg, false); f 2318 src/xfns.c x_set_title (struct frame *f, Lisp_Object name, Lisp_Object old_name) f 2321 src/xfns.c if (EQ (name, f->title)) f 2326 src/xfns.c fset_title (f, name); f 2329 src/xfns.c name = f->name; f 2333 src/xfns.c x_set_name_internal (f, name); f 2337 src/xfns.c x_set_scroll_bar_default_width (struct frame *f) f 2339 src/xfns.c int unit = FRAME_COLUMN_WIDTH (f); f 2342 src/xfns.c int minw = xg_get_default_scrollbar_width (f); f 2347 src/xfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (minw + unit - 1) / unit; f 2348 src/xfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) = minw; f 2351 src/xfns.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 2352 src/xfns.c FRAME_CONFIG_SCROLL_BAR_WIDTH (f) f 2353 src/xfns.c = FRAME_CONFIG_SCROLL_BAR_COLS (f) * unit; f 2358 src/xfns.c x_set_scroll_bar_default_height (struct frame *f) f 2360 src/xfns.c int height = FRAME_LINE_HEIGHT (f); f 2363 src/xfns.c int min_height = xg_get_default_scrollbar_height (f); f 2368 src/xfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = min_height; f 2369 src/xfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (min_height + height - 1) / height; f 2372 src/xfns.c FRAME_CONFIG_SCROLL_BAR_LINES (f) = (14 + height - 1) / height; f 2376 src/xfns.c FRAME_CONFIG_SCROLL_BAR_HEIGHT (f) = 14; f 2381 src/xfns.c x_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) f 2425 src/xfns.c f->alpha[i] = newval[i]; f 2427 src/xfns.c FRAME_X_OUTPUT (f)->alpha_identical_p = alpha_identical_p; f 2429 src/xfns.c if (FRAME_TERMINAL (f)->set_frame_alpha_hook) f 2432 src/xfns.c FRAME_TERMINAL (f)->set_frame_alpha_hook (f); f 2438 src/xfns.c x_set_use_frame_synchronization (struct frame *f, Lisp_Object arg, f 2445 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2447 src/xfns.c if (!NILP (arg) && FRAME_X_EXTENDED_COUNTER (f)) f 2449 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p f 2450 src/xfns.c = x_wm_supports (f, dpyinfo->Xatom_net_wm_frame_drawn); f 2456 src/xfns.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2463 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 2467 src/xfns.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2471 src/xfns.c store_frame_param (f, Quse_frame_synchronization, f 2472 src/xfns.c FRAME_X_OUTPUT (f)->use_vsync_p ? Qt : Qnil); f 2474 src/xfns.c store_frame_param (f, Quse_frame_synchronization, Qnil); f 2485 src/xfns.c x_default_scroll_bar_color_parameter (struct frame *f, f 2490 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2527 src/xfns.c gui_set_frame_parameters (f, arg); f 2542 src/xfns.c hack_wm_protocols (struct frame *f, Widget widget) f 2559 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 2571 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window) f 2574 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_take_focus) f 2577 src/xfns.c == FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself) f 2588 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window; f 2590 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_take_focus; f 2592 src/xfns.c props[count++] = FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself; f 2594 src/xfns.c XChangeProperty (dpy, w, FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 2604 src/xfns.c struct frame *f) f 2620 src/xfns.c if ((XGetWindowProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 2655 src/xfns.c FRAME_OUTER_WINDOW (f), f 2836 src/xfns.c xic_create_xfontset (struct frame *f) f 2839 src/xfns.c struct font *font = FRAME_FONT (f); f 2848 src/xfns.c if (cf != f && FRAME_LIVE_P (f) && FRAME_X_P (cf) f 2849 src/xfns.c && FRAME_DISPLAY_INFO (cf) == FRAME_DISPLAY_INFO (f) f 2850 src/xfns.c && FRAME_FONT (f) f 2851 src/xfns.c && FRAME_FONT (f)->pixel_size == pixel_size) f 2868 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), buf, f 2902 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), buf, f 2918 src/xfns.c xfs = XCreateFontSet (FRAME_X_DISPLAY (f), last_resort, f 2935 src/xfns.c xic_free_xfontset (struct frame *f) f 2940 src/xfns.c if (!FRAME_XIC_FONTSET (f)) f 2947 src/xfns.c if (cf != f && FRAME_LIVE_P (f) && FRAME_X_P (cf) f 2948 src/xfns.c && FRAME_DISPLAY_INFO (cf) == FRAME_DISPLAY_INFO (f) f 2949 src/xfns.c && FRAME_XIC_FONTSET (cf) == FRAME_XIC_FONTSET (f)) f 2958 src/xfns.c XFreeFontSet (FRAME_X_DISPLAY (f), FRAME_XIC_FONTSET (f)); f 2960 src/xfns.c FRAME_XIC_FONTSET (f) = NULL; f 3000 src/xfns.c create_frame_xic (struct frame *f) f 3011 src/xfns.c if (FRAME_XIC (f)) f 3014 src/xfns.c xim = FRAME_X_XIM (f); f 3015 src/xfns.c if (!xim || ! FRAME_X_XIM_STYLES(f)) f 3019 src/xfns.c xic_style = best_xim_style (FRAME_DISPLAY_INFO (f), f 3020 src/xfns.c FRAME_X_XIM_STYLES (f)); f 3025 src/xfns.c xfs = xic_create_xfontset (f); f 3029 src/xfns.c FRAME_XIC_FONTSET (f) = xfs; f 3038 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 3040 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 3060 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 3062 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 3088 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3089 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3096 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3097 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3103 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3104 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3110 src/xfns.c XNClientWindow, FRAME_X_WINDOW (f), f 3111 src/xfns.c XNFocusWindow, FRAME_X_WINDOW (f), f 3117 src/xfns.c FRAME_XIC (f) = xic; f 3118 src/xfns.c FRAME_XIC_STYLE (f) = xic_style; f 3124 src/xfns.c free_frame_xic (f); f 3137 src/xfns.c free_frame_xic (struct frame *f) f 3139 src/xfns.c if (FRAME_XIC (f) == NULL) f 3142 src/xfns.c XDestroyIC (FRAME_XIC (f)); f 3143 src/xfns.c xic_free_xfontset (f); f 3145 src/xfns.c FRAME_XIC (f) = NULL; f 3155 src/xfns.c struct frame *f = WINDOW_XFRAME (w); f 3159 src/xfns.c if (FRAME_XIC (f)) f 3167 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMPreeditCallbacks) f 3176 src/xfns.c XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL); f 3180 src/xfns.c if (f->tooltip) f 3184 src/xfns.c int scale = xg_get_scale (f); f 3190 src/xfns.c + FRAME_TOOLBAR_HEIGHT (f) f 3191 src/xfns.c + FRAME_MENUBAR_HEIGHT (f)) / scale; f 3195 src/xfns.c gtk_im_context_set_cursor_location (FRAME_X_OUTPUT (f)->im_context, f 3204 src/xfns.c xic_set_statusarea (struct frame *f) f 3206 src/xfns.c XIC xic = FRAME_XIC (f); f 3231 src/xfns.c area.x = FRAME_PIXEL_WIDTH (f) - area.width - FRAME_INTERNAL_BORDER_WIDTH (f); f 3232 src/xfns.c area.y = (FRAME_PIXEL_HEIGHT (f) - area.height f 3233 src/xfns.c - FRAME_MENUBAR_HEIGHT (f) f 3234 src/xfns.c - FRAME_TOOLBAR_TOP_HEIGHT (f) f 3235 src/xfns.c - FRAME_INTERNAL_BORDER_WIDTH (f)); f 3247 src/xfns.c struct frame *f; f 3251 src/xfns.c f = XFRAME (tem); f 3253 src/xfns.c if (FRAME_X_P (f) && FRAME_XIC (f) == xic) f 3254 src/xfns.c return f; f 3264 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3267 src/xfns.c if (f) f 3269 src/xfns.c output = FRAME_X_OUTPUT (f); f 3288 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3293 src/xfns.c if (f) f 3295 src/xfns.c output = FRAME_X_OUTPUT (f); f 3320 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3344 src/xfns.c struct frame *f = x_xic_to_frame (xic); f 3349 src/xfns.c if (f) f 3353 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3358 src/xfns.c output = FRAME_X_OUTPUT (f); f 3470 src/xfns.c struct frame *f; f 3479 src/xfns.c f = x_xic_to_frame (xic); f 3482 src/xfns.c if (f) f 3485 src/xfns.c output = FRAME_X_OUTPUT (f); f 3492 src/xfns.c text = x_xim_text_to_utf8_unix (FRAME_DISPLAY_INFO (f), f 3612 src/xfns.c XSETFRAME (ie.frame_or_window, f); f 3643 src/xfns.c xic_set_xfontset (struct frame *f, const char *base_fontname) f 3648 src/xfns.c xic_free_xfontset (f); f 3650 src/xfns.c xfs = xic_create_xfontset (f); f 3653 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMPreeditPosition) f 3654 src/xfns.c XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL); f 3655 src/xfns.c if (FRAME_XIC_STYLE (f) & XIMStatusArea) f 3656 src/xfns.c XSetICValues (FRAME_XIC (f), XNStatusAttributes, attr, NULL); f 3659 src/xfns.c FRAME_XIC_FONTSET (f) = xfs; f 3668 src/xfns.c x_mark_frame_dirty (struct frame *f) f 3671 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f) f 3672 src/xfns.c && !FRAME_X_NEED_BUFFER_FLIP (f)) f 3673 src/xfns.c FRAME_X_NEED_BUFFER_FLIP (f) = true; f 3678 src/xfns.c set_up_x_back_buffer (struct frame *f) f 3682 src/xfns.c if (FRAME_X_PICTURE (f) != None) f 3684 src/xfns.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 3685 src/xfns.c FRAME_X_PICTURE (f)); f 3686 src/xfns.c FRAME_X_PICTURE (f) = None; f 3693 src/xfns.c if (FRAME_X_WINDOW (f) && !FRAME_X_DOUBLE_BUFFERED_P (f)) f 3696 src/xfns.c x_cr_destroy_frame_context (f); f 3698 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3699 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xdbe) f 3704 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 3705 src/xfns.c FRAME_X_RAW_DRAWABLE (f) f 3706 src/xfns.c = XdbeAllocateBackBufferName (FRAME_X_DISPLAY (f), f 3707 src/xfns.c FRAME_X_WINDOW (f), f 3709 src/xfns.c if (x_had_errors_p (FRAME_X_DISPLAY (f))) f 3710 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3719 src/xfns.c tear_down_x_back_buffer (struct frame *f) f 3723 src/xfns.c if (FRAME_X_PICTURE (f) != None) f 3725 src/xfns.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 3726 src/xfns.c FRAME_X_PICTURE (f)); f 3727 src/xfns.c FRAME_X_PICTURE (f) = None; f 3734 src/xfns.c if (FRAME_X_WINDOW (f) && FRAME_X_DOUBLE_BUFFERED_P (f)) f 3736 src/xfns.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 3739 src/xfns.c x_cr_destroy_frame_context (f); f 3741 src/xfns.c XdbeDeallocateBackBufferName (FRAME_X_DISPLAY (f), f 3742 src/xfns.c FRAME_X_DRAWABLE (f)); f 3743 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3753 src/xfns.c initial_set_up_x_back_buffer (struct frame *f) f 3755 src/xfns.c eassert (FRAME_X_WINDOW (f)); f 3756 src/xfns.c FRAME_X_RAW_DRAWABLE (f) = FRAME_X_WINDOW (f); f 3759 src/xfns.c f->param_alist)))) f 3760 src/xfns.c set_up_x_back_buffer (f); f 3765 src/xfns.c setup_xi_event_mask (struct frame *f) f 3800 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), f 3801 src/xfns.c FRAME_X_WINDOW (f), f 3819 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), f 3820 src/xfns.c FRAME_OUTER_WINDOW (f), f 3826 src/xfns.c if (FRAME_DISPLAY_INFO (f)->xi2_version >= 2) f 3834 src/xfns.c if (FRAME_DISPLAY_INFO (f)->xi2_version >= 4) f 3842 src/xfns.c XISelectEvents (FRAME_X_DISPLAY (f), f 3843 src/xfns.c FRAME_X_WINDOW (f), f 3849 src/xfns.c FRAME_X_OUTPUT (f)->xi_masks = selected; f 3850 src/xfns.c FRAME_X_OUTPUT (f)->num_xi_masks = 1; f 3862 src/xfns.c x_window (struct frame *f, long window_prompting) f 3880 src/xfns.c f->namebuf = xlispstrdup (Vx_resource_name); f 3886 src/xfns.c XtSetArg (al[ac], XtNborderWidth, f->border_width); ac++; f 3887 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 3888 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 3889 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 3890 src/xfns.c shell_widget = XtAppCreateShell (f->namebuf, EMACS_CLASS, f 3892 src/xfns.c FRAME_X_DISPLAY (f), al, ac); f 3894 src/xfns.c f->output_data.x->widget = shell_widget; f 3902 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 3903 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 3904 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 3907 src/xfns.c f->output_data.x->column_widget = pane_widget; f 3917 src/xfns.c XtSetArg (al[ac], (char *) XtNemacsFrame, f); ac++; f 3918 src/xfns.c XtSetArg (al[ac], XtNvisual, FRAME_X_VISUAL (f)); ac++; f 3919 src/xfns.c XtSetArg (al[ac], XtNdepth, FRAME_DISPLAY_INFO (f)->n_planes); ac++; f 3920 src/xfns.c XtSetArg (al[ac], XtNcolormap, FRAME_X_COLORMAP (f)); ac++; f 3922 src/xfns.c frame_widget = XtCreateWidget (f->namebuf, emacsFrameClass (), pane_widget, f 3925 src/xfns.c f->output_data.x->edit_widget = frame_widget; f 3935 src/xfns.c = (f->output_data.x->menubar_widget f 3936 src/xfns.c ? (f->output_data.x->menubar_widget->core.height f 3937 src/xfns.c + f->output_data.x->menubar_widget->core.border_width) f 3942 src/xfns.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 3950 src/xfns.c FRAME_MENUBAR_HEIGHT (f) = menubar_size; f 3956 src/xfns.c XtVaGetValues (f->output_data.x->edit_widget, XtNinternalBorderWidth, f 3961 src/xfns.c f->shell_position = xmalloc (sizeof "=x++" + 4 * INT_STRLEN_BOUND (int)); f 3969 src/xfns.c int left = f->left_pos; f 3971 src/xfns.c int top = f->top_pos; f 3979 src/xfns.c sprintf (f->shell_position, "=%dx%d%c%d%c%d", f 3980 src/xfns.c FRAME_PIXEL_WIDTH (f) + extra_borders, f 3981 src/xfns.c FRAME_PIXEL_HEIGHT (f) + menubar_size + extra_borders, f 3986 src/xfns.c sprintf (f->shell_position, "=%dx%d", f 3987 src/xfns.c FRAME_PIXEL_WIDTH (f) + extra_borders, f 3988 src/xfns.c FRAME_PIXEL_HEIGHT (f) + menubar_size + extra_borders); f 4000 src/xfns.c XtSetArg (gal[gac], XtNgeometry, f->shell_position); gac++; f 4007 src/xfns.c FRAME_X_WINDOW (f) = XtWindow (frame_widget); f 4008 src/xfns.c initial_set_up_x_back_buffer (f); f 4013 src/xfns.c XSetClassHint (FRAME_X_DISPLAY (f), XtWindow (shell_widget), &class_hints); f 4016 src/xfns.c FRAME_XIC (f) = NULL; f 4018 src/xfns.c create_frame_xic (f); f 4021 src/xfns.c f->output_data.x->wm_hints.input = True; f 4022 src/xfns.c f->output_data.x->wm_hints.flags |= InputHint; f 4023 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4024 src/xfns.c &f->output_data.x->wm_hints); f 4026 src/xfns.c hack_wm_protocols (f, shell_widget); f 4027 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4038 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, f 4045 src/xfns.c if (FRAME_XIC (f)) f 4049 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4054 src/xfns.c attributes.override_redirect = FRAME_OVERRIDE_REDIRECT (f); f 4067 src/xfns.c bool explicit = f->explicit_name; f 4069 src/xfns.c f->explicit_name = false; f 4070 src/xfns.c name = f->name; f 4071 src/xfns.c fset_name (f, Qnil); f 4072 src/xfns.c x_set_name (f, name, explicit); f 4075 src/xfns.c if (FRAME_UNDECORATED (f)) f 4077 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4079 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 4089 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 4094 src/xfns.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4095 src/xfns.c f->output_data.x->current_cursor f 4096 src/xfns.c = f->output_data.x->text_cursor); f 4105 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4106 src/xfns.c setup_xi_event_mask (f); f 4113 src/xfns.c x_window (struct frame *f) f 4115 src/xfns.c if (! xg_create_frame_widgets (f)) f 4119 src/xfns.c FRAME_XIC (f) = NULL; f 4123 src/xfns.c create_frame_xic (f); f 4124 src/xfns.c if (FRAME_XIC (f)) f 4128 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4136 src/xfns.c XGetWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4140 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4148 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4151 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4152 src/xfns.c setup_xi_event_mask (f); f 4160 src/xfns.c x_window (struct frame *f) f 4166 src/xfns.c attributes.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 4167 src/xfns.c attributes.border_pixel = f->output_data.x->border_pixel; f 4172 src/xfns.c attributes.colormap = FRAME_X_COLORMAP (f); f 4173 src/xfns.c attributes.override_redirect = FRAME_OVERRIDE_REDIRECT (f); f 4178 src/xfns.c FRAME_X_WINDOW (f) f 4179 src/xfns.c = XCreateWindow (FRAME_X_DISPLAY (f), f 4180 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 4181 src/xfns.c f->left_pos, f 4182 src/xfns.c f->top_pos, f 4183 src/xfns.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 4184 src/xfns.c f->border_width, f 4185 src/xfns.c FRAME_DISPLAY_INFO (f)->n_planes, /* depth */ f 4187 src/xfns.c FRAME_X_VISUAL (f), f 4189 src/xfns.c initial_set_up_x_back_buffer (f); f 4194 src/xfns.c create_frame_xic (f); f 4195 src/xfns.c if (FRAME_XIC (f)) f 4202 src/xfns.c XGetICValues (FRAME_XIC (f), XNFilterEvents, &fevent, NULL); f 4205 src/xfns.c XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4213 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 4214 src/xfns.c setup_xi_event_mask (f); f 4221 src/xfns.c XSetClassHint (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &class_hints); f 4228 src/xfns.c f->output_data.x->wm_hints.input = True; f 4229 src/xfns.c f->output_data.x->wm_hints.flags |= InputHint; f 4230 src/xfns.c XSetWMHints (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4231 src/xfns.c &f->output_data.x->wm_hints); f 4232 src/xfns.c f->output_data.x->wm_hints.icon_pixmap = None; f 4237 src/xfns.c protocols[0] = FRAME_DISPLAY_INFO (f)->Xatom_wm_delete_window; f 4238 src/xfns.c protocols[1] = FRAME_DISPLAY_INFO (f)->Xatom_wm_save_yourself; f 4239 src/xfns.c XSetWMProtocols (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), protocols, 2); f 4242 src/xfns.c append_wm_protocols (FRAME_DISPLAY_INFO (f), f); f 4250 src/xfns.c bool explicit = f->explicit_name; f 4252 src/xfns.c f->explicit_name = false; f 4253 src/xfns.c name = f->name; f 4254 src/xfns.c fset_name (f, Qnil); f 4255 src/xfns.c x_set_name (f, name, explicit); f 4258 src/xfns.c if (FRAME_UNDECORATED (f)) f 4260 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4262 src/xfns.c Atom prop = FRAME_DISPLAY_INFO (f)->Xatom_MOTIF_WM_HINTS; f 4272 src/xfns.c XChangeProperty (dpy, FRAME_OUTER_WINDOW (f), prop, prop, 32, f 4278 src/xfns.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4279 src/xfns.c f->output_data.x->current_cursor f 4280 src/xfns.c = f->output_data.x->text_cursor); f 4284 src/xfns.c if (FRAME_X_WINDOW (f) == 0) f 4294 src/xfns.c x_icon_verify (struct frame *f, Lisp_Object parms) f 4300 src/xfns.c icon_x = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, RES_TYPE_NUMBER); f 4301 src/xfns.c icon_y = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, RES_TYPE_NUMBER); f 4316 src/xfns.c x_icon (struct frame *f, Lisp_Object parms) f 4321 src/xfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_left, 0, 0, RES_TYPE_NUMBER); f 4323 src/xfns.c = gui_frame_get_and_record_arg (f, parms, Qicon_top, 0, 0, RES_TYPE_NUMBER); f 4339 src/xfns.c x_wm_set_icon_position (f, icon_xval, icon_yval); f 4344 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4346 src/xfns.c (f, (EQ (gui_display_get_arg (dpyinfo, parms, Qvisibility, 0, 0, f 4353 src/xfns.c x_text_icon (f, SSDATA ((!NILP (f->icon_name) f 4354 src/xfns.c ? f->icon_name f 4355 src/xfns.c : f->name))); f 4365 src/xfns.c x_make_gc (struct frame *f) f 4374 src/xfns.c gc_values.foreground = FRAME_FOREGROUND_PIXEL (f); f 4375 src/xfns.c gc_values.background = FRAME_BACKGROUND_PIXEL (f); f 4377 src/xfns.c f->output_data.x->normal_gc f 4378 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), f 4379 src/xfns.c FRAME_X_DRAWABLE (f), f 4384 src/xfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 4385 src/xfns.c gc_values.background = FRAME_FOREGROUND_PIXEL (f); f 4386 src/xfns.c f->output_data.x->reverse_gc f 4387 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), f 4388 src/xfns.c FRAME_X_DRAWABLE (f), f 4393 src/xfns.c gc_values.foreground = FRAME_BACKGROUND_PIXEL (f); f 4394 src/xfns.c gc_values.background = f->output_data.x->cursor_pixel; f 4395 src/xfns.c f->output_data.x->cursor_gc f 4396 src/xfns.c = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 4403 src/xfns.c f->output_data.x->border_tile f 4405 src/xfns.c (FRAME_X_DISPLAY (f), FRAME_DISPLAY_INFO (f)->root_window, f 4407 src/xfns.c FRAME_FOREGROUND_PIXEL (f), f 4408 src/xfns.c FRAME_BACKGROUND_PIXEL (f), f 4409 src/xfns.c DefaultDepth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)))); f 4418 src/xfns.c x_free_gcs (struct frame *f) f 4420 src/xfns.c Display *dpy = FRAME_X_DISPLAY (f); f 4424 src/xfns.c if (f->output_data.x->normal_gc) f 4426 src/xfns.c XFreeGC (dpy, f->output_data.x->normal_gc); f 4427 src/xfns.c f->output_data.x->normal_gc = 0; f 4430 src/xfns.c if (f->output_data.x->reverse_gc) f 4432 src/xfns.c XFreeGC (dpy, f->output_data.x->reverse_gc); f 4433 src/xfns.c f->output_data.x->reverse_gc = 0; f 4436 src/xfns.c if (f->output_data.x->cursor_gc) f 4438 src/xfns.c XFreeGC (dpy, f->output_data.x->cursor_gc); f 4439 src/xfns.c f->output_data.x->cursor_gc = 0; f 4442 src/xfns.c if (f->output_data.x->border_tile) f 4444 src/xfns.c XFreePixmap (dpy, f->output_data.x->border_tile); f 4445 src/xfns.c f->output_data.x->border_tile = 0; f 4459 src/xfns.c struct frame *f = XFRAME (frame); f 4464 src/xfns.c if (!FRAME_LIVE_P (f)) f 4471 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4481 src/xfns.c if (FRAME_IMAGE_CACHE (f) != NULL f 4482 src/xfns.c && FRAME_IMAGE_CACHE (f)->refcount == image_cache_refcount) f 4483 src/xfns.c FRAME_IMAGE_CACHE (f)->refcount++; f 4485 src/xfns.c x_free_frame_resources (f); f 4486 src/xfns.c free_glyphs (f); f 4506 src/xfns.c x_default_font_parameter (struct frame *f, Lisp_Object parms) f 4508 src/xfns.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4522 src/xfns.c font = font_open_by_name (f, build_unibyte_string (system_font)); f 4555 src/xfns.c font = font_open_by_name (f, build_unibyte_string (names[i])); f 4564 src/xfns.c gui_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); f 4575 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 4578 src/xfns.c x_wm_set_size_hint (f, 0, false); f 4584 src/xfns.c set_machine_and_pid_properties (struct frame *f) f 4587 src/xfns.c XSetWMProperties (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), NULL, NULL, f 4593 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 4594 src/xfns.c FRAME_OUTER_WINDOW (f), f 4595 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_pid, f 4613 src/xfns.c struct frame *f; f 4670 src/xfns.c f = make_frame_without_minibuffer (Qnil, kb, display); f 4673 src/xfns.c f = make_minibuffer_frame (); f 4677 src/xfns.c f = make_frame_without_minibuffer (tem, kb, display); f 4679 src/xfns.c f = make_frame (true); f 4696 src/xfns.c fset_parent_frame (f, parent_frame); f 4697 src/xfns.c store_frame_param (f, Qparent_frame, parent_frame); f 4708 src/xfns.c FRAME_UNDECORATED (f) = undecorated; f 4709 src/xfns.c store_frame_param (f, Qundecorated, undecorated ? Qt : Qnil); f 4720 src/xfns.c FRAME_OVERRIDE_REDIRECT (f) = override_redirect; f 4721 src/xfns.c store_frame_param (f, Qoverride_redirect, override_redirect ? Qt : Qnil); f 4723 src/xfns.c XSETFRAME (frame, f); f 4725 src/xfns.c f->terminal = dpyinfo->terminal; f 4727 src/xfns.c f->output_method = output_x_window; f 4728 src/xfns.c f->output_data.x = xzalloc (sizeof *f->output_data.x); f 4729 src/xfns.c f->output_data.x->icon_bitmap = -1; f 4730 src/xfns.c FRAME_FONTSET (f) = -1; f 4731 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = -1; f 4732 src/xfns.c f->output_data.x->scroll_bar_background_pixel = -1; f 4734 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 4735 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 4737 src/xfns.c f->output_data.x->white_relief.pixel = -1; f 4738 src/xfns.c f->output_data.x->black_relief.pixel = -1; f 4740 src/xfns.c fset_icon_name (f, gui_display_get_arg (dpyinfo, f 4746 src/xfns.c if (! STRINGP (f->icon_name)) f 4747 src/xfns.c fset_icon_name (f, Qnil); f 4749 src/xfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 4762 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 4763 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 4764 src/xfns.c f->output_data.x->cursor_pixel = -1; f 4765 src/xfns.c f->output_data.x->cursor_foreground_pixel = -1; f 4766 src/xfns.c f->output_data.x->border_pixel = -1; f 4767 src/xfns.c f->output_data.x->mouse_pixel = -1; f 4770 src/xfns.c FRAME_FOREGROUND_PIXEL (f) f 4771 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4772 src/xfns.c FRAME_BACKGROUND_PIXEL (f) f 4773 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4774 src/xfns.c f->output_data.x->cursor_pixel f 4775 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4776 src/xfns.c f->output_data.x->cursor_foreground_pixel f 4777 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4778 src/xfns.c f->output_data.x->border_pixel f 4779 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4780 src/xfns.c f->output_data.x->mouse_pixel f 4781 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 4787 src/xfns.c f->output_data.x->parent_desc = (Window) XFIXNAT (parent); f 4788 src/xfns.c f->output_data.x->explicit_parent = true; f 4792 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 4793 src/xfns.c f->output_data.x->explicit_parent = false; f 4800 src/xfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 4801 src/xfns.c f->explicit_name = false; f 4805 src/xfns.c fset_name (f, name); f 4806 src/xfns.c f->explicit_name = true; f 4812 src/xfns.c register_font_driver (&ftcrfont_driver, f); f 4814 src/xfns.c register_font_driver (&ftcrhbfont_driver, f); f 4819 src/xfns.c register_font_driver (&xftfont_driver, f); f 4821 src/xfns.c register_font_driver (&xfthbfont_driver, f); f 4826 src/xfns.c register_font_driver (&xfont_driver, f); f 4829 src/xfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 4834 src/xfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 4839 src/xfns.c x_default_font_parameter (f, parms); f 4840 src/xfns.c if (!FRAME_FONT (f)) f 4847 src/xfns.c if (! FRAME_X_EMBEDDED_P (f)) f 4848 src/xfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 4866 src/xfns.c gui_default_parameter (f, parms, Qinternal_border_width, f 4888 src/xfns.c gui_default_parameter (f, parms, Qchild_frame_border_width, Qnil, f 4891 src/xfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 4893 src/xfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 4895 src/xfns.c gui_default_parameter (f, parms, Qvertical_scroll_bars, f 4903 src/xfns.c gui_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, f 4907 src/xfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 4909 src/xfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 4911 src/xfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 4913 src/xfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 4915 src/xfns.c gui_default_parameter (f, parms, Qscreen_gamma, Qnil, f 4917 src/xfns.c gui_default_parameter (f, parms, Qline_spacing, Qnil, f 4919 src/xfns.c gui_default_parameter (f, parms, Qleft_fringe, Qnil, f 4921 src/xfns.c gui_default_parameter (f, parms, Qright_fringe, Qnil, f 4923 src/xfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 4927 src/xfns.c FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider f 4929 src/xfns.c FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider f 4933 src/xfns.c x_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_foreground, f 4936 src/xfns.c x_default_scroll_bar_color_parameter (f, parms, Qscroll_bar_background, f 4943 src/xfns.c init_frame_faces (f); f 4948 src/xfns.c store_frame_param (f, Qmin_width, tem); f 4952 src/xfns.c store_frame_param (f, Qmin_height, tem); f 4954 src/xfns.c adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 4955 src/xfns.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, true, f 4963 src/xfns.c gui_default_parameter (f, parms, Qmenu_bar_lines, f 4967 src/xfns.c gui_default_parameter (f, parms, Qtab_bar_lines, f 4971 src/xfns.c gui_default_parameter (f, parms, Qtool_bar_lines, f 4976 src/xfns.c gui_default_parameter (f, parms, Qbuffer_predicate, Qnil, f 4979 src/xfns.c gui_default_parameter (f, parms, Qtitle, Qnil, f 4981 src/xfns.c gui_default_parameter (f, parms, Qwait_for_wm, Qt, f 4983 src/xfns.c gui_default_parameter (f, parms, Qtool_bar_position, f 4984 src/xfns.c FRAME_TOOL_BAR_POSITION (f), 0, 0, RES_TYPE_SYMBOL); f 4985 src/xfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 4990 src/xfns.c window_prompting = gui_figure_window_size (f, parms, true, true); f 4994 src/xfns.c f->no_split = minibuffer_only || EQ (tem, Qt); f 4996 src/xfns.c x_icon_verify (f, parms); f 5000 src/xfns.c x_window (f, window_prompting); f 5002 src/xfns.c x_window (f); f 5006 src/xfns.c if (FRAME_X_EMBEDDED_P (f) f 5007 src/xfns.c && !x_embed_frame (dpyinfo, f)) f 5011 src/xfns.c x_icon (f, parms); f 5012 src/xfns.c x_make_gc (f); f 5019 src/xfns.c FRAME_X_OUTPUT (f)->xi_masks f 5020 src/xfns.c = XIGetSelectedEvents (dpyinfo->display, FRAME_X_WINDOW (f), f 5021 src/xfns.c &FRAME_X_OUTPUT (f)->num_xi_masks); f 5025 src/xfns.c f->terminal->reference_count++; f 5026 src/xfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 5031 src/xfns.c gui_default_parameter (f, parms, Qicon_type, Qt, f 5034 src/xfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 5036 src/xfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 5038 src/xfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 5040 src/xfns.c gui_default_parameter (f, parms, Qscroll_bar_width, Qnil, f 5043 src/xfns.c gui_default_parameter (f, parms, Qscroll_bar_height, Qnil, f 5046 src/xfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 5048 src/xfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 5056 src/xfns.c XReparentWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 5057 src/xfns.c FRAME_X_WINDOW (p), f->left_pos, f->top_pos); f 5061 src/xfns.c (GTK_CONTAINER (FRAME_GTK_OUTER_WIDGET (f)), GTK_RESIZE_IMMEDIATE); f 5064 src/xfns.c gwin = gtk_widget_get_window (FRAME_GTK_OUTER_WIDGET (f)); f 5070 src/xfns.c gui_default_parameter (f, parms, Qno_focus_on_map, Qnil, f 5072 src/xfns.c gui_default_parameter (f, parms, Qno_accept_focus, Qnil, f 5077 src/xfns.c if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) f 5081 src/xfns.c initialize_frame_menubar (f); f 5086 src/xfns.c lw_set_main_areas (f->output_data.x->column_widget, f 5087 src/xfns.c f->output_data.x->menubar_widget, f 5088 src/xfns.c f->output_data.x->edit_widget); f 5094 src/xfns.c f->can_set_window_size = true; f 5100 src/xfns.c x_wm_set_size_hint (f, window_prompting, false); f 5103 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 5109 src/xfns.c gui_default_parameter (f, parms, Qfullscreen, Qnil, f 5119 src/xfns.c x_cr_update_surface_desired_size (f, FRAME_PIXEL_WIDTH (f), f 5120 src/xfns.c FRAME_PIXEL_HEIGHT (f)); f 5126 src/xfns.c if (!f->output_data.x->explicit_parent) f 5140 src/xfns.c f->was_invisible = true; f 5141 src/xfns.c x_iconify_frame (f); f 5149 src/xfns.c x_make_frame_visible (f); f 5151 src/xfns.c f->was_invisible = true; f 5157 src/xfns.c f->was_invisible f 5158 src/xfns.c = (f->was_invisible f 5161 src/xfns.c store_frame_param (f, Qvisibility, visibility); f 5167 src/xfns.c set_machine_and_pid_properties (f); f 5173 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), f 5174 src/xfns.c FRAME_OUTER_WINDOW (f), f 5184 src/xfns.c && !f->output_data.x->explicit_parent) f 5200 src/xfns.c = FRAME_X_BASIC_COUNTER (f) f 5201 src/xfns.c = XSyncCreateCounter (FRAME_X_DISPLAY (f), f 5206 src/xfns.c = FRAME_X_EXTENDED_COUNTER (f) f 5207 src/xfns.c = XSyncCreateCounter (FRAME_X_DISPLAY (f), f 5210 src/xfns.c FRAME_X_OUTPUT (f)->current_extended_counter_value f 5213 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 5222 src/xfns.c x_sync_init_fences (f); f 5231 src/xfns.c gui_default_parameter (f, parms, Quse_frame_synchronization, Qt, f 5235 src/xfns.c gui_default_parameter (f, parms, Qskip_taskbar, Qnil, f 5238 src/xfns.c gui_default_parameter (f, parms, Qz_group, Qnil, f 5243 src/xfns.c if (FRAME_HAS_MINIBUF_P (f) f 5253 src/xfns.c fset_param_alist (f, Fcons (XCAR (tem), f->param_alist)); f 5269 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 5273 src/xfns.c if (x_defined_color (f, SSDATA (color), &foo, false, false)) f 5285 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 5289 src/xfns.c if (x_defined_color (f, SSDATA (color), &foo, false, false)) f 5795 src/xfns.c x_get_monitor_for_frame (struct frame *f, f 5805 src/xfns.c frect.x = f->left_pos; f 5806 src/xfns.c frect.y = f->top_pos; f 5807 src/xfns.c frect.width = FRAME_PIXEL_WIDTH (f); f 5808 src/xfns.c frect.height = FRAME_PIXEL_HEIGHT (f); f 5868 src/xfns.c struct frame *f = XFRAME (frame); f 5870 src/xfns.c if (FRAME_X_P (f) f 5871 src/xfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 5872 src/xfns.c && !FRAME_TOOLTIP_P (f)) f 5874 src/xfns.c int i = x_get_monitor_for_frame (f, monitors, n_monitors); f 6326 src/xfns.c struct frame *f = XFRAME (frame); f 6328 src/xfns.c if (FRAME_X_P (f) f 6329 src/xfns.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 6330 src/xfns.c && !FRAME_TOOLTIP_P (f)) f 6332 src/xfns.c GdkWindow *gwin = gtk_widget_get_window (FRAME_GTK_WIDGET (f)); f 6455 src/xfns.c struct frame *f = decode_live_frame (frame); f 6470 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f) || !FRAME_OUTER_WINDOW (f)) f 6474 src/xfns.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 6478 src/xfns.c if (!FRAME_PARENT_FRAME (f)) f 6479 src/xfns.c x_real_pos_and_offsets (f, &left_off, &right_off, &top_off, &bottom_off, f 6486 src/xfns.c if (FRAME_PARENT_FRAME (f)) f 6490 src/xfns.c XSETFRAME (parent, FRAME_PARENT_FRAME (f)); f 6521 src/xfns.c internal_border_width = FRAME_INTERNAL_BORDER_WIDTH (f); f 6529 src/xfns.c menu_bar_height = FRAME_MENUBAR_HEIGHT (f); f 6533 src/xfns.c menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); f 6538 src/xfns.c tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); f 6546 src/xfns.c if (EQ (FRAME_TOOL_BAR_POSITION (f), Qleft)) f 6548 src/xfns.c tool_bar_width = FRAME_TOOLBAR_WIDTH (f); f 6554 src/xfns.c else if (EQ (FRAME_TOOL_BAR_POSITION (f), Qtop)) f 6556 src/xfns.c tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 6561 src/xfns.c else if (EQ (FRAME_TOOL_BAR_POSITION (f), Qright)) f 6563 src/xfns.c tool_bar_width = FRAME_TOOLBAR_WIDTH (f); f 6571 src/xfns.c tool_bar_height = FRAME_TOOLBAR_HEIGHT (f); f 6577 src/xfns.c tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); f 6616 src/xfns.c Fcons (Qtool_bar_position, FRAME_TOOL_BAR_POSITION (f)), f 6717 src/xfns.c struct frame *f; f 6745 src/xfns.c f = x_top_window_to_frame (dpyinfo, toplevels[i]); f 6747 src/xfns.c if (f) f 6749 src/xfns.c XSETFRAME (val, f); f 6878 src/xfns.c struct frame *f = SELECTED_FRAME (); f 6882 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f)) f 6886 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), f 6887 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 6902 src/xfns.c struct frame *f = SELECTED_FRAME (); f 6904 src/xfns.c if (FRAME_INITIAL_P (f) || !FRAME_X_P (f)) f 6914 src/xfns.c deviceid = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 6916 src/xfns.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 6919 src/xfns.c x_catch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 6920 src/xfns.c XIWarpPointer (FRAME_X_DISPLAY (f), deviceid, None, f 6921 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 6923 src/xfns.c x_uncatch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 6927 src/xfns.c XWarpPointer (FRAME_X_DISPLAY (f), None, f 6928 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 6999 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7031 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionCopy; f 7033 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionMove; f 7035 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionLink; f 7037 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionPrivate; f 7039 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7044 src/xfns.c xaction = symbol_to_x_atom (FRAME_DISPLAY_INFO (f), action); f 7047 src/xfns.c xaction = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7063 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionCopy; f 7065 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionMove; f 7067 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionLink; f 7069 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionAsk; f 7071 src/xfns.c action_list[nnames] = FRAME_DISPLAY_INFO (f)->Xatom_XdndActionPrivate; f 7092 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 7093 src/xfns.c XInternAtoms (FRAME_X_DISPLAY (f), target_names, f 7095 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 7099 src/xfns.c lval = x_dnd_begin_drag_and_drop (f, FRAME_DISPLAY_INFO (f)->last_user_time, f 7394 src/xfns.c x_sync (struct frame *f) f 7398 src/xfns.c XSync (FRAME_X_DISPLAY (f), False); f 7400 src/xfns.c xcb_aux_sync (FRAME_DISPLAY_INFO (f)->xcb_connection); f 7449 src/xfns.c struct frame *f; f 7467 src/xfns.c f = decode_window_system_frame (frame); f 7468 src/xfns.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7498 src/xfns.c x_fill_property_data (FRAME_X_DISPLAY (f), value, data, nelements, f 7526 src/xfns.c target_window = FRAME_OUTER_WINDOW (f); f 7528 src/xfns.c target_window = FRAME_X_WINDOW (f); f 7644 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7645 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 7654 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 7658 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 7661 src/xfns.c x_catch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7662 src/xfns.c XDeleteProperty (FRAME_X_DISPLAY (f), target_window, prop_atom); f 7663 src/xfns.c x_check_errors_for_lisp (FRAME_DISPLAY_INFO (f), f 7665 src/xfns.c x_uncatch_errors_for_lisp (FRAME_DISPLAY_INFO (f)); f 7673 src/xfns.c x_window_property_intern (struct frame *f, f 7688 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 7700 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 7736 src/xfns.c prop_value = x_property_data_to_lisp (f, f 7793 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7797 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 7806 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 7810 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 7817 src/xfns.c target_type = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 7821 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 7823 src/xfns.c prop_value = x_window_property_intern (f, f 7833 src/xfns.c && target_window != FRAME_OUTER_WINDOW (f)) f 7835 src/xfns.c prop_value = x_window_property_intern (f, f 7836 src/xfns.c FRAME_OUTER_WINDOW (f), f 7844 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 7871 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 7872 src/xfns.c Window target_window = FRAME_X_WINDOW (f); f 7887 src/xfns.c target_window = FRAME_DISPLAY_INFO (f)->root_window; f 7892 src/xfns.c x_catch_errors (FRAME_X_DISPLAY (f)); f 7893 src/xfns.c prop_atom = x_intern_cached_atom (FRAME_DISPLAY_INFO (f), f 7895 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 7902 src/xfns.c && target_window != FRAME_OUTER_WINDOW (f)) f 7907 src/xfns.c target_window = FRAME_OUTER_WINDOW (f); f 7908 src/xfns.c rc = XGetWindowProperty (FRAME_X_DISPLAY (f), target_window, f 7924 src/xfns.c x_check_errors (FRAME_X_DISPLAY (f), f 8093 src/xfns.c struct frame *f; f 8113 src/xfns.c f = make_frame (false); f 8114 src/xfns.c f->wants_modeline = false; f 8115 src/xfns.c XSETFRAME (frame, f); f 8118 src/xfns.c f->terminal = dpyinfo->terminal; f 8124 src/xfns.c f->output_method = output_x_window; f 8125 src/xfns.c f->output_data.x = xzalloc (sizeof *f->output_data.x); f 8126 src/xfns.c f->output_data.x->icon_bitmap = -1; f 8127 src/xfns.c FRAME_FONTSET (f) = -1; f 8128 src/xfns.c f->output_data.x->scroll_bar_foreground_pixel = -1; f 8129 src/xfns.c f->output_data.x->scroll_bar_background_pixel = -1; f 8131 src/xfns.c f->output_data.x->scroll_bar_top_shadow_pixel = -1; f 8132 src/xfns.c f->output_data.x->scroll_bar_bottom_shadow_pixel = -1; f 8134 src/xfns.c f->output_data.x->white_relief.pixel = -1; f 8135 src/xfns.c f->output_data.x->black_relief.pixel = -1; f 8137 src/xfns.c f->tooltip = true; f 8138 src/xfns.c fset_icon_name (f, Qnil); f 8139 src/xfns.c FRAME_DISPLAY_INFO (f) = dpyinfo; f 8140 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 8141 src/xfns.c f->output_data.x->explicit_parent = false; f 8151 src/xfns.c FRAME_FOREGROUND_PIXEL (f) = -1; f 8152 src/xfns.c FRAME_BACKGROUND_PIXEL (f) = -1; f 8153 src/xfns.c f->output_data.x->cursor_pixel = -1; f 8154 src/xfns.c f->output_data.x->cursor_foreground_pixel = -1; f 8155 src/xfns.c f->output_data.x->border_pixel = -1; f 8156 src/xfns.c f->output_data.x->mouse_pixel = -1; f 8159 src/xfns.c FRAME_FOREGROUND_PIXEL (f) f 8160 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8161 src/xfns.c FRAME_BACKGROUND_PIXEL (f) f 8162 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8163 src/xfns.c f->output_data.x->cursor_pixel f 8164 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8165 src/xfns.c f->output_data.x->cursor_foreground_pixel f 8166 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8167 src/xfns.c f->output_data.x->border_pixel f 8168 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8169 src/xfns.c f->output_data.x->mouse_pixel f 8170 src/xfns.c = x_decode_color (f, black, BLACK_PIX_DEFAULT (f)); f 8177 src/xfns.c fset_name (f, build_string (dpyinfo->x_id_name)); f 8178 src/xfns.c f->explicit_name = false; f 8182 src/xfns.c fset_name (f, name); f 8183 src/xfns.c f->explicit_name = true; f 8189 src/xfns.c register_font_driver (&ftcrfont_driver, f); f 8191 src/xfns.c register_font_driver (&ftcrhbfont_driver, f); f 8196 src/xfns.c register_font_driver (&xftfont_driver, f); f 8198 src/xfns.c register_font_driver (&xfthbfont_driver, f); f 8203 src/xfns.c register_font_driver (&xfont_driver, f); f 8206 src/xfns.c FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0; f 8211 src/xfns.c gui_default_parameter (f, parms, Qfont_backend, Qnil, f 8216 src/xfns.c x_default_font_parameter (f, parms); f 8218 src/xfns.c gui_default_parameter (f, parms, Qborder_width, make_fixnum (0), f 8236 src/xfns.c gui_default_parameter (f, parms, Qinternal_border_width, make_fixnum (1), f 8239 src/xfns.c gui_default_parameter (f, parms, Qright_divider_width, make_fixnum (0), f 8241 src/xfns.c gui_default_parameter (f, parms, Qbottom_divider_width, make_fixnum (0), f 8245 src/xfns.c gui_default_parameter (f, parms, Qforeground_color, build_string ("black"), f 8247 src/xfns.c gui_default_parameter (f, parms, Qbackground_color, build_string ("white"), f 8249 src/xfns.c gui_default_parameter (f, parms, Qmouse_color, build_string ("black"), f 8251 src/xfns.c gui_default_parameter (f, parms, Qcursor_color, build_string ("black"), f 8253 src/xfns.c gui_default_parameter (f, parms, Qborder_color, build_string ("black"), f 8255 src/xfns.c gui_default_parameter (f, parms, Qno_special_glyphs, Qnil, f 8262 src/xfns.c Atom type = FRAME_DISPLAY_INFO (f)->Xatom_net_window_type_tooltip; f 8275 src/xfns.c attrs.background_pixel = FRAME_BACKGROUND_PIXEL (f); f 8276 src/xfns.c attrs.colormap = FRAME_X_COLORMAP (f); f 8278 src/xfns.c f->output_data.x->current_cursor f 8279 src/xfns.c = f->output_data.x->text_cursor; f 8280 src/xfns.c attrs.border_pixel = f->output_data.x->border_pixel; f 8284 src/xfns.c = FRAME_X_WINDOW (f) f 8285 src/xfns.c = XCreateWindow (FRAME_X_DISPLAY (f), f 8286 src/xfns.c FRAME_DISPLAY_INFO (f)->root_window, f 8290 src/xfns.c f->border_width, f 8292 src/xfns.c FRAME_X_VISUAL (f), f 8294 src/xfns.c initial_set_up_x_back_buffer (f); f 8295 src/xfns.c XChangeProperty (FRAME_X_DISPLAY (f), tip_window, f 8296 src/xfns.c FRAME_DISPLAY_INFO (f)->Xatom_net_window_type, f 8305 src/xfns.c = (xcb_visualid_t) XVisualIDFromVisual (FRAME_X_VISUAL (f)); f 8307 src/xfns.c f->output_data.x->current_cursor = f->output_data.x->text_cursor; f 8310 src/xfns.c value_list[0] = FRAME_BACKGROUND_PIXEL (f); f 8311 src/xfns.c value_list[1] = f->output_data.x->border_pixel; f 8314 src/xfns.c value_list[4] = (xcb_colormap_t) FRAME_X_COLORMAP (f); f 8315 src/xfns.c value_list[5] = (xcb_cursor_t) f->output_data.x->text_cursor; f 8319 src/xfns.c = FRAME_X_WINDOW (f) f 8326 src/xfns.c 0, 0, 1, 1, f->border_width, f 8344 src/xfns.c initial_set_up_x_back_buffer (f); f 8352 src/xfns.c init_frame_faces (f); f 8354 src/xfns.c gui_default_parameter (f, parms, Qinhibit_double_buffering, Qnil, f 8358 src/xfns.c gui_figure_window_size (f, parms, false, false); f 8360 src/xfns.c f->output_data.x->parent_desc = FRAME_DISPLAY_INFO (f)->root_window; f 8362 src/xfns.c x_make_gc (f); f 8364 src/xfns.c gui_default_parameter (f, parms, Qauto_raise, Qnil, f 8366 src/xfns.c gui_default_parameter (f, parms, Qauto_lower, Qnil, f 8368 src/xfns.c gui_default_parameter (f, parms, Qcursor_type, Qbox, f 8370 src/xfns.c gui_default_parameter (f, parms, Qalpha, Qnil, f 8372 src/xfns.c gui_default_parameter (f, parms, Qalpha_background, Qnil, f 8389 src/xfns.c if (FRAME_DISPLAY_INFO (f)->n_planes == 1) f 8391 src/xfns.c else if (FRAME_X_VISUAL_INFO (f)->class == GrayScale f 8392 src/xfns.c || FRAME_X_VISUAL_INFO (f)->class == StaticGray) f 8424 src/xfns.c f->no_split = true; f 8428 src/xfns.c FRAME_DISPLAY_INFO (f)->reference_count++; f 8429 src/xfns.c f->terminal->reference_count++; f 8435 src/xfns.c f->can_set_window_size = true; f 8436 src/xfns.c adjust_frame_size (f, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), f 8458 src/xfns.c compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, f 8482 src/xfns.c x_query_pointer (FRAME_X_DISPLAY (f), FRAME_DISPLAY_INFO (f)->root_window, f 8486 src/xfns.c XSETFRAME (frame, f); f 8489 src/xfns.c if (!NILP (FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list)) f 8494 src/xfns.c attributes = FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list; f 8531 src/xfns.c max_x = x_display_pixel_width (FRAME_DISPLAY_INFO (f)); f 8532 src/xfns.c max_y = x_display_pixel_height (FRAME_DISPLAY_INFO (f)); f 8618 src/xfns.c struct frame *f = XFRAME (tip_last_frame); f 8620 src/xfns.c if (FRAME_LIVE_P (f)) f 8622 src/xfns.c if (xg_hide_tooltip (f)) f 8636 src/xfns.c struct frame *f = XFRAME (tip_frame); f 8638 src/xfns.c if (FRAME_LIVE_P (f)) f 8649 src/xfns.c x_make_frame_invisible (f); f 8678 src/xfns.c struct frame *f = XFRAME (tip_frame); f 8680 src/xfns.c if (FRAME_LIVE_P (f)) f 8738 src/xfns.c struct frame *f, *tip_f; f 8761 src/xfns.c f = decode_window_system_frame (frame); f 8789 src/xfns.c ok = xg_prepare_tooltip (f, string, &width, &height); f 8792 src/xfns.c compute_tip_xy (f, parms, dx, dy, width, height, &root_x, &root_y); f 8793 src/xfns.c xg_show_tooltip (f, root_x, root_y); f 8905 src/xfns.c if (NILP (tip_frame = x_create_tip_frame (FRAME_DISPLAY_INFO (f), parms))) f 9050 src/xfns.c struct frame *f = decode_live_frame (frame); f 9051 src/xfns.c return FRAME_X_DOUBLE_BUFFERED_P (f) ? Qt : Qnil; f 9123 src/xfns.c struct frame *f = SELECTED_FRAME (); f 9132 src/xfns.c check_window_system (f); f 9159 src/xfns.c dialog = XmCreateFileSelectionDialog (f->output_data.x->widget, f 9238 src/xfns.c && FRAME_X_DISPLAY (f) == event.xkey.display) f 9248 src/xfns.c && FRAME_X_DISPLAY (f) == event.xgeneric.display f 9249 src/xfns.c && FRAME_DISPLAY_INFO (f)->supports_xi2 f 9251 src/xfns.c == FRAME_DISPLAY_INFO (f)->xi2_opcode) f 9260 src/xfns.c if (XGetEventData (FRAME_X_DISPLAY (f), &event.xcookie)) f 9267 src/xfns.c copy.xkey.display = FRAME_X_DISPLAY (f); f 9286 src/xfns.c XFreeEventData (FRAME_X_DISPLAY (f), &event.xcookie); f 9291 src/xfns.c (void) x_dispatch_event (©, FRAME_X_DISPLAY (f)); f 9346 src/xfns.c struct frame *f = SELECTED_FRAME (); f 9353 src/xfns.c check_window_system (f); f 9374 src/xfns.c fn = xg_get_file_name (f, SSDATA (prompt), cdef_file, f 9407 src/xfns.c struct frame *f = decode_window_system_frame (frame); f 9424 src/xfns.c XSETFONT (font, FRAME_FONT (f)); f 9435 src/xfns.c font = xg_get_font (f, default_name); f 9470 src/xfns.c struct frame *f; f 9481 src/xfns.c f = decode_window_system_frame (frame); f 9482 src/xfns.c dpy = FRAME_X_DISPLAY (f); f 9484 src/xfns.c if (!FRAME_DISPLAY_INFO (f)->supports_xkb) f 9506 src/xfns.c kb = FRAME_DISPLAY_INFO (f)->xkb_desc; f 9582 src/xfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 9585 src/xfns.c XSETFRAME (frame, f); f 9586 src/xfns.c if (!FRAME_VISIBLE_P (f)) f 9685 src/xfns.c struct frame *f = decode_window_system_frame (XCAR (rest)); f 9688 src/xfns.c XSETFRAME (frame, f); f 9689 src/xfns.c if (!FRAME_VISIBLE_P (f)) f 9762 src/xfns.c struct frame *f; f 9768 src/xfns.c f = dpyinfo->x_focus_frame; f 9770 src/xfns.c if (f) f 9772 src/xfns.c widget = FRAME_GTK_OUTER_WIDGET (f); f 9776 src/xfns.c gtk_im_context_focus_in (FRAME_X_OUTPUT (f)->im_context); f 9777 src/xfns.c gtk_im_context_set_client_window (FRAME_X_OUTPUT (f)->im_context, f 9782 src/xfns.c gtk_im_context_focus_out (FRAME_X_OUTPUT (f)->im_context); f 9783 src/xfns.c gtk_im_context_set_client_window (FRAME_X_OUTPUT (f)->im_context, 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 xft_draw = font_get_frame_data (f, Qxft); f 640 src/xftfont.c font_put_frame_data (f, Qxft, NULL); f 653 src/xftfont.c xftfont_drop_xrender_surfaces (struct frame *f) f 655 src/xftfont.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 658 src/xftfont.c xftfont_end_for_frame (f); f 665 src/xftfont.c xftfont_cached_font_ok (struct frame *f, Lisp_Object font_object, f 670 src/xftfont.c Display *display = FRAME_X_DISPLAY (f); f 677 src/xftfont.c XftDefaultSubstitute (display, FRAME_X_SCREEN_NUMBER (f), pat); f 712 src/xftfont.c xfthbfont_list (struct frame *f, Lisp_Object spec) f 714 src/xftfont.c return ftfont_list2 (f, spec, Qxfthb); f 718 src/xftfont.c xfthbfont_match (struct frame *f, Lisp_Object spec) f 720 src/xftfont.c return ftfont_match2 (f, spec, Qxfthb); f 130 src/xmenu.c struct frame *f; f 134 src/xmenu.c f = XFRAME (frame); f 135 src/xmenu.c if (!FRAME_WINDOW_P (f)) f 137 src/xmenu.c if (f->output_data.x->id == id) f 138 src/xmenu.c return f; f 166 src/xmenu.c struct frame *f = XFRAME (frame); f 168 src/xmenu.c if (in_use && FRAME_Z_GROUP_ABOVE (f)) f 169 src/xmenu.c x_set_z_group (f, Qabove_suspended, Qabove); f 170 src/xmenu.c else if (!in_use && FRAME_Z_GROUP_ABOVE_SUSPENDED (f)) f 171 src/xmenu.c x_set_z_group (f, Qabove, Qabove_suspended); f 476 src/xmenu.c struct frame *f = decode_window_system_frame (frame); f 478 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 483 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 484 src/xmenu.c set_frame_menubar (f, true); f 486 src/xmenu.c menubar = FRAME_X_OUTPUT (f)->menubar_widget; f 498 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 517 src/xmenu.c x_catch_errors (FRAME_X_DISPLAY (f)); f 519 src/xmenu.c ev.xbutton.display = FRAME_X_DISPLAY (f); f 521 src/xmenu.c ev.xbutton.root = FRAME_DISPLAY_INFO (f)->root_window; f 523 src/xmenu.c ev.xbutton.time = XtLastTimestampProcessed (FRAME_X_DISPLAY (f)); f 526 src/xmenu.c && xi_frame_selected_for (f, XI_KeyPress)) f 531 src/xmenu.c ev.xbutton.x = ev.xbutton.y = FRAME_MENUBAR_HEIGHT (f) / 2; f 546 src/xmenu.c XTranslateCoordinates (FRAME_X_DISPLAY (f), f 556 src/xmenu.c error_p = x_had_errors_p (FRAME_X_DISPLAY (f)); f 589 src/xmenu.c struct frame *f; f 592 src/xmenu.c f = decode_window_system_frame (frame); f 594 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 595 src/xmenu.c set_frame_menubar (f, true); f 597 src/xmenu.c menubar = FRAME_X_OUTPUT (f)->menubar_widget; f 647 src/xmenu.c x_activate_menubar (struct frame *f) f 649 src/xmenu.c eassert (FRAME_X_P (f)); f 651 src/xmenu.c if (!f->output_data.x->saved_menu_event->type) f 655 src/xmenu.c if (! xg_win_to_widget (FRAME_X_DISPLAY (f), f 656 src/xmenu.c f->output_data.x->saved_menu_event->xany.window)) f 660 src/xmenu.c set_frame_menubar (f, true); f 664 src/xmenu.c XPutBackEvent (f->output_data.x->display_info->display, f 665 src/xmenu.c f->output_data.x->saved_menu_event); f 668 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 674 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 688 src/xmenu.c = XtDispatchEvent (f->output_data.x->saved_menu_event); f 693 src/xmenu.c f->output_data.x->saved_menu_event->type = 0; f 728 src/xmenu.c show_help_event (struct frame *f, xt_or_gtk_widget widget, Lisp_Object help) f 732 src/xmenu.c if (f) f 734 src/xmenu.c XSETFRAME (frame, f); f 765 src/xmenu.c show_help_event (popup_activated_flag <= 1 ? cb_data->cl_data->f : NULL, f 776 src/xmenu.c struct frame *f = menubar_id_to_frame (id); f 778 src/xmenu.c show_help_event (f, widget, help); f 801 src/xmenu.c if (! cb_data || ! cb_data->cl_data || ! cb_data->cl_data->f) f 824 src/xmenu.c find_and_call_menu_selection (cb_data->cl_data->f, f 839 src/xmenu.c struct frame *f; f 841 src/xmenu.c f = menubar_id_to_frame (id); f 842 src/xmenu.c if (!f) f 844 src/xmenu.c find_and_call_menu_selection (f, f->menu_bar_items_used, f 845 src/xmenu.c f->menu_bar_vector, client_data); f 853 src/xmenu.c update_frame_menubar (struct frame *f) f 856 src/xmenu.c xg_update_frame_menubar (f); f 860 src/xmenu.c eassert (FRAME_X_P (f)); f 862 src/xmenu.c x = f->output_data.x; f 889 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 908 src/xmenu.c apply_systemfont_to_menu (struct frame *f, Widget w) f 928 src/xmenu.c set_frame_menubar (struct frame *f, bool deep_p) f 941 src/xmenu.c eassert (FRAME_X_P (f)); f 943 src/xmenu.c menubar_widget = old_widget = f->output_data.x->menubar_widget; f 945 src/xmenu.c XSETFRAME (Vmenu_updating_frame, f); f 948 src/xmenu.c if (f->output_data.x->id == 0) f 949 src/xmenu.c f->output_data.x->id = next_menubar_widget_id++; f 950 src/xmenu.c id = f->output_data.x->id; f 956 src/xmenu.c else if (!f->output_data.x->saved_menu_event && !deep_p) f 959 src/xmenu.c f->output_data.x->saved_menu_event = xmalloc (sizeof (XEvent)); f 960 src/xmenu.c f->output_data.x->saved_menu_event->type = 0; f 970 src/xmenu.c int previous_menu_items_used = f->menu_bar_items_used; f 980 src/xmenu.c buffer = XWINDOW (FRAME_SELECTED_WINDOW (f))->contents; f 1001 src/xmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 1003 src/xmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 1007 src/xmenu.c memcpy (previous_items, xvector_contents (f->menu_bar_vector), f 1014 src/xmenu.c menu_items = f->menu_bar_vector; f 1089 src/xmenu.c fset_menu_bar_vector (f, menu_items); f 1090 src/xmenu.c f->menu_bar_items_used = menu_items_used; f 1119 src/xmenu.c items = FRAME_MENU_BAR_ITEMS (f); f 1146 src/xmenu.c f->menu_bar_items_used = 0; f 1160 src/xmenu.c f, f 1170 src/xmenu.c = xg_create_widget ("menubar", "menubar", f, first_wv, f 1175 src/xmenu.c f->output_data.x->menubar_widget = menubar_widget; f 1183 src/xmenu.c lw_allow_resizing (f->output_data.x->widget, False); f 1190 src/xmenu.c lw_allow_resizing (f->output_data.x->widget, True); f 1198 src/xmenu.c apply_systemfont_to_menu (f, f->output_data.x->column_widget); f 1202 src/xmenu.c f->output_data.x->column_widget, f 1208 src/xmenu.c f->output_data.x->menubar_widget = menubar_widget; f 1216 src/xmenu.c if (f->output_data.x->menubar_widget) f 1217 src/xmenu.c XtRealizeWidget (f->output_data.x->menubar_widget); f 1220 src/xmenu.c = (f->output_data.x->menubar_widget f 1221 src/xmenu.c ? (f->output_data.x->menubar_widget->core.height f 1228 src/xmenu.c + f->output_data.x->menubar_widget->core.border_width f 1238 src/xmenu.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 1242 src/xmenu.c XtVaGetValues (f->output_data.x->column_widget, f 1248 src/xmenu.c FRAME_MENUBAR_HEIGHT (f) = menubar_size; f 1253 src/xmenu.c update_frame_menubar (f); f 1268 src/xmenu.c initialize_frame_menubar (struct frame *f) f 1272 src/xmenu.c fset_menu_bar_items (f, menu_bar_items (FRAME_MENU_BAR_ITEMS (f))); f 1273 src/xmenu.c set_frame_menubar (f, true); f 1283 src/xmenu.c free_frame_menubar (struct frame *f) f 1290 src/xmenu.c int old_width = FRAME_TEXT_WIDTH (f); f 1291 src/xmenu.c int old_height = FRAME_TEXT_HEIGHT (f) + FRAME_MENUBAR_HEIGHT (f); f 1294 src/xmenu.c eassert (FRAME_X_P (f)); f 1296 src/xmenu.c menubar_widget = f->output_data.x->menubar_widget; f 1298 src/xmenu.c FRAME_MENUBAR_HEIGHT (f) = 0; f 1317 src/xmenu.c if (f->output_data.x->widget) f 1318 src/xmenu.c XtVaGetValues (f->output_data.x->widget, XtNx, &x0, XtNy, &y0, NULL); f 1321 src/xmenu.c lw_destroy_all_widgets ((LWLIB_ID) f->output_data.x->id); f 1322 src/xmenu.c f->output_data.x->menubar_widget = NULL; f 1330 src/xmenu.c if (f->output_data.x->widget) f 1333 src/xmenu.c XtVaGetValues (f->output_data.x->widget, XtNx, &x1, XtNy, &y1, NULL); f 1335 src/xmenu.c XtVaSetValues (f->output_data.x->widget, XtNx, x0, XtNy, y0, NULL); f 1342 src/xmenu.c if (frame_inhibit_resize (f, false, Qmenu_bar_lines) f 1343 src/xmenu.c && !EQ (get_frame_param (f, Qfullscreen), Qfullheight)) f 1344 src/xmenu.c adjust_frame_size (f, old_width, old_height, 1, false, f 1347 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1349 src/xmenu.c adjust_frame_size (f, -1, -1, 2, false, Qmenu_bar_lines); f 1355 src/xmenu.c if (WINDOWP (FRAME_ROOT_WINDOW (f)) f 1357 src/xmenu.c && frame_inhibit_resize (f, false, Qmenu_bar_lines) f 1358 src/xmenu.c && !EQ (get_frame_param (f, Qfullscreen), Qfullheight)) f 1359 src/xmenu.c adjust_frame_size (f, old_width, old_height, 1, false, f 1399 src/xmenu.c struct frame *f; f 1427 src/xmenu.c XSETFRAME (frame, data->f); f 1430 src/xmenu.c scale = xg_get_scale (data->f); f 1451 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (data->f); f 1500 src/xmenu.c create_and_show_popup_menu (struct frame *f, widget_value *first_wv, f 1516 src/xmenu.c eassert (FRAME_X_P (f)); f 1519 src/xmenu.c menu = xg_create_widget ("popup", first_wv->name, f, first_wv, f 1532 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 1536 src/xmenu.c x /= xg_get_scale (f); f 1537 src/xmenu.c y /= xg_get_scale (f); f 1542 src/xmenu.c popup_x_y.f = f; f 1550 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->grabbed & (1 << i)) f 1557 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 1558 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 1560 src/xmenu.c for (int i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 1562 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->devices[i].grab) f 1564 src/xmenu.c FRAME_DISPLAY_INFO (f)->devices[i].grab = 0; f 1566 src/xmenu.c XIUngrabDevice (FRAME_X_DISPLAY (f), f 1567 src/xmenu.c FRAME_DISPLAY_INFO (f)->devices[i].device_id, f 1580 src/xmenu.c FRAME_DISPLAY_INFO (f)->last_user_time); f 1597 src/xmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 1621 src/xmenu.c prepare_for_entry_into_toolkit_menu (struct frame *f) f 1629 src/xmenu.c dpyinfo = FRAME_DISPLAY_INFO (f); f 1646 src/xmenu.c f = XFRAME (frame); f 1648 src/xmenu.c if (FRAME_X_P (f) f 1649 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1650 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1651 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1664 src/xmenu.c struct frame *f; f 1685 src/xmenu.c f = XFRAME (frame); f 1687 src/xmenu.c if (FRAME_X_P (f) f 1688 src/xmenu.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 1689 src/xmenu.c && !FRAME_TOOLTIP_P (f)) f 1690 src/xmenu.c XISelectEvents (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 1728 src/xmenu.c create_and_show_popup_menu (struct frame *f, widget_value *first_wv, f 1743 src/xmenu.c eassert (FRAME_X_P (f)); f 1746 src/xmenu.c apply_systemfont_to_menu (f, f->output_data.x->widget); f 1751 src/xmenu.c f->output_data.x->widget, true, 0, f 1759 src/xmenu.c event->display = FRAME_X_DISPLAY (f); f 1761 src/xmenu.c event->root = FRAME_DISPLAY_INFO (f)->root_window; f 1768 src/xmenu.c x += FRAME_LEFT_SCROLL_BAR_AREA_WIDTH (f); f 1769 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 1778 src/xmenu.c if (FRAME_DISPLAY_INFO (f)->grabbed & (1 << i)) f 1786 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1794 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 1819 src/xmenu.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 1824 src/xmenu.c (XPointer) &(XID[]) {FRAME_OUTER_WINDOW (f), property_atom}); f 1832 src/xmenu.c prepare_for_entry_into_toolkit_menu (f); f 1858 src/xmenu.c record_unwind_protect_ptr (leave_toolkit_menu, f); f 1862 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), menu_id, true); f 1877 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 1896 src/xmenu.c eassert (FRAME_X_P (f)); f 2082 src/xmenu.c create_and_show_popup_menu (f, first_wv, x, y, f 2173 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2177 src/xmenu.c eassert (FRAME_X_P (f)); f 2179 src/xmenu.c menu = xg_create_widget ("dialog", first_wv->name, f, first_wv, f 2221 src/xmenu.c create_and_show_dialog (struct frame *f, widget_value *first_wv) f 2225 src/xmenu.c eassert (FRAME_X_P (f)); f 2229 src/xmenu.c apply_systemfont_to_dialog (f->output_data.x->widget); f 2232 src/xmenu.c f->output_data.x->widget, true, 0, f 2251 src/xmenu.c popup_get_selection (0, FRAME_DISPLAY_INFO (f), dialog_id, true); f 2264 src/xmenu.c x_dialog_show (struct frame *f, Lisp_Object title, f 2279 src/xmenu.c eassert (FRAME_X_P (f)); f 2385 src/xmenu.c create_and_show_dialog (f, first_wv); f 2424 src/xmenu.c xw_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) f 2431 src/xmenu.c check_window_system (f); f 2448 src/xmenu.c selection = x_dialog_show (f, title, header, &error_name); f 2507 src/xmenu.c struct frame *f = data->frame; f 2516 src/xmenu.c XUngrabPointer (FRAME_X_DISPLAY (f), CurrentTime); f 2517 src/xmenu.c XUngrabKeyboard (FRAME_X_DISPLAY (f), CurrentTime); f 2519 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2524 src/xmenu.c x_mouse_leave (FRAME_DISPLAY_INFO (f)); f 2530 src/xmenu.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 2536 src/xmenu.c for (i = 0; i < FRAME_DISPLAY_INFO (f)->num_devices; ++i) f 2538 src/xmenu.c device = &FRAME_DISPLAY_INFO (f)->devices[i]; f 2552 src/xmenu.c x_menu_show (struct frame *f, int x, int y, int menuflags, f 2569 src/xmenu.c eassert (FRAME_X_P (f) || FRAME_MSDOS_P (f)); f 2585 src/xmenu.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &root, f 2590 src/xmenu.c menu = XMenuCreate (FRAME_X_DISPLAY (f), root, "emacs"); f 2603 src/xmenu.c x_translate_coordinates_to_root (f, x, y, &x, &y); f 2606 src/xmenu.c x += f->left_pos; f 2607 src/xmenu.c y += f->top_pos; f 2630 src/xmenu.c lpane = XMenuAddPane (FRAME_X_DISPLAY (f), menu, pane_string, true); f 2633 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2690 src/xmenu.c || (XMenuAddSelection (FRAME_X_DISPLAY (f), f 2695 src/xmenu.c XMenuDestroy (FRAME_X_DISPLAY (f), menu); f 2707 src/xmenu.c XMenuRecompute (FRAME_X_DISPLAY (f), menu); f 2708 src/xmenu.c dispwidth = DisplayWidth (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2709 src/xmenu.c dispheight = DisplayHeight (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)); f 2714 src/xmenu.c XMenuLocate (FRAME_X_DISPLAY (f), menu, 0, 0, x, y, f 2727 src/xmenu.c if (FRAME_HAS_MINIBUF_P (f) && uly + height > dispheight - 1) f 2762 src/xmenu.c FRAME_X_DISPLAY (f)); f 2774 src/xmenu.c &(struct pop_down_menu) {f, menu}); f 2778 src/xmenu.c menu_help_frame = f; f 2781 src/xmenu.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2785 src/xmenu.c && xi_frame_selected_for (f, XI_ButtonPress)) f 2802 src/xmenu.c status = XMenuActivate (FRAME_X_DISPLAY (f), menu, &pane, &selidx, f 274 src/xselect.c struct frame *f = XFRAME (frame); f 275 src/xselect.c Window selecting_window = FRAME_X_WINDOW (f); f 276 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1119 src/xselect.c x_clear_frame_selections (struct frame *f) f 1122 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1125 src/xselect.c XSETFRAME (frame, f); f 1331 src/xselect.c struct frame *f = XFRAME (frame); f 1332 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 1334 src/xselect.c Window requestor_window = FRAME_X_WINDOW (f); f 1347 src/xselect.c if (!FRAME_LIVE_P (f)) f 2159 src/xselect.c struct frame *f; f 2163 src/xselect.c f = XFRAME (selected_frame); f 2164 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2165 src/xselect.c return f; f 2169 src/xselect.c f = XFRAME (frame); f 2170 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2171 src/xselect.c return f; f 2181 src/xselect.c f = XFRAME (frame); f 2182 src/xselect.c if (FRAME_LIVE_P (f) && f->terminal == t) f 2183 src/xselect.c return f; f 2188 src/xselect.c f = XFRAME (object); f 2189 src/xselect.c if (FRAME_X_P (f) && FRAME_LIVE_P (f)) f 2190 src/xselect.c return f; f 2246 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2253 src/xselect.c if (!f) f 2267 src/xselect.c FRAME_DISPLAY_INFO (f), Qnil, false); f 2269 src/xselect.c if (NILP (val) && FRAME_LIVE_P (f)) f 2272 src/xselect.c XSETFRAME (frame, f); f 2305 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2308 src/xselect.c if (!f) f 2311 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2357 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2363 src/xselect.c if (f && !NILP (LOCAL_SELECTION (selection, FRAME_DISPLAY_INFO (f)))) f 2389 src/xselect.c struct frame *f = frame_for_x_selection (terminal); f 2400 src/xselect.c if (!f) f 2403 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2478 src/xselect.c struct frame *f = XFRAME (frame); f 2479 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2482 src/xselect.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 2522 src/xselect.c struct frame *f; f 2526 src/xselect.c && (f = XFRAME (frame), FRAME_X_P (f)) f 2527 src/xselect.c && FRAME_LIVE_P (f)) f 2529 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2696 src/xselect.c x_property_data_to_lisp (struct frame *f, const unsigned char *data, f 2703 src/xselect.c return selection_data_to_lisp_data (FRAME_DISPLAY_INFO (f), data, f 2717 src/xselect.c struct frame *f = decode_window_system_frame (frame); f 2718 src/xselect.c Display *dpy = FRAME_X_DISPLAY (f); f 2725 src/xselect.c dpyinfo = FRAME_DISPLAY_INFO (f); f 2753 src/xselect.c struct frame *f = decode_window_system_frame (frame); f 2755 src/xselect.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 2785 src/xselect.c x_handle_dnd_message (struct frame *f, const XClientMessageEvent *event, f 2803 src/xselect.c XSETFRAME (frame, f); f 2818 src/xselect.c ASET (vec, 0, SYMBOL_NAME (x_atom_to_symbol (FRAME_DISPLAY_INFO (f), f 2822 src/xselect.c ASET (vec, 3, x_property_data_to_lisp (f, f 2829 src/xselect.c x_relative_mouse_position (f, &x, &y); f 2831 src/xselect.c x_translate_coordinates (f, root_x, root_y, &x, &y); f 2895 src/xselect.c struct frame *f = decode_window_system_frame (from); f 2941 src/xselect.c event.xclient.window = to_root ? FRAME_OUTER_WINDOW (f) : wdest; f 2828 src/xterm.c struct frame *f, Window wdesc, f 2838 src/xterm.c lmsg.source_window = FRAME_X_WINDOW (f); f 2841 src/xterm.c xm_send_top_level_leave_message (dpyinfo, FRAME_X_WINDOW (f), f 3914 src/xterm.c struct frame *f; f 3916 src/xterm.c f = decode_window_system_frame (frame); f 3962 src/xterm.c if (owner != FRAME_X_WINDOW (f)) f 4067 src/xterm.c struct frame *tooltip, *f; f 4090 src/xterm.c f = x_top_window_to_frame (dpyinfo, child); f 4096 src/xterm.c if (f) f 4244 src/xterm.c f = x_top_window_to_frame (dpyinfo, child_return); f 4246 src/xterm.c if (f) f 4458 src/xterm.c x_dnd_send_enter (struct frame *f, Window target, Window toplevel, f 4461 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4469 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4481 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 4491 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4496 src/xterm.c x_dnd_send_position (struct frame *f, Window target, Window toplevel, f 4501 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4508 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4563 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4571 src/xterm.c x_dnd_send_leave (struct frame *f, Window target, Window toplevel) f 4573 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 4580 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4590 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4595 src/xterm.c x_dnd_send_drop (struct frame *f, Window target, Window toplevel, f 4603 src/xterm.c x_dnd_send_leave (f, target, toplevel); f 4607 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4613 src/xterm.c msg.xclient.data.l[0] = FRAME_X_WINDOW (f); f 4623 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), target, False, NoEventMask, &msg); f 4692 src/xterm.c x_restore_events_after_dnd (struct frame *f, XWindowAttributes *wa) f 4696 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 4708 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4713 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_X_WINDOW (f), f 4727 src/xterm.c struct frame *f; f 4732 src/xterm.c f = x_dnd_frame; f 4747 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4749 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4756 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4758 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4760 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4761 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4782 src/xterm.c struct frame *f = frame; f 4806 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 4808 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 4815 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 4817 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 4819 src/xterm.c FRAME_DISPLAY_INFO (f)->last_user_time); f 4820 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 4833 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 4842 src/xterm.c x_restore_events_after_dnd (f, &x_dnd_old_window_attrs); f 4849 src/xterm.c struct frame *f; f 4852 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4854 src/xterm.c if (f) f 4856 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4858 src/xterm.c x_dnd_movement_frame = f; f 4871 src/xterm.c struct frame *f; f 4877 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4879 src/xterm.c if (f) f 4881 src/xterm.c x_translate_coordinates (f, root_x, root_y, &dest_x, &dest_y); f 4883 src/xterm.c x_dnd_wheel_frame = f; f 4900 src/xterm.c struct frame *f; f 4911 src/xterm.c f = x_top_window_to_frame (dpyinfo, target); f 4913 src/xterm.c if (!f) f 4919 src/xterm.c x_translate_coordinates (f, root_x, root_y, &win_x, &win_y); f 4925 src/xterm.c XSETFRAME (lval, f); f 4941 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 4961 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist), f 4978 src/xterm.c x_flush (struct frame *f) f 4980 src/xterm.c eassert (f && FRAME_X_P (f)); f 4987 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 4993 src/xterm.c x_drop_xrender_surfaces (struct frame *f) f 4995 src/xterm.c font_drop_xrender_surfaces (f); f 4998 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f) f 4999 src/xterm.c && FRAME_X_PICTURE (f) != None) f 5001 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), f 5002 src/xterm.c FRAME_X_PICTURE (f)); f 5003 src/xterm.c FRAME_X_PICTURE (f) = None; f 5011 src/xterm.c x_xr_ensure_picture (struct frame *f) f 5013 src/xterm.c if (FRAME_X_PICTURE (f) == None && FRAME_X_PICTURE_FORMAT (f)) f 5017 src/xterm.c XRenderPictFormat *fmt = FRAME_X_PICTURE_FORMAT (f); f 5019 src/xterm.c FRAME_X_PICTURE (f) = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 5020 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 5061 src/xterm.c xi_frame_selected_for (struct frame *f, unsigned long event) f 5066 src/xterm.c masks = FRAME_X_OUTPUT (f)->xi_masks; f 5071 src/xterm.c for (i = 0; i < FRAME_X_OUTPUT (f)->num_xi_masks; ++i) f 5083 src/xterm.c x_toolkit_position (struct frame *f, int x, int y, f 5090 src/xterm.c y += (FRAME_MENUBAR_HEIGHT (f) f 5091 src/xterm.c + FRAME_TOOLBAR_TOP_HEIGHT (f)); f 5092 src/xterm.c x += FRAME_TOOLBAR_LEFT_WIDTH (f); f 5094 src/xterm.c if (FRAME_EXTERNAL_MENU_BAR (f)) f 5095 src/xterm.c *menu_bar_p = (x >= 0 && x < FRAME_PIXEL_WIDTH (f) f 5096 src/xterm.c && y >= 0 && y < FRAME_MENUBAR_HEIGHT (f)); f 5098 src/xterm.c if (FRAME_X_OUTPUT (f)->toolbar_widget) f 5100 src/xterm.c scale = xg_get_scale (f); f 5106 src/xterm.c *tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 5110 src/xterm.c *menu_bar_p = (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5111 src/xterm.c && (y < 0 && y >= -FRAME_MENUBAR_HEIGHT (f))); f 5113 src/xterm.c *menu_bar_p = (WINDOWP (f->menu_bar_window) f 5114 src/xterm.c && (x > 0 && x < FRAME_PIXEL_WIDTH (f) f 5115 src/xterm.c && (y > 0 && y < FRAME_MENU_BAR_HEIGHT (f)))); f 5120 src/xterm.c x_update_opaque_region (struct frame *f, XEvent *configure) f 5125 src/xterm.c : FRAME_PIXEL_WIDTH (f)), f 5128 src/xterm.c : FRAME_PIXEL_HEIGHT (f))}; f 5134 src/xterm.c if (!FRAME_DISPLAY_INFO (f)->alpha_bits) f 5137 src/xterm.c if (f->alpha_background < 1.0) f 5138 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5139 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5144 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5145 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5149 src/xterm.c else if (FRAME_TOOLTIP_P (f)) f 5150 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 5151 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_net_wm_opaque_region, f 5158 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 5160 src/xterm.c object_class = G_OBJECT_GET_CLASS (FRAME_GTK_OUTER_WIDGET (f)); f 5164 src/xterm.c class->style_updated (FRAME_GTK_OUTER_WIDGET (f)); f 5181 src/xterm.c x_gc_get_ext_data (struct frame *f, GC gc, int create_if_not_found_p) f 5183 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 5217 src/xterm.c #define FRAME_CR_CONTEXT(f) ((f)->output_data.x->cr_context) f 5218 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_WIDTH(f) \ f 5219 src/xterm.c ((f)->output_data.x->cr_surface_desired_width) f 5220 src/xterm.c #define FRAME_CR_SURFACE_DESIRED_HEIGHT(f) \ f 5221 src/xterm.c ((f)->output_data.x->cr_surface_desired_height) f 5757 src/xterm.c x_cr_destroy_frame_context (struct frame *f) f 5759 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 5761 src/xterm.c cairo_destroy (FRAME_CR_CONTEXT (f)); f 5762 src/xterm.c FRAME_CR_CONTEXT (f) = NULL; f 5767 src/xterm.c x_cr_update_surface_desired_size (struct frame *f, int width, int height) f 5769 src/xterm.c if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width f 5770 src/xterm.c || FRAME_CR_SURFACE_DESIRED_HEIGHT (f) != height) f 5772 src/xterm.c x_cr_destroy_frame_context (f); f 5773 src/xterm.c FRAME_CR_SURFACE_DESIRED_WIDTH (f) = width; f 5774 src/xterm.c FRAME_CR_SURFACE_DESIRED_HEIGHT (f) = height; f 5779 src/xterm.c x_cr_gc_clip (cairo_t *cr, struct frame *f, GC gc) f 5783 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 5798 src/xterm.c x_begin_cr_clip (struct frame *f, GC gc) f 5800 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 5804 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 5805 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 5808 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xcb_visual) f 5809 src/xterm.c surface = cairo_xcb_surface_create (FRAME_DISPLAY_INFO (f)->xcb_connection, f 5810 src/xterm.c (xcb_drawable_t) FRAME_X_RAW_DRAWABLE (f), f 5811 src/xterm.c FRAME_DISPLAY_INFO (f)->xcb_visual, f 5815 src/xterm.c surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 5816 src/xterm.c FRAME_X_RAW_DRAWABLE (f), f 5817 src/xterm.c FRAME_X_VISUAL (f), f 5820 src/xterm.c cr = FRAME_CR_CONTEXT (f) = cairo_create (surface); f 5824 src/xterm.c x_cr_gc_clip (cr, f, gc); f 5830 src/xterm.c x_end_cr_clip (struct frame *f) f 5832 src/xterm.c cairo_restore (FRAME_CR_CONTEXT (f)); f 5834 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 5835 src/xterm.c x_mark_frame_dirty (f); f 5840 src/xterm.c x_set_cr_source_with_gc_foreground (struct frame *f, GC gc, f 5847 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 5849 src/xterm.c x_query_colors (f, &color, 1); f 5850 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 5852 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 5855 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 5857 src/xterm.c f->alpha_background); f 5859 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 5863 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 5865 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 5870 src/xterm.c x_set_cr_source_with_gc_background (struct frame *f, GC gc, f 5877 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 5880 src/xterm.c x_query_colors (f, &color, 1); f 5882 src/xterm.c depth = FRAME_DISPLAY_INFO (f)->n_planes; f 5884 src/xterm.c if (f->alpha_background < 1.0 && depth == 32 f 5887 src/xterm.c cairo_set_source_rgba (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 5889 src/xterm.c f->alpha_background); f 5891 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_SOURCE); f 5895 src/xterm.c cairo_set_source_rgb (FRAME_CR_CONTEXT (f), color.red / 65535.0, f 5897 src/xterm.c cairo_set_operator (FRAME_CR_CONTEXT (f), CAIRO_OPERATOR_OVER); f 5915 src/xterm.c x_try_cr_xlib_drawable (struct frame *f, GC gc) f 5917 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 5942 src/xterm.c int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f); f 5943 src/xterm.c int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f); f 5951 src/xterm.c pixmap = XCreatePixmap (FRAME_X_DISPLAY (f), FRAME_X_RAW_DRAWABLE (f), f 5953 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f))); f 5954 src/xterm.c xlib_surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f), f 5955 src/xterm.c pixmap, FRAME_X_VISUAL (f), f 5967 src/xterm.c x_cr_gc_clip (buf, f, gc); f 5972 src/xterm.c (void *) (uintptr_t) FRAME_X_RAW_DRAWABLE (f), NULL); f 5973 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = pixmap; f 5980 src/xterm.c x_end_cr_xlib_drawable (struct frame *f, GC gc) f 5982 src/xterm.c cairo_t *cr = FRAME_CR_CONTEXT (f); f 5991 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6006 src/xterm.c x_cr_gc_clip (cr, f, gc); f 6010 src/xterm.c FRAME_X_RAW_DRAWABLE (f) = saved_drawable; f 6073 src/xterm.c x_cr_draw_image (struct frame *f, GC gc, cairo_pattern_t *image, f 6077 src/xterm.c cairo_t *cr = x_begin_cr_clip (f, gc); f 6083 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6100 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6105 src/xterm.c x_end_cr_clip (f); f 6109 src/xterm.c x_cr_draw_frame (cairo_t *cr, struct frame *f) f 6113 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6114 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6116 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6117 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6118 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6119 src/xterm.c expose_frame (f, 0, 0, width, height); f 6120 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6145 src/xterm.c struct frame *f; f 6156 src/xterm.c f = XFRAME (XCAR (frames)); f 6158 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6159 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6199 src/xterm.c cairo_t *saved_cr = FRAME_CR_CONTEXT (f); f 6200 src/xterm.c FRAME_CR_CONTEXT (f) = cr; f 6201 src/xterm.c x_clear_area (f, 0, 0, width, height); f 6202 src/xterm.c expose_frame (f, 0, 0, width, height); f 6203 src/xterm.c FRAME_CR_CONTEXT (f) = saved_cr; f 6209 src/xterm.c f = XFRAME (XCAR (frames)); f 6211 src/xterm.c width = FRAME_PIXEL_WIDTH (f); f 6212 src/xterm.c height = FRAME_PIXEL_HEIGHT (f); f 6239 src/xterm.c x_xr_apply_ext_clip (struct frame *f, GC gc) f 6241 src/xterm.c eassert (FRAME_X_PICTURE (f) != None); f 6243 src/xterm.c struct x_gc_ext_data *data = x_gc_get_ext_data (f, gc, 1); f 6246 src/xterm.c XRenderSetPictureClipRectangles (FRAME_X_DISPLAY (f), f 6247 src/xterm.c FRAME_X_PICTURE (f), f 6253 src/xterm.c x_xr_reset_ext_clip (struct frame *f) f 6257 src/xterm.c XRenderChangePicture (FRAME_X_DISPLAY (f), f 6258 src/xterm.c FRAME_X_PICTURE (f), f 6264 src/xterm.c x_set_clip_rectangles (struct frame *f, GC gc, XRectangle *rectangles, int n) f 6266 src/xterm.c XSetClipRectangles (FRAME_X_DISPLAY (f), gc, 0, 0, rectangles, n, Unsorted); f 6271 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 1); f 6280 src/xterm.c x_reset_clip_rectangles (struct frame *f, GC gc) f 6282 src/xterm.c XSetClipMask (FRAME_X_DISPLAY (f), gc, None); f 6285 src/xterm.c struct x_gc_ext_data *gc_ext = x_gc_get_ext_data (f, gc, 0); f 6296 src/xterm.c x_xrender_color_from_gc_foreground (struct frame *f, GC gc, XRenderColor *color, f 6302 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCForeground, &xgcv); f 6304 src/xterm.c x_query_colors (f, &xc, 1); f 6307 src/xterm.c ? 65535 * f->alpha_background f 6326 src/xterm.c x_xrender_color_from_gc_background (struct frame *f, GC gc, XRenderColor *color, f 6332 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), gc, GCBackground, &xgcv); f 6334 src/xterm.c x_query_colors (f, &xc, 1); f 6337 src/xterm.c ? 65535 * f->alpha_background f 6356 src/xterm.c x_fill_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6360 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6364 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6373 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6381 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6385 src/xterm.c cairo_pattern_t *pattern = x_bitmap_stipple (f, xgcv.stipple); f 6388 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, respect_alpha_background); f 6393 src/xterm.c x_end_cr_clip (f); f 6397 src/xterm.c && f->alpha_background != 1.0 f 6398 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6399 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6401 src/xterm.c x_xr_ensure_picture (f); f 6403 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6414 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6417 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (f), f 6421 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 10)) f 6423 src/xterm.c x_xrender_color_from_gc_background (f, gc, &alpha, true); f 6424 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6427 src/xterm.c stipple = XRenderCreatePicture (FRAME_X_DISPLAY (f), f 6429 src/xterm.c XRenderFindStandardFormat (FRAME_X_DISPLAY (f), f 6433 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), PictOpSrc, f 6434 src/xterm.c FRAME_X_PICTURE (f), f 6437 src/xterm.c fill = XRenderCreateSolidFill (FRAME_X_DISPLAY (f), &xc); f 6439 src/xterm.c XRenderComposite (FRAME_X_DISPLAY (f), PictOpOver, fill, stipple, f 6440 src/xterm.c FRAME_X_PICTURE (f), 0, 0, x, y, x, y, width, height); f 6442 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), stipple); f 6443 src/xterm.c XRenderFreePicture (FRAME_X_DISPLAY (f), fill); f 6448 src/xterm.c x_xrender_color_from_gc_foreground (f, gc, &xc, true); f 6449 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6450 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6453 src/xterm.c x_xr_reset_ext_clip (f); f 6454 src/xterm.c x_mark_frame_dirty (f); f 6460 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6467 src/xterm.c x_clear_rectangle (struct frame *f, GC gc, int x, int y, int width, int height, f 6473 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6474 src/xterm.c x_set_cr_source_with_gc_background (f, gc, respect_alpha_background); f 6477 src/xterm.c x_end_cr_clip (f); f 6481 src/xterm.c && f->alpha_background != 1.0 f 6482 src/xterm.c && FRAME_DISPLAY_INFO (f)->alpha_bits f 6483 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 6485 src/xterm.c x_xr_ensure_picture (f); f 6487 src/xterm.c if (FRAME_X_PICTURE (f) != None) f 6491 src/xterm.c x_xr_apply_ext_clip (f, gc); f 6492 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 6493 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 6494 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 6496 src/xterm.c x_xr_reset_ext_clip (f); f 6497 src/xterm.c x_mark_frame_dirty (f); f 6505 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6508 src/xterm.c XFillRectangle (dpy, FRAME_X_DRAWABLE (f), f 6515 src/xterm.c x_draw_rectangle (struct frame *f, GC gc, int x, int y, int width, int height) f 6520 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6521 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6525 src/xterm.c x_end_cr_clip (f); f 6527 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 6533 src/xterm.c x_clear_window (struct frame *f) f 6538 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 6539 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, true); f 6541 src/xterm.c x_end_cr_clip (f); f 6544 src/xterm.c if (f->alpha_background != 1.0 f 6546 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 6550 src/xterm.c x_clear_area (f, 0, 0, FRAME_PIXEL_WIDTH (f), f 6551 src/xterm.c FRAME_PIXEL_HEIGHT (f)); f 6554 src/xterm.c XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 6561 src/xterm.c x_fill_trapezoid_for_relief (struct frame *f, GC gc, int x, int y, f 6566 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6567 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6573 src/xterm.c x_end_cr_clip (f); f 6586 src/xterm.c x_erase_corners_for_relief (struct frame *f, GC gc, int x, int y, f 6593 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6594 src/xterm.c x_set_cr_source_with_gc_background (f, gc, false); f 6615 src/xterm.c x_end_cr_clip (f); f 6619 src/xterm.c x_draw_horizontal_wave (struct frame *f, GC gc, int x, int y, f 6626 src/xterm.c cr = x_begin_cr_clip (f, gc); f 6627 src/xterm.c x_set_cr_source_with_gc_foreground (f, gc, false); f 6656 src/xterm.c x_end_cr_clip (f); f 6676 src/xterm.c x_find_topmost_parent (struct frame *f) f 6678 src/xterm.c struct x_output *x = f->output_data.x; f 6680 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6682 src/xterm.c while (wi != FRAME_DISPLAY_INFO (f)->root_window) f 6701 src/xterm.c x_set_frame_alpha (struct frame *f) f 6703 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 6704 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 6705 src/xterm.c Window win = FRAME_OUTER_WINDOW (f); f 6711 src/xterm.c if (dpyinfo->highlight_frame == f) f 6712 src/xterm.c alpha = f->alpha[0]; f 6714 src/xterm.c alpha = f->alpha[1]; f 6738 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 6740 src/xterm.c parent = x_find_topmost_parent (f); f 6861 src/xterm.c struct frame *f, XEvent *event) f 6868 src/xterm.c output = FRAME_X_OUTPUT (f); f 6889 src/xterm.c struct frame *f; f 6892 src/xterm.c f = (struct frame *) user_data; f 6893 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 6898 src/xterm.c && event->xclient.window == FRAME_OUTER_WINDOW (f)) f 6909 src/xterm.c x_sync_wait_for_frame_drawn_event (struct frame *f) f 6913 src/xterm.c if (!FRAME_X_WAITING_FOR_DRAW (f) f 6916 src/xterm.c || !FRAME_VISIBLE_P (f)) f 6920 src/xterm.c if (x_if_event (FRAME_X_DISPLAY (f), &event, f 6921 src/xterm.c x_sync_is_frame_drawn_event, (XPointer) f, f 6927 src/xterm.c if (FRAME_X_DRAW_JUST_HUNG (f)) f 6932 src/xterm.c FRAME_X_OUTPUT (f)->use_vsync_p = false; f 6936 src/xterm.c store_frame_param (f, Quse_frame_synchronization, Qnil); f 6943 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = true; f 6947 src/xterm.c x_sync_note_frame_times (FRAME_DISPLAY_INFO (f), f, &event); f 6949 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 6956 src/xterm.c x_sync_update_begin (struct frame *f) f 6961 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 6964 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 6966 src/xterm.c if (FRAME_X_OUTPUT (f)->ext_sync_end_pending_p) f 6968 src/xterm.c FRAME_X_COUNTER_VALUE (f) f 6969 src/xterm.c = FRAME_X_OUTPUT (f)->resize_counter_value; f 6971 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 6982 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = false; f 6991 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 6995 src/xterm.c FRAME_X_OUTPUT (f)->temp_frame_time = x_sync_current_monotonic_time (); f 7004 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7008 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 3); f 7010 src/xterm.c eassert (XSyncValueLow32 (FRAME_X_COUNTER_VALUE (f)) % 4 == 1); f 7012 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7013 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7014 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7023 src/xterm.c x_sync_trigger_fence (struct frame *f, XSyncValue value) f 7028 src/xterm.c if (FRAME_DISPLAY_INFO (f)->xsync_major < 3 f 7029 src/xterm.c || (FRAME_DISPLAY_INFO (f)->xsync_major == 3 f 7030 src/xterm.c && FRAME_DISPLAY_INFO (f)->xsync_minor < 1)) f 7043 src/xterm.c XSyncTriggerFence (FRAME_X_DISPLAY (f), f 7044 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[idx]); f 7050 src/xterm.c x_sync_init_fences (struct frame *f) f 7055 src/xterm.c output = FRAME_X_OUTPUT (f); f 7056 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7065 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7069 src/xterm.c FRAME_X_WINDOW (f), f 7072 src/xterm.c = XSyncCreateFence (FRAME_X_DISPLAY (f), f 7073 src/xterm.c FRAME_X_WINDOW (f), f 7076 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 7083 src/xterm.c x_sync_free_fences (struct frame *f) f 7085 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[0] != None) f 7086 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7087 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[0]); f 7089 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_fences[1] != None) f 7090 src/xterm.c XSyncDestroyFence (FRAME_X_DISPLAY (f), f 7091 src/xterm.c FRAME_X_OUTPUT (f)->sync_fences[1]); f 7100 src/xterm.c x_sync_update_finish (struct frame *f) f 7105 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) == None) f 7108 src/xterm.c value = FRAME_X_COUNTER_VALUE (f); f 7122 src/xterm.c XSyncValueAdd (&FRAME_X_COUNTER_VALUE (f), f 7126 src/xterm.c XSyncIntToValue (&FRAME_X_COUNTER_VALUE (f), 0); f 7130 src/xterm.c x_sync_trigger_fence (f, FRAME_X_COUNTER_VALUE (f)); f 7133 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7134 src/xterm.c FRAME_X_EXTENDED_COUNTER (f), f 7135 src/xterm.c FRAME_X_COUNTER_VALUE (f)); f 7137 src/xterm.c if (FRAME_OUTPUT_DATA (f)->use_vsync_p) f 7138 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = true; f 7145 src/xterm.c XEvent *message, struct frame *f) f 7149 src/xterm.c if (FRAME_OUTER_WINDOW (f) == message->xclient.window) f 7151 src/xterm.c counter = FRAME_X_COUNTER_VALUE (f); f 7160 src/xterm.c FRAME_X_WAITING_FOR_DRAW (f) = false; f 7165 src/xterm.c FRAME_X_DRAW_JUST_HUNG (f) = false; f 7168 src/xterm.c x_sync_note_frame_times (dpyinfo, f, message); f 7179 src/xterm.c x_update_begin (struct frame *f) f 7185 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7187 src/xterm.c x_sync_update_begin (f); f 7193 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7196 src/xterm.c FRAME_X_COMPLETE_P (f) = false; f 7205 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7208 src/xterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); f 7210 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), f->output_data.x->normal_gc, f 7214 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, x, y0, 1, y1 - y0, false); f 7216 src/xterm.c XDrawLine (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 7217 src/xterm.c f->output_data.x->normal_gc, x, y0, x, y1); f 7226 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7227 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); f 7229 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID); f 7231 src/xterm.c = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_LAST_PIXEL_FACE_ID); f 7232 src/xterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); f 7235 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7238 src/xterm.c : FRAME_FOREGROUND_PIXEL (f)); f 7239 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7245 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7246 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7248 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7249 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7251 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7252 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7259 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_first); f 7260 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7262 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7263 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7265 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color_last); f 7266 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7273 src/xterm.c XSetForeground (display, f->output_data.x->normal_gc, color); f 7274 src/xterm.c x_fill_rectangle (f, f->output_data.x->normal_gc, f 7286 src/xterm.c show_back_buffer (struct frame *f) f 7293 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 7298 src/xterm.c x_sync_wait_for_frame_drawn_event (f); f 7301 src/xterm.c x_sync_update_begin (f); f 7305 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 7310 src/xterm.c swap_info.swap_window = FRAME_X_WINDOW (f); f 7312 src/xterm.c XdbeSwapBuffers (FRAME_X_DISPLAY (f), &swap_info, 1); f 7316 src/xterm.c x_sync_update_finish (f); f 7320 src/xterm.c FRAME_X_NEED_BUFFER_FLIP (f) = false; f 7329 src/xterm.c x_flip_and_flush (struct frame *f) f 7337 src/xterm.c && !FRAME_TOOLTIP_P (f)) f 7342 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7343 src/xterm.c show_back_buffer (f); f 7347 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7349 src/xterm.c x_flush (f); f 7357 src/xterm.c x_update_end (struct frame *f) f 7360 src/xterm.c MOUSE_HL_INFO (f)->mouse_face_defer = false; f 7364 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f) && FRAME_CR_CONTEXT (f)) f 7365 src/xterm.c cairo_surface_flush (cairo_get_target (FRAME_CR_CONTEXT (f))); f 7374 src/xterm.c if (!FRAME_X_DOUBLE_BUFFERED_P (f)) f 7376 src/xterm.c x_sync_update_finish (f); f 7384 src/xterm.c XTframe_up_to_date (struct frame *f) f 7392 src/xterm.c eassert (FRAME_X_P (f)); f 7394 src/xterm.c FRAME_MOUSE_UPDATE (f); f 7398 src/xterm.c && FRAME_X_NEED_BUFFER_FLIP (f)) f 7399 src/xterm.c show_back_buffer (f); f 7402 src/xterm.c FRAME_X_COMPLETE_P (f) = true; f 7407 src/xterm.c if (FRAME_X_OUTPUT (f)->sync_end_pending_p f 7408 src/xterm.c && FRAME_X_BASIC_COUNTER (f) != None) f 7410 src/xterm.c XSyncSetCounter (FRAME_X_DISPLAY (f), f 7411 src/xterm.c FRAME_X_BASIC_COUNTER (f), f 7412 src/xterm.c FRAME_X_OUTPUT (f)->pending_basic_counter_value); f 7413 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = false; f 7416 src/xterm.c if (FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 7418 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 7426 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = false; f 7435 src/xterm.c XTbuffer_flipping_unblocked_hook (struct frame *f) f 7439 src/xterm.c if (FRAME_X_NEED_BUFFER_FLIP (f)) f 7440 src/xterm.c show_back_buffer (f); f 7453 src/xterm.c x_clear_under_internal_border (struct frame *f) f 7455 src/xterm.c if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0) f 7457 src/xterm.c int border = FRAME_INTERNAL_BORDER_WIDTH (f); f 7458 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 7459 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 7460 src/xterm.c int margin = FRAME_TOP_MARGIN_HEIGHT (f); f 7462 src/xterm.c (FRAME_PARENT_FRAME (f) f 7464 src/xterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 7467 src/xterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 7469 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7474 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7475 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7478 src/xterm.c x_fill_rectangle (f, gc, 0, margin, width, border, false); f 7479 src/xterm.c x_fill_rectangle (f, gc, 0, 0, border, height, false); f 7480 src/xterm.c x_fill_rectangle (f, gc, width - border, 0, border, height, false); f 7481 src/xterm.c x_fill_rectangle (f, gc, 0, height - border, width, border, false); f 7482 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7486 src/xterm.c x_clear_area (f, 0, 0, border, height); f 7487 src/xterm.c x_clear_area (f, 0, margin, width, border); f 7488 src/xterm.c x_clear_area (f, width - border, 0, border, height); f 7489 src/xterm.c x_clear_area (f, 0, height - border, width, border); f 7516 src/xterm.c struct frame *f; f 7521 src/xterm.c && (f = XFRAME (w->frame), f 7522 src/xterm.c width = FRAME_INTERNAL_BORDER_WIDTH (f), f 7529 src/xterm.c (FRAME_PARENT_FRAME (f) f 7531 src/xterm.c ? lookup_basic_face (NULL, f, CHILD_FRAME_BORDER_FACE_ID) f 7534 src/xterm.c ? lookup_basic_face (NULL, f, INTERNAL_BORDER_FACE_ID) f 7536 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); f 7541 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7542 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7545 src/xterm.c x_fill_rectangle (f, gc, 0, y, width, height, true); f 7546 src/xterm.c x_fill_rectangle (f, gc, FRAME_PIXEL_WIDTH (f) - width, y, f 7548 src/xterm.c XSetForeground (display, gc, FRAME_FOREGROUND_PIXEL (f)); f 7552 src/xterm.c x_clear_area (f, 0, y, width, height); f 7553 src/xterm.c x_clear_area (f, FRAME_PIXEL_WIDTH (f) - width, y, width, height); f 7564 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 7565 src/xterm.c Display *display = FRAME_X_DISPLAY (f); f 7566 src/xterm.c GC gc = f->output_data.x->normal_gc; f 7581 src/xterm.c x_fill_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7590 src/xterm.c x_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, f 7606 src/xterm.c : f->output_data.x->cursor_pixel) f 7617 src/xterm.c gui_define_fringe_bitmap (f, p->which); f 7619 src/xterm.c x_cr_draw_image (f, gc, fringe_bmp[p->which], 0, p->dh, f 7627 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 7630 src/xterm.c int depth = FRAME_DISPLAY_INFO (f)->n_planes; f 7646 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 7647 src/xterm.c && f->alpha_background < 1.0) f 7650 src/xterm.c x_query_colors (f, &bg, 1); f 7651 src/xterm.c bg.red *= f->alpha_background; f 7652 src/xterm.c bg.green *= f->alpha_background; f 7653 src/xterm.c bg.blue *= f->alpha_background; f 7655 src/xterm.c background = x_make_truecolor_pixel (FRAME_DISPLAY_INFO (f), f 7657 src/xterm.c background &= ~FRAME_DISPLAY_INFO (f)->alpha_mask; f 7658 src/xterm.c background |= (((unsigned long) (f->alpha_background * 0xffff) f 7659 src/xterm.c >> (16 - FRAME_DISPLAY_INFO (f)->alpha_bits)) f 7660 src/xterm.c << FRAME_DISPLAY_INFO (f)->alpha_offset); f 7668 src/xterm.c : f->output_data.x->cursor_pixel) f 7673 src/xterm.c if (FRAME_X_PICTURE_FORMAT (f) f 7674 src/xterm.c && (x_xr_ensure_picture (f), FRAME_X_PICTURE (f))) f 7676 src/xterm.c FRAME_X_PICTURE_FORMAT (f), f 7683 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 7694 src/xterm.c XRenderChangePicture (display, FRAME_X_PICTURE (f), f 7711 src/xterm.c x_xr_apply_ext_clip (f, gc); f 7713 src/xterm.c None, FRAME_X_PICTURE (f), f 7715 src/xterm.c x_xr_reset_ext_clip (f); f 7734 src/xterm.c x_reset_clip_rectangles (f, gc); f 7867 src/xterm.c x_set_gtk_user_time (struct frame *f, Time time) f 7872 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 7912 src/xterm.c x_update_frame_user_time_window (struct frame *f) f 7917 src/xterm.c output = FRAME_X_OUTPUT (f); f 7918 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 7921 src/xterm.c || !x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time)) f 7924 src/xterm.c && output->user_time_window != FRAME_OUTER_WINDOW (f)) f 7927 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7931 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7938 src/xterm.c if (!x_wm_supports (f, dpyinfo->Xatom_net_wm_user_time_window)) f 7941 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 7942 src/xterm.c else if (output->user_time_window != FRAME_OUTER_WINDOW (f)) f 7947 src/xterm.c FRAME_OUTER_WINDOW (f), f 7949 src/xterm.c output->user_time_window = FRAME_OUTER_WINDOW (f); f 7954 src/xterm.c if (output->user_time_window == FRAME_OUTER_WINDOW (f) f 7966 src/xterm.c = x_create_special_window (dpyinfo, FRAME_X_WINDOW (f)); f 7968 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7970 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 7994 src/xterm.c if (s->font == FRAME_FONT (s->f) f 7995 src/xterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) f 7996 src/xterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) f 7998 src/xterm.c s->gc = s->f->output_data.x->cursor_gc; f 8004 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8006 src/xterm.c xgcv.background = s->f->output_data.x->cursor_pixel; f 8013 src/xterm.c xgcv.foreground = s->f->output_data.x->cursor_foreground_pixel; f 8025 src/xterm.c IF_DEBUG (x_check_font (s->f, s->font)); f 8032 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8033 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8036 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8037 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8039 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8057 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8068 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc) f 8069 src/xterm.c XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc, f 8072 src/xterm.c FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc f 8073 src/xterm.c = XCreateGC (display, FRAME_X_DRAWABLE (s->f), mask, &xgcv); f 8075 src/xterm.c s->gc = FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc; f 8100 src/xterm.c prepare_face_for_display (s->f, s->face); f 8146 src/xterm.c x_set_clip_rectangles (s->f, s->gc, r, n); f 8166 src/xterm.c x_set_clip_rectangles (dst->f, dst->gc, &r, 1); f 8210 src/xterm.c x_clear_rectangle (s->f, s->gc, x, y, w, h, s->hl != DRAW_CURSOR); f 8216 src/xterm.c x_clear_point (struct frame *f, GC gc, int x, int y, f 8222 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 8224 src/xterm.c if (f->alpha_background != 1.0 f 8227 src/xterm.c x_clear_rectangle (f, gc, x, y, 1, 1, true); f 8233 src/xterm.c XDrawPoint (dpy, FRAME_X_DRAWABLE (f), gc, x, y); f 8256 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8260 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8309 src/xterm.c x_draw_rectangle (s->f, f 8320 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8327 src/xterm.c boff = VCENTER_BASELINE_OFFSET (font, s->f) - boff; f 8339 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8352 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 8356 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, f 8371 src/xterm.c x_draw_rectangle (s->f, f 8407 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8413 src/xterm.c || x_try_cr_xlib_drawable (s->f, s->gc)) f 8477 src/xterm.c x_end_cr_xlib_drawable (s->f, s->gc); f 8484 src/xterm.c x_draw_rectangle (s->f, s->gc, x, s->y, f 8564 src/xterm.c x_draw_rectangle (s->f, s->gc, f 8588 src/xterm.c struct frame *f; f 8603 src/xterm.c f = XFRAME (frame); f 8604 src/xterm.c if (FRAME_X_P (f) f 8605 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 8606 src/xterm.c && f->output_data.x->widget == widget) f 8607 src/xterm.c return f; f 8623 src/xterm.c struct frame *f = x_frame_of_widget (widget); f 8624 src/xterm.c return x_alloc_lighter_color (f, display, cmap, pixel, factor, delta); f 8812 src/xterm.c x_query_colors (struct frame *f, XColor *colors, int ncolors) f 8814 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 8873 src/xterm.c XQueryColors (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), colors, ncolors); f 8879 src/xterm.c x_query_frame_background_color (struct frame *f, XColor *bgcolor) f 8881 src/xterm.c unsigned long background = FRAME_BACKGROUND_PIXEL (f); f 8886 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits) f 8889 src/xterm.c background = (background & ~FRAME_DISPLAY_INFO (f)->alpha_mask); f 8890 src/xterm.c background |= (((unsigned long) (f->alpha_background * 0xffff) f 8891 src/xterm.c >> (16 - FRAME_DISPLAY_INFO (f)->alpha_bits)) f 8892 src/xterm.c << FRAME_DISPLAY_INFO (f)->alpha_offset); f 8894 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 8895 src/xterm.c && f->alpha_background < 1.0) f 8898 src/xterm.c x_query_colors (f, &bg, 1); f 8899 src/xterm.c bg.red *= f->alpha_background; f 8900 src/xterm.c bg.green *= f->alpha_background; f 8901 src/xterm.c bg.blue *= f->alpha_background; f 8903 src/xterm.c background = x_make_truecolor_pixel (FRAME_DISPLAY_INFO (f), f 8905 src/xterm.c background &= ~FRAME_DISPLAY_INFO (f)->alpha_mask; f 8906 src/xterm.c background |= (((unsigned long) (f->alpha_background * 0xffff) f 8907 src/xterm.c >> (16 - FRAME_DISPLAY_INFO (f)->alpha_bits)) f 8908 src/xterm.c << FRAME_DISPLAY_INFO (f)->alpha_offset); f 8915 src/xterm.c x_query_colors (f, bgcolor, 1); f 8940 src/xterm.c x_parse_color (struct frame *f, const char *color_name, f 8970 src/xterm.c cmap = FRAME_X_COLORMAP (f); f 8971 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 8972 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 9205 src/xterm.c x_alloc_nearest_color (struct frame *f, Colormap cmap, XColor *color) f 9207 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9209 src/xterm.c gamma_correct (f, color); f 9220 src/xterm.c return x_alloc_nearest_color_1 (FRAME_X_DISPLAY (f), cmap, color); f 9229 src/xterm.c x_copy_color (struct frame *f, unsigned long pixel) f 9237 src/xterm.c if (!x_mutable_colormap (FRAME_X_VISUAL_INFO (f))) f 9243 src/xterm.c x_query_colors (f, &color, 1); f 9244 src/xterm.c XAllocColor (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), &color); f 9275 src/xterm.c x_alloc_lighter_color (struct frame *f, Display *display, Colormap cmap, f 9284 src/xterm.c x_query_colors (f, &color, 1); f 9321 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9328 src/xterm.c x_free_colors (f, &new.pixel, 1); f 9333 src/xterm.c success_p = x_alloc_nearest_color (f, cmap, &new); f 9352 src/xterm.c x_setup_relief_color (struct frame *f, struct relief *relief, double factor, f 9356 src/xterm.c struct x_output *di = f->output_data.x; f 9360 src/xterm.c Colormap cmap = FRAME_X_COLORMAP (f); f 9361 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 9362 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 9372 src/xterm.c x_free_colors (f, &relief->pixel, 1); f 9380 src/xterm.c && x_alloc_lighter_color (f, dpy, cmap, &pixel, factor, delta)) f 9387 src/xterm.c relief->gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), mask, &xgcv); f 9399 src/xterm.c struct x_output *di = s->f->output_data.x; f 9406 src/xterm.c && !IMAGE_BACKGROUND_TRANSPARENT (s->img, s->f, 0)) f 9407 src/xterm.c color = IMAGE_BACKGROUND (s->img, s->f, 0); f 9413 src/xterm.c XGetGCValues (FRAME_X_DISPLAY (s->f), s->gc, GCBackground, &xgcv); f 9421 src/xterm.c x_setup_relief_color (s->f, &di->white_relief, 1.2, 0x8000, f 9422 src/xterm.c WHITE_PIX_DEFAULT (s->f)); f 9423 src/xterm.c x_setup_relief_color (s->f, &di->black_relief, 0.6, 0x4000, f 9424 src/xterm.c BLACK_PIX_DEFAULT (s->f)); f 9430 src/xterm.c x_fill_triangle (struct frame *f, GC gc, XPoint point1, f 9439 src/xterm.c XFillPolygon (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), f 9481 src/xterm.c x_draw_relief_rect (struct frame *f, int left_x, int top_y, int right_x, f 9492 src/xterm.c top_left_gc = f->output_data.x->white_relief.gc; f 9493 src/xterm.c bottom_right_gc = f->output_data.x->black_relief.gc; f 9497 src/xterm.c top_left_gc = f->output_data.x->black_relief.gc; f 9498 src/xterm.c bottom_right_gc = f->output_data.x->white_relief.gc; f 9501 src/xterm.c x_set_clip_rectangles (f, top_left_gc, clip_rect, 1); f 9502 src/xterm.c x_set_clip_rectangles (f, bottom_right_gc, clip_rect, 1); f 9506 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9515 src/xterm.c x_fill_rectangle (f, bottom_right_gc, right_x + 1 - vwidth, top_y, f 9525 src/xterm.c x_fill_rectangle (f, top_left_gc, left_x, top_y, f 9528 src/xterm.c x_fill_trapezoid_for_relief (f, top_left_gc, left_x, top_y, f 9534 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, bottom_y + 1 - hwidth, f 9537 src/xterm.c x_fill_trapezoid_for_relief (f, bottom_right_gc, f 9542 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9545 src/xterm.c x_fill_rectangle (f, bottom_right_gc, left_x, top_y, f 9549 src/xterm.c XSetBackground (FRAME_X_DISPLAY (f), top_left_gc, f 9550 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 9551 src/xterm.c x_erase_corners_for_relief (f, top_left_gc, left_x, top_y, f 9556 src/xterm.c x_reset_clip_rectangles (f, top_left_gc); f 9557 src/xterm.c x_reset_clip_rectangles (f, bottom_right_gc); f 9568 src/xterm.c white_gc = f->output_data.x->white_relief.gc; f 9569 src/xterm.c black_gc = f->output_data.x->black_relief.gc; f 9570 src/xterm.c normal_gc = f->output_data.x->normal_gc; f 9572 src/xterm.c drawable = FRAME_X_DRAWABLE (f); f 9573 src/xterm.c dpy = FRAME_X_DISPLAY (f); f 9575 src/xterm.c x_set_clip_rectangles (f, white_gc, clip_rect, 1); f 9576 src/xterm.c x_set_clip_rectangles (f, black_gc, clip_rect, 1); f 9586 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, f 9591 src/xterm.c x_fill_rectangle (f, gc, left_x, top_y, vwidth, f 9600 src/xterm.c x_fill_rectangle (f, gc, left_x, bottom_y - hwidth + 1, f 9604 src/xterm.c x_fill_rectangle (f, gc, right_x - vwidth + 1, top_y, f 9610 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9616 src/xterm.c x_fill_triangle (f, raised_p ? white_gc : black_gc, f 9625 src/xterm.c x_draw_rectangle (f, black_gc, left_x, top_y, f 9654 src/xterm.c x_clear_point (f, normal_gc, left_x, top_y, true); f 9658 src/xterm.c x_clear_point (f, normal_gc, left_x, bottom_y, true); f 9662 src/xterm.c x_clear_point (f, normal_gc, right_x, top_y, true); f 9666 src/xterm.c x_clear_point (f, normal_gc, right_x, bottom_y, true); f 9669 src/xterm.c x_reset_clip_rectangles (f, white_gc); f 9670 src/xterm.c x_reset_clip_rectangles (f, black_gc); f 9687 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 9692 src/xterm.c x_set_clip_rectangles (s->f, s->gc, clip_rect, 1); f 9695 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9701 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9706 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9712 src/xterm.c x_fill_rectangle (s->f, s->gc, f 9717 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 9783 src/xterm.c x_draw_relief_rect (s->f, left_x, top_y, right_x, bottom_y, hwidth, f 9806 src/xterm.c display = FRAME_X_DISPLAY (s->f); f 9809 src/xterm.c if (s->img->picture && FRAME_X_PICTURE_FORMAT (s->f)) f 9815 src/xterm.c default_format = FRAME_X_PICTURE_FORMAT (s->f); f 9873 src/xterm.c x_cr_draw_image (s->f, s->gc, s->img->cr_data, f 9887 src/xterm.c x_draw_rectangle (s->f, s->gc, x - relief, y - relief, f 9913 src/xterm.c XChangeGC (FRAME_X_DISPLAY (s->f), s->gc, mask, &xgcv); f 9921 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 9923 src/xterm.c FRAME_X_PICTURE (s->f), f 9938 src/xterm.c x_composite_image (s, FRAME_X_DRAWABLE (s->f), f 9940 src/xterm.c FRAME_X_PICTURE (s->f), f 9955 src/xterm.c x_draw_rectangle (s->f, s->gc, f 9965 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10058 src/xterm.c x_draw_relief_rect (s->f, x, y, x1, y1, thick, thick, raised_p, f 10088 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10131 src/xterm.c x_draw_rectangle (s->f, s->gc, x - r, y - r, f 10139 src/xterm.c x_draw_rectangle (s->f, s->gc, x, y, f 10153 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10157 src/xterm.c x_fill_rectangle (s->f, s->gc, x, y, w, h, true); f 10186 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10216 src/xterm.c int depth = FRAME_DISPLAY_INFO (s->f)->n_planes; f 10219 src/xterm.c pixmap = XCreatePixmap (display, FRAME_X_DRAWABLE (s->f), f 10242 src/xterm.c if (FRAME_DISPLAY_INFO (s->f)->alpha_bits f 10243 src/xterm.c && s->f->alpha_background != 1.0 f 10244 src/xterm.c && FRAME_CHECK_XR_VERSION (s->f, 0, 2) f 10245 src/xterm.c && FRAME_X_PICTURE_FORMAT (s->f)) f 10253 src/xterm.c FRAME_X_PICTURE_FORMAT (s->f), f 10255 src/xterm.c x_xrender_color_from_gc_background (s->f, s->gc, &xc, true); f 10256 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (s->f), PictOpSrc, pict, f 10301 src/xterm.c XCopyArea (display, pixmap, FRAME_X_DRAWABLE (s->f), s->gc, f 10352 src/xterm.c width = min (FRAME_COLUMN_WIDTH (s->f), background_width); f 10364 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10382 src/xterm.c x_set_clip_rectangles (s->f, gc, &r, 1); f 10388 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10398 src/xterm.c x_fill_rectangle (s->f, gc, x, y, w, h, true); f 10402 src/xterm.c x_reset_clip_rectangles (s->f, gc); f 10460 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10470 src/xterm.c x_draw_horizontal_wave (s->f, s->gc, s->x, s->ybase - wave_height + 3, f 10516 src/xterm.c XDrawLine (display, FRAME_X_DRAWABLE (s->f), s->gc, x1, y1, x2, y2); f 10659 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10752 src/xterm.c x_fill_rectangle (s->f, s->gc, f 10757 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10761 src/xterm.c x_fill_rectangle (s->f, s->gc, f 10774 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 10778 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10782 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, s->y + dy, f 10804 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 10808 src/xterm.c Display *display = FRAME_X_DISPLAY (s->f); f 10812 src/xterm.c x_fill_rectangle (s->f, s->gc, s->x, glyph_y + dy, f 10837 src/xterm.c x_reset_clip_rectangles (prev->f, prev->gc); f 10862 src/xterm.c x_reset_clip_rectangles (next->f, next->gc); f 10871 src/xterm.c x_reset_clip_rectangles (s->f, s->gc); f 10886 src/xterm.c x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) f 10891 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 10892 src/xterm.c f->output_data.x->normal_gc, f 10901 src/xterm.c x_delete_glyphs (struct frame *f, int n) f 10921 src/xterm.c x_clear_area (struct frame *f, int x, int y, int width, int height) f 10928 src/xterm.c cr = x_begin_cr_clip (f, NULL); f 10929 src/xterm.c x_set_cr_source_with_gc_background (f, f->output_data.x->normal_gc, f 10933 src/xterm.c x_end_cr_clip (f); f 10936 src/xterm.c if (f->alpha_background != 1.0 f 10938 src/xterm.c || FRAME_X_DOUBLE_BUFFERED_P (f) f 10945 src/xterm.c x_xr_ensure_picture (f); f 10946 src/xterm.c if (FRAME_DISPLAY_INFO (f)->alpha_bits f 10947 src/xterm.c && FRAME_X_PICTURE (f) != None f 10948 src/xterm.c && f->alpha_background != 1.0 f 10949 src/xterm.c && FRAME_CHECK_XR_VERSION (f, 0, 2)) f 10952 src/xterm.c GC gc = f->output_data.x->normal_gc; f 10954 src/xterm.c x_xr_apply_ext_clip (f, gc); f 10955 src/xterm.c x_xrender_color_from_gc_background (f, gc, &xc, true); f 10956 src/xterm.c XRenderFillRectangle (FRAME_X_DISPLAY (f), f 10957 src/xterm.c PictOpSrc, FRAME_X_PICTURE (f), f 10959 src/xterm.c x_xr_reset_ext_clip (f); f 10960 src/xterm.c x_mark_frame_dirty (f); f 10964 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), f 10965 src/xterm.c FRAME_X_DRAWABLE (f), f 10966 src/xterm.c f->output_data.x->reverse_gc, f 10971 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 10981 src/xterm.c x_clear_frame (struct frame *f) f 10985 src/xterm.c mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); f 10988 src/xterm.c font_drop_xrender_surfaces (f); f 10989 src/xterm.c x_clear_window (f); f 10993 src/xterm.c x_scroll_bar_clear (f); f 11001 src/xterm.c x_show_hourglass (struct frame *f) f 11003 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11007 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11021 src/xterm.c if (FRAME_OUTER_WINDOW (f)) f 11032 src/xterm.c Window parent = FRAME_X_WINDOW (f); f 11034 src/xterm.c Window parent = FRAME_OUTER_WINDOW (f); f 11044 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_X_WINDOW (f); f 11046 src/xterm.c xcb_window_t parent = (xcb_window_t) FRAME_OUTER_WINDOW (f); f 11049 src/xterm.c = (Window) xcb_generate_id (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11051 src/xterm.c xcb_create_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11054 src/xterm.c parent, 0, 0, FRAME_PIXEL_WIDTH (f), f 11055 src/xterm.c FRAME_PIXEL_HEIGHT (f), 0, f 11065 src/xterm.c flush_frame (f); f 11069 src/xterm.c xcb_configure_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11072 src/xterm.c xcb_map_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11074 src/xterm.c xcb_flush (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11083 src/xterm.c x_hide_hourglass (struct frame *f) f 11085 src/xterm.c struct x_output *x = FRAME_X_OUTPUT (f); f 11091 src/xterm.c XUnmapWindow (FRAME_X_DISPLAY (f), x->hourglass_window); f 11094 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 11096 src/xterm.c xcb_unmap_window (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11098 src/xterm.c xcb_aux_sync (FRAME_DISPLAY_INFO (f)->xcb_connection); f 11107 src/xterm.c XTflash (struct frame *f) f 11116 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11119 src/xterm.c values.foreground = (FRAME_FOREGROUND_PIXEL (f) f 11120 src/xterm.c ^ FRAME_BACKGROUND_PIXEL (f)); f 11122 src/xterm.c gc = XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11126 src/xterm.c gc = FRAME_X_OUTPUT (f)->normal_gc; f 11130 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 11132 src/xterm.c int flash_height = FRAME_LINE_HEIGHT (f); f 11134 src/xterm.c int flash_left = FRAME_INTERNAL_BORDER_WIDTH (f); f 11135 src/xterm.c int flash_right = FRAME_PIXEL_WIDTH (f) - FRAME_INTERNAL_BORDER_WIDTH (f); f 11139 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11141 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11143 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11144 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11146 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11149 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)), f 11155 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11156 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11157 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11159 src/xterm.c x_flush (f); f 11163 src/xterm.c fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 11193 src/xterm.c if (height > 3 * FRAME_LINE_HEIGHT (f)) f 11195 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11197 src/xterm.c (FRAME_INTERNAL_BORDER_WIDTH (f) f 11198 src/xterm.c + FRAME_TOP_MARGIN_HEIGHT (f)), f 11200 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11203 src/xterm.c - FRAME_INTERNAL_BORDER_WIDTH (f)), f 11208 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc, f 11209 src/xterm.c flash_left, FRAME_INTERNAL_BORDER_WIDTH (f), f 11210 src/xterm.c width, height - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); f 11212 src/xterm.c if (FRAME_X_VISUAL_INFO (f)->class == TrueColor) f 11213 src/xterm.c XFreeGC (FRAME_X_DISPLAY (f), gc); f 11214 src/xterm.c x_flush (f); f 11222 src/xterm.c XTring_bell (struct frame *f) f 11224 src/xterm.c if (FRAME_X_DISPLAY (f)) f 11227 src/xterm.c XTflash (f); f 11232 src/xterm.c XkbBell (FRAME_X_DISPLAY (f), None, 0, None); f 11234 src/xterm.c XBell (FRAME_X_DISPLAY (f), 0); f 11236 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 11250 src/xterm.c x_ins_del_lines (struct frame *f, int vpos, int n) f 11261 src/xterm.c struct frame *f = XFRAME (w->frame); f 11299 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 11300 src/xterm.c Window window = FRAME_X_WINDOW (f); f 11393 src/xterm.c XFlushGC (FRAME_X_DISPLAY (f), f 11394 src/xterm.c f->output_data.x->normal_gc); f 11398 src/xterm.c if (FRAME_CR_CONTEXT (f)) f 11400 src/xterm.c cairo_surface_t *surface = cairo_get_target (FRAME_CR_CONTEXT (f)); f 11404 src/xterm.c == FRAME_X_DISPLAY (f)); f 11406 src/xterm.c == FRAME_X_RAW_DRAWABLE (f)); f 11408 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11409 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11410 src/xterm.c f->output_data.x->normal_gc, f 11420 src/xterm.c xcb_copy_area (FRAME_DISPLAY_INFO (f)->xcb_connection, f 11421 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11422 src/xterm.c (xcb_drawable_t) FRAME_X_DRAWABLE (f), f 11423 src/xterm.c (xcb_gcontext_t) XGContextFromGC (f->output_data.x->normal_gc), f 11439 src/xterm.c cr = FRAME_CR_CONTEXT (f); f 11451 src/xterm.c XCopyArea (FRAME_X_DISPLAY (f), f 11452 src/xterm.c FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), f 11453 src/xterm.c f->output_data.x->normal_gc, f 11469 src/xterm.c x_frame_highlight (struct frame *f) f 11473 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11485 src/xterm.c XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11486 src/xterm.c f->output_data.x->border_pixel); f 11489 src/xterm.c gui_update_cursor (f, true); f 11490 src/xterm.c x_set_frame_alpha (f); f 11494 src/xterm.c x_frame_unhighlight (struct frame *f) f 11498 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11508 src/xterm.c XSetWindowBorderPixmap (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 11509 src/xterm.c f->output_data.x->border_tile); f 11513 src/xterm.c gui_update_cursor (f, true); f 11514 src/xterm.c x_set_frame_alpha (f); f 11589 src/xterm.c xfixes_toggle_visible_pointer (struct frame *f, bool invisible) f 11593 src/xterm.c XFixesHideCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11595 src/xterm.c XFixesShowCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 11596 src/xterm.c f->pointer_invisible = invisible; f 11634 src/xterm.c x_toggle_visible_pointer (struct frame *f, bool invisible) f 11638 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 11656 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11666 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11669 src/xterm.c XDefineCursor (dpyinfo->display, FRAME_X_WINDOW (f), f 11670 src/xterm.c f->output_data.x->current_cursor); f 11672 src/xterm.c f->pointer_invisible = invisible; f 11676 src/xterm.c XTtoggle_invisible_pointer (struct frame *f, bool invisible) f 11680 src/xterm.c if (FRAME_DISPLAY_INFO (f)->fixes_pointer_blanking f 11681 src/xterm.c && x_fixes_pointer_blanking_supported (FRAME_DISPLAY_INFO (f))) f 11682 src/xterm.c xfixes_toggle_visible_pointer (f, invisible); f 11685 src/xterm.c x_toggle_visible_pointer (f, invisible); f 11769 src/xterm.c struct frame *f; f 11783 src/xterm.c f = XFRAME (frame); f 11784 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 11786 src/xterm.c if (f->output_data.x->hourglass_window == wdesc) f 11787 src/xterm.c return f; f 11789 src/xterm.c if ((f->output_data.x->edit_widget f 11790 src/xterm.c && XtWindow (f->output_data.x->edit_widget) == wdesc) f 11792 src/xterm.c || (!f->output_data.x->edit_widget f 11793 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 11794 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 11795 src/xterm.c return f; f 11798 src/xterm.c if (f->output_data.x->edit_widget) f 11801 src/xterm.c struct x_output *x = f->output_data.x; f 11803 src/xterm.c return f; f 11806 src/xterm.c if (FRAME_X_WINDOW (f) == wdesc f 11807 src/xterm.c || f->output_data.x->icon_desc == wdesc) f 11808 src/xterm.c return f; f 11823 src/xterm.c struct frame *f; f 11834 src/xterm.c f = XFRAME (frame); f 11836 src/xterm.c if (FRAME_X_P (f) && FRAME_TOOLTIP_P (f) f 11837 src/xterm.c && FRAME_DISPLAY_INFO (f) == dpyinfo f 11838 src/xterm.c && FRAME_X_WINDOW (f) == wdesc) f 11839 src/xterm.c return f; f 11842 src/xterm.c if (!FRAME_X_P (f)) f 11845 src/xterm.c if (FRAME_X_OUTPUT (f)->ttip_window) f 11846 src/xterm.c widget = GTK_WIDGET (FRAME_X_OUTPUT (f)->ttip_window); f 11887 src/xterm.c struct frame *f, *found = NULL; f 11904 src/xterm.c f = XFRAME (frame); f 11905 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 11908 src/xterm.c x = f->output_data.x; f 11910 src/xterm.c found = f; f 11917 src/xterm.c found = f; f 11922 src/xterm.c found = f; f 11925 src/xterm.c found = f; f 11928 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 11930 src/xterm.c found = f; f 11954 src/xterm.c struct frame *f; f 11962 src/xterm.c f = XFRAME (frame); f 11963 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 11965 src/xterm.c x = f->output_data.x; f 11967 src/xterm.c if (x->menubar_widget && xg_event_is_for_menubar (f, event)) f 11968 src/xterm.c return f; f 11973 src/xterm.c return f; f 11986 src/xterm.c struct frame *f; f 11994 src/xterm.c f = XFRAME (frame); f 11995 src/xterm.c if (!FRAME_X_P (f) || FRAME_DISPLAY_INFO (f) != dpyinfo) f 11997 src/xterm.c x = f->output_data.x; f 12005 src/xterm.c return f; f 12008 src/xterm.c return f; f 12011 src/xterm.c else if (FRAME_X_WINDOW (f) == wdesc) f 12013 src/xterm.c return f; f 12133 src/xterm.c struct frame *f; f 12140 src/xterm.c f = XFRAME (frame); f 12142 src/xterm.c if (!FRAME_LIVE_P (f) || !FRAME_DISPLAY_INFO (f)->display) f 12146 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12147 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList); f 12148 src/xterm.c XDeleteProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12149 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12156 src/xterm.c struct frame *f; f 12158 src/xterm.c f = XFRAME (XCDR (timestamp_and_frame)); f 12160 src/xterm.c if (FRAME_LIVE_P (f)) f 12170 src/xterm.c x_dnd_process_quit (struct frame *f, Time timestamp) f 12178 src/xterm.c x_dnd_send_leave (f, x_dnd_last_seen_window, f 12190 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12197 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 12199 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 12202 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 12237 src/xterm.c x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction, f 12274 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 12277 src/xterm.c XSETFRAME (frame, f); f 12279 src/xterm.c FRAME_TERMINAL (f)->Vselection_alist); f 12298 src/xterm.c ltimestamp = x_timestamp_for_selection (FRAME_DISPLAY_INFO (f), f 12318 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), xaction); f 12325 src/xterm.c = xm_operations_from_actions (FRAME_DISPLAY_INFO (f), f 12329 src/xterm.c = xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 12363 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 12364 src/xterm.c XSetTextProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12365 src/xterm.c &prop, FRAME_DISPLAY_INFO (f)->Xatom_XdndActionDescription); f 12367 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 12368 src/xterm.c FRAME_DISPLAY_INFO (f)->Xatom_XdndActionList, XA_ATOM, 32, f 12371 src/xterm.c x_check_errors (FRAME_X_DISPLAY (f), f 12385 src/xterm.c = FRAME_DISPLAY_INFO (f)->last_monitor_attributes_list; f 12419 src/xterm.c x_dnd_frame = f; f 12439 src/xterm.c = x_wm_supports (f, FRAME_DISPLAY_INFO (f)->Xatom_net_client_list_stacking); f 12450 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 12455 src/xterm.c if (FRAME_DISPLAY_INFO (f)->client_pointer_device != -1) f 12457 src/xterm.c = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 12460 src/xterm.c XIGetClientPointer (FRAME_X_DISPLAY (f), None, f 12465 src/xterm.c device = xi_device_from_id (FRAME_DISPLAY_INFO (f), f 12482 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xkb) f 12484 src/xterm.c XkbSelectEvents (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12486 src/xterm.c XkbGetState (FRAME_X_DISPLAY (f), XkbUseCoreKbd, f 12496 src/xterm.c if (x_dnd_compute_toplevels (FRAME_DISPLAY_INFO (f))) f 12515 src/xterm.c XGetWindowAttributes (FRAME_X_DISPLAY (f), f 12516 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12524 src/xterm.c XSelectInput (FRAME_X_DISPLAY (f), f 12525 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 12530 src/xterm.c x_dnd_update_state (FRAME_DISPLAY_INFO (f), CurrentTime); f 12589 src/xterm.c x_clean_failable_requests (FRAME_DISPLAY_INFO (f)); f 12601 src/xterm.c if (event_display == FRAME_DISPLAY_INFO (f)) f 12608 src/xterm.c == FRAME_X_DISPLAY (f)) f 12633 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12667 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12685 src/xterm.c x_dnd_process_quit (f, hold_quit.timestamp); f 12690 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12707 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12718 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 12722 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12734 src/xterm.c record_unwind_protect_ptr (x_dnd_cleanup_drag_and_drop, f); f 12749 src/xterm.c x_dnd_do_unsupported_drop (FRAME_DISPLAY_INFO (f), f 12775 src/xterm.c x_dnd_process_quit (f, FRAME_DISPLAY_INFO (f)->last_user_time); f 12776 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12802 src/xterm.c x_restore_events_after_dnd (f, &root_window_attrs); f 12822 src/xterm.c FRAME_DISPLAY_INFO (f)->grabbed = 0; f 12830 src/xterm.c x_catch_errors (FRAME_X_DISPLAY (f)); f 12831 src/xterm.c atom_name = x_get_atom_name (FRAME_DISPLAY_INFO (f), f 13071 src/xterm.c struct frame *f) f 13080 src/xterm.c if (device->focus_frame == f) f 13083 src/xterm.c if (device->focus_implicit_frame == f) f 13094 src/xterm.c struct frame *f, struct xi_device_t *device, f 13108 src/xterm.c if (device->focus_frame == f) f 13114 src/xterm.c if (device->focus_implicit_frame == f) f 13121 src/xterm.c if (change && f != dpyinfo->x_focus_frame) f 13851 src/xterm.c x_compute_root_window_offset (struct frame *f, int root_x, int root_y, f 13854 src/xterm.c FRAME_X_OUTPUT (f)->window_offset_certain_p = true; f 13855 src/xterm.c FRAME_X_OUTPUT (f)->root_x = root_x - event_x; f 13856 src/xterm.c FRAME_X_OUTPUT (f)->root_y = root_y - event_y; f 13866 src/xterm.c x_translate_coordinates (struct frame *f, int root_x, int root_y, f 13872 src/xterm.c output = FRAME_X_OUTPUT (f); f 13885 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), f 13886 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 13887 src/xterm.c FRAME_X_WINDOW (f), root_x, root_y, f 13906 src/xterm.c x_translate_coordinates_to_root (struct frame *f, int x, int y, f 13912 src/xterm.c output = FRAME_X_OUTPUT (f); f 13925 src/xterm.c if (!XTranslateCoordinates (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 13926 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 13943 src/xterm.c x_handle_translate_coordinates (struct frame *f, Lisp_Object dest_window, f 13952 src/xterm.c if (!FRAME_X_OUTPUT (f)->window_offset_certain_p) f 13955 src/xterm.c return list3 (make_fixnum (source_x + FRAME_X_OUTPUT (f)->root_x), f 13956 src/xterm.c make_fixnum (source_y + FRAME_X_OUTPUT (f)->root_y), f 13968 src/xterm.c xi_compute_root_window_offset (struct frame *f, XIDeviceEvent *xev) f 13972 src/xterm.c x_compute_root_window_offset (f, xev->root_x, xev->root_y, f 13977 src/xterm.c xi_compute_root_window_offset_enter (struct frame *f, XIEnterEvent *enter) f 13979 src/xterm.c x_compute_root_window_offset (f, enter->root_x, enter->root_y, f 13986 src/xterm.c xi_compute_root_window_offset_pinch (struct frame *f, XIGesturePinchEvent *pev) f 13990 src/xterm.c x_compute_root_window_offset (f, pev->root_x, pev->root_y, f 14134 src/xterm.c struct frame *f) f 14144 src/xterm.c result->modifiers = (x_x_to_emacs_modifiers (FRAME_DISPLAY_INFO (f), f 14153 src/xterm.c if (event->window != FRAME_X_WINDOW (f)) f 14154 src/xterm.c x_translate_coordinates (f, event->x_root, event->y_root, f 14159 src/xterm.c XSETFRAME (result->frame_or_window, f); f 14592 src/xterm.c struct frame *f = x_window_to_frame (dpyinfo, win); f 14594 src/xterm.c if (f && FRAME_PARENT_FRAME (f)) f 15038 src/xterm.c struct frame *f = XFRAME (w->frame); f 15045 src/xterm.c if (!x_protect_window_for_callback (FRAME_DISPLAY_INFO (f), window)) f 15052 src/xterm.c ? FRAME_DISPLAY_INFO (f)->Xatom_Horizontal_Scrollbar f 15053 src/xterm.c : FRAME_DISPLAY_INFO (f)->Xatom_Scrollbar); f 15054 src/xterm.c ev->display = FRAME_X_DISPLAY (f); f 15055 src/xterm.c ev->window = FRAME_X_WINDOW (f); f 15080 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), False, f 15259 src/xterm.c struct frame *f; f 15270 src/xterm.c f = g_object_get_data (G_OBJECT (range), XG_FRAME_DATA); f 15272 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 15282 src/xterm.c if (FRAME_DISPLAY_INFO (f)->grabbed != 0 f 15283 src/xterm.c && FRAME_DISPLAY_INFO (f)->grabbed < (1 << 4)) f 15502 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15507 src/xterm.c xg_create_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15514 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15519 src/xterm.c xg_create_horizontal_scroll_bar (f, bar, G_CALLBACK (xg_scroll_callback), f 15528 src/xterm.c x_create_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15551 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15558 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15565 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 15590 src/xterm.c f->output_data.x->nontext_cursor); f 15595 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 15596 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 15610 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15617 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15627 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 15629 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15632 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15633 src/xterm.c FRAME_X_COLORMAP (f), f 15636 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 15639 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15641 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15644 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15645 src/xterm.c FRAME_X_COLORMAP (f), f 15648 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 15654 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 15655 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15662 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 15676 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 15682 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 15692 src/xterm.c f->output_data.x->edit_widget, av, ac); f 15736 src/xterm.c x_create_horizontal_toolkit_scroll_bar (struct frame *f, struct scroll_bar *bar) f 15759 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15766 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15773 src/xterm.c widget = XmCreateScrollBar (f->output_data.x->edit_widget, f 15798 src/xterm.c f->output_data.x->nontext_cursor); f 15803 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 15804 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 15818 src/xterm.c pixel = f->output_data.x->scroll_bar_foreground_pixel; f 15825 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15835 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1) f 15837 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15840 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15841 src/xterm.c FRAME_X_COLORMAP (f), f 15844 src/xterm.c f->output_data.x->scroll_bar_top_shadow_pixel = pixel; f 15847 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15849 src/xterm.c pixel = f->output_data.x->scroll_bar_background_pixel; f 15852 src/xterm.c if (!x_alloc_lighter_color (f, FRAME_X_DISPLAY (f), f 15853 src/xterm.c FRAME_X_COLORMAP (f), f 15856 src/xterm.c f->output_data.x->scroll_bar_bottom_shadow_pixel = pixel; f 15862 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel == -1 f 15863 src/xterm.c || f->output_data.x->scroll_bar_bottom_shadow_pixel == -1) f 15870 src/xterm.c DefaultDepthOfScreen (FRAME_X_SCREEN (f)) < 16); f 15884 src/xterm.c pixel = f->output_data.x->scroll_bar_top_shadow_pixel; f 15890 src/xterm.c pixel = f->output_data.x->scroll_bar_bottom_shadow_pixel; f 15900 src/xterm.c f->output_data.x->edit_widget, av, ac); f 15967 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 15968 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16079 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16080 src/xterm.c Widget widget = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16176 src/xterm.c struct frame *f = XFRAME (w->frame); f 16185 src/xterm.c x_create_horizontal_toolkit_scroll_bar (f, bar); f 16187 src/xterm.c x_create_toolkit_scroll_bar (f, bar); f 16196 src/xterm.c a.cursor = FRAME_DISPLAY_INFO (f)->vertical_scroll_bar_cursor; f 16204 src/xterm.c x_clear_area (f, left, top, width, window_box_height (w)); f 16209 src/xterm.c window = XCreateWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), f 16226 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2) f 16227 src/xterm.c xi_select_scroll_bar_events (FRAME_DISPLAY_INFO (f), f 16249 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 16252 src/xterm.c fset_scroll_bars (f, barobj); f 16261 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, f 16264 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16267 src/xterm.c Widget scroll_bar = SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar); f 16271 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16275 src/xterm.c XMapWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16277 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16305 src/xterm.c struct frame *f; f 16316 src/xterm.c f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16318 src/xterm.c gc = f->output_data.x->normal_gc; f 16319 src/xterm.c w = FRAME_X_DRAWABLE (f); f 16323 src/xterm.c inside_width = VERTICAL_SCROLL_BAR_INSIDE_WIDTH (f, bar->width); f 16324 src/xterm.c inside_height = VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, bar->height); f 16325 src/xterm.c top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 16359 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16360 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16361 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16363 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16364 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16366 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16371 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16372 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16376 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16377 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16378 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 16381 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16392 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16393 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16394 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16396 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16397 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16399 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), w, gc, f 16404 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16405 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16409 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16410 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16411 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16424 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16429 src/xterm.c xg_remove_scroll_bar (f, bar->x_window); f 16431 src/xterm.c XtDestroyWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar)); f 16434 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), bar->x_window); f 16455 src/xterm.c struct frame *f = XFRAME (w->frame); f 16474 src/xterm.c x_clear_area (f, left, top, width, height); f 16512 src/xterm.c x_clear_area (f, left, top, width, height); f 16514 src/xterm.c xg_update_scrollbar_pos (f, bar->x_window, top, f 16517 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 16532 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 16559 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, height); f 16580 src/xterm.c struct frame *f = XFRAME (w->frame); f 16603 src/xterm.c x_clear_area (f, left, top, pixel_width, height); f 16634 src/xterm.c x_clear_area (f, f 16638 src/xterm.c xg_update_horizontal_scrollbar_pos (f, bar->x_window, top, left, f 16641 src/xterm.c XtConfigureWidget (SCROLL_BAR_X_WIDGET (FRAME_X_DISPLAY (f), bar), f 16655 src/xterm.c x_clear_area (f, left, top, width, rest); f 16667 src/xterm.c XConfigureWindow (FRAME_X_DISPLAY (f), bar->x_window, f 16689 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, width); f 16750 src/xterm.c struct frame *f; f 16760 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 16765 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->vertical_scroll_bar)) f 16768 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 16770 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 16782 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 16785 src/xterm.c fset_scroll_bars (f, barobj); f 16795 src/xterm.c f = XFRAME (WINDOW_FRAME (w)); f 16800 src/xterm.c if (EQ (FRAME_SCROLL_BARS (f), w->horizontal_scroll_bar)) f 16803 src/xterm.c else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), f 16805 src/xterm.c fset_condemned_scroll_bars (f, bar->next); f 16817 src/xterm.c bar->next = FRAME_SCROLL_BARS (f); f 16820 src/xterm.c fset_scroll_bars (f, barobj); f 16830 src/xterm.c XTjudge_scroll_bars (struct frame *f) f 16834 src/xterm.c bar = FRAME_CONDEMNED_SCROLL_BARS (f); f 16838 src/xterm.c fset_condemned_scroll_bars (f, Qnil); f 16860 src/xterm.c x_scroll_bar_handle_exposure (struct frame *f, XEvent *event) f 16889 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 16890 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 16919 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 16920 src/xterm.c GC gc = f->output_data.x->normal_gc; f 16922 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 16923 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16924 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 16926 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16927 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 16929 src/xterm.c XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 16932 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16933 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16938 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16939 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16940 src/xterm.c f->output_data.x->scroll_bar_foreground_pixel); f 16943 src/xterm.c XDrawRectangle (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), gc, f 16947 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 16948 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 16949 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 16995 src/xterm.c left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17026 src/xterm.c = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17067 src/xterm.c struct frame *f = XFRAME (XWINDOW (bar->window)->frame); f 17068 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 17073 src/xterm.c f->mouse_moved = true; f 17103 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17113 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17125 src/xterm.c int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, bar->height); f 17137 src/xterm.c *fp = f; f 17152 src/xterm.c f->mouse_moved = false; f 17172 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window))); f 17182 src/xterm.c if (x_query_pointer (FRAME_X_DISPLAY (f), w, f 17194 src/xterm.c int left_range = HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width); f 17206 src/xterm.c *fp = f; f 17221 src/xterm.c f->mouse_moved = false; f 17235 src/xterm.c x_scroll_bar_clear (struct frame *f) f 17239 src/xterm.c GC gc = f->output_data.x->normal_gc; f 17241 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 17242 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17243 src/xterm.c f->output_data.x->scroll_bar_background_pixel); f 17245 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17246 src/xterm.c FRAME_BACKGROUND_PIXEL (f)); f 17251 src/xterm.c if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) f 17253 src/xterm.c condemned = FRAME_CONDEMNED_SCROLL_BARS (f); f 17254 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); f 17264 src/xterm.c XSetForeground (FRAME_X_DISPLAY (f), gc, f 17265 src/xterm.c FRAME_FOREGROUND_PIXEL (f)); f 17426 src/xterm.c struct frame *f; f 17430 src/xterm.c f = x_any_window_to_frame (dpyinfo, f 17434 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->xany.window); f 17436 src/xterm.c if (f && xg_filter_key (f, xev)) f 17464 src/xterm.c static void xembed_send_message (struct frame *f, Time, f 17469 src/xterm.c x_net_wm_state (struct frame *f, Window window) f 17475 src/xterm.c x_get_current_wm_state (f, window, &value, &sticky, &shaded); f 17493 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 17494 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 17495 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 17501 src/xterm.c x_flush_dirty_back_buffer_on (struct frame *f) f 17504 src/xterm.c if (FRAME_GARBAGED_P (f) f 17508 src/xterm.c || !FRAME_X_COMPLETE_P (f) f 17509 src/xterm.c || !FRAME_X_NEED_BUFFER_FLIP (f)) f 17512 src/xterm.c show_back_buffer (f); f 18222 src/xterm.c x_handle_wm_state (struct frame *f, struct input_event *ie) f 18232 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 18234 src/xterm.c if (XGetWindowProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 18250 src/xterm.c if (state[0] == NormalState && FRAME_ICONIFIED_P (f)) f 18254 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 18255 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 18256 src/xterm.c f->output_data.x->has_been_visible = true; f 18259 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18264 src/xterm.c && !x_wm_supports (f, dpyinfo->Xatom_net_wm_state_hidden)) f 18269 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 18270 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 18273 src/xterm.c XSETFRAME (ie->frame_or_window, f); f 18350 src/xterm.c struct frame *any, *f = NULL, *mouse_frame; f 18619 src/xterm.c f = any; f 18622 src/xterm.c if (f && FRAME_XIC (f)) f 18623 src/xterm.c XSetICFocus (FRAME_XIC (f)); f 18642 src/xterm.c if (f) f 18684 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 18688 src/xterm.c if (f == SELECTED_FRAME ()) f 18689 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 18692 src/xterm.c else if (f) f 18693 src/xterm.c XSetCommand (FRAME_X_DISPLAY (f), f 18702 src/xterm.c f = x_top_window_to_frame (dpyinfo, f 18705 src/xterm.c if (!f) f 18710 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 18744 src/xterm.c struct frame *f f 18753 src/xterm.c if (f) f 18758 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->pending_basic_counter_value, f 18760 src/xterm.c FRAME_X_OUTPUT (f)->sync_end_pending_p = true; f 18764 src/xterm.c XSyncIntsToValue (&FRAME_X_OUTPUT (f)->resize_counter_value, f 18768 src/xterm.c FRAME_X_OUTPUT (f)->ext_sync_end_pending_p = true; f 18773 src/xterm.c widget = FRAME_GTK_OUTER_WIDGET (f); f 18782 src/xterm.c if (widget && !FRAME_X_OUTPUT (f)->xg_sync_end_pending_p) f 18789 src/xterm.c FRAME_X_OUTPUT (f)->xg_sync_end_pending_p = true; f 18806 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 18811 src/xterm.c if (f) f 18813 src/xterm.c f->left_pos = new_x; f 18814 src/xterm.c f->top_pos = new_y; f 18822 src/xterm.c f = any; f 18823 src/xterm.c if (f) f 18825 src/xterm.c _XEditResCheckMessages (f->output_data.x->widget, f 18841 src/xterm.c f = x_window_to_frame (dpyinfo, event->xclient.window); f 18842 src/xterm.c if (!f) f 18849 src/xterm.c x_kill_gs_process (pixmap, f); f 18851 src/xterm.c expose_frame (f, 0, 0, 0, 0); f 18913 src/xterm.c f = any; f 18915 src/xterm.c if (!f || FRAME_TOOLTIP_P (f)) f 18926 src/xterm.c if (x_handle_dnd_message (f, &event->xclient, dpyinfo, &inev.ie, f 19080 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xproperty.window); f 19081 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_net_wm_state f 19083 src/xterm.c && !FRAME_X_EMBEDDED_P (f)) f 19085 src/xterm.c bool not_hidden = x_handle_net_wm_state (f, &event->xproperty); f 19087 src/xterm.c if (not_hidden && FRAME_ICONIFIED_P (f)) f 19091 src/xterm.c (f, build_string ("PropertyNotify, not hidden & iconified")); f 19096 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19097 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19099 src/xterm.c f->output_data.x->has_been_visible = true; f 19104 src/xterm.c if (f->was_invisible) f 19107 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 19108 src/xterm.c f->was_invisible = false; f 19111 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19113 src/xterm.c else if (!not_hidden && !FRAME_ICONIFIED_P (f)) f 19117 src/xterm.c (f, build_string ("PropertyNotify, hidden & not iconified")); f 19119 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19120 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19122 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19126 src/xterm.c if (f && event->xproperty.atom == dpyinfo->Xatom_wm_state f 19127 src/xterm.c && !FRAME_X_EMBEDDED_P (f) && !FRAME_PARENT_FRAME (f)) f 19137 src/xterm.c x_handle_wm_state (f, &inev.ie); f 19139 src/xterm.c if (f && FRAME_X_OUTPUT (f)->alpha_identical_p f 19160 src/xterm.c f->alpha[0] = 1.0; f 19161 src/xterm.c f->alpha[1] = 1.0; f 19163 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19168 src/xterm.c rc = XGetWindowProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19182 src/xterm.c f->alpha[0] = (double) opacity / (double) OPAQUE; f 19183 src/xterm.c f->alpha[1] = (double) opacity / (double) OPAQUE; f 19185 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19189 src/xterm.c f->alpha[0] = 1.0; f 19190 src/xterm.c f->alpha[1] = 1.0; f 19192 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19197 src/xterm.c (xcb_window_t) FRAME_OUTER_WINDOW (f), f 19217 src/xterm.c f->alpha[0] = (double) value / (double) OPAQUE; f 19218 src/xterm.c f->alpha[1] = (double) value / (double) OPAQUE; f 19219 src/xterm.c store_frame_param (f, Qalpha, make_float (f->alpha[0])); f 19223 src/xterm.c f->alpha[0] = 1.0; f 19224 src/xterm.c f->alpha[1] = 1.0; f 19226 src/xterm.c store_frame_param (f, Qalpha, Qnil); f 19265 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xreparent.window); f 19266 src/xterm.c if (f) f 19269 src/xterm.c if (FRAME_OUTPUT_DATA (f)->parent_desc f 19270 src/xterm.c && FRAME_X_EMBEDDED_P (f)) f 19277 src/xterm.c FRAME_X_OUTPUT (f)->explicit_parent = false; f 19280 src/xterm.c XDeleteProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 19282 src/xterm.c x_make_frame_visible (f); f 19287 src/xterm.c f->output_data.x->parent_desc = event->xreparent.parent; f 19289 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 19291 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 19304 src/xterm.c if (FRAME_X_OUTPUT (f)->has_been_visible) f 19305 src/xterm.c x_update_frame_user_time_window (f); f 19313 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 19314 src/xterm.c &root, &f->left_pos, &f->top_pos, f 19318 src/xterm.c x_set_frame_alpha (f); f 19338 src/xterm.c f = x_window_to_frame (dpyinfo, event->xexpose.window); f 19339 src/xterm.c if (f) f 19341 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 19351 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19352 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19356 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 19357 src/xterm.c x_drop_xrender_surfaces (f); f 19359 src/xterm.c f->output_data.x->has_been_visible = true; f 19360 src/xterm.c SET_FRAME_GARBAGED (f); f 19362 src/xterm.c else if (FRAME_GARBAGED_P (f)) f 19371 src/xterm.c x_clear_area1 (FRAME_X_DISPLAY (f), f 19372 src/xterm.c FRAME_X_WINDOW (f), f 19376 src/xterm.c x_clear_under_internal_border (f); f 19380 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19383 src/xterm.c if (f->output_data.x->edit_widget) f 19391 src/xterm.c x_clear_area (f, f 19395 src/xterm.c expose_frame (f, event->xexpose.x, event->xexpose.y, f 19398 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19401 src/xterm.c x_clear_under_internal_border (f); f 19406 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19410 src/xterm.c if (!FRAME_GARBAGED_P (f)) f 19411 src/xterm.c show_back_buffer (f); f 19435 src/xterm.c f = x_window_to_frame (dpyinfo, event->xgraphicsexpose.drawable); f 19436 src/xterm.c if (f) f 19438 src/xterm.c expose_frame (f, event->xgraphicsexpose.x, f 19443 src/xterm.c x_scroll_bar_handle_exposure (f, (XEvent *) event); f 19446 src/xterm.c x_clear_under_internal_border (f); f 19449 src/xterm.c show_back_buffer (f); f 19488 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xunmap.window); f 19489 src/xterm.c if (f) /* F may no longer exist if f 19492 src/xterm.c bool visible = FRAME_VISIBLE_P (f); f 19498 src/xterm.c if (FRAME_TOOLTIP_P (f) && popup_activated ()) f 19525 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 19532 src/xterm.c if (visible || FRAME_ICONIFIED_P (f)) f 19536 src/xterm.c (f, build_string ("UnmapNotify, visible | iconified")); f 19538 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 19540 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19544 src/xterm.c (f, build_string ("UnmapNotify, not visible & not iconified")); f 19580 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xmap.window); f 19581 src/xterm.c if (f) f 19583 src/xterm.c bool iconified = FRAME_ICONIFIED_P (f); f 19586 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->xmap.window, &value, &sticky, f 19591 src/xterm.c (f, f 19599 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 19600 src/xterm.c -1, -1, f->new_width, f->new_height); f 19604 src/xterm.c if (!f->output_data.x->has_been_visible) f 19607 src/xterm.c x_check_fullscreen (f); f 19611 src/xterm.c if (FRAME_SKIP_TASKBAR (f)) f 19612 src/xterm.c x_set_skip_taskbar (f, Qt, Qnil); f 19620 src/xterm.c if (FRAME_Z_GROUP (f) == z_group_above) f 19621 src/xterm.c x_set_z_group (f, Qabove, Qnil); f 19622 src/xterm.c else if (FRAME_Z_GROUP (f) == z_group_below) f 19623 src/xterm.c x_set_z_group (f, Qbelow, Qnil); f 19628 src/xterm.c if (not_hidden || FRAME_X_EMBEDDED_P (f)) f 19630 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 19631 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 19635 src/xterm.c if (f->was_invisible) f 19638 src/xterm.c (f, FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f)); f 19639 src/xterm.c f->was_invisible = false; f 19642 src/xterm.c f->output_data.x->has_been_visible = true; f 19645 src/xterm.c x_update_opaque_region (f, NULL); f 19647 src/xterm.c if ((not_hidden || FRAME_X_EMBEDDED_P (f)) && iconified) f 19650 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 19669 src/xterm.c f = any; f 19672 src/xterm.c if (f) f 19673 src/xterm.c x_set_gtk_user_time (f, event->xkey.time); f 19679 src/xterm.c && (f == 0 f 19681 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 19683 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 19696 src/xterm.c if (f == 0) f 19705 src/xterm.c f = x_any_window_to_frame (dpyinfo, XtWindow (widget)); f 19710 src/xterm.c if (f != 0) f 19733 src/xterm.c if (event->xkey.window == FRAME_X_WINDOW (f)) f 19736 src/xterm.c x_compute_root_window_offset (f, event->xkey.x_root, f 19790 src/xterm.c if (FRAME_XIC (f)) f 19794 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 19798 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 19803 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 19882 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20113 src/xterm.c if (f) f 20115 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 20118 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 20119 src/xterm.c xic_set_statusarea (f); f 20187 src/xterm.c f = any; f 20189 src/xterm.c if (f && event->xcrossing.window == FRAME_X_WINDOW (f)) f 20190 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20199 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 20208 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 20209 src/xterm.c x_note_mouse_movement (f, &event->xmotion, Qnil); f 20213 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 20252 src/xterm.c f = any; f 20253 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 20255 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 20256 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 20257 src/xterm.c f->output_data.x->has_been_visible = true; f 20259 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 20320 src/xterm.c f = x_window_to_frame (dpyinfo, event->xcrossing.window); f 20322 src/xterm.c if (!f) f 20323 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20325 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xcrossing.window); f 20328 src/xterm.c if (f) f 20335 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 20340 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 20343 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 20349 src/xterm.c x_flush_dirty_back_buffer_on (f); f 20365 src/xterm.c if (event->xcrossing.window == FRAME_X_WINDOW (f)) f 20366 src/xterm.c x_compute_root_window_offset (f, event->xcrossing.x_root, f 20412 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xmotion.window); f 20414 src/xterm.c if (f && event->xmotion.window == FRAME_X_WINDOW (f)) f 20417 src/xterm.c x_compute_root_window_offset (f, event->xmotion.x_root, f 20449 src/xterm.c if (f) f 20451 src/xterm.c XTtoggle_invisible_pointer (f, false); f 20457 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 20463 src/xterm.c f->mouse_moved = true; f 20464 src/xterm.c f->last_mouse_device = Qnil; f 20467 src/xterm.c remember_mouse_glyph (f, event->xmotion.x, f 20469 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 20655 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 20656 src/xterm.c f = 0; f 20666 src/xterm.c if (f) f 20681 src/xterm.c && (f == XFRAME (selected_frame) f 20686 src/xterm.c if (xmotion.window != FRAME_X_WINDOW (f)) f 20688 src/xterm.c x_translate_coordinates (f, xmotion.x_root, xmotion.y_root, f 20690 src/xterm.c xmotion.window = FRAME_X_WINDOW (f); f 20694 src/xterm.c (f, xmotion.x, xmotion.y, 0, false, false); f 20716 src/xterm.c if (!x_note_mouse_movement (f, &xmotion, Qnil)) f 20741 src/xterm.c if (f) f 20742 src/xterm.c x_flush_dirty_back_buffer_on (f); f 20908 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 20909 src/xterm.c x_drop_xrender_surfaces (f); f 20916 src/xterm.c f = x_top_window_to_frame (dpyinfo, configureEvent.xconfigure.window); f 20929 src/xterm.c if (f && FRAME_X_DOUBLE_BUFFERED_P (f)) f 20930 src/xterm.c x_drop_xrender_surfaces (f); f 20933 src/xterm.c if (f) f 20934 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 20940 src/xterm.c if (f || (any && configureEvent.xconfigure.window == FRAME_X_WINDOW (any))) f 20941 src/xterm.c x_update_opaque_region (f ? f : any, &configureEvent); f 20944 src/xterm.c if (!f f 20945 src/xterm.c && (f = any) f 20946 src/xterm.c && configureEvent.xconfigure.window == FRAME_X_WINDOW (f) f 20947 src/xterm.c && (FRAME_VISIBLE_P(f) f 20954 src/xterm.c (f, build_string ("ConfigureNotify"), f 20955 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 20958 src/xterm.c f->new_width, f->new_height); f 20961 src/xterm.c if (FRAME_X_DOUBLE_BUFFERED_P (f)) f 20962 src/xterm.c x_drop_xrender_surfaces (f); f 20964 src/xterm.c xg_frame_resized (f, configureEvent.xconfigure.width, f 20967 src/xterm.c x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width, f 20970 src/xterm.c x_update_opaque_region (f, &configureEvent); f 20971 src/xterm.c f = 0; f 20974 src/xterm.c if (f f 20975 src/xterm.c && (FRAME_VISIBLE_P(f) f 20982 src/xterm.c if (configureEvent.xconfigure.window == FRAME_X_WINDOW (f)) f 20984 src/xterm.c x_net_wm_state (f, configureEvent.xconfigure.window); f 20988 src/xterm.c if (FRAME_TOOLTIP_P (f)) f 20990 src/xterm.c if (FRAME_PIXEL_HEIGHT (f) != configureEvent.xconfigure.height f 20991 src/xterm.c || FRAME_PIXEL_WIDTH (f) != configureEvent.xconfigure.width) f 20992 src/xterm.c SET_FRAME_GARBAGED (f); f 20994 src/xterm.c FRAME_PIXEL_HEIGHT (f) = configureEvent.xconfigure.height; f 20995 src/xterm.c FRAME_PIXEL_WIDTH (f) = configureEvent.xconfigure.width; f 21006 src/xterm.c (f, build_string ("ConfigureNotify"), f 21007 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), f 21008 src/xterm.c width, height, f->new_width, f->new_height); f 21018 src/xterm.c if (width != FRAME_PIXEL_WIDTH (f) f 21019 src/xterm.c || height != FRAME_PIXEL_HEIGHT (f) f 21020 src/xterm.c || (f->new_size_p f 21021 src/xterm.c && ((f->new_width >= 0 && width != f->new_width) f 21022 src/xterm.c || (f->new_height >= 0 && height != f->new_height)))) f 21024 src/xterm.c change_frame_size (f, width, height, false, true, false); f 21025 src/xterm.c x_clear_under_internal_border (f); f 21026 src/xterm.c SET_FRAME_GARBAGED (f); f 21027 src/xterm.c cancel_mouse_face (f); f 21035 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f) f 21036 src/xterm.c && gtk_widget_get_mapped (FRAME_GTK_OUTER_WIDGET (f))) f 21039 src/xterm.c int old_left = f->left_pos; f 21040 src/xterm.c int old_top = f->top_pos; f 21043 src/xterm.c XSETFRAME (frame, f); f 21045 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 21046 src/xterm.c x_real_positions (f, &f->left_pos, &f->top_pos); f 21052 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21053 src/xterm.c &root, &f->left_pos, &f->top_pos, f 21057 src/xterm.c if (!FRAME_TOOLTIP_P (f) f 21058 src/xterm.c && (old_left != f->left_pos || old_top != f->top_pos)) f 21061 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21067 src/xterm.c if (f) f 21069 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 21070 src/xterm.c xic_set_statusarea (f); f 21072 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 21078 src/xterm.c if (f && dpyinfo->supports_xi2) f 21089 src/xterm.c if (dpyinfo->last_mouse_motion_frame == f) f 21092 src/xterm.c hlinfo = MOUSE_HL_INFO (f); f 21094 src/xterm.c if (hlinfo->mouse_face_mouse_frame == f) f 21152 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21154 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21157 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21168 src/xterm.c dpyinfo->last_mouse_frame = f; f 21170 src/xterm.c if (f) f 21171 src/xterm.c f->last_tab_bar_item = -1; f 21173 src/xterm.c if (f) f 21174 src/xterm.c f->last_tool_bar_item = -1; f 21334 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, event->xbutton.window); f 21336 src/xterm.c if (f && event->xbutton.window == FRAME_X_WINDOW (f)) f 21339 src/xterm.c x_compute_root_window_offset (f, event->xbutton.x_root, f 21344 src/xterm.c if (f && event->xbutton.type == ButtonPress f 21348 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21356 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 21359 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 21363 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 21364 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 21369 src/xterm.c if (!f) f 21371 src/xterm.c f = x_any_window_to_frame (dpyinfo, event->xbutton.window); f 21375 src/xterm.c && f) f 21384 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21390 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21396 src/xterm.c f = NULL; f 21399 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 21400 src/xterm.c f = 0; f 21402 src/xterm.c if (f) f 21405 src/xterm.c if (WINDOWP (f->tab_bar_window) f 21406 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 21412 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21413 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 21418 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21420 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21426 src/xterm.c if (WINDOWP (f->tool_bar_window) f 21427 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 21433 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 21434 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 21436 src/xterm.c || f->last_tool_bar_item != -1)); f 21441 src/xterm.c (f, x, y, event->xbutton.type == ButtonPress, f 21443 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21460 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21466 src/xterm.c x_construct_mouse_click (&inev.ie, &event->xbutton, f); f 21472 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 21473 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 21474 src/xterm.c xembed_send_message (f, event->xbutton.time, f 21500 src/xterm.c dpyinfo->last_mouse_frame = f; f 21501 src/xterm.c if (f && !tab_bar_p) f 21502 src/xterm.c f->last_tab_bar_item = -1; f 21504 src/xterm.c if (f && !tool_bar_p) f 21505 src/xterm.c f->last_tool_bar_item = -1; f 21514 src/xterm.c if (f != 0) f 21515 src/xterm.c f->mouse_moved = false; f 21518 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 21528 src/xterm.c && f && event->type == ButtonPress f 21532 src/xterm.c && event->xbutton.x < FRAME_PIXEL_WIDTH (f) f 21534 src/xterm.c && event->xbutton.y < FRAME_MENUBAR_HEIGHT (f) f 21547 src/xterm.c if (!f->output_data.x->saved_menu_event) f 21548 src/xterm.c f->output_data.x->saved_menu_event = xmalloc (sizeof *event); f 21549 src/xterm.c *f->output_data.x->saved_menu_event = *event; f 21551 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21578 src/xterm.c f = x_top_window_to_frame (dpyinfo, event->xvisibility.window); f 21579 src/xterm.c if (f && (event->xvisibility.state == VisibilityUnobscured f 21581 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 21690 src/xterm.c f = any; f 21691 src/xterm.c if (f && FRAME_ICONIFIED_P (f)) f 21693 src/xterm.c SET_FRAME_VISIBLE (f, 1); f 21694 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 21695 src/xterm.c f->output_data.x->has_been_visible = true; f 21697 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 21800 src/xterm.c f = any; f 21802 src/xterm.c if (f && enter->event == FRAME_X_WINDOW (f)) f 21803 src/xterm.c xi_compute_root_window_offset_enter (f, enter); f 21805 src/xterm.c if (f && x_mouse_click_focus_ignore_position) f 21814 src/xterm.c if (f && !f->output_data.x->hourglass_p) f 21815 src/xterm.c x_note_mouse_movement (f, &ev, source ? source->name : Qnil); f 21819 src/xterm.c if (!f && dpyinfo->last_mouse_glyph_frame) f 21946 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 21950 src/xterm.c f = x_window_to_frame (dpyinfo, leave->event); f 21952 src/xterm.c if (!f) f 21953 src/xterm.c f = x_top_window_to_frame (dpyinfo, leave->event); f 21956 src/xterm.c if (f) f 21963 src/xterm.c if (f == dpyinfo->last_mouse_motion_frame) f 21968 src/xterm.c if (f == dpyinfo->last_mouse_glyph_frame) f 21971 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 21977 src/xterm.c x_flush_dirty_back_buffer_on (f); f 21994 src/xterm.c if (f && leave->event == FRAME_X_WINDOW (f)) f 21995 src/xterm.c xi_compute_root_window_offset_enter (f, leave); f 22077 src/xterm.c if (!f) f 22079 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 22081 src/xterm.c if (!f) f 22088 src/xterm.c f = WINDOW_XFRAME (XWINDOW (bar->window)); f 22090 src/xterm.c if (!f) f 22097 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, true)) f 22101 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 22116 src/xterm.c x_translate_coordinates (f, f 22153 src/xterm.c window = window_from_coordinates (f, real_x, real_y, NULL, f 22162 src/xterm.c scroll_height = FRAME_PIXEL_HEIGHT (f); f 22220 src/xterm.c && xev->child != FRAME_X_WINDOW (f)) f 22247 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22266 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 22319 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 22321 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 22324 src/xterm.c xi_compute_root_window_offset (f, xev); f 22351 src/xterm.c if (f) f 22353 src/xterm.c XTtoggle_invisible_pointer (f, false); f 22359 src/xterm.c if (f != dpyinfo->last_mouse_glyph_frame f 22365 src/xterm.c f->mouse_moved = true; f 22366 src/xterm.c f->last_mouse_device = (source ? source->name f 22370 src/xterm.c remember_mouse_glyph (f, lrint (xev->event_x), f 22372 src/xterm.c dpyinfo->last_mouse_glyph_frame = f; f 22567 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 22568 src/xterm.c f = 0; f 22570 src/xterm.c if (f) f 22572 src/xterm.c if (xev->event != FRAME_X_WINDOW (f)) f 22574 src/xterm.c x_translate_coordinates (f, lrint (xev->root_x), f 22577 src/xterm.c ev.window = FRAME_X_WINDOW (f); f 22593 src/xterm.c && (f == XFRAME (selected_frame) f 22597 src/xterm.c Lisp_Object window = window_from_coordinates (f, ev.x, ev.y, 0, false, false); f 22622 src/xterm.c if (!x_note_mouse_movement (f, &ev, source ? source->name : Qnil)) f 22654 src/xterm.c if (f) f 22655 src/xterm.c x_flush_dirty_back_buffer_on (f); f 22682 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 22685 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 22689 src/xterm.c xi_compute_root_window_offset (f, xev); f 22704 src/xterm.c dpyinfo->last_mouse_frame = f; f 22709 src/xterm.c if (f) f 22710 src/xterm.c f->last_tab_bar_item = -1; f 22712 src/xterm.c if (f) f 22713 src/xterm.c f->last_tool_bar_item = -1; f 22726 src/xterm.c if (f && device) f 22727 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23030 src/xterm.c f = mouse_or_wdesc_frame (dpyinfo, xev->event); f 23032 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23035 src/xterm.c xi_compute_root_window_offset (f, xev); f 23037 src/xterm.c if (f && xev->evtype == XI_ButtonPress f 23040 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23048 src/xterm.c if (FRAME_PARENT_FRAME (f) || (hf && frame_ancestor_p (f, hf))) f 23061 src/xterm.c FRAME_OUTER_WINDOW (f), xev->time); f 23070 src/xterm.c XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 23074 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 23075 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 23079 src/xterm.c if (f) f 23085 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23090 src/xterm.c if (!f) f 23095 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23097 src/xterm.c if (xev->detail > 3 && xev->detail < 8 && f) f 23101 src/xterm.c if (FRAME_X_WINDOW (f) != xev->event) f 23102 src/xterm.c x_translate_coordinates (f, real_x, real_y, f 23117 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23130 src/xterm.c f = NULL; f 23133 src/xterm.c if (f && xg_event_is_for_scrollbar (f, event, false)) f 23134 src/xterm.c f = 0; f 23137 src/xterm.c if (f) f 23155 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23168 src/xterm.c if (WINDOWP (f->tab_bar_window) f 23169 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tab_bar_window))) f 23175 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23176 src/xterm.c tab_bar_p = EQ (window, f->tab_bar_window); f 23181 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23183 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23189 src/xterm.c if (WINDOWP (f->tool_bar_window) f 23190 src/xterm.c && WINDOW_TOTAL_LINES (XWINDOW (f->tool_bar_window))) f 23196 src/xterm.c window = window_from_coordinates (f, x, y, 0, true, true); f 23204 src/xterm.c tool_bar_p = (EQ (window, f->tool_bar_window) f 23206 src/xterm.c || f->last_tool_bar_item != -1)); f 23211 src/xterm.c (f, x, y, xev->evtype == XI_ButtonPress, f 23214 src/xterm.c x_flush_dirty_back_buffer_on (f); f 23230 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23236 src/xterm.c x_construct_mouse_click (&inev.ie, &bv, f); f 23242 src/xterm.c if (FRAME_X_EMBEDDED_P (f) f 23243 src/xterm.c && !FRAME_NO_ACCEPT_FOCUS (f)) f 23244 src/xterm.c xembed_send_message (f, xev->time, f 23273 src/xterm.c dpyinfo->last_mouse_frame = f; f 23274 src/xterm.c if (f && !tab_bar_p) f 23275 src/xterm.c f->last_tab_bar_item = -1; f 23277 src/xterm.c if (f && !tool_bar_p) f 23278 src/xterm.c f->last_tool_bar_item = -1; f 23291 src/xterm.c if (f) f 23292 src/xterm.c f->mouse_moved = false; f 23297 src/xterm.c f = x_menubar_window_to_frame (dpyinfo, event); f 23298 src/xterm.c if (f /* Gtk+ menus only react to the first three buttons. */ f 23309 src/xterm.c set_frame_menubar (f, true); f 23373 src/xterm.c f = x_any_window_to_frame (dpyinfo, xev->event); f 23375 src/xterm.c if (f && xev->event == FRAME_X_WINDOW (f)) f 23378 src/xterm.c xi_compute_root_window_offset (f, xev); f 23385 src/xterm.c if (f) f 23386 src/xterm.c x_set_gtk_user_time (f, xev->time); f 23389 src/xterm.c if (f) f 23395 src/xterm.c xi_handle_interaction (dpyinfo, f, device, f 23506 src/xterm.c && (f == 0 f 23508 src/xterm.c || !EQ (f->tool_bar_window, hlinfo->mouse_face_window) f 23510 src/xterm.c || !EQ (f->tab_bar_window, hlinfo->mouse_face_window)) f 23522 src/xterm.c if (f != 0) f 23532 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 23536 src/xterm.c if (FRAME_XIC (f)) f 23539 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 23543 src/xterm.c coding = FRAME_X_XIM_CODING (f); f 23549 src/xterm.c nbytes = XmbLookupString (FRAME_XIC (f), f 23851 src/xterm.c f = x_any_window_to_frame (xkey->event); f 23853 src/xterm.c if (f && xg_filter_key (f, event)) f 24021 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24023 src/xterm.c if (f) f 24026 src/xterm.c xi_compute_root_window_offset (f, xev); f 24029 src/xterm.c menu_bar_p = (f && FRAME_X_OUTPUT (f)->menubar_widget f 24030 src/xterm.c && xg_event_is_for_menubar (f, event)); f 24031 src/xterm.c if (f && FRAME_X_OUTPUT (f)->toolbar_widget) f 24033 src/xterm.c int scale = xg_get_scale (f); f 24040 src/xterm.c tool_bar_p = gtk_widget_intersect (FRAME_X_OUTPUT (f)->toolbar_widget, f 24047 src/xterm.c if (f && device->direct_p) f 24064 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24094 src/xterm.c set_frame_menubar (f, true); f 24124 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24126 src/xterm.c if (f && device->direct_p) f 24130 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24167 src/xterm.c f = x_window_to_frame (dpyinfo, xev->event); f 24169 src/xterm.c if (f && device->direct_p) f 24174 src/xterm.c XSETFRAME (inev.ie.frame_or_window, f); f 24263 src/xterm.c if (f) f 24265 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 24268 src/xterm.c if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea)) f 24269 src/xterm.c xic_set_statusarea (f); f 24668 src/xterm.c if (f) f 24669 src/xterm.c XSETFRAME (frame, f); f 24678 src/xterm.c xi_handle_interaction (dpyinfo, f, f 24897 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 24909 src/xterm.c x_set_clip_rectangles (f, gc, &clip_rect, 1); f 24918 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 24919 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 24920 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 24938 src/xterm.c xgcv.foreground = f->output_data.x->cursor_pixel; f 24943 src/xterm.c dpyinfo->scratch_cursor_gc = XCreateGC (dpy, FRAME_X_DRAWABLE (f), f 24959 src/xterm.c x_draw_rectangle (f, gc, x, y, wd, h - 1); f 24960 src/xterm.c x_reset_clip_rectangles (f, gc); f 24974 src/xterm.c struct frame *f = XFRAME (w->frame); f 24999 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 25000 src/xterm.c Drawable drawable = FRAME_X_DRAWABLE (f); f 25001 src/xterm.c GC gc = FRAME_DISPLAY_INFO (f)->scratch_cursor_gc; f 25003 src/xterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); f 25011 src/xterm.c if (face->background == f->output_data.x->cursor_pixel) f 25014 src/xterm.c xgcv.background = xgcv.foreground = f->output_data.x->cursor_pixel; f 25025 src/xterm.c FRAME_DISPLAY_INFO (f)->scratch_cursor_gc = gc; f 25035 src/xterm.c width = FRAME_CURSOR_WIDTH (f); f 25045 src/xterm.c x_fill_rectangle (f, gc, x, f 25065 src/xterm.c x_fill_rectangle (f, gc, x, f 25071 src/xterm.c x_reset_clip_rectangles (f, gc); f 25079 src/xterm.c x_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) f 25081 src/xterm.c if (!f->pointer_invisible f 25082 src/xterm.c && f->output_data.x->current_cursor != cursor) f 25083 src/xterm.c XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), cursor); f 25084 src/xterm.c f->output_data.x->current_cursor = cursor; f 25091 src/xterm.c x_clear_frame_area (struct frame *f, int x, int y, int width, int height) f 25093 src/xterm.c x_clear_area (f, x, y, width, height); f 25105 src/xterm.c struct frame *f = XFRAME (WINDOW_FRAME (w)); f 25151 src/xterm.c if (w == XWINDOW (f->selected_window)) f 25163 src/xterm.c x_bitmap_icon (struct frame *f, Lisp_Object file) f 25167 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25171 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25172 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25173 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25180 src/xterm.c if (xg_set_icon (f, file)) f 25183 src/xterm.c bitmap_id = image_create_bitmap_from_file (f, file); f 25184 src/xterm.c x_create_bitmap_mask (f, bitmap_id); f 25189 src/xterm.c if (FRAME_DISPLAY_INFO (f)->icon_bitmap_id < 0) f 25195 src/xterm.c if (xg_set_icon (f, xg_default_icon_file) f 25196 src/xterm.c || xg_set_icon_from_xpm_data (f, gnu_xpm_bits)) f 25198 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = -2; f 25204 src/xterm.c if ((FRAME_X_VISUAL_INFO (f)->class == TrueColor f 25205 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticColor f 25206 src/xterm.c || FRAME_X_VISUAL_INFO (f)->class == StaticGray) f 25210 src/xterm.c || FRAME_X_VISUAL_INFO (f)->colormap_size >= (240 * 4)) f 25212 src/xterm.c rc = x_create_bitmap_from_xpm_data (f, gnu_xpm_bits); f 25214 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25221 src/xterm.c rc = image_create_bitmap_from_data (f, f 25228 src/xterm.c FRAME_DISPLAY_INFO (f)->icon_bitmap_id = rc; f 25229 src/xterm.c x_create_bitmap_mask (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25237 src/xterm.c image_reference_bitmap (f, FRAME_DISPLAY_INFO (f)->icon_bitmap_id); f 25239 src/xterm.c bitmap_id = FRAME_DISPLAY_INFO (f)->icon_bitmap_id; f 25242 src/xterm.c x_wm_set_icon_pixmap (f, bitmap_id); f 25243 src/xterm.c f->output_data.x->icon_bitmap = bitmap_id; f 25253 src/xterm.c x_text_icon (struct frame *f, const char *icon_name) f 25255 src/xterm.c if (FRAME_X_WINDOW (f) == 0) f 25264 src/xterm.c XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); f 25267 src/xterm.c if (f->output_data.x->icon_bitmap > 0) f 25268 src/xterm.c image_destroy_bitmap (f, f->output_data.x->icon_bitmap); f 25269 src/xterm.c f->output_data.x->icon_bitmap = 0; f 25270 src/xterm.c x_wm_set_icon_pixmap (f, 0); f 25811 src/xterm.c struct frame *f; f 25853 src/xterm.c f = x_dnd_frame; f 25868 src/xterm.c dmsg.timestamp = FRAME_DISPLAY_INFO (f)->last_user_time; f 25870 src/xterm.c = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (FRAME_DISPLAY_INFO (f), f 25877 src/xterm.c dmsg.source_window = FRAME_X_WINDOW (f); f 25879 src/xterm.c x_dnd_send_xm_leave_for_drop (FRAME_DISPLAY_INFO (f), f, f 25881 src/xterm.c xm_send_drop_message (FRAME_DISPLAY_INFO (f), FRAME_X_WINDOW (f), f 26165 src/xterm.c x_new_font (struct frame *f, Lisp_Object font_object, int fontset) f 26172 src/xterm.c FRAME_FONTSET (f) = fontset; f 26173 src/xterm.c if (FRAME_FONT (f) == font) f 26178 src/xterm.c FRAME_FONT (f) = font; f 26179 src/xterm.c FRAME_BASELINE_OFFSET (f) = font->baseline_offset; f 26180 src/xterm.c FRAME_COLUMN_WIDTH (f) = font->average_width; f 26182 src/xterm.c FRAME_LINE_HEIGHT (f) = font_ascent + font_descent; f 26185 src/xterm.c FRAME_MENU_BAR_HEIGHT (f) = FRAME_MENU_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26188 src/xterm.c FRAME_TAB_BAR_HEIGHT (f) = FRAME_TAB_BAR_LINES (f) * FRAME_LINE_HEIGHT (f); f 26194 src/xterm.c unit = FRAME_COLUMN_WIDTH (f); f 26195 src/xterm.c if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) f 26196 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) f 26197 src/xterm.c = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; f 26199 src/xterm.c FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; f 26205 src/xterm.c if (FRAME_X_WINDOW (f) != 0 && !FRAME_TOOLTIP_P (f)) f 26207 src/xterm.c (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f), f 26208 src/xterm.c FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 3, false, Qfont); f 26211 src/xterm.c if (FRAME_XIC (f) f 26212 src/xterm.c && (FRAME_XIC_STYLE (f) & (XIMPreeditPosition | XIMStatusArea))) f 26215 src/xterm.c xic_set_xfontset (f, SSDATA (fontset_ascii (fontset))); f 26247 src/xterm.c x_maybe_clear_preedit (struct frame *f) f 26252 src/xterm.c output = FRAME_X_OUTPUT (f); f 26260 src/xterm.c XSETFRAME (ie.frame_or_window, f); f 26288 src/xterm.c struct frame *f = XFRAME (frame); f 26289 src/xterm.c if (FRAME_X_P (f) && FRAME_DISPLAY_INFO (f) == dpyinfo) f 26291 src/xterm.c FRAME_XIC (f) = NULL; f 26292 src/xterm.c xic_free_xfontset (f); f 26295 src/xterm.c x_maybe_clear_preedit (f); f 26389 src/xterm.c struct frame *f = XFRAME (frame); f 26391 src/xterm.c if (FRAME_X_P (f) f 26392 src/xterm.c && FRAME_DISPLAY_INFO (f) == xim_inst->dpyinfo) f 26393 src/xterm.c if (FRAME_XIC (f) == NULL) f 26395 src/xterm.c create_frame_xic (f); f 26396 src/xterm.c if (FRAME_XIC_STYLE (f) & XIMStatusArea) f 26397 src/xterm.c xic_set_statusarea (f); f 26398 src/xterm.c struct window *w = XWINDOW (f->selected_window); f 26483 src/xterm.c x_calc_absolute_position (struct frame *f) f 26485 src/xterm.c int flags = f->size_hint_flags; f 26486 src/xterm.c struct frame *p = FRAME_PARENT_FRAME (f); f 26495 src/xterm.c if ((flags & XNegative) && (f->left_pos <= 0)) f 26497 src/xterm.c int width = FRAME_PIXEL_WIDTH (f); f 26501 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 26506 src/xterm.c XSETFRAME (frame, f); f 26514 src/xterm.c f->left_pos = (FRAME_PIXEL_WIDTH (p) - width - 2 * f->border_width f 26515 src/xterm.c + f->left_pos); f 26517 src/xterm.c f->left_pos = (x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 26518 src/xterm.c - width + f->left_pos); f 26522 src/xterm.c if ((flags & YNegative) && (f->top_pos <= 0)) f 26524 src/xterm.c int height = FRAME_PIXEL_HEIGHT (f); f 26539 src/xterm.c XtVaGetValues (f->output_data.x->column_widget, XtNheight, &height, NULL); f 26542 src/xterm.c if (f->output_data.x->has_been_visible && !p) f 26547 src/xterm.c XSETFRAME (frame, f); f 26556 src/xterm.c f->top_pos = (FRAME_PIXEL_HEIGHT (p) - height - 2 * f->border_width f 26557 src/xterm.c + f->top_pos); f 26559 src/xterm.c f->top_pos = (x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 26560 src/xterm.c - height + f->top_pos); f 26566 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 26576 src/xterm.c x_set_offset (struct frame *f, int xoff, int yoff, int change_gravity) f 26580 src/xterm.c int scale = xg_get_scale (f); f 26585 src/xterm.c f->top_pos = yoff; f 26586 src/xterm.c f->left_pos = xoff; f 26587 src/xterm.c f->size_hint_flags &= ~ (XNegative | YNegative); f 26589 src/xterm.c f->size_hint_flags |= XNegative; f 26591 src/xterm.c f->size_hint_flags |= YNegative; f 26592 src/xterm.c f->win_gravity = NorthWestGravity; f 26595 src/xterm.c x_calc_absolute_position (f); f 26598 src/xterm.c x_wm_set_size_hint (f, 0, false); f 26607 src/xterm.c if (change_gravity != 0 && FRAME_GTK_OUTER_WIDGET (f)) f 26608 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 26609 src/xterm.c f->left_pos / scale, f->top_pos / scale); f 26615 src/xterm.c modified_left = f->left_pos; f 26616 src/xterm.c modified_top = f->top_pos; f 26618 src/xterm.c if (change_gravity != 0 && FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A) f 26623 src/xterm.c modified_left += FRAME_X_OUTPUT (f)->move_offset_left; f 26624 src/xterm.c modified_top += FRAME_X_OUTPUT (f)->move_offset_top; f 26629 src/xterm.c gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), f 26632 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 26637 src/xterm.c if (!FRAME_PARENT_FRAME (f) f 26643 src/xterm.c x_sync_with_move (f, f->left_pos, f->top_pos, f 26644 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN); f 26657 src/xterm.c && (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_UNKNOWN f 26658 src/xterm.c || (FRAME_DISPLAY_INFO (f)->wm_type == X_WMTYPE_A f 26659 src/xterm.c && (FRAME_X_OUTPUT (f)->move_offset_left == 0 f 26660 src/xterm.c && FRAME_X_OUTPUT (f)->move_offset_top == 0)))) f 26661 src/xterm.c x_check_expected_move (f, modified_left, modified_top); f 26667 src/xterm.c XSync (FRAME_X_DISPLAY (f), False); f 26801 src/xterm.c x_wm_supports (struct frame *f, Atom want_atom) f 26803 src/xterm.c return x_wm_supports_1 (FRAME_DISPLAY_INFO (f), f 26833 src/xterm.c x_set_sticky (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 26836 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 26838 src/xterm.c XSETFRAME (frame, f); f 26845 src/xterm.c x_set_shaded (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 26848 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 26850 src/xterm.c XSETFRAME (frame, f); f 26867 src/xterm.c x_set_skip_taskbar (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 26872 src/xterm.c xg_set_skip_taskbar (f, new_value); f 26875 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 26877 src/xterm.c XSETFRAME (frame, f); f 26881 src/xterm.c FRAME_SKIP_TASKBAR (f) = !NILP (new_value); f 26902 src/xterm.c x_set_z_group (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) f 26907 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 26909 src/xterm.c XSETFRAME (frame, f); f 26917 src/xterm.c FRAME_Z_GROUP (f) = z_group_none; f 26925 src/xterm.c FRAME_Z_GROUP (f) = z_group_above; f 26933 src/xterm.c FRAME_Z_GROUP (f) = z_group_below; f 26939 src/xterm.c FRAME_Z_GROUP (f) = z_group_above_suspended; f 26953 src/xterm.c x_get_current_wm_state (struct frame *f, f 26962 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 26971 src/xterm.c Display *dpy = FRAME_X_DISPLAY (f); f 27005 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27019 src/xterm.c is_hidden = FRAME_ICONIFIED_P (f); f 27065 src/xterm.c do_ewmh_fullscreen (struct frame *f) f 27067 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27068 src/xterm.c bool have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state); f 27072 src/xterm.c x_get_current_wm_state (f, FRAME_OUTER_WINDOW (f), &cur, &dummy, &dummy); f 27077 src/xterm.c have_net_atom = x_wm_supports (f, dpyinfo->Xatom_net_wm_state_fullscreen); f 27079 src/xterm.c if (have_net_atom && cur != f->want_fullscreen) f 27083 src/xterm.c XSETFRAME (frame, f); f 27088 src/xterm.c switch (f->want_fullscreen) f 27187 src/xterm.c f->want_fullscreen = FULLSCREEN_NONE; f 27195 src/xterm.c XTfullscreen_hook (struct frame *f) f 27197 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27200 src/xterm.c x_check_fullscreen (f); f 27201 src/xterm.c x_sync (f); f 27208 src/xterm.c x_handle_net_wm_state (struct frame *f, const XPropertyEvent *event) f 27213 src/xterm.c bool not_hidden = x_get_current_wm_state (f, event->window, f 27234 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 27235 src/xterm.c store_frame_param (f, Qsticky, sticky ? Qt : Qnil); f 27236 src/xterm.c store_frame_param (f, Qshaded, shaded ? Qt : Qnil); f 27244 src/xterm.c x_check_fullscreen (struct frame *f) f 27248 src/xterm.c if (do_ewmh_fullscreen (f)) f 27251 src/xterm.c if (f->output_data.x->parent_desc != FRAME_DISPLAY_INFO (f)->root_window) f 27258 src/xterm.c if (f->want_fullscreen != FULLSCREEN_NONE) f 27260 src/xterm.c int width = FRAME_PIXEL_WIDTH (f), height = FRAME_PIXEL_HEIGHT (f); f 27261 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27263 src/xterm.c switch (f->want_fullscreen) f 27279 src/xterm.c height = height + FRAME_MENUBAR_HEIGHT (f); f 27289 src/xterm.c x_wm_set_size_hint (f, 0, false); f 27291 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27294 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27295 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 27298 src/xterm.c change_frame_size (f, width, height, false, true, false); f 27299 src/xterm.c x_sync (f); f 27305 src/xterm.c store_frame_param (f, Qfullscreen, lval); f 27317 src/xterm.c x_check_expected_move (struct frame *f, int expected_left, int expected_top) f 27324 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 27333 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_A; f 27334 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_left = expected_left - current_left; f 27335 src/xterm.c FRAME_X_OUTPUT (f)->move_offset_top = expected_top - current_top; f 27339 src/xterm.c adjusted_left = expected_left + FRAME_X_OUTPUT (f)->move_offset_left; f 27340 src/xterm.c adjusted_top = expected_top + FRAME_X_OUTPUT (f)->move_offset_top; f 27342 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27345 src/xterm.c x_sync_with_move (f, expected_left, expected_top, false); f 27350 src/xterm.c FRAME_DISPLAY_INFO (f)->wm_type = X_WMTYPE_B; f 27361 src/xterm.c x_sync_with_move (struct frame *f, int left, int top, bool fuzzy) f 27378 src/xterm.c x_real_positions (f, ¤t_left, ¤t_top); f 27408 src/xterm.c x_wait_for_event (struct frame *f, int eventtype) f 27416 src/xterm.c int fd = ConnectionNumber (FRAME_X_DISPLAY (f)); f 27418 src/xterm.c f->wait_event_type = eventtype; f 27428 src/xterm.c while (f->wait_event_type) f 27448 src/xterm.c f->wait_event_type = 0; f 27458 src/xterm.c x_set_window_size_1 (struct frame *f, bool change_gravity, f 27462 src/xterm.c f->win_gravity = NorthWestGravity; f 27463 src/xterm.c x_wm_set_size_hint (f, 0, false); f 27465 src/xterm.c XResizeWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27466 src/xterm.c width, height + FRAME_MENUBAR_HEIGHT (f)); f 27472 src/xterm.c SET_FRAME_GARBAGED (f); f 27491 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27493 src/xterm.c x_wait_for_event (f, ConfigureNotify); f 27497 src/xterm.c (f, build_string ("x_set_window_size_1, visible"), f 27498 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 27499 src/xterm.c f->new_width, f->new_height); f 27505 src/xterm.c (f, build_string ("x_set_window_size_1, invisible"), f 27506 src/xterm.c FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), width, height, f 27507 src/xterm.c f->new_width, f->new_height); f 27511 src/xterm.c adjust_frame_size (f, FRAME_PIXEL_TO_TEXT_WIDTH (f, width), f 27512 src/xterm.c FRAME_PIXEL_TO_TEXT_HEIGHT (f, height), f 27515 src/xterm.c x_sync (f); f 27526 src/xterm.c x_set_window_size (struct frame *f, bool change_gravity, f 27532 src/xterm.c if (FRAME_GTK_WIDGET (f)) f 27533 src/xterm.c xg_frame_set_char_size (f, width, height); f 27535 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 27537 src/xterm.c x_set_window_size_1 (f, change_gravity, width, height); f 27538 src/xterm.c x_clear_under_internal_border (f); f 27542 src/xterm.c mark_window_cursors_off (XWINDOW (f->root_window)); f 27548 src/xterm.c cancel_mouse_face (f); f 27558 src/xterm.c frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) f 27563 src/xterm.c deviceid = FRAME_DISPLAY_INFO (f)->client_pointer_device; f 27565 src/xterm.c if (FRAME_DISPLAY_INFO (f)->supports_xi2 f 27569 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f)); f 27570 src/xterm.c XIWarpPointer (FRAME_X_DISPLAY (f), deviceid, None, f 27571 src/xterm.c FRAME_X_WINDOW (f), 0, 0, 0, 0, pix_x, pix_y); f 27572 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 27577 src/xterm.c XWarpPointer (FRAME_X_DISPLAY (f), None, FRAME_X_WINDOW (f), f 27584 src/xterm.c x_raise_frame (struct frame *f) f 27588 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27590 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), f 27591 src/xterm.c FRAME_OUTER_WINDOW (f)); f 27592 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 27599 src/xterm.c x_lower_frame_1 (struct frame *f) f 27615 src/xterm.c if (sibling == f) f 27619 src/xterm.c != FRAME_PARENT_FRAME (f)) f 27623 src/xterm.c windows[1] = FRAME_OUTER_WINDOW (f); f 27625 src/xterm.c XRestackWindows (FRAME_X_DISPLAY (f), windows, 2); f 27632 src/xterm.c x_lower_frame (struct frame *f) f 27634 src/xterm.c if (FRAME_PARENT_FRAME (f) f 27635 src/xterm.c && (FRAME_HAS_VERTICAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)) f 27636 src/xterm.c || FRAME_HAS_HORIZONTAL_SCROLL_BARS (FRAME_PARENT_FRAME (f)))) f 27637 src/xterm.c x_lower_frame_1 (f); f 27639 src/xterm.c XLowerWindow (FRAME_X_DISPLAY (f), f 27640 src/xterm.c FRAME_OUTER_WINDOW (f)); f 27646 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 27647 src/xterm.c lower_frame_xwidget_views (FRAME_PARENT_FRAME (f)); f 27650 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 27654 src/xterm.c XTframe_raise_lower (struct frame *f, bool raise_flag) f 27657 src/xterm.c x_raise_frame (f); f 27659 src/xterm.c x_lower_frame (f); f 27665 src/xterm.c xembed_request_focus (struct frame *f) f 27669 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27670 src/xterm.c xembed_send_message (f, CurrentTime, f 27692 src/xterm.c x_get_server_time (struct frame *f) f 27706 src/xterm.c if (FRAME_DISPLAY_INFO (f)->server_time_monotonic_p) f 27716 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 27718 src/xterm.c client_data[0] = FRAME_OUTER_WINDOW (f); f 27721 src/xterm.c XChangeProperty (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 27735 src/xterm.c x_ewmh_activate_frame (struct frame *f) f 27741 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 27743 src/xterm.c if (FRAME_VISIBLE_P (f)) f 27749 src/xterm.c msg.xclient.window = FRAME_OUTER_WINDOW (f); f 27770 src/xterm.c time = x_get_server_time (f); f 27772 src/xterm.c x_set_gtk_user_time (f, time); f 27776 src/xterm.c dpyinfo->x_focus_frame = f; f 27785 src/xterm.c time = x_get_server_time (f); f 27787 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), f 27788 src/xterm.c FRAME_OUTER_WINDOW (f), f 27790 src/xterm.c XRaiseWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 27803 src/xterm.c x_get_focus_frame (struct frame *f) f 27807 src/xterm.c struct frame *focus = FRAME_DISPLAY_INFO (f)->x_focus_frame; f 27820 src/xterm.c x_get_toplevel_parent (struct frame *f) f 27824 src/xterm.c if (!FRAME_PARENT_FRAME (f)) f 27827 src/xterm.c parent = FRAME_PARENT_FRAME (f); f 27896 src/xterm.c x_focus_frame (struct frame *f, bool noactivate) f 27905 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 27907 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 27911 src/xterm.c xembed_request_focus (f); f 27918 src/xterm.c && !FRAME_OVERRIDE_REDIRECT (f) f 27921 src/xterm.c && !FRAME_PARENT_FRAME (f) f 27926 src/xterm.c != f)) f 27927 src/xterm.c && x_wm_supports (f, dpyinfo->Xatom_net_active_window)) f 27934 src/xterm.c x_ewmh_activate_frame (f); f 27953 src/xterm.c time = x_get_server_time (f); f 27959 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 27963 src/xterm.c x_set_input_focus (FRAME_DISPLAY_INFO (f), FRAME_OUTER_WINDOW (f), f 27984 src/xterm.c xembed_set_info (struct frame *f, enum xembed_info flags) f 27987 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 27992 src/xterm.c XChangeProperty (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 27999 src/xterm.c xembed_send_message (struct frame *f, Time t, enum xembed_message msg, f 28005 src/xterm.c event.xclient.window = FRAME_X_OUTPUT (f)->parent_desc; f 28006 src/xterm.c event.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_XEMBED; f 28018 src/xterm.c x_ignore_errors_for_next_request (FRAME_DISPLAY_INFO (f)); f 28019 src/xterm.c XSendEvent (FRAME_X_DISPLAY (f), FRAME_X_OUTPUT (f)->parent_desc, f 28021 src/xterm.c x_stop_ignoring_errors (FRAME_DISPLAY_INFO (f)); f 28035 src/xterm.c x_make_frame_visible (struct frame *f) f 28043 src/xterm.c if (FRAME_PARENT_FRAME (f)) f 28045 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 28049 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28050 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28051 src/xterm.c f->left_pos, f->top_pos); f 28053 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f)); f 28057 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28058 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28065 src/xterm.c gui_set_bitmap_icon (f); f 28068 src/xterm.c dpyinfo = FRAME_DISPLAY_INFO (f); f 28071 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28077 src/xterm.c if (! FRAME_ICONIFIED_P (f) f 28078 src/xterm.c && ! FRAME_X_EMBEDDED_P (f) f 28079 src/xterm.c && ! f->output_data.x->asked_for_visible) f 28080 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 28083 src/xterm.c output = FRAME_X_OUTPUT (f); f 28084 src/xterm.c x_update_frame_user_time_window (f); f 28101 src/xterm.c f->output_data.x->asked_for_visible = true; f 28104 src/xterm.c x_wm_set_window_state (f, NormalState); f 28106 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28107 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28111 src/xterm.c XtMapWidget (f->output_data.x->widget); f 28115 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28116 src/xterm.c gtk_window_deiconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 28118 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28119 src/xterm.c xembed_set_info (f, XEMBED_MAPPED); f 28121 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28125 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28127 src/xterm.c SET_FRAME_VISIBLE (f, true); f 28128 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28140 src/xterm.c bool previously_visible = f->output_data.x->has_been_visible; f 28142 src/xterm.c XSETFRAME (frame, f); f 28144 src/xterm.c int original_left = f->left_pos; f 28145 src/xterm.c int original_top = f->top_pos; f 28165 src/xterm.c if (!FRAME_VISIBLE_P (f) f 28166 src/xterm.c && !FRAME_ICONIFIED_P (f) f 28167 src/xterm.c && !FRAME_X_EMBEDDED_P (f) f 28168 src/xterm.c && !FRAME_PARENT_FRAME (f) f 28169 src/xterm.c && f->win_gravity == NorthWestGravity f 28185 src/xterm.c XGetGeometry (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28190 src/xterm.c XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), f 28215 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 28219 src/xterm.c (f, build_string ("x_make_frame_visible")); f 28221 src/xterm.c x_wait_for_event (f, MapNotify); f 28226 src/xterm.c x_flush (f); f 28235 src/xterm.c x_make_frame_invisible (struct frame *f) f 28240 src/xterm.c window = FRAME_OUTER_WINDOW (f); f 28243 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 28244 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 28253 src/xterm.c x_wm_set_size_hint (f, 0, true); f 28256 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 28257 src/xterm.c gtk_widget_hide (FRAME_GTK_OUTER_WIDGET (f)); f 28260 src/xterm.c if (FRAME_X_EMBEDDED_P (f)) f 28261 src/xterm.c xembed_set_info (f, 0); f 28265 src/xterm.c if (! XWithdrawWindow (FRAME_X_DISPLAY (f), window, f 28266 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f)))) f 28272 src/xterm.c x_sync (f); f 28279 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28280 src/xterm.c SET_FRAME_ICONIFIED (f, false); f 28284 src/xterm.c (f, build_string ("x_make_frame_invisible")); f 28290 src/xterm.c x_make_frame_visible_invisible (struct frame *f, bool visible) f 28293 src/xterm.c x_make_frame_visible (f); f 28295 src/xterm.c x_make_frame_invisible (f); f 28313 src/xterm.c x_iconify_frame (struct frame *f) f 28320 src/xterm.c if (FRAME_DISPLAY_INFO (f)->highlight_frame == f) f 28321 src/xterm.c FRAME_DISPLAY_INFO (f)->highlight_frame = 0; f 28323 src/xterm.c if (FRAME_ICONIFIED_P (f)) f 28328 src/xterm.c gui_set_bitmap_icon (f); f 28331 src/xterm.c if (FRAME_GTK_OUTER_WIDGET (f)) f 28333 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28334 src/xterm.c gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f)); f 28336 src/xterm.c gtk_window_iconify (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); f 28337 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28338 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28346 src/xterm.c if (! FRAME_VISIBLE_P (f)) f 28349 src/xterm.c x_wm_set_window_state (f, IconicState); f 28351 src/xterm.c XtMapWidget (f->output_data.x->widget); f 28355 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28356 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28361 src/xterm.c result = XIconifyWindow (FRAME_X_DISPLAY (f), f 28362 src/xterm.c XtWindow (f->output_data.x->widget), f 28363 src/xterm.c DefaultScreen (FRAME_X_DISPLAY (f))); f 28369 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28370 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28373 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28379 src/xterm.c if (! FRAME_VISIBLE_P (f) f 28380 src/xterm.c && ! FRAME_ICONIFIED_P (f) f 28381 src/xterm.c && ! FRAME_X_EMBEDDED_P (f)) f 28382 src/xterm.c x_set_offset (f, f->left_pos, f->top_pos, 0); f 28392 src/xterm.c msg.xclient.window = FRAME_X_WINDOW (f); f 28394 src/xterm.c msg.xclient.message_type = FRAME_DISPLAY_INFO (f)->Xatom_wm_change_state; f 28402 src/xterm.c if (! XSendEvent (FRAME_X_DISPLAY (f), f 28403 src/xterm.c FRAME_DISPLAY_INFO (f)->root_window, f 28415 src/xterm.c x_wm_set_window_state (f, IconicState); f 28417 src/xterm.c if (!FRAME_VISIBLE_P (f)) f 28420 src/xterm.c XMapRaised (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28423 src/xterm.c SET_FRAME_ICONIFIED (f, true); f 28424 src/xterm.c SET_FRAME_VISIBLE (f, 0); f 28426 src/xterm.c XFlush (FRAME_X_DISPLAY (f)); f 28435 src/xterm.c x_free_frame_resources (struct frame *f) f 28437 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 28448 src/xterm.c xi_handle_delete_frame (dpyinfo, f); f 28457 src/xterm.c if (f->pointer_invisible) f 28458 src/xterm.c XTtoggle_invisible_pointer (f, 0); f 28463 src/xterm.c free_frame_faces (f); f 28464 src/xterm.c tear_down_x_back_buffer (f); f 28466 src/xterm.c if (f->output_data.x->icon_desc) f 28467 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); f 28474 src/xterm.c for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); bar = b->next) f 28482 src/xterm.c if (FRAME_XIC (f)) f 28483 src/xterm.c free_frame_xic (f); f 28487 src/xterm.c x_cr_destroy_frame_context (f); f 28490 src/xterm.c if (f->output_data.x->widget) f 28492 src/xterm.c XtDestroyWidget (f->output_data.x->widget); f 28493 src/xterm.c f->output_data.x->widget = NULL; f 28497 src/xterm.c else if (FRAME_X_WINDOW (f)) f 28498 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28500 src/xterm.c free_frame_menubar (f); f 28502 src/xterm.c if (f->shell_position) f 28503 src/xterm.c xfree (f->shell_position); f 28507 src/xterm.c kill_frame_xwidget_views (f); f 28511 src/xterm.c xg_free_frame_widgets (f); f 28514 src/xterm.c tear_down_x_back_buffer (f); f 28515 src/xterm.c if (FRAME_X_WINDOW (f)) f 28516 src/xterm.c XDestroyWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); f 28520 src/xterm.c if (FRAME_X_BASIC_COUNTER (f) != None) f 28521 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 28522 src/xterm.c FRAME_X_BASIC_COUNTER (f)); f 28524 src/xterm.c if (FRAME_X_EXTENDED_COUNTER (f) != None) f 28525 src/xterm.c XSyncDestroyCounter (FRAME_X_DISPLAY (f), f 28526 src/xterm.c FRAME_X_EXTENDED_COUNTER (f)); f 28529 src/xterm.c unload_color (f, FRAME_FOREGROUND_PIXEL (f)); f 28530 src/xterm.c unload_color (f, FRAME_BACKGROUND_PIXEL (f)); f 28531 src/xterm.c unload_color (f, f->output_data.x->cursor_pixel); f 28532 src/xterm.c unload_color (f, f->output_data.x->cursor_foreground_pixel); f 28533 src/xterm.c unload_color (f, f->output_data.x->border_pixel); f 28534 src/xterm.c unload_color (f, f->output_data.x->mouse_pixel); f 28536 src/xterm.c if (f->output_data.x->scroll_bar_background_pixel != -1) f 28537 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_background_pixel); f 28538 src/xterm.c if (f->output_data.x->scroll_bar_foreground_pixel != -1) f 28539 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_foreground_pixel); f 28542 src/xterm.c if (f->output_data.x->scroll_bar_top_shadow_pixel != -1) f 28543 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_top_shadow_pixel); f 28544 src/xterm.c if (f->output_data.x->scroll_bar_bottom_shadow_pixel != -1) f 28545 src/xterm.c unload_color (f, f->output_data.x->scroll_bar_bottom_shadow_pixel); f 28547 src/xterm.c if (f->output_data.x->white_relief.pixel != -1) f 28548 src/xterm.c unload_color (f, f->output_data.x->white_relief.pixel); f 28549 src/xterm.c if (f->output_data.x->black_relief.pixel != -1) f 28550 src/xterm.c unload_color (f, f->output_data.x->black_relief.pixel); f 28552 src/xterm.c x_free_gcs (f); f 28555 src/xterm.c if (f->output_data.x->white_relief.gc) f 28557 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->white_relief.gc); f 28558 src/xterm.c f->output_data.x->white_relief.gc = 0; f 28560 src/xterm.c if (f->output_data.x->black_relief.gc) f 28562 src/xterm.c XFreeGC (dpyinfo->display, f->output_data.x->black_relief.gc); f 28563 src/xterm.c f->output_data.x->black_relief.gc = 0; f 28567 src/xterm.c if (f->output_data.x->text_cursor != 0) f 28568 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->text_cursor); f 28569 src/xterm.c if (f->output_data.x->nontext_cursor != 0) f 28570 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->nontext_cursor); f 28571 src/xterm.c if (f->output_data.x->modeline_cursor != 0) f 28572 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->modeline_cursor); f 28573 src/xterm.c if (f->output_data.x->hand_cursor != 0) f 28574 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hand_cursor); f 28575 src/xterm.c if (f->output_data.x->hourglass_cursor != 0) f 28576 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->hourglass_cursor); f 28577 src/xterm.c if (f->output_data.x->horizontal_drag_cursor != 0) f 28578 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->horizontal_drag_cursor); f 28579 src/xterm.c if (f->output_data.x->vertical_drag_cursor != 0) f 28580 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->vertical_drag_cursor); f 28581 src/xterm.c if (f->output_data.x->left_edge_cursor != 0) f 28582 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->left_edge_cursor); f 28583 src/xterm.c if (f->output_data.x->top_left_corner_cursor != 0) f 28584 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_left_corner_cursor); f 28585 src/xterm.c if (f->output_data.x->top_edge_cursor != 0) f 28586 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_edge_cursor); f 28587 src/xterm.c if (f->output_data.x->top_right_corner_cursor != 0) f 28588 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->top_right_corner_cursor); f 28589 src/xterm.c if (f->output_data.x->right_edge_cursor != 0) f 28590 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->right_edge_cursor); f 28591 src/xterm.c if (f->output_data.x->bottom_right_corner_cursor != 0) f 28592 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_right_corner_cursor); f 28593 src/xterm.c if (f->output_data.x->bottom_edge_cursor != 0) f 28594 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_edge_cursor); f 28595 src/xterm.c if (f->output_data.x->bottom_left_corner_cursor != 0) f 28596 src/xterm.c XFreeCursor (FRAME_X_DISPLAY (f), f->output_data.x->bottom_left_corner_cursor); f 28600 src/xterm.c x_sync_free_fences (f); f 28612 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider) f 28613 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_background_css_provider); f 28615 src/xterm.c if (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider) f 28616 src/xterm.c g_object_unref (FRAME_OUTPUT_DATA (f)->scrollbar_foreground_css_provider); f 28619 src/xterm.c if (f == dpyinfo->motif_drag_atom_owner) f 28625 src/xterm.c if (f == dpyinfo->x_focus_frame) f 28627 src/xterm.c if (f == dpyinfo->x_focus_event_frame) f 28629 src/xterm.c if (f == dpyinfo->highlight_frame) f 28631 src/xterm.c if (f == hlinfo->mouse_face_mouse_frame) f 28651 src/xterm.c x_destroy_window (struct frame *f) f 28653 src/xterm.c struct x_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); f 28658 src/xterm.c x_free_frame_resources (f); f 28660 src/xterm.c xfree (f->output_data.x->saved_menu_event); f 28663 src/xterm.c if (f->output_data.x->preedit_chars) f 28664 src/xterm.c xfree (f->output_data.x->preedit_chars); f 28669 src/xterm.c if (f->output_data.x->xi_masks) f 28670 src/xterm.c XFree (f->output_data.x->xi_masks); f 28674 src/xterm.c if (f->output_data.x->xi_masks) f 28675 src/xterm.c xfree (f->output_data.x->xi_masks); f 28679 src/xterm.c xfree (f->output_data.x); f 28680 src/xterm.c f->output_data.x = NULL; f 28876 src/xterm.c x_embed_frame (struct x_display_info *dpyinfo, struct frame *f) f 28882 src/xterm.c XReparentWindow (dpyinfo->display, FRAME_OUTER_WINDOW (f), f 28883 src/xterm.c FRAME_OUTPUT_DATA (f)->parent_desc, 0, 0); f 28906 src/xterm.c x_wm_set_size_hint (struct frame *f, long flags, bool user_position) f 28910 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 28922 src/xterm.c if (f->output_data.x->widget) f 28927 src/xterm.c eassert (XtIsWMShell (f->output_data.x->widget)); f 28928 src/xterm.c shell = (WMShellWidget) f->output_data.x->widget; f 28944 src/xterm.c = widget_update_wm_size_hints (f->output_data.x->widget, f 28945 src/xterm.c f->output_data.x->edit_widget); f 28947 src/xterm.c widget_update_wm_size_hints (f->output_data.x->widget, f 28948 src/xterm.c f->output_data.x->edit_widget); f 28983 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 28984 src/xterm.c XtWindow (f->output_data.x->widget), f 28992 src/xterm.c XSetWMNormalHints (XtDisplay (f->output_data.x->widget), f 28993 src/xterm.c XtWindow (f->output_data.x->widget), f 29004 src/xterm.c size_hints.x = f->left_pos; f 29005 src/xterm.c size_hints.y = f->top_pos; f 29007 src/xterm.c size_hints.width = FRAME_PIXEL_WIDTH (f); f 29008 src/xterm.c size_hints.height = FRAME_PIXEL_HEIGHT (f); f 29010 src/xterm.c size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f); f 29011 src/xterm.c size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f); f 29013 src/xterm.c size_hints.max_width = x_display_pixel_width (FRAME_DISPLAY_INFO (f)) f 29014 src/xterm.c - FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29015 src/xterm.c size_hints.max_height = x_display_pixel_height (FRAME_DISPLAY_INFO (f)) f 29016 src/xterm.c - FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29022 src/xterm.c base_width = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, 0); f 29023 src/xterm.c base_height = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, 0); f 29033 src/xterm.c size_hints.base_height = base_height + FRAME_MENUBAR_HEIGHT (f); f 29050 src/xterm.c value = XGetWMNormalHints (FRAME_X_DISPLAY (f), window, &hints, f 29073 src/xterm.c size_hints.win_gravity = f->win_gravity; f 29083 src/xterm.c XSetWMNormalHints (FRAME_X_DISPLAY (f), window, &size_hints); f 29085 src/xterm.c xg_wm_set_size_hint (f, flags, user_position); f 29092 src/xterm.c x_wm_set_window_state (struct frame *f, int state) f 29098 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29100 src/xterm.c Window window = FRAME_X_WINDOW (f); f 29102 src/xterm.c f->output_data.x->wm_hints.flags |= StateHint; f 29103 src/xterm.c f->output_data.x->wm_hints.initial_state = state; f 29105 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29110 src/xterm.c x_wm_set_icon_pixmap (struct frame *f, ptrdiff_t pixmap_id) f 29115 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29120 src/xterm.c icon_pixmap = image_bitmap_pixmap (f, pixmap_id); f 29121 src/xterm.c f->output_data.x->wm_hints.icon_pixmap = icon_pixmap; f 29122 src/xterm.c icon_mask = x_bitmap_mask (f, pixmap_id); f 29123 src/xterm.c f->output_data.x->wm_hints.icon_mask = icon_mask; f 29135 src/xterm.c xg_set_frame_icon (f, icon_pixmap, icon_mask); f 29144 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29146 src/xterm.c XtSetValues (f->output_data.x->widget, al, 1); f 29151 src/xterm.c f->output_data.x->wm_hints.flags |= (IconPixmapHint | IconMaskHint); f 29152 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29158 src/xterm.c x_wm_set_icon_position (struct frame *f, int icon_x, int icon_y) f 29160 src/xterm.c Window window = FRAME_OUTER_WINDOW (f); f 29162 src/xterm.c f->output_data.x->wm_hints.flags |= IconPositionHint; f 29163 src/xterm.c f->output_data.x->wm_hints.icon_x = icon_x; f 29164 src/xterm.c f->output_data.x->wm_hints.icon_y = icon_y; f 29166 src/xterm.c XSetWMHints (FRAME_X_DISPLAY (f), window, &f->output_data.x->wm_hints); f 29180 src/xterm.c x_check_font (struct frame *f, struct font *font) f 29184 src/xterm.c eassert (font->driver->check (f, font) == 0); f 29195 src/xterm.c x_free_pixmap (struct frame *f, Emacs_Pixmap pixmap) f 29204 src/xterm.c XFreePixmap (FRAME_X_DISPLAY (f), pixmap); f 30755 src/xterm.c struct frame *f; f 30772 src/xterm.c f = XFRAME (frame); f 30774 src/xterm.c if (FRAME_LIVE_P (f) && f->terminal == terminal) f 119 src/xterm.h #define BLACK_PIX_DEFAULT(f) \ f 120 src/xterm.h BlackPixel (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)) f 121 src/xterm.h #define WHITE_PIX_DEFAULT(f) \ f 122 src/xterm.h WhitePixel (FRAME_X_DISPLAY (f), FRAME_X_SCREEN_NUMBER (f)) f 1279 src/xterm.h #define FRAME_X_OUTPUT(f) ((f)->output_data.x) f 1280 src/xterm.h #define FRAME_OUTPUT_DATA(f) FRAME_X_OUTPUT (f) f 1283 src/xterm.h #define FRAME_X_WINDOW(f) ((f)->output_data.x->window_desc) f 1284 src/xterm.h #define FRAME_NATIVE_WINDOW(f) FRAME_X_WINDOW (f) f 1287 src/xterm.h #define FRAME_X_RAW_DRAWABLE(f) ((f)->output_data.x->draw_desc) f 1289 src/xterm.h extern void x_mark_frame_dirty (struct frame *f); f 1295 src/xterm.h #define FRAME_X_DRAWABLE(f) \ f 1296 src/xterm.h (x_mark_frame_dirty ((f)), FRAME_X_RAW_DRAWABLE ((f))) f 1299 src/xterm.h #define FRAME_X_DOUBLE_BUFFERED_P(f) \ f 1300 src/xterm.h (FRAME_X_WINDOW (f) != FRAME_X_RAW_DRAWABLE (f)) f 1303 src/xterm.h #define FRAME_X_NEED_BUFFER_FLIP(f) ((f)->output_data.x->need_buffer_flip) f 1307 src/xterm.h #define FRAME_X_COMPLETE_P(f) ((f)->output_data.x->complete) f 1312 src/xterm.h #define FRAME_OUTER_WINDOW(f) ((f)->output_data.x->widget ? \ f 1313 src/xterm.h XtWindow ((f)->output_data.x->widget) : \ f 1314 src/xterm.h FRAME_X_WINDOW (f)) f 1333 src/xterm.h #define FRAME_GTK_OUTER_WIDGET(f) ((f)->output_data.x->widget) f 1334 src/xterm.h #define FRAME_GTK_WIDGET(f) ((f)->output_data.x->edit_widget) f 1335 src/xterm.h #define FRAME_OUTER_WINDOW(f) \ f 1336 src/xterm.h (FRAME_GTK_OUTER_WIDGET (f) ? \ f 1337 src/xterm.h GTK_WIDGET_TO_X_WIN (FRAME_GTK_OUTER_WIDGET (f)) : \ f 1338 src/xterm.h FRAME_X_WINDOW (f)) f 1341 src/xterm.h #define FRAME_OUTER_WINDOW(f) (FRAME_X_WINDOW (f)) f 1346 src/xterm.h #define FRAME_MENUBAR_HEIGHT(f) ((f)->output_data.x->menubar_height) f 1348 src/xterm.h #define FRAME_MENUBAR_HEIGHT(f) ((void) f, 0) f 1351 src/xterm.h #define FRAME_FONT(f) ((f)->output_data.x->font) f 1352 src/xterm.h #define FRAME_FONTSET(f) ((f)->output_data.x->fontset) f 1353 src/xterm.h #define FRAME_TOOLBAR_TOP_HEIGHT(f) ((f)->output_data.x->toolbar_top_height) f 1354 src/xterm.h #define FRAME_TOOLBAR_BOTTOM_HEIGHT(f) \ f 1355 src/xterm.h ((f)->output_data.x->toolbar_bottom_height) f 1356 src/xterm.h #define FRAME_TOOLBAR_HEIGHT(f) \ f 1357 src/xterm.h (FRAME_TOOLBAR_TOP_HEIGHT (f) + FRAME_TOOLBAR_BOTTOM_HEIGHT (f)) f 1358 src/xterm.h #define FRAME_TOOLBAR_LEFT_WIDTH(f) ((f)->output_data.x->toolbar_left_width) f 1359 src/xterm.h #define FRAME_TOOLBAR_RIGHT_WIDTH(f) ((f)->output_data.x->toolbar_right_width) f 1360 src/xterm.h #define FRAME_TOOLBAR_WIDTH(f) \ f 1361 src/xterm.h (FRAME_TOOLBAR_LEFT_WIDTH (f) + FRAME_TOOLBAR_RIGHT_WIDTH (f)) f 1362 src/xterm.h #define FRAME_BASELINE_OFFSET(f) ((f)->output_data.x->baseline_offset) f 1365 src/xterm.h #define FRAME_DISPLAY_INFO(f) ((f)->output_data.x->display_info) f 1368 src/xterm.h #define FRAME_X_DISPLAY(f) (FRAME_DISPLAY_INFO (f)->display) f 1371 src/xterm.h #define FRAME_X_SCREEN(f) (FRAME_DISPLAY_INFO (f)->screen) f 1374 src/xterm.h #define FRAME_X_SCREEN_NUMBER(f) XScreenNumberOfScreen (FRAME_X_SCREEN (f)) f 1377 src/xterm.h #define FRAME_X_VISUAL(f) FRAME_DISPLAY_INFO (f)->visual f 1380 src/xterm.h #define FRAME_X_VISUAL_INFO(f) (&FRAME_DISPLAY_INFO (f)->visual_info) f 1383 src/xterm.h #define FRAME_X_PICTURE_FORMAT(f) FRAME_DISPLAY_INFO (f)->pict_format f 1384 src/xterm.h #define FRAME_X_PICTURE(f) ((f)->output_data.x->picture) f 1385 src/xterm.h #define FRAME_CHECK_XR_VERSION(f, major, minor) \ f 1386 src/xterm.h (FRAME_DISPLAY_INFO (f)->xrender_supported_p \ f 1387 src/xterm.h && ((FRAME_DISPLAY_INFO (f)->xrender_major == (major) \ f 1388 src/xterm.h && FRAME_DISPLAY_INFO (f)->xrender_minor >= (minor)) \ f 1389 src/xterm.h || (FRAME_DISPLAY_INFO (f)->xrender_major > (major)))) f 1393 src/xterm.h #define FRAME_X_BASIC_COUNTER(f) \ f 1394 src/xterm.h FRAME_X_OUTPUT (f)->basic_frame_counter f 1395 src/xterm.h #define FRAME_X_EXTENDED_COUNTER(f) \ f 1396 src/xterm.h FRAME_X_OUTPUT (f)->extended_frame_counter f 1397 src/xterm.h #define FRAME_X_WAITING_FOR_DRAW(f) \ f 1398 src/xterm.h FRAME_X_OUTPUT (f)->waiting_for_frame_p f 1399 src/xterm.h #define FRAME_X_DRAW_JUST_HUNG(f) \ f 1400 src/xterm.h FRAME_X_OUTPUT (f)->draw_just_hung_p f 1401 src/xterm.h #define FRAME_X_COUNTER_VALUE(f) \ f 1402 src/xterm.h FRAME_X_OUTPUT (f)->current_extended_counter_value f 1406 src/xterm.h #define FRAME_X_COLORMAP(f) FRAME_DISPLAY_INFO (f)->cmap f 1408 src/xterm.h #define FRAME_XIC(f) ((f)->output_data.x->xic) f 1409 src/xterm.h #define FRAME_X_XIM(f) (FRAME_DISPLAY_INFO (f)->xim) f 1410 src/xterm.h #define FRAME_X_XIM_STYLES(f) (FRAME_DISPLAY_INFO (f)->xim_styles) f 1411 src/xterm.h #define FRAME_XIC_STYLE(f) ((f)->output_data.x->xic_style) f 1412 src/xterm.h #define FRAME_XIC_FONTSET(f) ((f)->output_data.x->xic_xfs) f 1413 src/xterm.h #define FRAME_X_XIM_CODING(f) \ f 1416 src/xterm.h : (!NILP (FRAME_DISPLAY_INFO (f)->xim_coding) \ f 1417 src/xterm.h ? FRAME_DISPLAY_INFO(f)->xim_coding \ f 1507 src/xterm.h #define VERTICAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ f 1519 src/xterm.h #define VERTICAL_SCROLL_BAR_TOP_RANGE(f, height) \ f 1520 src/xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT (f, height) - VERTICAL_SCROLL_BAR_MIN_HANDLE) f 1524 src/xterm.h #define VERTICAL_SCROLL_BAR_INSIDE_HEIGHT(f, height) \ f 1529 src/xterm.h #define HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT(f, height) \ f 1541 src/xterm.h #define HORIZONTAL_SCROLL_BAR_LEFT_RANGE(f, width) \ f 1542 src/xterm.h (HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH (f, width) - HORIZONTAL_SCROLL_BAR_MIN_HANDLE) f 1546 src/xterm.h #define HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH(f, width) \ f 1676 src/xterm.h extern void x_query_colors (struct frame *f, XColor *, int); f 1677 src/xterm.h extern void x_clear_area (struct frame *f, int, int, int, int); f 1778 src/xterm.h extern void x_clear_under_internal_border (struct frame *f); f 1780 src/xterm.h extern void tear_down_x_back_buffer (struct frame *f); f 1781 src/xterm.h extern void initial_set_up_x_back_buffer (struct frame *f); f 1911 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() {}