/dports/x11-wm/durden/durden-0.6.1/durden/atypes/ |
H A D | wayland-toplevel.lua | 84 wnd.rz_acc_x = wnd.rz_acc_x + dx; 85 wnd.rz_acc_y = wnd.rz_acc_y + dy; 92 wnd.last_w + wnd.rz_acc_x + wnd.rz_ofs_x, 93 wnd.last_h + wnd.rz_acc_y + wnd.rz_ofs_y, tdm 125 wnd:displayhint(wnd.max_w, wnd.max_h); 298 wnd.geom[2] ~= y or wnd.geom[3] ~= w or wnd.geom[4] ~= h)) then 350 wnd.rz_acc_x = wnd.rz_acc_x - dx; 351 wnd.rz_acc_y = wnd.rz_acc_y - dy; 352 wnd:move(dx * wnd.move_mask[1], 412 wnd.max_w - dw - wnd.pad_top - wnd.pad_bottom, [all …]
|
H A D | wayland-x11.lua | 19 wnd.name, wnd.surface_type, status.rel_x, status.rel_y, status.parent) 85 image_tracetag(wnd.external, "x11_" .. wnd.surface_type); 97 log(fmt("x11:type=%s:name=%s", wnd.surface_type, wnd.name)); 122 wnd:destroy(); 131 wnd:destroy(); 154 wnd:destroy(); 174 wnd:destroy(); 200 apply_type_size(wnd, source, wnd.defer_resize); 258 local rx = x + wnd.pad_left + wnd.ofs_x + space.x; 259 local ry = y + wnd.pad_top + wnd.ofs_y + space.y; [all …]
|
H A D | wayland.lua | 45 function(wnd, ...) 99 wnd.buffer_sz = wnd.buffer_sz + #inbuf; 144 wnd.timer_name = "wl-clip_" .. wnd.name; 152 CLIPBOARD:set_provider(wnd, wnd.offer_types, 162 period(wnd); 251 wnd:show(); 253 wnd:reposition(wnd.popup_state[1], wnd.popup_state[2], 254 wnd.popup_state[3], wnd.popup_state[4], wnd.popup_state[5]); 312 wnd:reposition(wnd.popup_state[1], wnd.popup_state[2], 313 wnd.popup_state[3], wnd.popup_state[4], wnd.popup_state[5]); [all …]
|
/dports/games/openclonk/openclonk-release-8.1-src/src/mape/ |
H A D | window.c | 165 wnd, in mape_window_cb_file_save_as() 310 wnd, in mape_window_cb_file_open() 625 wnd->menubar = wnd->header->menubar; in mape_window_new() 628 wnd->toolbar = wnd->header->toolbar; in mape_window_new() 724 wnd in mape_window_new() 731 wnd in mape_window_new() 740 wnd in mape_window_new() 747 wnd in mape_window_new() 754 wnd in mape_window_new() 761 wnd in mape_window_new() [all …]
|
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/utp/tests/ |
H A D | localwindowtest.cpp | 132 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - step); in testPacketLoss2() 136 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 2 * step); in testPacketLoss2() 143 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 3 * step); in testPacketLoss2() 150 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 4 * step); in testPacketLoss2() 157 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 5 * step); in testPacketLoss2() 201 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - step); in testSelectiveAck() 205 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 2 * step); in testSelectiveAck() 225 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 3 * step); in testSelectiveAck() 242 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 4 * step); in testSelectiveAck() 259 QVERIFY(wnd.availableSpace() == wnd.windowCapacity() - 5 * step); in testSelectiveAck() [all …]
|
H A D | remotewindowtest.cpp | 77 RemoteWindow wnd; in testNormalUsage() local 78 wnd.addPacket(pkt, 1, bt::Now()); in testNormalUsage() 79 QVERIFY(!wnd.allPacketsAcked()); in testNormalUsage() 82 wnd.addPacket(pkt, 2, bt::Now()); in testNormalUsage() 113 RemoteWindow wnd; in testMultipleAcks() local 137 RemoteWindow wnd; in testSelectiveAck() local 180 RemoteWindow wnd; in testRetransmits() local 212 RemoteWindow wnd; in testMultipleRetransmits() local 244 RemoteWindow wnd; in testMultipleRetransmits2() local 277 RemoteWindow wnd; in testMultipleRetransmits3() local [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/ |
H A D | extevh.lua | 84 if (wnd.custom_cursor and valid_vid(wnd.custom_cursor.vid)) then 146 if (wnd) then 227 wnd.alert_multipart.count = wnd.alert_multipart.count + 1; 247 wnd:alert(); 301 image_set_txcos_default(wnd.canvas, wnd.origo_ll == true); 361 wnd:alert(); 368 wnd[dst] = nil 374 wnd[dst] = true 387 wnd[dst] = wnd[dst] .. ";" .. stat.extensions 439 wnd[k] = v; [all …]
|
H A D | tiler_mh.lua | 88 wnd.in_drag_move = wnd:linearize(wnd.space); 250 move_image(wnd.anchor, wnd.x, wnd.y); 267 wnd:swap(wnd.parent); 504 wnd.x = wnd.x + wnd.ofs_x; 505 wnd.y = wnd.y + wnd.ofs_y; 530 v(wnd.space.wm, wnd, dx, dy); 544 drop_swap(wnd, wnd.space.mode, wnd.in_drag_last, wnd.drag_move_pos); 564 if (wnd.wm.selected ~= wnd and 641 drop_swap(wnd, wnd.space.mode, wnd.in_drag_last, wnd.drag_move_pos); 652 v(wnd.wm, wnd, 0, 0, true); [all …]
|
H A D | tiler.lua | 2373 move_image(wnd.anchor, wnd.x + wnd.ofs_x, wnd.y + wnd.ofs_y, lm, interp); 2388 run_event(wnd, "move", wnd.x, wnd.y); 2568 wnd.scalemode, wnd.width, wnd.height, wnd.effective_w, wnd.effective_h)); 2573 wnd.scalemode, wnd.width, wnd.height, wnd.effective_w, wnd.effective_h)); 2872 wnd:resize(wnd.width, wnd.height, true); 2898 move_image(wnd.anchor, wnd.x, wnd.y); 2927 wnd.x = wnd.x + dx; 2935 wnd.x = wnd.x < 0 and 0 or wnd.x; 2936 wnd.y = wnd.y < 0 and 0 or wnd.y; 2954 run_event(wnd, "move", wnd.x, wnd.y); [all …]
|
/dports/graphics/aloadimage/arcan-0.6.1/data/scripts/builtin/ |
H A D | wayland.lua | 285 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 296 move_image(wnd.vid, wnd.x, wnd.y) 343 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=off:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 351 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=on:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 384 wnd.states.fullscreen = {wnd.w, wnd.h, wnd.x, wnd.y} 400 wnd.states.maximized = {wnd.w, wnd.h, wnd.x, wnd.y} 451 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 454 move_image(wnd.vid, wnd.x, wnd.y) 464 wnd.wm.decorate(wnd, wnd.vid, wnd.w, wnd.h) 553 wnd.in_resize = {wnd.w, wnd.h} [all …]
|
/dports/sysutils/acfgfs/arcan-0.6.1/data/scripts/builtin/ |
H A D | wayland.lua | 285 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 296 move_image(wnd.vid, wnd.x, wnd.y) 343 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=off:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 351 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=on:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 384 wnd.states.fullscreen = {wnd.w, wnd.h, wnd.x, wnd.y} 400 wnd.states.maximized = {wnd.w, wnd.h, wnd.x, wnd.y} 451 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 454 move_image(wnd.vid, wnd.x, wnd.y) 464 wnd.wm.decorate(wnd, wnd.vid, wnd.w, wnd.h) 553 wnd.in_resize = {wnd.w, wnd.h} [all …]
|
/dports/x11/aclip/arcan-0.6.1/data/scripts/builtin/ |
H A D | wayland.lua | 285 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 296 move_image(wnd.vid, wnd.x, wnd.y) 343 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=off:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 351 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=on:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 384 wnd.states.fullscreen = {wnd.w, wnd.h, wnd.x, wnd.y} 400 wnd.states.maximized = {wnd.w, wnd.h, wnd.x, wnd.y} 451 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 454 move_image(wnd.vid, wnd.x, wnd.y) 464 wnd.wm.decorate(wnd, wnd.vid, wnd.w, wnd.h) 553 wnd.in_resize = {wnd.w, wnd.h} [all …]
|
/dports/x11/arcan-trayicon/arcan-0.6.1/data/scripts/builtin/ |
H A D | wayland.lua | 285 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 296 move_image(wnd.vid, wnd.x, wnd.y) 343 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=off:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 351 wnd.wm.log(wnd.name, wnd.wm.fmt("focus=on:idstr=%s", wnd.idstr and wnd.idstr or wnd.name)) 384 wnd.states.fullscreen = {wnd.w, wnd.h, wnd.x, wnd.y} 400 wnd.states.maximized = {wnd.w, wnd.h, wnd.x, wnd.y} 451 local x, y = wnd.wm.move(wnd, wnd.x + dx, wnd.y + dy) 454 move_image(wnd.vid, wnd.x, wnd.y) 464 wnd.wm.decorate(wnd, wnd.vid, wnd.w, wnd.h) 553 wnd.in_resize = {wnd.w, wnd.h} [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/menus/target/ |
H A D | video.lua | 14 if (wnd) then 16 wnd:resize(wnd.width, wnd.height); 135 return (valid_vid(wnd and wnd.external, TYPE_FRAMESERVER)); 142 0, 0, wnd.dispmask, wnd:display_table(wnd.wm.disptbl)); 152 return (valid_vid(wnd and wnd.external, TYPE_FRAMESERVER)); 166 return (valid_vid(wnd and wnd.external, TYPE_FRAMESERVER)); 201 wnd:displayhint(tonumber(w), tonumber(h), wnd.dispmask); 300 wnd:update_font(-1, -1, wnd.last_font[3]); 323 wnd:update_font(-1, -1, wnd.last_font[3]); 391 image_sharestorage(wnd.external, wnd.canvas); [all …]
|
H A D | window.lua | 20 wnd:hide() 200 wnd.space[mode](wnd.space); 289 wnd:move(tonumber(val), wnd.y, false, true); 307 wnd:move(wnd.x, tonumber(val), false, true); 335 wnd:resize(tonumber(val), wnd.height); 349 wnd:resize(wnd.width, tonumber(val)); 416 mh(wnd, wnd.x, wnd.y); 629 if (wnd.in_drag_move or wnd.in_drag_rz or 699 wnd:set_border(not wnd.show_border, true, true); 741 wnd:set_titlebar(not wnd.show_titlebar, true); [all …]
|
H A D | clipboard.lua | 12 wnd.clipboard_out = define_nulltarget(wnd.external, "clipboard", 19 link_image(wnd.clipboard_out, wnd.anchor); 22 msg = wnd.pastefilter ~= nil and wnd.pastefilter(msg) or msg; 31 if wnd.paste then 40 if wnd.paste then 41 wnd:paste(wnd, CLIPBARD:list_local(wnd.clipboard)[1]); 43 pastefun(wnd, CLIPBOARD:list_local(wnd.clipboard)[1]); 64 wnd:paste(v); 77 return clipboard_histgen(wnd, CLIPBOARD:list_local(wnd.clipboard)); 98 wnd:paste(v); [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/widgets/ |
H A D | wnddbg.lua | 6 "Name: " .. wnd.name .. " Parent: " .. wnd.parent.name 60 wnd.pad_top, wnd.pad_left, wnd.pad_bottom, wnd.pad_right, 61 wnd.dh_pad_w, wnd.dh_pad_h 70 "suggested max: %d * %d", wnd.max_w, wnd.max_h)); 79 "weight: %d - %d", wnd.weight, wnd.vweight)); 83 if (wnd.hint_w) then 93 if (wnd.geom) then 95 "geom: %d, %d, %d, %d", wnd.geom[1], wnd.geom[2], wnd.geom[3], wnd.geom[4])); 100 "pos: %d, %d - anchor: %d, %d", wnd.x, wnd.y, aatr.x, aatr.y)); 102 if (wnd.atype) then [all …]
|
/dports/graphics/aloadimage/arcan-0.6.1/src/wayland/wlimpl/ |
H A D | xwl.c | 90 if (!wnd->paired && (wnd->id || wnd->surface_id)){ in dump_unpaired() 92 i, wnd->id, wnd->surface_id, wnd->xtype ? wnd->xtype : "unknown", wnd->queue_count); in dump_unpaired() 104 wnd->queued_message[wnd->queue_count++] = *ev; in wnd_queue() 172 if (wnd) in xwl_find_alloc() 177 return wnd; in xwl_find_alloc() 216 wnd_message(wnd, "pair:%d:%d", wnd->surface_id, wnd->id); in xwl_wnd_paired() 217 surf_commit(wnd->pending_client, wnd->pending_res); in xwl_wnd_paired() 251 wnd->id, wnd->parent_id, in wnd_viewport() 305 if (!wnd) in process_input() 327 if (!wnd) in process_input() [all …]
|
/dports/sysutils/acfgfs/arcan-0.6.1/src/wayland/wlimpl/ |
H A D | xwl.c | 90 if (!wnd->paired && (wnd->id || wnd->surface_id)){ in dump_unpaired() 92 i, wnd->id, wnd->surface_id, wnd->xtype ? wnd->xtype : "unknown", wnd->queue_count); in dump_unpaired() 104 wnd->queued_message[wnd->queue_count++] = *ev; in wnd_queue() 172 if (wnd) in xwl_find_alloc() 177 return wnd; in xwl_find_alloc() 216 wnd_message(wnd, "pair:%d:%d", wnd->surface_id, wnd->id); in xwl_wnd_paired() 217 surf_commit(wnd->pending_client, wnd->pending_res); in xwl_wnd_paired() 251 wnd->id, wnd->parent_id, in wnd_viewport() 305 if (!wnd) in process_input() 327 if (!wnd) in process_input() [all …]
|
/dports/x11/aclip/arcan-0.6.1/src/wayland/wlimpl/ |
H A D | xwl.c | 90 if (!wnd->paired && (wnd->id || wnd->surface_id)){ in dump_unpaired() 92 i, wnd->id, wnd->surface_id, wnd->xtype ? wnd->xtype : "unknown", wnd->queue_count); in dump_unpaired() 104 wnd->queued_message[wnd->queue_count++] = *ev; in wnd_queue() 172 if (wnd) in xwl_find_alloc() 177 return wnd; in xwl_find_alloc() 216 wnd_message(wnd, "pair:%d:%d", wnd->surface_id, wnd->id); in xwl_wnd_paired() 217 surf_commit(wnd->pending_client, wnd->pending_res); in xwl_wnd_paired() 251 wnd->id, wnd->parent_id, in wnd_viewport() 305 if (!wnd) in process_input() 327 if (!wnd) in process_input() [all …]
|
/dports/x11/arcan-trayicon/arcan-0.6.1/src/wayland/wlimpl/ |
H A D | xwl.c | 90 if (!wnd->paired && (wnd->id || wnd->surface_id)){ in dump_unpaired() 92 i, wnd->id, wnd->surface_id, wnd->xtype ? wnd->xtype : "unknown", wnd->queue_count); in dump_unpaired() 104 wnd->queued_message[wnd->queue_count++] = *ev; in wnd_queue() 172 if (wnd) in xwl_find_alloc() 177 return wnd; in xwl_find_alloc() 216 wnd_message(wnd, "pair:%d:%d", wnd->surface_id, wnd->id); in xwl_wnd_paired() 217 surf_commit(wnd->pending_client, wnd->pending_res); in xwl_wnd_paired() 251 wnd->id, wnd->parent_id, in wnd_viewport() 305 if (!wnd) in process_input() 327 if (!wnd) in process_input() [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/tools/flair/ |
H A D | cloth.lua | 21 wnd.old_border = image_surface_properties(wnd.border).opacity; 98 if (wnd.verlet.acc_x ~= 0 or wnd.verlet.acc_y ~= 0) then 99 local fx = -(wnd.verlet.acc_x / wnd.wm.width); 100 local fy = -(wnd.verlet.acc_y / wnd.wm.height); 120 if (not wnd.canvas or not wnd.verlet) then 135 cloth_setup(wnd); 145 if (not wnd or not wnd.verlet) then 150 blend_image(wnd.border, wnd.old_border, 11); 152 wnd.verlet = nil; 165 wnd.verlet.acc_x = wnd.verlet.acc_x + dx; [all …]
|
/dports/x11-wm/durden/durden-0.6.1/durden/tools/advfloat/ |
H A D | gridfit.lua | 36 if (wnd.grid_meta and #wnd.grid_meta >= 1) then 37 rel = CLOCK - wnd.grid_meta[#wnd.grid_meta].clock < 200; 51 xp = wnd.x; 52 yp = wnd.y; 53 w = wnd.width; 54 h = wnd.height; 63 lx = wnd.x, 64 ly = wnd.y, 65 lw = wnd.width, 133 if (not wnd or not wnd.grid_meta or #wnd.grid_meta < 1) then [all …]
|
H A D | minimize.lua | 6 if wnd.minimize_btn then 22 local wm = wnd.wm; 63 wnd.wm:switch_ws(wnd.space); 64 wnd:select(); 70 wnd:show(); 71 wnd:select(); 85 wnd.show = function(wnd) 90 old_show(wnd); 96 wnd:deselect(); 106 wnd:hide(); [all …]
|
/dports/games/scid/scid/tcl/utils/ |
H A D | win.tcl | 150 regexp {[.]\w*} "$wnd" wnd 165 wm manage $wnd 166 wm title $wnd $title 167 wm protocol $wnd WM_DELETE_WINDOW "::win::closeWindow $wnd" 197 wm forget $wnd 214 lassign [::win::isDocked $wnd] docked_nb wnd 217 if {$wnd eq ".fdockmain" || [winfo class $wnd] ne "Frame"} { 224 ::win::dockWindow $wnd 435 raise $wnd 441 $src_noteb forget $wnd [all …]
|