Commit Graph

458 Commits

Author SHA1 Message Date
Julien Danjou 990bc8d6f2 bug fix: previous commit broke Zaphod mode in spawn() 2007-09-27 19:18:19 +02:00
Julien Danjou b76d5d6722 give good screen to manage() 2007-09-27 18:57:22 +02:00
Julien Danjou 783a10f146 cosmetic 2007-09-27 18:57:03 +02:00
Julien Danjou ac193f82ad fix get_screen_bycoord() and add move_mouse_pointer_to_screen() for focus{next,prev}screen() 2007-09-27 17:57:57 +02:00
Julien Danjou 491b5611c2 Fix screen detection in keypress for supporting Xinerama 2007-09-27 17:53:01 +02:00
Julien Danjou 3bba90fa38 don't modify display if we're on Xinerama 2007-09-27 17:52:36 +02:00
Julien Danjou ecf79693a2 use real_screen for X functions, not logical screen 2007-09-27 17:13:31 +02:00
Julien Danjou bdd408cd6c use get_screen_count instead of ScreenCount where needed 2007-09-27 17:13:31 +02:00
Julien Danjou 4662cf109e introduce get_screen_count(...) function 2007-09-27 17:13:30 +02:00
Julien Danjou ca16334351 introduce get_xinerama_screen_bycoord(...)
this allows to retrieve the xinerama screen of a client with its coordinates
2007-09-27 17:13:30 +02:00
Julien Danjou 486dd410ca bug fix: apply selected layouts for tag in uicb_tag_view{next,prev}
Thanks Jordà Polo <jorda@ettin.org>
2007-09-27 16:24:42 +02:00
Julien Danjou b4cc86abf0 make moveresize work with +/- as others 2007-09-27 12:30:18 +02:00
Julien Danjou 9dad2fd85c add -c option to specify configuration file 2007-09-26 21:22:30 +02:00
Julien Danjou c81d40f15e change initcolor() proto 2007-09-26 20:21:09 +02:00
Julien Danjou 6f3e0a3a2d change initfont proto 2007-09-26 20:18:49 +02:00
Julien Danjou bf0ddca247 remove set_default_configuration() 2007-09-26 20:16:04 +02:00
Julien Danjou 6d77645872 change urxvt by x-terminal-emulator in default config 2007-09-26 20:00:16 +02:00
Julien Danjou 2c149b25d3 optimize a little isvisible() 2007-09-26 18:56:58 +02:00
Julien Danjou d34146fcec doc update for client.h 2007-09-26 16:30:17 +02:00
Julien Danjou 4f65ea5fcd remove useless #include 2007-09-26 11:35:38 +02:00
Julien Danjou b5ec38f15a add common.h to dist target 2007-09-26 11:28:16 +02:00
Julien Danjou a22b4c1008 new feature: add swap{next,prev} for reordering visible windows 2007-09-25 12:41:36 +02:00
Julien Danjou 5d06303f48 add mwfact to statusbar printing 2007-09-24 20:23:05 +02:00
Julien Danjou 935bcc7ce4 move Regs into tag.c 2007-09-24 18:02:03 +02:00
Julien Danjou 256717c792 add a_strncmp() to util.h and use a_str*() functions everywhere 2007-09-24 17:58:50 +02:00
Julien Danjou 89fa270bca display layout nmaster/ncols vars in new tags without clients 2007-09-24 17:08:47 +02:00
Julien Danjou b5f2129680 add a_strcat function to util 2007-09-24 16:53:03 +02:00
Julien Danjou 9a97c13804 add a_strcpy() function to util.c 2007-09-24 16:44:36 +02:00
Julien Danjou df75e01ce0 add a_strncpy functions 2007-09-24 16:42:04 +02:00
Julien Danjou 894b341feb simplfiy drawstatus() remove screen useless arg 2007-09-24 16:23:49 +02:00
Julien Danjou c5c810a285 bug fix: return to last real floating/tiled state when unmaximizing 2007-09-24 15:42:53 +02:00
Julien Danjou 595eba78d7 create a Tag struct type and use it 2007-09-24 15:37:52 +02:00
Julien Danjou 8592058e00 add a LAYOUT_PROTO to common.h and use it 2007-09-24 14:59:29 +02:00
Julien Danjou 1437f54711 documenta UICB_PROTO 2007-09-24 14:48:12 +02:00
Julien Danjou c8373622ec Add UICB_PROTO to common.h (new) to declare uicb_functions 2007-09-24 14:40:40 +02:00
Julien Danjou 32654ce496 new feature: add focus{next,prev}screen ui_callback functions
this allows to switch focused screen in multi-head (zaphod) mode
2007-09-24 14:21:49 +02:00
Julien Danjou 1a276a7832 use sel to determine the right screen for current event instead of only XQueryPointer 2007-09-24 14:20:04 +02:00
Julien Danjou 917a82ed15 fix typo in setnmaster test which broke the function 2007-09-24 11:20:34 +02:00
Julien Danjou d44e7bcbc4 add support for Xinerama in max layout 2007-09-21 18:18:01 +02:00
Julien Danjou 40384806fd use a_strcmp() instead of strcmp() 2007-09-21 17:32:00 +02:00
Julien Danjou 1340d926ce add a_strcmp function 2007-09-21 13:09:23 +02:00
Julien Danjou c80855836a new feature: add max layout 2007-09-21 00:30:32 +02:00
Julien Danjou 5602e9e76b latest commit introduced a regression in multi-head tile support, fix that 2007-09-20 23:08:20 +02:00
Julien Danjou e2883bf28b fix get_screen_info() and free() ScreenInfo in maximizing uicb functions 2007-09-20 22:56:18 +02:00
Julien Danjou fb5582cdbf arrange() on maximize() 2007-09-20 22:25:10 +02:00
Julien Danjou 03ee9ce9d1 rename some tag_view UI callback functions and add uicb_tag_viewprev uicb_tag_viewnext as bindable 2007-09-20 22:24:52 +02:00
Julien Danjou 2f43209c34 fix toggle floating with Button2 in tileleft layout, and prefix layout functions with layouts_ 2007-09-20 22:07:59 +02:00
Julien Danjou 4ef83a4e40 documentation update for tags 2007-09-20 22:02:57 +02:00
Julien Danjou 6d97fc8292 update documentation 2007-09-20 21:27:43 +02:00
Julien Danjou 9737185639 simplify drawsquare() 2007-09-20 20:11:33 +02:00