Commit Graph

815 Commits

Author SHA1 Message Date
Julien Danjou 3d7cfe4e5b get_client_screen_from_rules() is not needed; deleting 2007-11-13 22:50:54 +01:00
Julien Danjou a0ea5bf734 move compileregs() from tag.c to rules.c 2007-11-13 22:45:46 +01:00
Julien Danjou a07669c52c remove applyrules() function 2007-11-13 22:42:12 +01:00
Julien Danjou 0acaae11d9 stop using applyrules() and do some stuff ourselves 2007-11-13 22:41:56 +01:00
Julien Danjou 0a5d929801 rename is_client_tag_from_rules() to is_tag_match_rules() and fix a potential error in it 2007-11-13 22:41:23 +01:00
Julien Danjou 2fb7b4d69a fix Rule linked list handling in config
it seems that I was interrupted when I was coding new Rule handling in linked list
2007-11-13 22:29:33 +01:00
Julien Danjou 06dc3ba221 add new rules.c file with new functions for using Rule-s struct 2007-11-13 21:41:57 +01:00
Julien Danjou ae49735001 use real and smaller surface size to draw statusbar when rotating 2007-11-13 21:23:13 +01:00
Julien Danjou 8741fdba69 fix a bug in rule handling when screen is set 2007-11-12 21:53:05 +01:00
Julien Danjou b76f216f69 forget a RULE_NOSCREEN occurence 2007-11-12 19:36:10 +01:00
Julien Danjou adcadddc46 define RULE_NOSCREEN -1 2007-11-12 19:35:31 +01:00
Julien Danjou 9f21fb3c9e rules are now stored in a linked list 2007-11-12 19:25:10 +01:00
Julien Danjou 8a0063a93d add a rule to STYLE 2007-11-12 19:11:14 +01:00
Julien Danjou 4d3468d3a2 check that screen number in rules is not >= screen count 2007-11-12 19:09:05 +01:00
Julien Danjou f70424487e screen can now be specified in rules 2007-11-12 18:21:03 +01:00
Julien Danjou 0c5c5ce426 remove nkeys: keys is now a linked list 2007-11-12 17:22:40 +01:00
Julien Danjou f3d0ada5df fix awesomeconf struct handling in resizemouse() and movemouse(), fix bug on Xinerama 2007-11-12 14:51:51 +01:00
Julien Danjou 38e6a309cb use CLEANMASK() where we should 2007-11-12 14:22:44 +01:00
Julien Danjou 69c235280d resizemouse() is now an uicb function 2007-11-12 14:06:59 +01:00
Julien Danjou f72c1bb54c movemouse() is now an uicb function 2007-11-12 14:02:52 +01:00
Julien Danjou ef7034b0b8 use linked list instead of tabs for mouse bindings 2007-11-12 13:21:28 +01:00
Julien Danjou ab1b1ed46e make parse_mouse_bindings() handle the tag case 2007-11-12 12:07:18 +01:00
Julien Danjou 54f0c86934 factorize mouse bindings parsing code 2007-11-12 11:59:57 +01:00
Julien Danjou 05e102a49a mouse clicks on root window are now configurable 2007-11-12 10:55:21 +01:00
Julien Danjou 939d9eb149 fix indentation 2007-11-12 09:59:54 +01:00
Julien Danjou f05a695dba Simplify a bit this code 2007-11-12 09:58:04 +01:00
Julien Danjou 19e7737ef0 don't draw statusbar if it's off 2007-11-11 23:23:38 +01:00
Julien Danjou dcdbd06e56 handle mouse button event on statusbar if position is right/left 2007-11-11 22:56:59 +01:00
Julien Danjou 58391a84fa don't move status bar offscreen (fails on Xinerama): unmap it instead 2007-11-11 22:47:56 +01:00
Julien Danjou 651dcc5c9e compute correctly status bar position for left 2007-11-11 22:44:21 +01:00
Julien Danjou 3f36130533 fix X memory leak in draw_rotate() 2007-11-11 22:38:29 +01:00
Julien Danjou 0753ed5fb5 statusbar drawable is no more stored but dynamicaly created; this fix a problem with statusbar on right 2007-11-11 22:27:00 +01:00
Julien Danjou db65104aa2 use M_PI_2 2007-11-11 21:20:02 +01:00
Julien Danjou 84017b9666 inverse rotate and translate and fix bar position on right for Xinerama 2007-11-11 21:13:37 +01:00
Julien Danjou 543899da7c fix statusbar display when on right 2007-11-11 19:49:50 +01:00
Julien Danjou 05dad60786 experimental support for status bar to be on right or left 2007-11-11 18:59:11 +01:00
Julien Danjou 4e14888e73 use a more generic mouse_opt 2007-11-11 16:48:19 +01:00
Julien Danjou 95938f8fef factorize mouse button press event handling for status bar 2007-11-11 16:33:59 +01:00
Julien Danjou 0bee56e27d mouse buttons are now configurable for click on layout symbols 2007-11-11 16:01:49 +01:00
Julien Danjou 99370f0ccd mouse buttons are now configurable for click on title bar 2007-11-11 15:55:13 +01:00
Julien Danjou 83f7087f13 don't forget to delete mouse bindings for tabs 2007-11-11 15:43:49 +01:00
Julien Danjou a75c7f694a mouse buttons are now configurable for click on tag names 2007-11-11 15:40:01 +01:00
Julien Danjou 7604fa70b5 introduce mouse section in config file 2007-11-11 13:17:23 +01:00
Julien Danjou 799da178b0 layouts are now configurable per screen 2007-11-11 12:05:04 +01:00
Julien Danjou 1c9c2b9309 general options are now configurable per screen 2007-11-11 12:02:16 +01:00
Julien Danjou 9d6a985a02 colors are now configurable per screen 2007-11-11 11:58:58 +01:00
Julien Danjou ceb6cc797a ncol is now configurable per tag 2007-11-11 11:55:20 +01:00
Julien Danjou 59f377526f nmaster is now configurable per tag 2007-11-11 11:53:10 +01:00
Julien Danjou 32b098796e mwfact is now configurable per tag 2007-11-11 11:48:26 +01:00
Julien Danjou a30227e27b tags are now per screen configurable 2007-11-11 11:36:30 +01:00